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

Filter by week: 1 2 3 4 5

Problem with Windows Form
Posted by Maria Paz at 10/31/2007 7:17:03 AM
I have a windows application with c#. This application have 6 forms. The line code in my program.cs is: [STAThread] static void Main() { try { Application.Run(new frmPrincipal()); } ...more >>


How to sense ESC key was pressed
Posted by Girish at 10/31/2007 3:34:02 AM
I have a long running loop that I want to exit/terminate from when the user presses the ESC key in a Windows forms application (VS2005, VB language). Can someone tell me how to achieve this? Thanks Girish...more >>

Copying code to Word
Posted by Vicente_García at 10/31/2007 12:00:00 AM
Hi all, First of all, apologies for my English. I am making up the documentation of a project. The project is in CSharp and when I copy the source code to Microsoft Word the lines are moving a lot and It is very bad. May anyone please tell my how I could do it correctly? Thanks a lot, R...more >>

Multiple Programmers Working on Same Visual Studio 2005 Project
Posted by Simon Anderson at 10/31/2007 12:00:00 AM
Hi there, We have run into a problem where two programmers want to work on the same project (different forms) at the same time from a network share. First Programmer opens the project and all is fine, Second Programmer opens the project and is ground to a halt, clicking on things in visua...more >>

Team Foundation Server 180 day trial - CALs required?
Posted by David Hearn at 10/29/2007 5:31:27 PM
We're looking at evaluating TFS, and have both the 5 user workgroup edition (no CALs required) and the 180 day trial of the full version. The problem is that I cannot find anything anywhere which makes it clear whether the 180 day trial requires any CALs. There's no point buying CALs if we...more >>

Drag and drop thumbnail onto form?
Posted by EManning at 10/29/2007 8:22:01 AM
Is there a way to drag and drop a thumbnail image onto a form? I've been asked to create a image database where every record contains info about an image. Currently the folder where the image can be found is entered but it would be helpful to have a thumbnail of the image as well. I'm us...more >>

Newbie question - How do I get VB.NET and ASP.NET development environments in Visual Studio 2005?
Posted by ehorowit NO[at]SPAM gmail.com at 10/26/2007 10:56:43 AM
Hi All, I'm sure this is easy, but it is evading me. I have had an MSDN subscription for the past year or so. I am trying to get the VB and ASP development environments going in VS 2005. I installed VS 2005 but it only came with the SQL Server 2005 projects (Analysis, Integration and Repor...more >>

ClickOnce Installation - Finding 'data' directory
Posted by jd at 10/26/2007 7:56:27 AM
Hi, we're trying to get to grips with using ClickOnce installers and are having some problems. Once installed, the majority of the application will reside in the following directory: C:\Documents and Settings\<username>\Local Settings\Apps\2.0\<x>\<y> \<z> where <x>, <y> and <z> are seaming...more >>



Renaming a solution and project file is still impossible (or very hard), no?
Posted by at 10/25/2007 11:55:26 AM
A textbook by Carli Watson on Visual Studio 2005 C# recommends copying a solution file and renaming it from inside Solution Explorer "this also renames the solution and project files". I take it the author must be mistaken, from the below. If there's an easy way, please let me know. RL ...more >>

Running an executable pre and post compilation in VS.NET (2003)
Posted by Olumide at 10/24/2007 9:30:16 PM
Hi - I'm writing a plugin with VS.NET (2003), for an application (Autodesk Maya). My work cycle is basically: 1. write code 2. unload plugin in target application (where I do my testing) 3. compile plugin 4. load plugin in external application (bash head against table when plugin does not...more >>

Installer for Windows Service fails on Vista
Posted by Gary McGill at 10/23/2007 5:23:19 PM
I have a Windows Service written in C# using Visual Studio 2003. I have an installer project for it, which I again created using Visual Studio 2003. It all works fine on Windows XP, but I can't get the service installed on Vista. It gets 90% of the way through the progress dialog, and then ju...more >>

VS 2005 goes away for long periods of time
Posted by karlag92 at 10/22/2007 3:59:27 PM
We have a large 73 project WinForms application that we are attempting to move to VS2005 and .Net 2.0 from VS2003 and .Net 1.1. As I work with it I'm finding numerous performance hickups that are making VS2005 effectively unusable. The latest thing I've found is that when I close a WinForms d...more >>

VS 2005 WinForm Designer and 2003 control style
Posted by karlag92 at 10/22/2007 3:52:30 PM
I am working to convert a VERY large application from VS2003 and .Net 1.1 to VS2005 and .Net 2.0. While I have managed to build and run my application successfully, the windows forms designer shows the New style flat controls and not the old style 3D controls. While I like the asethetics of...more >>

VS hangs when loading a solution
Posted by Michael D. Reed at 10/22/2007 3:00:01 PM
We have a outside consultant building a solution for us in VS.2005 C#. When we bring the code on site and try to load it into our VS it hangs the environment and we have to kill the VS process to clear the hung VS. Any ideas on what we should be look at? -- Mike Reed...more >>

MakeRelativePath()
Posted by Andrew Chalk at 10/21/2007 4:48:46 PM
Is their any built-in Win32 function that returns the relative path to a file given the applications current working directory? Many thanks ...more >>

can't uninstall vs 2003.net
Posted by Tracy at 10/19/2007 11:26:09 PM
hello, i've tried to uninstall visual studio 2003.net through the add/remove programs option in windows, because i don't see any other way to install it. when i attempt to uninstall this software, i get the following message "setup is unable to determine a valid ordering for the installation....more >>

Application Setup Project Properties Custom to Configurations?
Posted by Brian Laws at 10/18/2007 2:02:01 PM
Hi, all! I've got a website with a Web Deployment Project (WDP), Custom Action (CA), and Web Setup Project (WSP). After a lot of blood, sweat, and tears, I finally got everything working well. I have now come across a new problem which I can't resolve. I have 4 configurations: Developme...more >>

Server Explorer Issues connecting to database from Visual Studio 2
Posted by mj at 10/18/2007 1:35:05 PM
Hello, in Visual Studio 2005 I am trying to add a Microsoft SQL Server connection to sample database AdventureWorks_data.mdf from VS2005/Server Explorer/DataConnections/Add Connection / Select SQL Server Database File - when I click open I get the following message: AdventureWorks_Data This ...more >>

Team Foundation Server Project Portal
Posted by Spamoni at 10/18/2007 5:50:02 AM
I recently added a new Project to TFS and entered the portal to setup my quick launch items to follows our standards. I went through the system and added the Quick Launch Items, deleted the ones I didn't need and then returned to the home page only to find out I have No Quick Launch Items a...more >>

problems with round
Posted by david at 10/18/2007 3:12:02 AM
can i round 18,4948 to 18,50?...more >>

MDI Parent and MDI Child
Posted by Greg at 10/16/2007 11:16:04 AM
I have an MID Parent form named frmMain. When I initially load my application I load the frmMain with the frmCustomerOrders form loaded as a child. I load this as such. Sub frmMain_Load frmCustomerOrders.MIDParent = Me frmCustomerOrders.WindowState = Form.WindowState.Maximized ...more >>

MDI Parent and MID Child
Posted by Greg at 10/16/2007 10:13:01 AM
I have an MID Parent form named frmMain. When I initially load my application I load the frmMain with the frmCustomerOrders form loaded as a child. I load this as such. Sub frmMain_Load frmCustomerOrders.MIDParent = Me frmCustomerOrders.WindowState = Form.WindowState.Maximized ...more >>

Report and rounded sub total
Posted by Sebho at 10/16/2007 3:39:01 AM
Hi, i have to make a report with the ReportViewer (Microsoft.reporting.webforms.reportviewer) and i have a little problem i will try to explain clearly : - i have a dataset with some fields : Person, Ammount - in my Report i define a group to 'Person' - in the group footer i want to have t...more >>

What operating systems will a .net program run on?
Posted by Brad Ashforth at 10/15/2007 8:22:02 PM
What operating systems (including non-Windows) will a .net program run on? My understanding was that a .net program could run on any operating system that supports the .net runtime (CLR)? Is that correct? If so, which Operating Systems will a .Net Windows program run on? A client would like to...more >>

problems with ClickOnce deployment
Posted by Nadav Popplewell at 10/13/2007 11:50:02 PM
Hi everybody, Lately I've run across several problems with ClickOnce deployment of a windows application. I'm using VS2005 Team Edition for Software developers + SP1. The problems are: 1. I can't publish content files of library projects. i.e. if I want to publish application X which ...more >>

Saving .sln in VS.NET 2005 .sln format in Orcas Beta 2
Posted by Cat at 10/13/2007 4:50:15 PM
Orcas beta 2 supports three types of .net applications; 2.0, 3.0 and 3.5. It looks like the project file (.csproj) is compatible between 2005 and Orcas when if I create a project for .net 2.0 in Orcas. But not the .sln file. It doesn't open in VS.NET 2005. Is there any way to save .sln file in V...more >>

Unable to run simple macro
Posted by sippyuconn at 10/12/2007 1:15:03 PM
Hi Trying just to run a simple macro but no luck Go to MAcro Explorer and dbl-click on macro or R-Click RUN with no luck What am I missing ???? Thanks Public Sub test() MsgBox("This is my macro") End Sub...more >>

Can't view Workflow Classes in Object Browser (VS 2005)
Posted by BBM at 10/12/2007 11:16:01 AM
Hi, I have .Net 3.0 installed, and the VS extentions for WF. I've been able to create and run Workflows. But I do not see the System.Workflow namespace in the VS 2005 object browser, and cannot browse Workflow classes. When I view any Namespace, the Object Browser tells me it's reading a...more >>

TeamBuild with TFS
Posted by Daniel at 10/10/2007 7:39:01 PM
Hi, I'm trying to setup an automated build with the TeamBuild in TFS. A problem I'm faced with is how to get the preconfiguration for those tests done so that the tests can run automatically in the progress of TeamBuild. Here are the tasks I need to achieve: -Replace the connection string...more >>

??? "Custom Tool" (ResGen.exe) Can't be Found ???
Posted by Tom Baxter at 10/9/2007 11:29:28 PM
Hi all, I see this behavior in VS 2005 (and 2008). I have a text file in my project consisting of name/value pairs. I want to create a ".resources" file from this text file use resgen. So, in the "Custom Tool" property for this text file I specify "resgen.exe". Unfortunately, I get the f...more >>

Could not access ''CDO.Message'' object. - Multiple Recipients
Posted by PatB at 10/9/2007 11:00:02 AM
I am having a problem sending email from a Web application written in .NET 1.1. The function below has been in use for a few years. At some point it stopped working when the more than one recipient is sent in (sent as list of email addresses separated by a semicolon). The biggest problem ...more >>

Get password in Active Directory
Posted by Juan Manuel Porras Gálvez at 10/6/2007 8:49:03 AM
Hello all, my question is: are there any way to get the encrypted user password in Active Directory using .NET programming?. I suppose it's no possible to get uncrypted user password, and ... are there any algorithm, function, or things like that to encrypt user password like Active Directo...more >>

Another Visual Studio 2005 Bug?
Posted by B. Chernick at 10/5/2007 11:59:00 AM
I was editing a Winforms VB project in VS2005 today. One of the screens has a tab control on it with 8 tabs. The 1st and 5th tabs each have an instance of a relatively simple user control on it. My work today had nothing to do with the user control itself or it's instances. Never touched t...more >>

how to upgrade project from 1.1 to 2.0
Posted by moondaddy at 10/5/2007 12:23:04 AM
I'm using VS 2008 beta 2 and converted vb.net 1.1 solution from VS 2003 to VS 2008. How do I change to a different version of the framework such as 2.0 or 3.0? Thanks. moondaddy@newsgroup.nospam ...more >>

Question on Server Explorer of vs.net 2005
Posted by bertpu at 10/3/2007 8:42:02 AM
Hello, Can I modify the name of a table using Server Explorer of vs.net 2005? Thanks....more >>

How To Create a simple License Generator
Posted by Arne Beruldsen at 10/1/2007 2:47:02 PM
For my app...I would like to create a relatively simple License Key generator. Preferably something that can use the computer name and Hard Drive Serial Number. Can anyone point me in the right direction Thanks......more >>

Program associated to file type
Posted by RML at 10/1/2007 2:40:02 PM
Hi, I have a VB.Net 2003 app which need to bring up a PDF viewing application (like Acrobat) on files it found in a search. I do not want to hard code the PDF application name into my app snce the user may use any # of PDF viewing apps. Is there a way to get the application associated to a p...more >>

SSIS and Reporting-Designer does not paint correctly at Dual-Monit
Posted by Sascha at 10/1/2007 2:41:00 AM
Hello ng. The designers of SSIS and ReportingServices does not paint correctly on my second Monitor. If I move the Visual-Studio to the first monitor the objects appear right. But if I move it on the second monitor, I get empty objects or the dialogs are painted over the objects. I have to...more >>


DevelopmentNow Blog