Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > visual studio .net general > february 2007

Filter by week: 1 2 3 4

object reference not set to an instance of an object
Posted by yuksel demiray at 2/28/2007 2:46:44 PM
after i install framework 3 i have this error message "object reference not set to an instance of an object" when adding a Database within Add New Data Source Wizard...more >>


Rebuild Solution causes MS SQL Server 2005 Install cycle to start
Posted by michael at 2/28/2007 2:41:13 PM
I am running VS 2005 with SP1 and SP1 for Vista Beta (running on Vista Ultimate). In addition I have SQL 2005 Developers Ed with SP2 (not the CTP) running on the same machine. I have a VB application (which does in fact have data adapters and other connectivity objects). When I Rebuild Solu...more >>

VS Net 2005 built application I/O speed issue
Posted by Pat Moran at 2/28/2007 9:23:52 AM
We have noticed a significant decrease in the performance of I/O when an application is built with 2005 as opposed to 2003. The application uses a combination of putc, fprintf and vfprint and the time taken to process the same data has increased as shown below 2003 30.0610 2005 nolock 3...more >>

Click Once technology on Vista machines
Posted by michael at 2/27/2007 8:50:00 AM
With all the added security that the UAC adds to Vista, will a user with standard privileges be able to load (and update) applications from a remote Click Once source? -- Michael Hockstein...more >>

Membership provider issue
Posted by SalamElias at 2/26/2007 10:21:21 AM
Hi, I am trying to play with the Survey manager application provided gracefully by Microsoft at "http://msdn.microsoft.com/vstudio/express/sql/samples/" VB team(so many thanks), compiled the win app, added 2 users beside the "thardy" user already shipped with the aplication. I can not pass t...more >>

Creating a new row in Datagridview
Posted by Komandur Kannan at 2/25/2007 6:13:15 AM
Hi Platform vb.Net 2005 framework 2.0 Problem I am trying to create a new row programtically in datagridview on the time of cell leave. example : dgv.Rows.Add() where dgv is the datagridview When I do on the time of runtime the CLR throws an exc...more >>

Disable MDA LoaderLock inside VS2005
Posted by Martin Hart at 2/23/2007 12:00:00 AM
Hi: I want to create a mda.config file for my application to disable the LoaderLock MDA, but don't understand the documentation for disabling it. According to the documentation, to enable it I use: <mdaConfig> <assistants> <loaderLock/> </assistants> </mdaConfig> But what ...more >>

Replace ActiveX on ASP page with a .NET Windows Forms component
Posted by Ted at 2/22/2007 5:37:36 PM
Hi, I have a classic ASP web page which contains an ActiveX component writtent in VB6. The client side Java script on the ASP page communicates with this component by accessing its properties and methods. The activeX control has a UI and the user edits data using this UI. The java script...more >>



Issue on VS 2005 XML Editor after installing BizTalk 2006
Posted by alex.abraham2 NO[at]SPAM gmail.com at 2/22/2007 1:38:51 PM
Hi, I have installed Biztalk 2006 Evaluation version on my computer.After the installation VS 2005 XSD editor got change to Biztalk editor. How I can revert to VS 2005 XSD editor ? Thanks Alex ...more >>

VS 2005 SP1 for Vista Problems (in XP)
Posted by NeuroScript LLC at 2/22/2007 10:58:59 AM
Recently installed VS 2005 on Vista with the SP 1 for Vista. Took existing product and built in Vista. Runs in Vista, but no longer runs in XP (some error message about not being configured properly). The attempts have only been made on the development machines. The program consists of one EXE...more >>

How To: Compile switch from including/excluding an assembly reference
Posted by chen at 2/22/2007 9:16:38 AM
Is there a way to include/exclude an assembly reference based on a compile time switch? Here's the scenario: Lets say, A.dll is a common assembly that is shared by multiple projects (say, B & C). The assembly A.dll in turn uses either System.Data.OracleClient (from Fx 2.0) or Oracle.DataAcc...more >>

Visual Studio saves solution files with no changes.
Posted by Kai at 2/21/2007 7:10:21 AM
Hi. When we open a solution that contains multiple projects, Visual Studio wants to save the sln file and one of the csproj files when the solution is finished loading. If we let Visual Studio save the files and look at them afterwards the only thing that has changed is the date when the fi...more >>

Team explorer does not show up after install
Posted by j_eagle at 2/20/2007 7:45:11 AM
I have installed Visual Studio 2005 Team Edition for Software Developers. For some reason, when I open it up, the Team Explorer does not come up as an option, neither where it usually is (next to the Solution Explorer) nor in the View menu. We have a TeamFoundationServer and everything, this wor...more >>

Encrypted My Documents folder = can't deploy asp.net app from VS
Posted by ctk70 at 2/20/2007 7:45:05 AM
My company recently started encrpyting the My Documents folder on our corporate laptops. That's great.... except... our Visual Studio solutions are under My Documents, and now that this folder is encrypted we've lost the ability to deploy web projects to our servers. If we copy the projects ...more >>

ClickOnce Certificate Expired
Posted by thejamie at 2/20/2007 5:03:00 AM
Our in-house application is published with a clickonce certificate which recently expired. Fortunately the Network Administrator was here and we were able to remote into all the machines in the network and correct the errors stemming from the certificate expiration. Given this, is there a m...more >>

Click Once publishing issue
Posted by CJ at 2/19/2007 7:45:43 PM
Hi, I originally had this posted in the .net general section by mistake, so here goes again! I have an issue with publishing an application using Visual Studio 2005 click once functionality. Firstly, my project was written using the smart client software factory. In my case all this means i...more >>

Creating installer with foreign applications required
Posted by pmz at 2/19/2007 7:20:51 PM
Dear Group, I've developed an application (using Visual Studio 2005/C#) and I've successfully created an installer for my application and its running fine. That's no problem. The problem is foreign applications (in example: database servers, which need to be installed for 100% of working & ...more >>

Where is the compiler getting this assembly version number?
Posted by John M. Dlugosz at 2/19/2007 2:10:08 PM
I have a C# project with one .cs code file, plus the usual AssemblyInfo.cs and App.ico files. Among the "References" I point to an existing assembly build by someone else. The Properties show Version=14.0.5.0. I have no other DLLs by that name (before starting Visual Studio, that is. After...more >>

Programatically create solution & project & add files from a none .NET app
Posted by stuart.smith NO[at]SPAM totalise.co.uk at 2/19/2007 7:50:35 AM
We have a windows that that is written using unmanaged C++ and QT from Trolltech to facilitate cross platform capabilities. This app allows the visual design of the concurrency aspects of an app from which C++ source code is generated. There is a requirement to 'package up' the generated C++ c...more >>

Visual Studio 2002 Support From Microsoft
Posted by Vaibhav Shah at 2/19/2007 12:00:00 AM
Hi, We have some critical applications running on Visual Studio 2002. Does Microsoft made any recent announcements regarding Termination of Support for Visual Studio 2002 (All Editions)? We use Enterprise Architect Edition for our applications. Any help / feedback would be highly apprecia...more >>

File access synchronization
Posted by Coward 9 at 2/18/2007 5:25:52 PM
HI, I have two different applications running on the same computer. One applicaton keeps on writing some info to a file and another applicaton keeps on reading the file and do something correspondingly. The problems is that some times two application operations will happen at the same time...more >>

Connection Property for Query-based TableAdapter?
Posted by Mark Olbert at 2/17/2007 8:49:15 PM
I've just discovered something really annoying: if you drag and drop a stored procedure onto DataSet design surface in VS2005 you get what >>looks<< like a TableAdapter...only it isn't. Specifically, it doesn't expose a Connection property. The same thing happens if you create a DataTable object...more >>

Bugs in VS2005 SP1
Posted by Mark Olbert at 2/17/2007 7:58:21 PM
I do so love running into simple bugs that crash VS2005 SP1. Kinda makes me wonder why in the world anyone trusts Microsoft software to do anything except crash :). So here are two I ran into today (only the first one causes a crash): 1) Create an ObjectDataSource based on a custom list objec...more >>

Add service reference from a web app?
Posted by John at 2/16/2007 11:13:18 AM
Why can't I add a WCF service reference to a web application? I can add one to a forms app. It's not just my installation; a colleague of mine has the same problem. Are websites not supposed to consume WCF services? That wouldn't make sense. Or is something missing from both our installat...more >>

Supported target OSs for VS 2005
Posted by DannyS at 2/16/2007 4:01:08 AM
Hi, I've been searching the microsoft and MSDN site for a while now without success! I'm looking for the official (or some sort of) statement which are supported target Windows versions for developed C/C++ (non-managed) Windows apps? E.g. a VS2005 app. can run/not run on Windows 98, Wind...more >>

Detecting if running with IDE or not
Posted by doug at 2/15/2007 9:00:12 AM
This was easy on VB6. Ar runtime, how can you tell if your EXE and/or DLLs are running in debug/IDE mode? doug...more >>

Visual Studio Installer invoked by Office add-in?
Posted by downwitch NO[at]SPAM gmail.com at 2/15/2007 7:25:20 AM
An obscure but irritating problem: On a computer running Windows 2000 SP4, Office XP SP3, VS2005 Express SP1, I am trying to use the VB6 mousewheel add-in, so that when in Office's various VBE windows I can scroll. It's an add-in that is loaded on startup, through the VBE's add-in manager (as ...more >>

Upgrading to Visual Studio 2005 Service Pack 1 using Microsoft Update
Posted by Nathan Sokalski at 2/15/2007 12:27:55 AM
I am trying to install the following update from Microsoft Update: Visual Studio 2005 Service Pack 1 I have Visual Studio .NET 2005 installed, but every time I try to install the update it fails. If I have this update installed already and do not know it (I am not sure how to check whether...more >>

There was an error loading types... when adding toolbox items
Posted by Jeff Mason at 2/14/2007 10:51:18 AM
When I attempt to add a number of custom controls located in a DLL (of my own making) to a tab in the toolbox I get an error message "There was an error loading types from assembly ...'Request Failed'. What causes this error and what can I do to access the controls in this assembly? What...more >>

Steps to install VS 2005 on Vista?
Posted by Tom at 2/14/2007 10:45:01 AM
I've seen/reviewed a lot of theads on running Visual Studio 2005 in Vista - but some are somewhat confusing. Therefore, can someone answer these questions: 1. -CAN- VS 2005 be installed and run on Vista (RTM)? 2. If so, what is the exact sequence of events that need to occur in order to do th...more >>

Orcas
Posted by Angel at 2/13/2007 4:01:00 PM
I tried this question before and did not get an answer. I have a dual core AMD BOX installed Orcas and for the most part it was uneventfull The version confirms it's Orcas but I do not get any of the goodies I thought I was gooing to get. One thing missing is LINQ. Lot's of the featu...more >>

Finding what group a user is in
Posted by KreativeKai at 2/13/2007 11:26:19 AM
I am using VS2005 and can find a users name by using the System.Environment.Username code. With this, I know there should be a way to find out what group this user is a member of. My program will process one function if the user is a member of windows group named GROUP1 and if the user usin...more >>

How to get VS2005 Documentation
Posted by FD at 2/13/2007 5:00:01 AM
After installed VS2005, the related VS2005 Documentaion was missing. Where or how to download all the VS2005 documentaion? Thanks....more >>

VS2005 SP1: projects in C++ managed do not run anymore
Posted by Fosber at 2/13/2007 2:36:01 AM
After the installation of Visual Studio 2005 Service Pack 1, the projects that have been written using C++ managed and compiled with VS2005 + SP1, do no run anymore on computers with .NET Framework 2.0. The error I get is something like this: "Configuration error: a new intallation can solve t...more >>

Difficulties with Web Service Application Project
Posted by Chris Falter at 2/12/2007 11:55:00 AM
My goal is to have my web service precompiled when I build my solution, so that some of our reflection code can call GetAssembly (using the name of the precompiled DLL), instantiate a class that implements the right interface, and use the interface. A Web Setup project is not of interest, s...more >>

Windows Installer removes embedded resource manifest ?
Posted by Keith Dorken at 2/12/2007 11:06:01 AM
I modified our project's executable PostBuild to add the embedded resource manifest required for Vista's Logo Program requirements wrt requestedExecutionLevel. The embedded resource is present in the completed ..EXE (as shown by Resource Hacker 3.4). Creating a deployment project that uses ...more >>

Newbie Needs simple backup solution WITHOUT SourceSafe
Posted by DanWeaver at 2/12/2007 6:28:33 AM
I have the same issue as Vics (see solution below) re creating backups without sourcesafe. However, I can't get VS 2005 to simply paste content of an existing project into a new project without several things happening that make me nervous!- 1) If I do it all in VS ie open original solution copy...more >>

Configuring Vis Studio 2005 to work on a web server
Posted by Zip Alpha at 2/12/2007 1:25:00 AM
Hi All, Does anyone know how to configure a Windows 2003 Server to allow Visual Studio websites to be hosted? Everytime I try I get errors is there anything obvious that I am doing Wrong? -- Kind Regards Zip...more >>

Strange ambiguous in the namespace Errors
Posted by rbonin NO[at]SPAM gmail.com at 2/11/2007 7:34:23 AM
For some reason, in VS2005 when opening my web project via local IIS, I am getting the following errors 'Int32' is ambiguous in the namespace 'System' 'Exception' is ambiguous in the namespace 'System'. 'TimeSpan' is ambiguous in the namespace 'System'. It seems like for some reason System ...more >>

Reference Parent UserControl
Posted by pchristo at 2/10/2007 11:25:00 AM
I have a custom usercontrol from which a form spawns in VB.Net 2005. I would like to set a property on the usercontrol based on a selection on the form, but I can't fugure out how to reference the "Parent" usercontrol from the "Child" form. Any insights would be very much apprecaited. Tha...more >>

Programatically Select a TreeView Node
Posted by Michael_Burgess at 2/10/2007 4:17:12 AM
Hi there, I've looked around the different groups and still can't figure this out without resorting to scrappy code............ I want to programtically select and highlight a TreeView node, such that it looks the same as if a user has clicked it. I'm aware about the SelectedNode property...more >>

Moving a control between group boxes and panels
Posted by Nitin at 2/10/2007 2:47:52 AM
Hi! I've been moving a lot of controls between group boxes and panels and everytime I do this, the events get separated from the controls. Has anyone been able to find a workaround? Any help appreciated. Thanks, Nitin ...more >>

Build failed
Posted by Peter Afonin at 2/9/2007 8:21:21 PM
Hello, I have a weird problem with one ASP.NET application that I develop using Visual Studio.Net 2003 (VB.Net). When I build an application, I get message "Build failed". When I start an application, I'm getting pop-up message: " There were build errors. Continue?" If I click "No" - I do...more >>

Lost all controls on form
Posted by Jwilliams at 2/9/2007 6:10:03 PM
Hi, VS .NET 2003. I've lost all controls on my form in design mode - it's just a blank form. The application still builds and runs successfully and I have the .RESX file. How do I restore the missing controls? thanks, ...more >>

Console App and DoEvents
Posted by doug at 2/8/2007 4:06:01 PM
DoEvents is part of the Forms class. Is there a comparable method within Console Apps that gives control up to the OS the same way DoEvents does? ...more >>

Windows User/Password Authentication
Posted by HoloDoc at 2/8/2007 2:45:02 PM
Is there a simple .NET framework solution to take a windows username/password and confirm the password is valid. Using VB.NET2003. ...more >>

catch an event in button title bar
Posted by Miguel at 2/8/2007 6:46:00 AM
I wanted to catch a minimized event about the button that it's in the window title bar. Could you help me, please? Thanks a lot....more >>

COM library inconsistency
Posted by Sharon at 2/8/2007 4:01:00 AM
I have a com dll, and I add it to my VS 2005 C# project it wrap the dll in a set of functions. And when I'm generating the .NET wrapper dll manually by using the TlbImp.exe, the function does not look the same. For example: (1) By using the add reference of the VS2005 I get the interop DLL wi...more >>

If I buy VS2005PRO MSDN today (download) do I get SP1 or not ?
Posted by Michel de Becdelièvre at 2/7/2007 3:34:21 PM
Upgrading to SP1 is such a pain on some systems (insists on putting temp files in a too small C: partition ). ...more >>

settling into IDE
Posted by Lane Straatman at 2/7/2007 3:11:20 PM
http://www.billfordx.net/screendumps/cstuff_8.htm I'm trying to do 2 things: use the c compiler, run the ensuing executable. Grateful for any tips. LS ...more >>


DevelopmentNow Blog