my mfc application created in visual studio 5 running on windows server 2000 sp4, i create a release for it and try running it win xp slp2. it gives me application failed to initialize properly (0xc0150002)
i have tried following things
-Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) the one that comes within the ...
I am using webrequest to fetch some image data. The url may be invaild sometime. In case of invalid URL, begingetresponse is taking time equals to timeout period. Also the control become unresponsive during that period. In other word the async callback is not working asynchronously. Is this expected behaviour?
try
...
Hi,
In vs 1.1 i get a warning message when trying to check out a page.But in vs 2008,i dont get a warning.What can be problem?
...
I am trying to take the code in an .ASMX web service and change it into a class library project. The web service project has a web.config file with:
<applicationSettings>
<myService.Properties.Settings>
<setting name="DownloadChunkSize" serializeAs="String">
<value>100000</value>
</setting>
..and the co...
Hi,
I have this dialog:
ID__BATERIA __FAX DIALOGEX 0, 0, 235, 86
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Nueva batería de fax" FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,120,65,50,14
PUSHBUTTON "Cancel",IDCANCEL,175,65,50,14
LTEXT ...
Hi All,
Simple question... I have a VS 2005 solution that encompasses several reporting services projects. Currently, each project has it's own shared data source making changing the database target very tedious.
Is there a way to share the data source across the entire solution (i.e. all the projects in the solution will use the da...
When debugging C# with Visual Studio, is it possible to see WHICH object reference on a given line of code caused a NullReferenceException?
I have what seems like an odd situation where, occassionally, when running a debug build of an application from Visual Studio, I will get a NullReferenceException at a certain line.
Visual Studio w...
When I load up my MFC C++ app in VS2005, the IDE always defaults to the command window. How do I make it switch to the Output or Immediate windows by default?
...
I am not sure if this is related to this weird behavior I'm experiencing: http://stackoverflow.com/questions/1229811/why-is-my-asp-net-mvc-project-saving-several-copies-of-itself
But I'm completely stumped.
My solution (asp.net mvc application) currently resides on the thumbdrive (cruzer micro 4gb), all the files were fine as of last n...
Hi all,
I've built a console application that references version 4.3.2.1 of another dll we've built.
It worked fine and did its job.
Then version 4.3.2.2 of the dll is built, and the console application starts to die becuase it wants to see 4.3.2.1.
Is there any way to tell the console application to use 4.3.2.1 or higher? The metho...
I used to know of a class attribute that you could set your classes as "form" or as "code" and if you set a form as "code", double clicking it's file in the Solution Explorer, would open the form in code view instead of the default form view.
I can't remember what's that attribute called, anyone knows?
...
I'm using LINQ to SQL as my data access layer for a new project. I have added my database tables to the designer and all is well.
Whenever I use one of these classes in a function, Visual Studio warns me that 'Type xxxx is not CLS-compliant' or that 'Return type of function xxxx is not CLS-compliant'
Is this a problem with the classes...
The codebase I've inherited seems to have a bunch of public variables, and as I come across them I tend to convert them into properties, document them, and format them according to our stylecop rules (it's my own little version of kaizen - eventually the codebase will be clean) but I was just wondering if there is a good search string th...
In NUnit, I'm used to writing Trace statements in the test, and having them show up in the trace tab of the NUnit gui.
On a new project, I'm moving to the built in Unit Testing in Visual Studio Professional Addition, which I believe is an interface to mstest.exe.
Test Code:
<TestMethod()>
Public Sub TestPagesInheritFromBasePage()
...
I have a Visual Studio 2008 .NET 3.5 Web forms project that constantly shows warnings for my class tags in the html. I have the CSS file included in the master page with the following link:
<link href="/Css/Site.css" rel="stylesheet" type="text/css" />
The warnings I get are:
The class or CssClass value is not defined.
At run time...
Hey Folks.
Simple question - I found two ways to add a tool window to Visual Studio (2008): create an addin or create a package.
(Addin: http://www.codeproject.com/KB/dotnet/vstoolwindow.aspx)
(Package: http://msdn.microsoft.com/en-us/library/bb165051.aspx)
What's the "right" way?
...
I have a database project in visual studio (2008) that I am using to keep my database structure in a version control system (Git). I use the data schema compare tool in VS to maintain this database project. The issue that I'm encountering is that I keep losing my permissions for new objects.
So how do I:
Capture these permissions u...
I demoed a control (from MooseWorks) for my Pocket PC app. I used the demo control in my app to see if it would work.
It worked great and we have now purchased it. I took the old (demo) dll out of my project and added the new one in. I also deleted it off the device and did a clean build. But the demo dll (with a nag screen) is still ...
Is there a public resource to view, submit, track defects reported for the different products within Visual Studio?
Suppose you observe some behavior in Visual Studio that you suspect might be a defect, and you'd like to determine whether:
it's been submitted to the VS team
it's been fixed in an upcoming release
the behavior is by des...
If I set a breakpoint on a method, how can I see what called the method, when the breakpoint is hit in visual studio 2008?
...