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

Filter by week: 1 2 3 4 5

TFS
Posted by SalamElias at 9/29/2007 10:27:00 AM
Hi, when I add a new team project in TFS, then click on source control, right clicking on the project name in team explorer, I have not the option "new folder". I click on File>source control, I see that "New folder option is greyed out". I am trying to follow some videos available of ms web ...more >>


Format Function.
Posted by Greg at 9/29/2007 10:11:00 AM
I have a form were I format my dates using the Format function. Initially when I started to use it, it was working fine. I used a statement such as Format(MyDate, "Short Date") and I was getting the desired results. Now, I continued to work on other aspects of my project and now the Format ...more >>

t
Posted by Jeff B at 9/28/2007 10:09:00 AM

Icon and version info missing after adding UAC manifest to C# .exe
Posted by Lars Ryssel at 9/28/2007 6:16:00 AM
I'm trying to add a manifest to a C# .exe project. My manifest looks like this: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <asmv2:trustInfo xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"> <asmv2:security> <asmv2:requestedPrivileges> <asmv2:r...more >>

Deleting Files with Pre-build event command line:
Posted by randy1200 at 9/28/2007 5:24:03 AM
Working in Visual Studio 2005 with a WinForms application. In the properties page of my startup project, I went to the Build Events tab, and typed the following into the Pre-build event command line: del /s/q $(APPDATA)\IsolatedStorage\*.* When I build, I get the following error: The c...more >>

include oracle client in setup file
Posted by Bart at 9/27/2007 1:27:00 PM
Hi, I tried to include oracle setup file (*.msi) in the custom actions in a setup file. I'm getting an error '1608: unable to install installshield scripting runtime' It seems that I cannot run a new msi instance when the basic setup is already running. How can I solve this? I cannot find...more >>

Changing the font in DatagridView
Posted by Komandur Kannan at 9/27/2007 12:06:01 AM
Hi I need to change the font inside the cell of the datagridview dynamically Example Column1 | Column2 <B>Chicken</B><I>Bake<i> | <B>Mutton</B><I>Curry<i> Please Advice me regards Parameswaran.N...more >>

Strange VB.Net Error.
Posted by Greg at 9/26/2007 6:41:00 PM
I came across an error tonight that makes absolutely no sense at all. I had some sample code I copied off of a webisite to test working with a control. The text I downloaded included the following line of code: Dim FieldNames() As String = New String() {"LinkCode", "ProductName", "Quantity...more >>



Web Browser in VB.NET - VS2005
Posted by Chris Wagner at 9/26/2007 10:30:05 AM
I am using a web browser control in a VB.NET app that is scraping data from many (about 100) web sites. It seems that one of these is leaving a cookie behind that is causing the subsequent site to think it's already loogged in. If I stop and restart the application, I am able to get past thi...more >>

Findrows Example
Posted by thejamie at 9/26/2007 7:10:05 AM
Can't locate a sample Findrows() Have dataview dv with sort set to "Finish" Have static rowfilter value/; CompanyFinishes.RowFilter = "Company_key=" & mCompanykey Trying to access a given row from the dataview where Finish='SR1' CompanyFinishes.Sort = "Finish" ...more >>

Too Many ListView Columns
Posted by Greg at 9/25/2007 8:06:00 AM
I've just started working with populating combo boxes, list boxes and the listview control. The one I'm having a problem with is the ListView control. I'm assuming the listView control should work pretty much in the same manner as the listbox. I want to see one row per record, but when I use t...more >>

Purchase Visual studio 2008
Posted by Andrea_L at 9/25/2007 12:00:00 AM
Goodmorning, within year-end I must buy some licences of Visual Study 2005, and I cannot wait for the escape of Visual Study 2008... Someone knows if they are available "promotions" or other that concur, with the purchase of every licence of 2005, the successive upgrade to 2008? (obviously comp...more >>

Visual Web Developer 2005 - working with pure VBScript files
Posted by David Barnes at 9/24/2007 6:52:21 PM
First, appologies if you feel this wrong group, But I can't find anything with a closer match. If I've just been blind and missed the obvious, can you point me at the correct (or better group). Using Visual Web Developer 2005 (the free one) File, New File, script, VBScript file - looks g...more >>

Solution Explorer Add-in - close sub folders
Posted by SushiSean at 9/24/2007 10:40:27 AM
Hello. I have strange problem. Every time when I open my project all folders in Solution Explorer extended, but I have a lot of files where so I need every time close all of them to have normal navigation. So I have question - exist any way to make collapse for all folder? If not exist any sett...more >>

crystal report viewer
Posted by Komandur Kannan at 9/23/2007 5:56:01 AM
hi, im using vb.net 2005 with dotnetframework 2.0, i hv a question related to crystalreportviewer control, hence im creating the excel file with its necessary values through code, is it possible for me to send corresponding excel file into crystalreportviewer, i dont want to create any repor...more >>

How Do I Get Help Files?
Posted by Keith Russell at 9/22/2007 7:48:32 PM
Hello, all. I recently downloaded and installed the Visual Studio 2005 trial. I already had SQL Server 2005 installed. It appears that I have only the SQL Server documentation installed. In Document Explorer, the "Filtered by" dropdown contains 10 SQL Server topics, but nothing else, and se...more >>

Popullate Combo Box using VB.Net 2005
Posted by Greg at 9/22/2007 6:26:01 PM
I’ve populated a combo box named UserID using the following code, which works fine: (This is not the entire code block, but enough to see what I'm doing) objConn = New SqlConnection(strConn) objCommand = New SqlCommand("SELECT UserID, UserName FROM tblUser", objConn) objDataAdapter = New S...more >>

System Errors after copying new form.
Posted by Greg at 9/22/2007 12:46:00 PM
I am using Visual Studio.Net - Visual Basic 2005 I got the following two errors after twice doing the following: 1. I copied an existing form named frmPrintLables and pasted it as frmRejects. 2. I created a new form from scratch named frmRejects. Error 1 [The item "obj\Debug\PFCWin_To...more >>

Windows Task Bar
Posted by Greg at 9/22/2007 11:32:00 AM
I have an application I'm developing in VB.Net 2005. This is going to be a trouch screen application. What I want to do is when my applicaiton loads I want it to take up the entire screen, including the Windows Task Bar. (I don't know if I'm using the correct term here, so let me explain. I wa...more >>

Visual Studio.Net Projects Folder
Posted by Greg at 9/21/2007 12:56:02 PM
I have a few questions: 1. I was just creating a new Project in Visual Studio. I decided I would use the "Projects" tab that is on the File Dialog to place my Projects. I noticed this folder is built off of my "My Documents" folder. VS.Net created these folders when I installed VS.Net, so ...more >>

Problem with OneNote Mobile
Posted by DiscipleTom at 9/20/2007 9:36:01 PM
I downloaded John Guin's Power Toy to send pages from ON to a mobile device..and it worked great! However, I had to do a hard reset on my AT&T 8525...when I reinstalled ON and the PowerToy, it would not work again. By the way, I also went in regedit and removed the PowerToy line. I've uni...more >>

Can you compile VB6 apps in vsnet 2003 or 2005?
Posted by sherifffruitfly at 9/20/2007 5:47:38 PM
I'm dealing with idiotic legacy apps at work, and need to re-work some old VB6 code. Can I do this from either vs2003 or vs2006? tia! ...more >>

Properties window disappears
Posted by M at 9/20/2007 10:02:23 AM
I tried to update VBNET project to VS2005. Now the Properties window disappears in VBNET . VS2005 and VB6 are fine. I spent hours cannot find a way to re-enable it. ...more >>

Designer doesn't like friend assemblies
Posted by Matt at 9/20/2007 8:00:01 AM
It seems that the VS designer doesn't recognize friend assemblies and I was wondering if this was an intentional documented issue or if this is indeed a problem. I've tried searching for answers with no luck. The problem is that after you make an assembly with user controls a friend and ...more >>

Cannot show perperty window
Posted by M at 9/19/2007 12:56:14 PM
Hi I do not know what is wrong today The property window cannot be show. No matter I press F4, using menu View--> properties window. right click point to properties. Click properties window icon in toolbar. Can you help? Thanks ...more >>

Converting a Datarow() to a Datatable
Posted by Komandur Kannan at 9/19/2007 1:26:01 AM
Hi Is it possible to convert a Datarow() to a Datatable in more simpler way. Parameswaran.N ...more >>

Install vs2005 and v2008 on the computer
Posted by Raynald M at 9/19/2007 12:00:00 AM
Hi Everybody, Somebody have tried to install vs2005 and vs2008 beta 2 on the same computer ? Thank a lot ...more >>

vs2k5 sp2 :: ftp problem
Posted by bill tie at 9/18/2007 4:20:01 PM
When I try to create or publish a website with FTP, Visual Studio creates a directory on the server but then it chokes. The Task Manager shows VS is not responding, and I have to kill it. Can anybody shed light on this? Thank you. ...more >>

vsnet2003 - How to add watch variables?
Posted by sherifffruitfly at 9/17/2007 8:50:23 PM
Hi all, It seems like every time I want to add a watch variable, the option is grayed out when I right click on the var. When the app is running (in debug mode of course), it's grayed out. When the app is NOT running, the context menu option is still grayed out. A couple of weeks ago I was ...more >>

how to hide dll methods?
Posted by mr peanut at 9/17/2007 3:02:02 PM
My application references a class library dll. When deployed, the dll appears to be importable as a reference for other programs and the methods are visible to users installing the application (provided they have VS). I checked and I found several applications on my home computer that have ...more >>

disabling addins during command-line launch of VS.NET
Posted by slyi at 9/17/2007 3:00:46 PM
Hi, I am looking for a way to disable certain addings (such as VisualSVN, Visual Assist, Vtune, etc..) during start up. This is useful say when I launch a certain project just for a quick and dirty debugging, and do not want to wait for the whole arsenal of developer tools to load. Just the...more >>

How to debug my Custom control DLL
Posted by Komandur Kannan at 9/17/2007 1:06:05 AM
Hi Hi I am using vb.net 2005 framwork 2.0 Hi I have created a Custom control DLL (combobox) I have used the Custom Control in one of my project. I have to debugg the cutom control on the runtime. Please guide me. Regards Parameswaran.N...more >>

Office Assembly shared usage
Posted by Komandur Kannan at 9/17/2007 12:52:02 AM
Hi I have created an vb.Net window based application using the shared assembly given by Microsoft Office 2003. I am going to depoly the application in my user pc by just giving a shortcut to of that application. I wouldn’t no If my user is using the lower compatible of...more >>

webbrowser in vb.net
Posted by Komandur Kannan at 9/17/2007 12:42:02 AM
dear support team, im using vb.net 2005 with dotnetframework 2.0, im using webbrowser control to display my word doc file , here i hv few questions? 1). how can i hide standard/drawing/ bars in webbrowser control, if i select webbrowsershortcutenabled = false, its not doing, i checked with it...more >>

Expose Enum through Interface?
Posted by thejamie at 9/14/2007 7:26:05 AM
Is there a way to expose an enum through an interface... below does not appear to work: Public Interface ISQLBuilder Sub Init(ByVal ActConfigSched As DataSet) Enum eConfig eNone eConfig eETC End Enum End Interface Public Class implementISQLBuilder Implements ISQLB...more >>

view just a procedure
Posted by rodchar at 9/14/2007 7:08:04 AM
hey all, is there any way when i'm working in code editor (c#) to view a procedure by itself? thanks, rodchar...more >>

adding projects to new solution
Posted by John A Grandy at 9/13/2007 4:06:46 PM
I am having problems creating a new solution and adding pre-existing projects to the solution. I have a tree structure such as : \root \project1 \project2 I create a new solution1 under \root , I right-click on solution1, and choose to add project1.csproj .... proje...more >>

VS 2005 Team System - VB .NET Refactoring?
Posted by Scott M. at 9/13/2007 10:08:00 AM
I've been told that the native support for refactoring VB .NET code in VSTE is superior to the limited refactoring for VB .NET 2005 in VS 2005 Pro. Can someone point me to where the refactoring options are in VSTE for VB ..NET projects? FYI - I am aware of the Refactor! add-in and am NOT r...more >>

Losing my window positions
Posted by at 9/12/2007 2:20:10 PM
I keep a certain set of windows open in Visual Studio 2005 (Solution Explorer, Output, Breakpoints, Call Stack, Threads, etc.), and I have them arranged as I like. Sometimes, for reasons unknown, I'll open the IDE, and the way I've configured all my windows has changed. Usually, Output is gon...more >>

Visual Studio 2005 Forms Designer Problem
Posted by Tom Delany at 9/12/2007 7:49:26 AM
OK. I've read about the dreaded "WSODs" (White Screen of Darn). I have even enountered them on several occasions. My problem is sort of a twist on the WSOD problem. I have a Windows Form class that is derived from another form class. The Base class is fine, and I can open the base form in t...more >>

How to find the Control foucs when Tab pressed vb.Net
Posted by Komandur Kannan at 9/11/2007 11:08:00 PM
Hi, I am working in vb.Net 2005 window based programming * I have some doubts when i press a tab key, what control the foucs has been set too. What is the way I can do. This is used for me to find the hidden controls in my projects * When I get the foucs of to...more >>

Forms
Posted by Greg at 9/11/2007 5:28:01 PM
I have a calculator I am developing within its own form. I need to be able to display this calculator on top of another form and have it continue to appear on top of the form when the user clicks back into the main form. How can I make this form always appear on top of another form, regardless...more >>

Build dependencies issue using devenv.exe in VS2005
Posted by anita at 9/10/2007 9:20:33 PM
I have following projects in my solution. 1. pjlib 2. pjlib_util (depends on pjlib) 3. Controller (depends on pjlib and util) 4. Service (depends on controller). 5. Setup (uses output from Controller and Service). I have specified project dependencies. Build order looks fine. When build using...more >>

CAST
Posted by Greg at 9/10/2007 7:46:01 PM
I'm working on a VB.NET 2005 application and need to filter a stored procedure based on a value entered on my form. The field on the form that accepts the filter item is a text box named EmployeeID. In my objCommand object I am passing it as a parameter to filter for a specific EmployeeID. ...more >>

How to create a setup project that starts the application after installation
Posted by at 9/10/2007 4:33:42 PM
Hi, I created a small project in vb.net 2005. I tried to create a setup file for it using the Setup and Deployment projects in vb.net 2005. It does work fine. But when the software is installed into a system, it doesn't create a shortcut in the desktop. I added the 'Primary output from my pro...more >>

I thought this would be simple
Posted by John Matthers at 9/9/2007 5:23:45 PM
Hi there, I've been fighting this for almost two days now. In VS 2005, I'm invoking "SolutionBuild2.BuildProject()" on various projects in an arbitrary solution and simply want to inspect each project's build errors via "DTE2.ToolsWindows.ErrorList". However, I'm finding that sometimes the ...more >>

VS 2008 Setup and Deployment Issue - Requires .NET 3.5???
Posted by jbailey at 9/8/2007 1:30:35 PM
I have successfully created a Setup and Deployment project in VS 2008 beta 2 which correctly builds the outputs from all the necessary projects in my solution. Each solution is set to target .NET 2.0 and none of these projects have a reference to any namespace in the .NET 3.5 framework. Th...more >>

Bug en el uso de GlobalFree
Posted by Juan Carlos Montes Senra at 9/5/2007 12:00:00 AM
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Buenas, encontramos un bug en el GlobalFree y queria saber si alguien lo conocia. El tema es que si haces un programa que pida memoria con GlobalAlloc, y luego intentas liberar ese recurso varias veces... funciona. Pero si ese mismo program...more >>

.net 1.1 and .net 2.0 framework issue.
Posted by Daniel at 9/4/2007 11:52:01 PM
Hi, Do you encounter any issue on one server has two framework version as stated at subject? How to enable the two framework run/host the web site perfectly without error message occur when update completed on either web site properties (.net framework adjustment)? The error message m...more >>

Windows Installer runs when I build any setup project
Posted by ME at 9/4/2007 9:10:06 PM
I have this really annoying problem with Visual Studio 2005. When ever I build ANY setup project the Windows Installer will begin to run and look for my Visual Studio installation files. I installed Visual Studio from an ISO (mounted with Daemon Tools v4.08HE) stored on a USB hard drive. Ty...more >>


DevelopmentNow Blog