visual-studio-2008

intellisense for empty Win32 projects

When I create a empty Win32 project. My intellisense stopped working. Is it possible to get it working for empty Win32 Projects with 1 source file ? Thanks ...

Incorporating check boxes and radio buttons, visual basic

I'm writing a program to calculate internet charges. Three packages, A, B, and C to choose from costing $9.95(10 hours; $2/hour extra), $14.95(15 hours; $1/hour extra) and $19.95(unlimited). Here is the code I have written for input from masked text boxes (for just one case). I would like to simplify by using check boxes and radio but...

parse onclick links in html

I certain html page contains links that are displayed with each onclick event. I am unable to parse the html for the url that will follow these onlick links. If this is the source on the page, how do I capture the content that each onclick link displays. In other words for example: <a href="#" onClick="SelGenre('001'); return false;">プラ...

Recommended TDD/Agile/Source Control plugins for Visual Studio 2008

Hello world! I am looking for a set of nice plugins to use when developing software. Currently I am soloing a project where I simultaniously experiment with TDD as I go through the project. Recently I have been quite hyped about agiles processes and wonder how I can further integrate tools that will aid in my task of both completing the...

How do I convert my program to use C++ namespaces?

My code was working fine, until I tried to wrap all of my class definitions in a namespace. // "Player.h" #include "PhysicsObject.h" namespace MaelstromII { class Player : public MaelstromII::PhysicsObject { // ... }; } // "PhysicsObject.h" #include "GameObject.h" namespace MaelstromII { class PhysicsObject : pu...

Why doesn't visual studio do anything when I press CTRL-Z the first time?

Maybe it's only this way in my instance, but maybe not. When I'm editing an ASPX file in Visual Studio 2008 and I press CTRL-Z to undo, nothing happens. Then I press CTRL-Z a second time and it does what it's supposed to do. There is a flicker the first time I undo, so maybe something IS happening. Maybe it's by design and I should be h...

Image wont draw to screen C++

I am following a tutorial. And I am trying to draw a .bmp file to the screen. It builds with no errors but no image appears. according to the book, I should see the image pop up in random places. Below is my code. The author doesnt recommend this technique for drawing objects, he is just doing for demostration. In case your wondering. ...

ODP.Net 9.2 and 11 on the same machine, using VS2008

Hello, I'm currently developping to application, one using the ODP.Net 9.2 and the other one should use the ODP.Net 11. I'm using the Server Explorer from VS2008 to add a new connection but failed each time with the error "ORA-12154: TNS: Could not resolve the connect identifier specified". I'm not able to debug which ODP VS2008 is usin...

What is the better way to use a my_sql database with a C# .Net software ?

Hi, I would like to create a C# .Net software linked to a database. I had a look at some solutions found on google but none of them convinced me ... So, what do you think is the better way to integrate a my_sql database into a C# .Net Software. Of course a nice integration into visual studio would be better :p Thanks. PS : I use Rub...

How to test Sample Solution from dotnetopenauth

I downloaded the latest dotnetopenauth from here https://www.ohloh.net/p/dotnetopenauth/download?package=DotNetOpenAuth&amp;release=3.4.1 I open the sample solution, now i just want to test "OAuthServiceProvider", how do i do this? it doesn't work. Project Link: http://www.dotnetopenauth.net/ ...

intellisense for previously declared varibles and constants

I am using MSVS C++ Express 2008. Right now my intellisense only works for objects that have methods or arguments in a method. Is it possible to set it where it detects declared constants and varibles that are within scope. Thanks ...

VC++ How do you "Fit to Screen" based on resolution?

How do you fit a project to the screen depending on it's resolution so all pictures and components involved increase or decrease in size and the difference of space between them is kept in consistent ratio with all resolutions? ...

[VS 2008] toggle current thread flagged state

Hi folks: I saw a icon indicating "toggle current thread flagged state" when debugger is on. What's it purpose? Thanks. ...

Optimization: A tool like gprof for visual studio

As a C# programmer, i'm in a transition from small projects to medium projects. I didn't need a profiler for my little projects before. But now I need a tool that help me improving the performance of my code. I used gprof many years ago, in C. Can someone give me a starting point, or recommend me a tool like gprof for VS2008? That is: A...

MoveNext() function of _RecordSetPtr is creating problem in VS 2008

Hi, I have an application, earlier it was created using vc 6, and there it was working fine, then it convereted to VC++. 2008(.net), in that it is crashing when we try to get Recordsets using the function MoveNext(), what is the problem with VS 20008 while using this function? and how to fix it? any help would be highly appreciat...

How to configure Visual Studio to show integers as decimals when debugging?

My Visual Studio 2008 debugger is showing integers as hexadecimals, how to correct that? ...

Hide an Icon from the Solution Explorer Window

I want to hide (or disable) for example the 'Refresh' icon in the Solution Explorer window Is it possible ? ...

How to select against which version of the Visual C++ libraries the application is compiled?

I'm using Visual Studio 2008 for C++. When compiling, Visual Studio compiles against the header files of the VC 9.0 libraries. However, there are different versions of this library available: v9.0.21022.8 (= RTM) v9.0.30729.17 (= SP1) v9.0.30729.4148 (= SP1 with security update) I'd like to know whether it is possible to tell Visual...

DatePicker no longer working after changing a C# webapp to use a master page.

I'm working on a .Net/C# web application and had been using a javascript based calendar to allow users to select dates. This has been working fine. Today I changed the code to include a master page and the datepicker which is called from a childpage has stopped working, the problem being that the Textbox which the date is returned to i...

Tracking down the origin of a VS2k8 error message?

I have several maps containing a multitude of classes in my VC++ project, some of them default constructable, others not. When trying to build, I get a "no appropriate default constructor available" error. The problem is that the error is listed to occur in line 173 of map.cpp, which is the code for operator[]. It would seem that I'm acc...