martinbl's Q&A profile
Visual Basic Compiler sending back null exceptions
In my Try Catch, sometimes the exception returned looks like it is a NULL or space (I can't really tell, just that when I print it out in a MsgBox, it is blank sometimes which causes problems later) sometimes. how can I check the exception for length or something then if it's null, replace that blank exception with some sort of text i I have to pass the execption to my email function and my email function cannot take a null like this...so I nee ...Show All
SQL Server Please help me! How do you change the default server in Visual C# Express?
I have had visual C# Express edition for a while, and had successfully used SQL Server 2005 express successfully since it was first released. I downloaded the new version with advanced services, created a new instance, and tried to use it. VC# wont connect cause it is still trying to connect to my old instance which no longer exists. Could someone please tell me how to make my new instance the one to log on to Thanks in advance, Kent ...Show All
Visual Studio struggling with vsip
Hi, As you can probably see from my other posts, I'm getting to grips with VSIP for Visual Studio 2003. My main task is to sort out help integration with Visual Studio and MSDN. I've now got my help integrated with Visual Studio but I don't think I can integrate with MSDN until the next version appears. I have converted my class comments <summary> etc into help but I'd like to add a few articles into the help. I've noticed that the Figures ...Show All
Visual Studio Tools for Office How to Read a Date Field from Excel Cell?
Hello, I am trying to read an Excel cell, which is supposed to be a date field. I need to validate it, and cast it to a DateTime field. This code returns me the format, string format = ((Excel. Range )dataRange.Cells[i, 1]).NumberFormat.ToString(); and this code return the value of the cell. string value = ((Excel. Range )dataRange.Cells[i, 1]).Text.ToString(); I can use format along with a DateT ...Show All
SQL Server Management Studio Express CTP update now available
There is a new Management Studio Express CTP download available at http://www.microsoft.com/downloads/details.aspx FamilyId=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . This update fixes the defect where installing the full Books Online documentation prevented Management Studio Express from starting. With the update, Management Studio Express and Books Online no longer interfere with each other. To update Management Stu ...Show All
.NET Development Indigo: EndDeserialization event?
One of the reoccurring problems I see in deserialization is the need to know that all objects are completely deserialized in order to perform dependency fixups. This often happens when reconstructing a readonly collection during deserialization. For example, the Control.Controls collection. Neither the parent or child deserialization routines (OnDeserailized, IDeserializationCallback) can reestablish the relationship since neither knows if the o ...Show All
Visual Studio Express Editions Newbe looking for VB overview
Hi, I'm a newbe and would like to know where can I get an overview of VB Express 2005 and .NET Framework and how they relate to each other. I see terms like to API and MSDN and would like to know more. Thank you in advance for any help. Regards, Ken Hi Ken, Take a look at the topics in the Visual Basic Guided Tour - they should give you a a good idea what Visual Basic Express is all about. http: ...Show All
SQL Server Generation of a report in background or asynchronously.?
Hello, I have a report that takes many seconds to generate, as I am making an spanish application I dont want the user to see that the report is being generating, I would like to put my own message and then show the report when its ready. Any ideas Ajax may be what you are looking for http://ajax.schwarz-interactive.de/csharpsample/default.aspx Another workaround may be to run the report in an Iframe that is very small, and then redirec ...Show All
Windows Forms toolstripcombobox with scroll bar
I'm using vb .net 2005 beta 2. I have several toolstripcomboboxs in my app. When there are enough items for the scroll bar to appear, clicking on the scroll causes the combobox to close. The only way I can scroll the list is with the mouse wheel. Is this a bug or do I have some property set incorrectly. Thanks. I'm pretty sure there's no property for something like that. Do yo ...Show All
SQL Server What interface does Management Studio use?
Hi, Does anyone know what interfaces Management Studio use It does seem to retrieve information about Server/Database objects without the performance issues that SMO suffers from How does it do it Regards, Joginder Nahil www.starprint2000.com It uses SMO. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms edit xml configuration file
Hello, I have code that reads a XML configuration file into a DataSet/DataTable using the XmlDocument class. I then bind a Windows Forms Datagrid to the DataTable to display the property/value pairs. Works like a charm. However, no matter what I ...Show All
Windows Forms Custom Controls...GDI to slow?
Hy, I've been trying to make some controls (buttons) using user controls. So...I've made 2 pictures(bitmap)(actualy is a png file extension) one is the button in the normal state...and the other...is the button when the mouse is over it..... when I wrote the code...to change te pictures and clicked run to start the application everything was ok....untill I moved the cursor over the button....it flickered(made up word).....for a split ...Show All
Visual Studio Team System MSF Agile - What is Untriaged Bugs
Hello, Can someone please explain what is Untriaged Bug Also how to handle "Issues" in VSTS.I can see an item "All Issues" under WorkIems->Team Queries folder.How to create project Issues and maintain workflow. Thx In the CMMI for Process Improvement template there is an Issue work item definition. This work item definition could be exported and added to your customized process templat ...Show All
Windows Forms Possible bug in transparent forms
I am working on an app with a transparent window. I do the standard things such as create a background image, set the transparent key to match the background, set no border, etc. If I set the BackgroundImageLayout to be "Center", I no longer get a transparent window. If I leave the image as "Tile" then I do get a transparent window as expected (i.e. the window is non rectangular and looks just like my image file.) I don't kno ...Show All
Visual Studio Team System Security Synchronisation
We have a successfull, single server installation of TFS. I have added the relevant AD Users to the TFS Admin and User groups, and users can connect to the server and project with Team Explorer. However when we try to access the Portal either directly or from Team Explorer we are refused access, the only user that can access the portal is the TFSSetup user. Documentation on synching the securty is not availalbe, any clues as to how I get t ...Show All
