Hey guys, I know that in primitive versions of vb (as found in excel) there was a line that you could insert to prevent screens from flickering to and fro when it is trying to process something.
Application.screenupdating = false
I am currently using vb.net in Visual Studio 2008 but i was wondering if anyone knows the equivilent for th...
When I try to generate a unit test for the following method (in a public static class)
private static string[] GetFields(string line, char sep)
{
char[] totrim = { '"', ' ' };
return line.Split(sep).Select(col => col.Trim(totrim)).ToArray();
}
The Tests output says:
While trying to generate your tests, the following errors oc...
I'm currently developping an application with Qt 4.5 on Windows Vista and Visual Studio 2008 as IDE.
The problem is that the program crashes on Windows XP SP2 (works perfectly with XP SP3 and Vista). This can be fixed installing the .NET framework 3.5, but I want to avoid that.
Is there a way to prevent that given that I have to use th...
Is it possible to write a macro or plugin for VS.NEt 2008 to display a list of files in a project that are writeable? I run into this problem when working with Source Safe. There are many times where there is file contention causing me to mark a file as writable to make changes. It would be nice to devise a solution for displaying such a...
I am stumped. I am getting this error when I try to set a mock to have "PropertyBehavior()":
System.InvalidOperationException: System.InvalidOperationException:
Invalid call, the last call has been used or no call has been made (make sure that you are calling a virtual (C#) / Overridable (VB) method)..
I am trying to use only Rhino...
How do I allow my app to have drag and drop toolboxes like Visual Studio?
...
What are the steps to deploying a project created in VS2008 (windows forms and c#) as a ActiveX control hosted in ie? I have a file uploader project that I want to be hosted on a webpage that users can navigate to, click 'trust this active x control' and the application runs on the page in the browser, just like a java application.
To ...
Hi, I'm using Visual Studio 2008 trying to debug a C# project. I had some code in one project, and then I merged the code from that project into another one(which didn't affect my code at all). Well, now using this new project variable watches don't work.. like At all.
Like for I have a List<String> elements; and in the old project I ca...
After I recompile my project it generates a gazillion erros of the following:
Warning CS0436
The type 'AAA.Data.Report' in 'E:\Projects\AAA\AAA\Data\Entities.Designer.cs' conflicts with the imported type 'AAA.Data.Report' in 'e:\Projects\AAA\AAA\bin\Rlp.dll'. Using the type defined in 'E:\Projects\AAA\AAA\Data\Entities.Designer.cs'.
Fil...
Dear ladies and sirs.
I know that this attribute should work in C# and yet, in my case it does not.
I have a class with a lazy property Children. Accessing this property may have a side effect of roundtripping to the server. So, naturally, I do not want this to happen when I just watch it in the debugger watch window.
Omitting all the ...
I am getting the following error when attempting to build my project in Visual Studio 2008 Professional Edition:
*Task failed because “sgen.exe” was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for “sgen.exe” in the “bin” subdirectory beneath the location specified in the InstallationFolder value...
Hey all! I converted my 2.0 site to 3.5 so I can take advantage of using LINQ. It converted the solution to 2008 okay, but the only project/site I can use LINQ in is the UI [web site]. All the sub projects (Business, Data, Model, Utility) can't add a reference to System.Core. It's greyed out. So, I can't add the namespace System.Linq to ...
So basically if the page structure looks like the following below
var someControlInstance;
function onInit() {
someControlInstance = new ControlLibrary.SampleControl(targetElement);
}
function someOtherFunctionInvokedAfterInit()
{
someControlInstance.Property? //<-- No intellisense<br>
}
in the onInit() function, i can see the...
I found a couple posts regarding this error on StackOverflow and posts on various forums. There doesn't seem to be any one cause or solution for this error.
So that it might help somebody else, below is the text of an email I sent to DevExpress regarding my experience with this error.
===
A month or two ago I installed an update to the...
I'm using Visual Studio 2008, developing a winforms app.
I have my database connection string stored in settings.settings.
My development and production environments require different database login credentials and right now I'm manually changing the connectionstring by hand before building for the 2 different environments.
Is ther...
We have a c++ application which I recently ported from Linux/gcc to build on Windows with Visual Studio 2005. The app uses a 3rd party library which only provides DLLs which use the optimised CRT DLL (i.e. they don't provide equivalents which link to the debug CRT DLL). With VS2005 this didn't seem to be a problem = the debug build found...
How to connect with MySQL from Visual C++ Microsoft Visual Studio 2008 ? I tried googling and found solutions all of which ended with fatal errors like linker errors,... etc. Please explain (or provide a link) step by step, including prerequisites (with links) and all details. I don't need any query examples.. just connecting to MySQL. T...
I'm trying to execute the copy command from the visual studio external tools, but I'm getting an error saying that the command is unknown.
How should i set the path for the copy command? as i know it's operation system command and not executable file.
Thanks
...
I have a problem to resolve here:
At the highest layers, we work with a dto. We use Entity framework in the Data layer, working with the entities, converting the results as dtos.
We have some custom searches being done in the upper layers, the question is: how to translate these lambda expressions between classes, assuming that each pr...