visual-studio-2008

How to use crystal reports in vs 2008

I'm a beginner at this. I'm using mysql connector .net to connect vb.net with mysql database. But I used ODBC for a crystal report. Is that ok? And I'm also putting a command, will something like the one below work? And how do I designed a crystal report? My first try, I got a lame report with only text on it. Please give links t...

how to remove NullExceptionError from Session Variable

Hi, Hi , I have a varible sem,which takes inputfrom the textbox but if the textbox is kept empty i want it to return "Please Enter a Semester" int sem; int parsevalue; if (int.TryParse(TextBox2.Text, out parsevalue)) { sem = parsevalue; Session["Sem"] = sem; } else { Literal2.Text = "...

Where should I install older framework version from if I already have other versions installed?

Is it possible to install the .NET Framework 1.1 on Windows Vista, if so, how/where from? I already have .NET Framework 2.0, 3.0, 3.5 and Visual Studio 2008 installed. ...

How to run vc++ .exe file where MS Visual Studio is not installed?

Hi All.... I developed one application in vc++(console) in Visual Studio 2008 . Now, how can I run its .exe where Visual Studio is not installed? Thank you. ...

How do I properly style a button in WPF?

I know this is a basic question, but I'm having a bit of trouble understanding how to do this properly. Given the following XAML: <Button> <Grid Grid.Row="1"> <Grid.ColumnDefinitions> <ColumnDefinition Width="16" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Image Grid...

Access violation in Image destructor

A very simple program I might say.. #include <windows.h> #include <gdiplus.h> using namespace Gdiplus; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR cmdLine, int nShow){ // Gdiplus variables GdiplusStartupInput mGdiplusStartupInput; ULONG_PTR mGdiplusToken; GdiplusStartup(&mGdiplusToken, &mGdiplusS...

Problem with ifstream::setbuf in VS2008

What changes are needed when porting "setbuf" in VS2005 to VS2008? I have to modify a project in VS2005 to VS2008 to be able to build it. Below is the line of code that needs to be compiled in VS2008. std::ifstream In; In.setbuf(FileBuffer, BUFFER_REGION_SIZE); When I compile the above code in VS2008, I see the below error. e...

Numerical precision differences between VS6 and VS2008 using C++ ?

I've been working on porting a legacy project from Visual Studio 6 to 2008. After jumping a few hurdles I now have the new project building and executing. However, I've noticed that the output from the two versions of the program are very slightly different, as though the floating-point calculations are not equivalent, despite the fact...

Visual Studio debugger - Displaying integer values in Hex

I'm using Visual Studio 2008 and I have just noticed that the debugger is displaying integer values as Hex when I hover over variables and also in the immediate window. I guess I must have hit a shortcut key accidently or something. Anyone had this before? How do I set it back to display in decimal? ...

Strange visual studio 2008 C++ compiler error

I have three lines of code: //int pi; activation->structSize = sizeof(rmsActivationT); int pi; //program wont compile with this here every time I uncomment the second int pi and comment the first int pi I get this error: syntax error : missing ';' before 'type'. When i uncomment this first int pi and comment the second int pi, my c...

Visual Studio 9.0 Beta Program files in C:\

I've several Visual Studio 9.0 Beta Program files in C:\ root directory: eula.1028.txt eula.1031.txt eula.1033.txt eula.1036.txt eula.1040.txt eula.1041.txt eula.1042.txt eula.2052.txt eula.3082.txt globdata.ini install.exe install.ini install.res.1028.dll install.res.1031.dll install.res.1033.dll install.res.1036.dll install.res.1040.d...

visual studio using old xap

I am debugging my silverlight application. This application reads an xml file to draw some stuff. Everytime I change my xml file, refreshing the page does not display the new results. I have to get back to visual studio and hit Ctrl+F5. I have added random query string in my xap url <param name="source" value="ClientBin/SilverlightOrg...

How do I put an arraylist in a Listbox

So I need help on an assignment and I've been trying to solve it for more than a week, but I need help on putting an arraylist inside a listbox. http://i29.tinypic.com/ib9oiu.jpg That's what the GUI should look like in the end, all the information has to be saved in an arraylist; I should be able to add a new customer; click on a custom...

How do I get a string or stream into a CStreamFile?

Hi, this question may seem a bit too specific, but I figure I'd give it a shot here since I've found some great programming answers here in the past. I am modifying the open-source program TinyCad for a project I'm working on. I've visited the TinyCad message board and posted, but I didn't get the answer I'm looking for. I'm having trou...

To upgrade or not to upgrade. Visual Studio 2008 to Visual Studio 2010

I can't find any compelling reason why I should put in a request for my company to get me an upgrade from Visual Studio 2008 Pro to Visual Studio 2010 Anything. Am I missing something? ...

Visual Studio 2008 - Break All into user code thread?

Debugging a workflow as a service in VS 2008. The Break All option always takes me to a non-user code thread (The dct thread at CreateEvaluationFrame). I can switch to the user code thread, but I was hoping there might be some trick to getting VS to break into this thread. TIA ...

Issue with Includes, Visual Studio 2008

Okay, here's my issue (and my first question on SO!), and no, as much as i would like, i don't have a lot of say in how things are structured. One of those inherited farms that management won't let me change too much. I'm in Visual Studio 2008 in a WinForms solution. My solution contains 5 Visual C++ Projects, some managed, some nativ...

Automatically changing the toolbars and windows shown in different views in VS 2008

Is there a way to get Visual Studio 2008 to automatically change the the tool windows shown when changing from view to view? Say i'm in the Code view, i may want the Solution Explorer and the Class View windows, but not the properties window. When i switch to Design view, i don't want the Solution Explorer or the Class view, but i want ...

how do i create and run c program in visual studio 2008

i have installed microsoft .net framework and visual studio 2008. give me the procedure to create c programin it........ thanks in advance ...

Publish entire solution in visual studio 2008

I know how to publish a single application in my solution by right clicking the project name and clicking properties then going to publish tab. How do you do this for the entire solution so that you only have one installer for all of them? ...