I recently inherited an old visual basic 6/ crystal reports project which connects to a sql server database. The error message I get (Error# -2147191803 A String is required here) when I attempt to run the project seems to be narrowed down to the .Printout command in the following code:
'Login to database
Set Tables ...
My whole department has owned individual copies of ReSharper for about a year, but I find I'm one of only two people that actually use any of its features regularly. I'm trying to get everybody to use it more effectively and would like opinions on the most useful features and their shortcuts so I can share more than just what I use it f...
I am taking on a maintenance team and would like to introduce tools like FxCop and StyleCop to help improve the code and introduce the developers to better programming techniques and standards. Since we are maintaining code and not making significant enhancements, we will probably only deal with a couple of methods/routines at a time whe...
In my ReportViewer control, when I click on Print Layout, the background turns black on the report. This must be a bug. Is there a workaround?
...
I've found that on some occasions I can edit the source while debugging, are there any other advantages of using the Visual Studio built-in webserver instead of a virtual directory in IIS?
I'm using windows XP on my development environment, and a local instance of IIS 5. I work on several projects, so I use multiple virtual directories ...
I need to combine a VB web project and a C# web project and have them run alongside each other in the same web root. For instance, I need to be able to navigate to localhost:1234/vbProjPage.aspx and then redirect to localhost:1234/cSharpProjPage.aspx. Is this possible from within Visual Studio 2008?
I know you have the ability to crea...
I'd like to increase developers' "comfort level" in our team a bit.
We are using Visual Studio 2008 and TortoiseCVS + WinCVS, but no integration as of yet.
In your CVS/Visual Studio experience, what is the best integration tool in terms of "supports basic CVS functionality add/diff/update/commit/annotate/etc", "works out of the box", al...
For a long time i have tried to work out the best way to access certain site files which i don't wish to be apart of a project or to ease integration with multiple developers (and talents, e.g. designers) on a single project.
A lot of sites i have created have had folders with large amounts of images and other binary files which i have ...
If I have a std::vector or std::map variable, and I want to see the contents, it's a big pain to see the nth element while debugging. Is there a plugin, or some trick to making it easier to watch STL container variables while debugging (VS2003/2005/2008)?
...
When I am working in .NET 2.0 projects with the newest version of ReSharper (4.1) I am getting warnings about using the var keyword and lambadas etc.. Any idea how I can disable this only for .NET 2.0 projects?
...
What are the major reasons for using Windbg vs the Visual Studio debugger?
Edit: and is it commonly used as a complete replacement for the VS debugger, or more for when the need arises.
...
OK, so things have progressed significantly with my DSL since I asked this question a few days ago.
As soon as I've refactored my code, I'll post my own answer to that one, but for now, I'm having another problem.
I'm dynamically generating sub-diagrams from a DSL-created model, saving those diagrams as images and then generating a Wor...
I have an .Net MVC application which runs fine if I use the build in Visual Studio Webserver. If I use the projects property pages to switch to IIS as the webserver and create a virtual directory for my project, any request I send to the server results in a "Directory listing denied" failure.
Does anyone know a solution for this?
...
VB.Net has a the very handy "with" statement, but it also lets you use it on an unnamed variable, like this:
With New FancyClass()
.Level = "SuperSpiffy"
.Style = Slimming
.Execute()
End With
Is there a way to get at the "hidden" instance, so I can view it's properties in the Immeidate window? I doubt I'll get it in the w...
What add-in/setting in Visual Studio can you not live without? Which one improves your productivity or fixes something you can't stand in Visual Studio? Why is it your favorite?
My favorite is aspx edit helper because it does really improve my productivity when working with ASP.NET applications. What it does is provide a quick way to t...
I would prefer that a console app would default to
multithreaded debug.
warning level 4.
build browse information.
no resource folder.
Does anyone know of any technique that would allow me to create a console app, with my desired options, without manually setting it.
...
This isn't so much as a question, as an idea which I think would be helpful. I decided to post it here to get feedback on the idea. I'm not sure if this isn't exactly the right place to post it, but I wanted to see what you guys think.
My idea is to create an code checkin policy which displays a diff of each modified file. To be able to...
I want to debug an application in Visual Studio but I ONLY have the source code for 1 class. I only need to step through a single function in that file, but I don't understand what I need to do it. I think the steps are normally something like this:
Open a file in VS
Load in the "symbols" (.PDB file)
Attach to the running process
I...
When I do a clean build my C# project, the produced dll is different then the previously built one (which I saved separately). No code changes were made, just clean and rebuild.
Diff shows some bytes in the DLL have changes -- few near the beginning and few near the end, but I can't figure out what these represent. Does anybody have in...
Is there anyway to disable the rather annoying feature that Visual Studio (2008 in my case) has of copying the line (with text on it) the cursor is on when CTRL-C is pressed and no selection is made?
I know of the option to disable copying blank lines. But this is driving me crazy as well.
ETA: I'm not looking to customize the keyboard...