visual-studio

Update panel doesn't seem to update

I have a button inside of a gridview's template field. Onclick i want to the button to open up a modal popup while force updating the updatepanel and formview inside the modal popup because the formview's datasource depends on a hidden field in which i am setting after click also. This is what i have so far. protected void bttnEdit_Cli...

How do I see the contents of Qt objects during debugging?

Many Qt classes uses pimpl, so they're very opaque to VS's debugger. This is bothersome when I want to check some internal Qt state to see if my code is doing it wrong or if I'm having wrong expectations of how things stand. I'm using the Qt VS add-in (1.1.0), but that doesn't seem to help. Any ideas? Update My autoexp.dat file is ...

Deliberatly trigger a compilation error in Visual Studio 2008

Hey, Is there a way to deliberatly trigger a compilation error when a certain condition is satisfied on Visual Studio 2008? ...

what's wrong with this ADODB connection string to sql server 2005

I'm working on populating a combobox in visual studio 2005 using vb and I'm stuck on the connection string part. I should mention i'm connecting to a SQL Server 2005 instance. Here is what i have: Dim gDBA As ADODB.Connection Dim records As ADODB.Recordset gDBA = New ADODB.Connection gDBA.Open("Server=e-13;Database=subscribers;User...

What the minimum edition of Windows 7 to work with Visual Studio/Asp.net?

With Windows Vista/XP, I needed at minimum the Home Premium edition. In the Home Basic edition of Vista/XP I cannot work with ASP.Net... What the minimum edition of Windows 7 to work with Visual Studio? What the minimum edition of Windows 7 to work with ASP.Net? ...

Casting issues - multiple web services return the same class

I am working on a project that uses many web services. Many of them return the same class as a response. Right now, I am wanting to be able to pass the result from one web service in as a parameter to another. This isn't working though. When I try to implicitly cast it, it says it can't be implicitly cast. When I try to explicitly c...

How to use tabs-as-spaces in Python in Visual Studio 2008?

I have some IronPython scripts that are embedded in a C# project, and it would be convenient to be able to edit them in the VS editor. VS evidently knows about Python because it provides syntax coloring for it. Unfortunately however the editor uses tab characters for indentation, whereas I want spaces. Is there a setting to change this? ...

Profiling DLL/LIB Bloat

I've inherited a fairly large C++ project in VS2005 which compiles to a DLL of about 5MB. I'd like to cut down the size of the library so it loads faster over the network for clients who use it from a slow network share. I know how to do this by analyzing the code, includes, and project settings, but I'm wondering if there are any tools...

Adding new row datagridview to use default values

Hi, I have the following SQL that creates a table and inserts the first row of data without a problem. The default DateTime values are also inserted as expected. CREATE TABLE Jobs ( [Id] int PRIMARY KEY IDENTITY(1,1), [JobName] nvarchar(256) Default 'SomeName', [CreateDate] DateTime DEFAULT GETDATE(), [ModifyDate] ...

Project dependency in Visual Studio

In Visual Studio, I have two C++ projects - Gui.vcproj and Dll.vcproj. Gui is an application and Dll produces a DLL. What's the best way to make the dependency resolution automatic? I tried adding Dll.vcproj into Gui.vcproj's references, but it doesn't seem working. ...

Visual C++ standards compliance

Hey, I was wondering if, and to what degree, does Microsoft's Visual C++ compiler conform to the current C (C90/C99) and C++ (ISO/IEC 14882:2003) standards. Unfortunately I'm only able to find partial information on the subject, I may be looking at all the wrong places. Any pointers to related resources are much appreciated. Thanks in ...

"Add Controller" / "Add View" in a hybrid MVC/WebForms ASP.NET application

I have an existing WebForms project to which I'm adding MVC pages. I created an MVC project and copied the project type guids. It works fine, but I can't get Visual Studio to display the "Add Controller" or "Add View" wizards on my controllers and views directories (they're not /Controllers and /Views, they're in /Foo/Controllers and /F...

Favourite Features of VS 2010

With the general public release of Visual Studio 2010 Beta 2 today, this latest version has created a lot of hype and interest. Indeed, the opinion I've gauged is that VS 2010 has resolved a great deal of the minor flaws left over from previous versions, as well as added some particularly useful new code editor and project development t...

Registering x64 Assemblies for COM Interop

Scenario: I have a project containgin two C# projects, which for historical reasons must communicate with each other using COM (via COM Interop). The COM Server is an in-process automation object (call this the "Server") and the COM Client is a simple C# Console application that loads the server like this: var objTypee = Type....

can i use resharper 4.5 with visual studio 2010 beta

should this work or do i need to wait for a new resharper release? ...

VS 2005 doesn't detect changes in header files of C++ project

Very often, actually most of the times, Visual Studio2005 doesn't detect that some header included in some CPP file C++ project was changed. As the consequence, it doesn't recompile the project if only header is changed. It doesn't depend on the "precompiled headers" settings. It doesn't happen in VS 2006 but in every version of VS 2005...

Tools for generating UML class diagram from C# source or dll

I'm looking for a tool that would generate an UML diagram from a C# project or the compiled .NET dll. I've yet failed to come across any and the built-in basic class diagram generation in Visual Studio is not sufficient to my needs. Any suggestions? ...

Unable to connect to Visual Studio's Localhost Web Server

Until yesterday everything was normal but today i try to lauch my application using Ctrl+F5 and i get the following error: Unable to connect to Visual Studio's Localhost Web Server I have tried aspnet_regiis -i and iisreset but nothing works. Any ideas?? Environment: Windows XP Visual Studio 2005 ...

Duplicated DLL in the "Detected Dependencies" folder

In my solution I have to project using the same references (AxInterop.QTOControlLib.dll, Interop.QTOControlLib.dll and Interop.QTOLibrary.dll). My problem is that in my deployement project, these dependencies appear twice in the "Detected Dependencies" folder, thus lead to several warning like : Warning 1 Two or more objects have the...

visusal studio embedded crystal report keeps prompting database login?

I'm using visual studio 2005 to develop a form with a combobox passing a value into the parameter of an embedded crystal report. I'm trying to figure out why it keeps prompting me for a database login every single time you try to run the report with a different combobox selection. Here is my code: private Sub Form1_load... ...