Thomas Freudenberg's Q&A profile
Visual Basic Cannot connect to SQL 2000 from Visual Studio
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be ...Show All
Visual Studio Items and properties set in one target not available in others? Why
Hi I've got this build file (below), I have a property named TestProp, I want to change this in one target (in target Debug-Build) and have its new value in another (in target Deploy). TestProp as you can see is a property, but I would also like to do this with items. For example the item named @(AssembliesBuiltByAllProjects) created by the MSBuild task that contains the TargetOutputs from the build. What I would like is the conte ...Show All
.NET Development strong names problem...
I have a console application in c# that uses objects that is in another dll(unmanaged code). when I reference from the project to the dll it creates another dll with the name Interop.MyDll.dll now, I created snk file with sn.exe and added reference to it from the project [assembly: AssemblyKeyFile("@"..\..\exampleSN.snk"")] with this it wont compile because of: "Assembly generation failed -- Referenced assembly 'Interop.MyDll' does not have a s ...Show All
Windows Forms NullReferenceException in Unknown Module when binding 2 checkboxes.
Hi, I am getting a nullreferenceexception in Unknown Module, additional information: Object reference not set to a instance of an object when databinding 2 checkboxes in my form. This form is a secondary form called modally from the startup form. When I step through the code slowly, I don't get this error, I also don't get this error when I call show instead of ShowDialog. When I comment out one of the binding statements, I also no longer ...Show All
Visual Studio Express Editions Debug class
I've been using the debug class in a VB project in VB express. When I run the project the debug statments are written to a 'listening' text file as required, but not to the output window in VS express Is this a problem or am I missing something Cheers Hi, Would you please give more details (code) about how you use the Debug class in your project Thanks, ...Show All
Visual C# Add "Help" button
How can I add "Help" button to my forms Like the picture: http://img.majidonline.com/thumb/39010/Untitled-3.gif Where is the picture Where and how you want to have Help implemented ...Show All
.NET Development StringBuilder class
I am attempting to use the stringbuilder class as a command buffer for commands that are being received via TCP. Since there is no guarantee that the entire command will be received on the server end, I have my receive thread simply append the command to a variable of type Stringbuilder. This works fine to continue to build the buffer but there are not any methods to find and pull out the command string from the buffer. At this point, I am pl ...Show All
Windows Forms opening a paticular cell in editMode when dg row is highlighted
hiya, When the user clicks on a dgRow, I want to be able to be open the 5th cell (in editMode) of the selected dgRow.Ideally, I want the underlying datable to be updated if the user subsequently enters data in this cell and then moves ...Show All
Visual Studio Express Editions Missing Visible property on forms
I'm new to VB. Why is the visible property missing on the forms property list It shouldnt be missing. Have you got the form selected. Are you looking in the right place - show the properties in alphabetical order and you'll find it easily, ...Show All
Visual Studio Team System Switching between two TFS servers
Currently, we have a production and a development version of TFS deployed in our organization. The development version is mainly for play to get the developers comfortable with using TFS and to develop components and templates for the production environment. The problem we are seeing is specifically in the Team Explorer client for people using wireless or vpn access to the servers. When we are doing work on the production server and then try ...Show All
Visual Basic Question on Registering VB 2005 Express Edition
I realize that this is probable not the correct forum for this question, but perhaps someone could point me in the right direction. I recently downloaded VB 2005 Express Edition and have been unable to register it. I get to the point in the registration process where Micro Soft is to send me and e-mail message for e-mail address confirmation, and I never receive the message. I have attempted redoing the process and now I am receiving an e ...Show All
Visual Studio Team System unit tests not sandboxed?
Unit tests dont appear to be sandboxed from each other. When I run 2 unit tests together under the debugger static variables appear to persist from the first test to the second test. This seems pretty undesirable. NUnit runs each unit test in a separate appdomain I have a weird problem which may or may not be related to the above observation. I have a unit test that responds to USB plug and play events. When I run this unit test by itself, ...Show All
SQL Server I need some information regarding Windows Mobile5.0
i am using windows mobile 5.0 .Now iam downloading the total database from remote system using synchronization.but it is a huge database.so i want to download only some part of the databse.i.e in employee table somany employees will be there.from there i want to download only one employees data from that database. Can we do this using synchronization concept.Here i want to use XML schema.That XML file will be downlo ...Show All
Visual Studio ItemOperations.AddNewItem no longer functions
Hello, I had written a number of extensive macros for the 2003 IDE and I would like to carry them over to 2005. The only error I encounter is when the macros are attempting to create a new class file using the ItemOperations.AddNewItem Function. In VB.NET 2003, I could use this syntax: Dim doc As ProjectItem = DTE.ItemOperations.AddNewItem("Local Project Items\ Class ", DocName & EXTENSION) With VS.NET 2005, I receive a COM err ...Show All
Windows Forms If anyone can spare the time to help my cbo prob
Hi all, I really apologise for my noobishness here... This is a really cool forum btw can see me here for a bit but getting at my point. company uses an Access db app with a sql backend... now im kind of playing with .net particulary vb.net and windows forms... Now I have gotten my head round these data adapters and data sets, but what I want to do is fill a combo box. Say I have a table with 3 names in it, I can bind the data to the cbo bu ...Show All
