The documentation for CFindFile states that
Nonzero if there are more files; zero
if the file found is the last one in
the directory or if an error occurred.
To get extended error information,
call the Win32 function GetLastError.
If the file found is the last file in
the directory, or if no matching files
can be found,...
Is there an easy way to run a search for all the stored procedures in the database to see if they are anywhere in C# code in Visual Studio?
I am using Visual Studio 2008 (C#) with SQL Server 2005. I just want to query the database and return a list of all the stored procedures (I can easily do this). Then I want to search through an en...
I've got a panel in windows forms (Visual Studio 2008) which has a background image (A book shelf).
When scrolling the image flickers and does not redraw so looks awfully - I've tried creating a new object to use double buffering but this has no effect, any suggestions?
Public Class DoubleBufferPanel
Inherits Panel
Public Sub New()
Me...
Hi,
I am using the function below to capture an image on a different form. The captured image is then fed to an OCR app, in this instance tesseract. The issue that I am having is that when the image is copied to the bitmap the quality drops to 96dpi and I want to keep it either at 1 to 1 or at least 300 dpi and also scale it *2 as the...
I have a library that is meant to be used by many websites. The way I am doing it now is in the library's properties, I set the "Post-build event command line" to: copy "$(TargetPath)" "$(SolutionDir)\MyWebsite\bin\$(TargetFileName)"
Every time I want a new website to use the shared library, I add a new line like this: copy "$(TargetPat...
Can any one give me a link for studying crystal reporting provided by visual studio 2008.
...
We're using TeamCity's command line build runner to call a bat-file. The bat-file builds our solution by calling the Visual Studio 2008's "devenv.exe" and then it executes the unit tests and creates the correct folder structure.
What we would like to do is to stop executing the bat-file if the call to devenv fails and make the TeamCity...
Hello,
I have a lot of unit test that depend on a certain configuration of a database. I would like to execute a script every time I run the unit tests so the database is Ok and the tests do not fail due to wrong data at DB. I currently have a SQL script to put the right data at the DB.
Is there a way of doing that from Visual Studio (...
hi, am using visual studio for my project, and i need to include a lib/dll in my application. i have included the lib for the same and compiles fine, however when i try to run it, gives me an error saying that it could not find the specified dll, adding this path in the env variable PATH solves the issue, but i do not want to do it every...
Got a bit of a weird problem. I'm checking a solution out of TFS source control, and not making any changes to it; just opening it using the SLN file. If I then close Visual Studio (or do a Save All), Visual Studio prompts me to save the SLN file. Even if I do (by overwriting it, it's a read-only file), it continues to do this every t...
Whenever I open a solution for Project A it works for a little while(time varies) then the window freezes and eventually crashes. However when I open Project B I can work on it all day and it works fine.
Exception Information
Code: 0xe053534f Flags: 0x00000000
Record: 0x0000000000000000 Address: 0x000000007c812afb
Error Signature
...
I need to know if Windows systems that have VS Express c# 2008 will have had the WPF libraries installed along with the VS installation (XP, so it's not preinstalled on the system).
Google didn't really turn up much.
...
I just noticed that when you try to generate a method stub on code where there are more { than }, the method stub gets generated incorrectly.
For instance:
static void Main(string[] args) {
myMethod();
}
creating a method stub for myMethod() expands correctly into:
static void Main(string[] args) {
myMeth...
I'm trying to debug some problems we have with a web service, and would like to view the xml used in the SOAP call.
Anyone who know how I can do this in visual studio 2008?
I'm developing on windows mobile 6 using compact framework 3.5...
...
Hello,
I've got a solution with ~70 projects, with lots of dependencies between them (I actually made a graph, it had ~300 edges). I know that some dependencies are not necessary. I'd like it to use multiple cores while building, and I guess these unnecessary dependencies might influence on how parallel can the build become.
Basically ...
I have created a simple GUI using Windows Forms in visual C++ 2008. There is a button in the GUI. When the button is pressed I want mouse cursor to point at coordinates (0,900). I have created separate header and c++ source file that sets the cursor position to specified location (x,y). For this I have used Win32's SetCursorPos() functio...
My C# Solution is taking longer to compile that I would like.
Is there a way to profile the build process to see what is taking so long?
...
I have a project that I'm upgrading from 2008 to 2010.
My problem is with the code being generated by a service reference. Any classes used in the Reference.cs are given by their full name according to the reference
The difference results in a 'cannot convert from foo.Data.MtkBaseRequest to foo.WebServicesClient.ModelDataService.MtkBa...
When I'm trying to add a new local database to my visual studio project, It tells me "The data provider or database you have selected is not supported".
How can I fix this error?
Thanks in advance!!!
...
Hey all, i am not sure how to put what i am looking for. The best i can describe it is a flowchart type of layout that shows your all your ASP.NET pages and how they are linked to one another.
Example:
----------- -----------
|main page| |error.asp|
-----------\ /----------
\-----------...