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 > january 2007

Filter by week: 1 2 3 4 5

Converting C definitions to VB.NET
Posted by HoloDoc at 1/31/2007 9:25:01 PM
Hi, I am trying to modify the Audit Object Access option in Local Security Setting using VB.NET i.e. changing it from No Auditing to Success. I have pieced together the solution from a small amount of other examples but have stumbled on the last part of actually applying the modification. ...more >>


Why does John Dvorak think Vista will help developers?
Posted by raylopez99 NO[at]SPAM yahoo.com at 1/31/2007 3:19:33 PM
Dvorak is always interesting. What hidden gem has he found in Vista that helps developers? It can't be .NET/CLI, that's been out forever. "What I'm told is that true the underpinnings of the API (applications programming interface) make it so easy to code fancy-looking and powerful programs ...more >>

SQL Server db creation + population during install
Posted by Chris Crowther at 1/31/2007 2:06:40 PM
Hullo people, Looking for a little inspiration here. I have a project that I'm creating the installer for - using an installer project in VS. One of the things it need to do is create the db that the project uses. Using a custom action I've got it creating the DB itself, the user group...more >>

Dvorak: Vista helps developers (what is he talking about?)
Posted by raylopez99 at 1/31/2007 12:23:19 PM
Dvorak is always interesting, albeit speculative. What hidden gem has he found in Vista that helps developers? It can't be .NET/CLI, that's been out forever. RL Vista rollout hides reality Commentary: It's not about customers, it's about developers By John C. Dvorak Last Update: 2:44 PM...more >>

Copy compiled files after build (Team Build Server)
Posted by MKruer NO[at]SPAM gmail.com at 1/31/2007 9:58:37 AM
I am trying to set up my build so after it complies successfully, it copies the binaries into a common share which will later be packaged, by another build process. I tried this recommend way off of MS forums, but it gives me an error. F:\Build_Management\Team_Build\ProjectName\BuildType \TFS...more >>

What to do NET Framework V2.0 Obsolete API List
Posted by thejamie at 1/31/2007 6:52:01 AM
I have a VS2005 dot net error message => "This constructor has been deprecated. Please use Filestream(Safehandle handle, FileAccess access) instead and optionally make a new safefile heandle with ownsHandle=File if needed." This is in reference to an VB6 upgrade for the following code: ...more >>

VS2K5 doesn't compile/execute latest code
Posted by Adil Akram at 1/31/2007 3:36:00 AM
I posted this question in vsnet.ide newsgroup about more than a week back but didn't get any single response yet therefore, reposting again same to several newsgroups. When I run my C# WinForms project either by pressing F5 or clicking Start button on toolbar, it sometimes doesn't execu...more >>

Datagridview cell formatting
Posted by Komandur Kannan at 1/30/2007 8:55:00 PM
hi, I am working in vb.Net 2005 framework 2.0, and i would like to know, how to format the cell, suppose i need the cell in this format... 9999-99-9 ,how can i do this, plz advice, thanx in advance...more >>



FileStream was asked to open a device that was not a file. For sup
Posted by thejamie at 1/30/2007 8:42:02 AM
Can't figure this one out. "FileStream was asked to open a device that was not a file. For support for devices like 'com1:' or 'lpt1:', call CreateFile, then use the FileStream constructors that take an OS handle as an IntPtr." -- Regards, Jamie...more >>

DataGridView, how to capture a cell's KeyPress event
Posted by Komandur Kannan at 1/30/2007 5:56:01 AM
Hi I am working in vb.Net 2005 framework 2.0. How to capture the cell's keypress event in datagridview. any great ideas....more >>

Removing items from the Solution Explorer in VBE 2005
Posted by Scanboy at 1/29/2007 7:50:00 PM
Guyz, I want to remove items from the Solution Explorer. The VBE 2005 help system claims that to do this, you have to:- 1. Select the item you want to remove. 2. On the 'Edit' menu, choose 'Remove'. The problem is that there is no 'Edit' menu in the Solution Explorer, and t...more >>

VS 2003 to 2005 conversion
Posted by Leonard at 1/29/2007 2:05:00 PM
I am attempting to convert my web apps from 2003 to 2005. The problem I am currnently having is with the 'Module' class. We created some definitions, in a module class, that would allow us to use those definitions from anyware in the app. Example: Module GeneralDefinitions Friend ...more >>

VBE 2005 - 'Index' Property For A Control
Posted by Scanboy at 1/28/2007 4:32:00 PM
Guyz, Whatever happened to the 'Index' property for a control, that used to be present in VB 3.0 / 4.0 / 5.0 / 6.0 and which now seems to be missing from VBE 2005? I need to be able to make 4 command buttons behave in the same way, the 'Index' property indicating which command button I c...more >>

Install 2003 after 2005
Posted by Alan T at 1/28/2007 12:21:55 PM
I have already installed VS 2005 and now I need to build a .NET 1.1 application. Can I install VS 2003 .NET on the same machine without conflict? ...more >>

Screenupdating questiojn
Posted by Billy B at 1/28/2007 6:06:01 AM
I am fairly new to .net programming. In VBA there is a screenupdating = True or False command that stops the flicker on the screen while processing is occuring. I have tried but cannot find documentation or help on this in VB.net. Is there a code for this in .net? Thank you....more >>

Unable to debug in Visual Studio 2005
Posted by Learner at 1/27/2007 11:10:42 AM
Hi there, I am doing a test app in VS 2005 using C # and for some reason it doesn't start the debugging. This is how I am trying to debug the app... 1).I put the debugging point (the red big point) on the left side of the line in the code behind page. 2).Hit F5 but for some reaso...more >>

VS 2005 unhandled exception problem on windows Vista
Posted by Farsad at 1/27/2007 12:31:00 AM
Hi I am worked on a vb.net program in win XP. I upgrade my windows to vista and working on my program in this. When I start the application under debugger. If my program encounter to problem, windows vista show windows error message and close my program. but I not get any message for unha...more >>

GetLastInputInfo API
Posted by JAWinner at 1/26/2007 8:11:02 PM
I am having trouble getting the GetLastInputInfo API to work in VB.NET 2005. When I make the API call the value of dwTime is always returned as 0. I am expecting the API to return the Tick Count of the last Mouse/KB Movement. I can get it to work in VB6 but not VB.Net. Here is the code. ...more >>

.NET2.0 and .NET 1.1
Posted by Alan T at 1/26/2007 7:08:30 PM
I just wonder can I create a .NET 1.1 application in VS.NET 2005? ...more >>

How do I get 'web designer' mode back in VS.net 2005?
Posted by darrel at 1/26/2007 9:28:58 AM
I'm doing a demo next week on a laptop that has VS.net 2005 installed, but, from what I can tell, what set up in 'VB.net application mode' rather than 'web site mode'. So, for instance, there is no NEW WEB SITE option under the FILE menu. How can I switch it back to 'web site' mode? -Dar...more >>

Visual Studio
Posted by philiphgray at 1/26/2007 1:11:02 AM
Hello, I'd like to use a sharepoint document library to store web application code created by a team of developers. I'd like them to develop using their local IIS installation in a virtual directory that points to a sharepoint document library. i.e. where the virtual directory is set to...more >>

User Control
Posted by Rick Vooys at 1/25/2007 5:21:02 PM
Hello, I'm new to .Net Development, so please don't hesitate to over explain a concept! Thanks. The questions is, I am trying to develop a User Control in C#, that my all my windows forms will use. It is a tree view, that will be the navigation through the application. So when certain...more >>

VB 6.0 Cntrls In VBE - 'DriveListBox', 'DirListBox' & 'FileListBox
Posted by Scanboy at 1/25/2007 5:13:46 PM
Guyz, I have just learnt how to add the 'DriveListBox', 'DirListBox' and 'FileListBox' controls that were always included in the toolbox with VB 3.0 / 4.0 / 5.0, but always missing in VBE 2005. And I have managed to create a simple file browsing project with the 'DriveListBox', 'DirList...more >>

VS 2005 on Vista
Posted by Pure Heart at 1/25/2007 10:16:01 AM
hi i installed VS 2005 on vista, the only SP i found is for Vista Beta which didnt work well with me any solutions ? and it says we should run VS 2005 on elevated administrator permissins ? what is that is it different than normal administrator permissions ? and haw can we use them ? ...more >>

Button to open build location?
Posted by theinvisibleGhost at 1/25/2007 2:52:01 AM
I'm sure in one of the MS code studios in the past I've added a button on the toolbar to open the current build location. Is there a way to do this in VS2005. I'm coding in C#. If I could open the location of the start-up assembly files that would save alot of time! Cheers Chris. ...more >>

Initial Position of Contextmenu
Posted by Martin at 1/25/2007 1:06:01 AM
Hi, In the documentation I read that a ContextMenu appears at the mouse position when the user clicks the right mouse button. So far so good. In my situation, however the menu pops-up at a random position, and when I release the mouse button it get's positioned at the correct place. I h...more >>

Package installs but is no where to be found.
Posted by Bruce A. Julseth at 1/24/2007 8:23:38 PM
I built a deployment package using VS.NET of a VB application. I then took the package to another computer. It installed. I can find it in the list of Installed programs but I can't find it. It NOT listed under the Programs tree list even though the installer listed the directory it should be ...more >>

How do I remove source control info from project/solution?
Posted by ThinkRS232 at 1/24/2007 6:41:00 PM
We develop professional development libraries. I created a Visual Studio 2005 solution that includes several solution folder with projects. e.g) Solution SolutionFolder1 ProjectA ProjectB SolutionFolder2 ProjectA ProjectB The solution is under source control...more >>

Visual Studio.NET 2005 break point problems...
Posted by Inverse at 1/24/2007 6:06:10 AM
Hi, I have been using visual studio.net 2005 and it used to work perfectly. I dont exactly know when things started going wrong or when problems occured. But when i create break points within web applications and run the application it does not break. i ahve tried reinstalling the application...more >>

please any one clarify
Posted by tyaga at 1/23/2007 10:47:23 PM
can we write connection string in Machine.config .if yes whats the procedure. as of now im using to write connection strings in Web.Config which one is efficient either Machine.Config or Web.config ...more >>

Office 2007 in my app - is it possible?
Posted by sub.coder NO[at]SPAM gmail.com at 1/22/2007 7:46:24 AM
Can somebody tell me how to build an application with Microsoft's Office 2007 User interface, without additional components or libraries. ... ? Is it possible to build the ribbon using office's components? Thanks in advance! ...more >>

MSDE on VS 2002 Login Failure
Posted by Bruce A. Julseth at 1/19/2007 12:22:44 AM
I just reinstalled my copy of VS 2002 after a hard system crash. Now, I can't seem to open the SQL Server that the installation created under the Server Explorer, "DESKTOP\VSDOTNET" First: this SQL Server has a "Red x" on it. Second: When I double click on this SQL Server, I get a "SQL Ser...more >>

Covering text entry error
Posted by Billy B at 1/18/2007 7:49:00 PM
I have the following code and it runs correctly as long as the user enters a number in the txtOrderTotal field. If the user enters a text value there is an exception error. Can someone show me how to cover the error and have the user returned to the main form to provide input again? Thank you....more >>

Unable to display Server Explorer in VS2005
Posted by anuragsji at 1/18/2007 7:37:59 PM
Hello, I have Visual Studio 2005 (version 8.0.52727.42) and SQL Server 2005 installed on my system. Using coding I am able to communicate with SQL server database/tables but I am Unable to see Server Explorer, I clicked on view menu -> Server Explorer as well tried CTRL+ALT+S key combinat...more >>

HTML 4.01 Schema in VS2005
Posted by Fred Chateau at 1/17/2007 6:11:49 PM
Is there a problem with the HTML 4.01 schema in Visual Studio 2005? When I set the target schema for validation to HTML 4.01, I receive closing tag errors. Example: Validation (HTML 4.01): Empty elements such as 'meta' must end with />. I do not believe that is the correct validation. ...more >>

Visual Studio 2005 Publish Website is not copying files at all!
Posted by waleedriaz NO[at]SPAM gmail.com at 1/17/2007 12:10:48 AM
i have upgraded a project from VS 2003 to VS 2005 and removed all build errors as necessary. Now my project builds perfectly and runs perfectly on my machine. Now when i try to publish my website it does not work at all, build succeeds, publish succeeds but when i check the folder where it publ...more >>

Creating Multi-directory Sites Using Multiple Projects In A Solution
Posted by Nathan Sokalski at 1/16/2007 10:23:12 PM
I have a Visual Studio Solution that contains multiple ASP.NET Projects. I do not want to put all of the pages (*.aspx files) in the root directory of my site, because that would be very disorganized. However, I am having trouble getting any projects other than the one that I place in the root...more >>

How many users are allowed to use our website?
Posted by disaia NO[at]SPAM earthlink.net at 1/16/2007 4:47:15 PM
We are in the process of writing some webpages with Visual Studio 2005, Architect Edition, using SQL Server 2005 for our data. I would like to know how many users are legally allowed to use our webpage? Is it unlimited? Or is there some license fee we need to pay if we expect hundreds of user...more >>

Visual studio 2005 conversion problem
Posted by gcal programmer at 1/16/2007 2:37:54 PM
Hi, I have converted my visual studio 2003 code to visual studio 2005 code..I have cleared all the errors...The code now works perfectly fine in my system...The same code is being used by one of my colleagues on his machine...but certain parts of the application don't seem to work correctly.....more >>

New Release of VS.Net
Posted by Bruce A. Julseth at 1/15/2007 11:02:51 PM
I'm still developing on VS.NET 2003 and am considering up grading to VS. NET 2005. With Vista having been released, along with Office 2007, I was wondering is there a new release of VS.NET about to be released? Thanks... ...more >>

Is Vista dead for developers - How to develope with Visual Studio for dotnet 1.1 in the future?
Posted by Rolf Welskes at 1/14/2007 4:31:32 PM
Hello, the following problem: We have to maintain many dotnet 1.1 applications we CANNOT bring to dotnet 2.0. We know: 1. Develope for dotnet 1.1 under Visual Studio 2005 is not possible. 2. Visual Studio 2003 will not run under Windows Vista. Conclusio: We must reject Windows Vista fro...more >>

Crystal report running
Posted by Komandur Kannan at 1/13/2007 11:59:00 PM
I have created an application using vs.net 2005 (window based application). I have included crystal report in that application. I have deployed the application in my sever. I have created a shortcut to my end user to use the application. When my user clicks on the reports I get the following e...more >>

Is WSE 3.0 in VS2005(VB) required to migrate from VS2003?
Posted by Tony Girgenti at 1/12/2007 5:00:03 PM
Hello. I developed a VS.NET2003(VB), ASP.NET web application client program with ..NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0. I tried to migrate it to VS 2005 Pro(VB), Web Application Projects, .NET Framework 2.0, ASP.NET 2.0, IIS 5.1, WSE ?. Is WSE 3.0 required for VS 2005? ...more >>

corrupted dlls when stopping a build
Posted by gtsml.owevwr NO[at]SPAM googlemail.com at 1/12/2007 7:14:20 AM
Hi, I often have to stop builds of a dll before completion and sometimes that leaves the DLLs in a bad state: - it is obviously "half compiled" and therefore corrupted - but the timestamp is correct so it doesn't recompile when a new build is done Then I have to use depends.exe to find the...more >>

Installer puts assemblies in GAC, but app doesn't see them and other oddities
Posted by wheresjim at 1/11/2007 4:26:42 PM
I created an installer that installs .NET Framework 2.0 as a prerequisite, which works great, further on in the installation it places 3 .dlls in the GAC, and then it launches my app, which complains that the 3 assemblies are not in the GAC, despite the fact that I have checked, and they are ind...more >>

vbproj file format?
Posted by Phill W. at 1/11/2007 2:15:18 PM
Does anyone(?) understand the format of the vbproj/csproj file(s) as used by Visual Studio 2005? As part of a controlled Build process, I'm trying to work out the /physical/ location of each source file that's used in any VB or C# project. My intention is to reject the build if I find any ...more >>

Question about builds using Team Foundation Build Server
Posted by Roy Chastain at 1/11/2007 12:47:16 PM
I have a Team Project that will consist of 3 Visual Studio Solutions. Lets call them A, B and C. Solution B requires DLLs built in solution A Solution C requires DLLs built in solutions B and C. The dependencies have been giving me fits for years in Visual Studio because some of the DLLs are M...more >>

Team Foundation Server API newsgroup
Posted by Dave Morgereth at 1/11/2007 11:47:32 AM
Anybody know the MS newsgroup for the Team Foundation Server API? Thanks ...more >>

Visual Studio Installer
Posted by Vijayakumar at 1/10/2007 8:56:52 PM
I need help in creating a software distribution setup using visual studio installer creator included with vs2005. How can I create a nested msi setup? How can I run an executable/msi/script file included in the software distribution CD? How can I embed an executable file in the MSI and run ...more >>

Problem: "Choose Default Environment Settings" dialog repeatedly appears in VS 2005
Posted by Nick Gilbert at 1/9/2007 4:27:28 PM
Hi, I've installed Visual Studio 2005 Service Pack 1 and a few days after installation, I'm now perpetually getting the "Choose Default Environment Settings" dialog appearing every time I start visual studio. The dialog text says "Before you begin using Visual Studio for the first time, ...more >>


DevelopmentNow Blog