Visual Studio 2008 Interview Questions and Answers


 

Interview Question in Visual Studio 2008

Where to download visual studio .net express 2003(direct download)

Visual Studio 2003.NET Express Editions are no longer available for download . Only Visual Studio 2005 Express Editions are available for download.

You can download the full version as CD Images (.iso/.img). Download these images and burn them to a CD and install them on any number of PCs for free.

Head over to http://msdn2.microsoft.com/hi-in/express... and download the CD Image of the Visual studio 2005 Express Edition you need.
the available Express Editions are,

* Visual Web Developer 2005 Express Edition - 439MB
* Visual Basic 2005 Express Edition - 435MB
* Visual C# 2005 Express Edition - 435MB
* Visual C++ 2005 Express Edition - 463MB
* Visual J# 2005 Express Edition - 438MB

You find the instructions on that page, on How to Install the software manually.

They've also provided instructions on How to install from these CD images without actually burning them on a CD.

------------------
Optionally if you want the latest version you can try the Visual Studio 2008 Beta Express Editions here http://msdn2.microsoft.com/hi-in/express...

How Can I Partly Download Visual Studio 2008 Express

Hi People,

First I was downloading iso file of complete setup & I was downloading the same in firefox & after 600 MB download my net connection was stopped for only two or three seconds.

After that I came to know that I have lost the file & the download was stopped & I tried pause & start but nothing happened.

Could tell me any software to download partly or giving break.

********Thanks A Lot********

VS2008 compiling error need suggestions

1>------ Build started: Project: Lab5, Configuration: Debug Win32 ------

1>Compiling...

1>Disk.cpp

1>c:\users\devy's phantasy\desktop\lab5\disk.cpp(30) : error C2511: 'bool Disk::isInside(const GLfloat,const GLfloat)' : overloaded member function not found in 'Disk'

1> c:\users\devy's phantasy\desktop\lab5\disk.h(9) : see declaration of 'Disk'

1>Build log was saved at "file://c:\Users\Devy's Phantasy\Documents\Visual Studio 2008\Projects\Lab5\Debug\BuildLog.htm"

1>Lab5 - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =======





//Disk.h

#ifndef DISK_H

#define DISK_H

#include "ApplicationWindow.h"

#include "Drawable.h"

#include "Color.h"

class Disk : public Drawable

{

public:

Disk(GLfloat x, GLfloat y, GLfloat radius, Color color)

: radius(radius), color(color) { pos[0] = x; pos[1] = y; }

void draw() const;

bool isInside(const GLfloat x, const GLfloat y) const;

private:

GLfloat pos[2];

GLfloat radius;

Color color;

};

#endif



//Disk.cpp

#include <cmath>

#include "Disk.h"

#include "Drawable.h"



void Disk::draw() const

{

glEnable(GL_BLEND);

glColor4fv (color.v);

GLfloat x1 = pos[0];

GLfloat y1 = pos[1];

glBegin(GL_TRIANGLES);

for(int i = 0; i <= 360; i++)

{

GLfloat angle = (GLfloat)(((double)i) / 57.29577957795135);

GLfloat x2 = pos[0] + (radius * (GLfloat) sin((double)angle));

GLfloat y2 = pos[1] + (radius * (GLfloat) cos((double)angle));

glVertex2f(pos[0], pos[1]);

glVertex2f(x1, y1);

glVertex2f(x2, y2);

y1 = y2;

x1 = x2;

}

glEnd();

glDisable(GL_BLEND);

}

bool Disk::isInside(const GLfloat x, const GLfloat y)

{

double distanceSquared = (x - pos[0]) * (x - pos[0]) + (y - pos[1]) * (y - pos[1]);

return distanceSquared < radius * radius;

}

Where do I start if I want to become a programmer

Here's the deal. I have a degree in Radio,TV,Film, but I should have done Computer Science. I spend every second when I am home making small little stupid programs that do nothing, and I am just using basic. I have made over 100 programs for the TI calculators, by programming in basic if/then statements, assigning key's diferent values so when the user pushes them it performs certain actions, etc...

So, to get a job in the world or 2009/future, will I need to know C#? And if so should I use Visual Studio 2008? Or should I learn .NET? and what is the difference betwen .NET and ASP.NET? I asked a Senior Software developer at work about C# and he said "The future is .NET, so you better know that"

What's the difference between ,NET and C#? I thought .NET was just a "Framework" of other programming languages, or does it have it's own?

Where do I begin?? I ultimately want to make software for major companies. Perhaps software that will run a prison, or jail system, or maybe software like Adobe products, or something. I just want to program and create!

**I am a a SUPER fast/intuitive learner, and just "get" things. I am not saying this to brag, I just don't want stupid answers like "You got a long way to go, forget about it" - that doesn't help.

Help me fix a simple(?) problem with C++ coding

I'm trying to learn C++ programing and can't for the life of me understand what the issue is with my current task (using Visual Studio 2008).

When I try to compile, I keep getting an error "C2228: left of '.printTime' must have class/struct/union"

Here's a snipit of the code:

//in main.cpp
int main()
{
baseTime time();
time.printTime();
}

//in baseTime.h
class baseTime
{
public:
baseTime();
void printTime() {
cout << ...

private:
int h;
int m;
}

To my knowledge, my code looks exactly the same as I've seen in book, in other forums, and in the VS help file, as well as exactly like programs I've used in the past the run perfectly well. What the heck is that error talking about and how do I fix it? Any suggestions?

I;m interested in buying Acronis True Image 11 Home, and I had a few questions about it

For one thing, it says that it backs up your system, and all the files/programs on it. Does this mean that I could use it to create a backup of ALL the software on my computer, which could be burned to say, DVD, and I could use that to reinstall all the programs/drivers on my computer? I use Office 2007, Visual Studio 2008, and Adobe CS3 a lot, and I'm wondering if Acronis would allow me to reinstall all of these right along with Windows. I guess to clarify: could I use Acronis to create a series of DVD's that would function just like the Windows Recovery CD, but with all my software, preinstalled? I am NOT interested in using this to duplicate the software I paid for, but rather to reinstall all my software at once. I normally re-image my computer every month to keep it in optimal condition, and I would like to have just one install, as opposed to installing all the software individually. I realize this was a long question, but thank you SO MUCH for your help!

Why remote desktop not working

Halo guys,
I have a problem after rebooting my router and I am unable to connect to my server using remote desktop. It was working fine for a short period like 1-2 hrs till after I installed Visual Studio 2008 and then restart.

I have looked through my router setting and it stay the same. internal IP and external IP no change. Used "check port" service on the net and it is able to connect my 3389 port. I did forward my port by using virtual server in the router. I did even enable my DMZ zone.
But when I tried to connect by click the "connect" button, it has no pop up error but the "connect" button turn back to enable right after I click it. I am sure that it can find my computer because when I disable the port forwarding, the error message about "unable to connect" is prompt. But if I enable the port forwarding, no error message, no response, the "connect" button just enable right back after I click it. So is there anybody have a clue what is going wrong?
THX~~~~
P.S. sorry for my poor english as English is not my first language.

Which of these computers would YOU recommend

I'm attempting to find a good PC for the following uses:

- OpenOffice.org usage (equivalent to Word, Excel, Powerpoint, etc.)
- Visual Studio 2008 (it takes such a toll on my laptop)
- Adobe Photoshop/ImageReady
- World of Warcraft, Counter-Strike, Counter-Strike: Source, Hitman 1, Hitman 2, Hitman 3, Scarface: The World Is Yours

I believe the highest PC requirement is Scarface, with 2.8 GHz. I'm also looking at the video cards in terms of available memory directly to it. Could someone clarify exactly what shared memory is and others? What do they mean when it is said, "Up to 2303MB Total Available Graphics Memory". What should I specifically look for?

I think thus far, the XPS 420 is the one that seems best, but I'm open to advice. I really do not want to go over $1,000. I'd build my own, but installing the motherboard and insulation is something I can't do.

http://microcenter.com/single_product_re...

http://microcenter.com/single_product_re...

http://microcenter.com/single_product_re...

http://microcenter.com/single_product_re...

D3dx9tex.h file not found in C++

Ok, I downloded Visual Studio 2008 Express and downloaded the SDK. I included the Microsoft Platform SDK for Windows Server 2003 R2\Bin in the executables, Microsoft Platform SDK for Windows Server 2003 R2\Include an Microsoft Platform SDK for Windows Server 2003 R2\Include/mfc in the includes, the lib in the library section, and d3d9.lib and d3dx9.lib in additional dependencies. When I run this program, I get an error saying "fatal error C1083: Cannot open include file: 'd3dx9tex.h': No such file or directory"

Does anyone know how to fix this? I need to fix this problem in order to start on my homework assignments so any suggestions at all would be greatly appreciated.

Thanks in advance,

Custom Laptop: Optimal Configuration

I am out looking for an ideal laptop to suit my purposes. I require a laptop that will accommodate my extensive use of 3DS MAX 8 and Photoshop (CS2), and more importantly, facilitate a multitude of word processing utilities such as OneNote, Word, Excel, etc, particularly Word, with which I am writing a novel. The novel will be transferred from my PC to the laptop. To a lesser extent, I would also like to be able to play some games such as Starcraft, Oblivion, and WoW, and be able to work with Visual Studio 2008. I am considering an Alienware Area-51 m15x, however, my funds are limited. Based on my needs, is processor power, RAM, or GPU most important to upgrade?

How to write an auto updater for my C++ programs

I have written a few basic programs in C++ and I would like to make them auto update over the internet or over my intranet (I have a website and an intranet).

I can upload files to my intranet and website fine but the problem is, I do not know how to write the code for an auto updater. Could someone please explain to me how to write an auto updater or provide a link to a website which explains how to make one. Any source code you could provide would be very useful. It can be in any language as long as it works with my C++ programs!

I am only just starting so please keep it simple! Thanks in advance.

Richard

P.S. I am using Windows Vista Home Premium and Visual Studio 2008 Professional Edition.

Write an IM program in Java or C++? (btw what language is AIM in?)

Does anyone know how to write a simple IM program in Java or C++?

If so, what do you need for both since I am currently learning both languages.

This IM client t will be a peer to peer rather than a peer to server connection.

Could I use any Java IDE ?

For C++ can I use MS Visual Studio 2008 Express?

Do I have to use the Win.api for C++?

I'm still doing simple console stuff but I'm looking ahead since I want to write a simple IM program someday once I learn GUI stuff.

Anyone know?

Oh yea what language is AIM, MSN, Yahoo, ICQ ect. written in?

Custom Controls in VB.net

I am working in Visual Studio 2008 (VB.Net) on a Bingo game for my wife. The game will have 18 faces (individual bingo cards) and I am using individual labels (25 per face) and writing the label value from arrays of random numbers. This is great but, the individual naming of all the labels gets to be a bit tedious after a while. IE f1_bp1, f1_bp2 where f1 means face 1 and bp1 and 2 would be B row Position 1 and 2.
My question is this, is there a way that I can take my first finished card and make it into a custom control and then just add 18 of them onto my form, perhaps loading the labels with a couple arrays? Any help would be great, as I've been promising her this for 6 months now.

ISO burning

Have a problem when I burn a ISO image to a DVD+R..The writing software recognises the disc and extracts and burns the ISO fine..

But when I come to read the disc...windows doesn't accept it. It crashes completely on DVD+R discs and fails to recognise the DVD-RW's..(they look blank)..

I have tried various freeware software..and I need to know is there anything I can try..or is there a way to extract the file to hard disc and run it from that location (bypassing the dvd writing process)?

(It is a quite massive ISO (Visual Studio 2008 pro).

Thanks in advance..

Update datagridview from database

Bonjour tout le monde,
je veux mettre a jour ma datagridview en meme temps que je change dans la base de donnees.
Ma base est SQL et je developpe sous Visual Studio 2008, J'ai utilise un dataReader vu que je suis en mode connecte et jai fait le binding mais le pb c que les changements dans le datagridview ne se font que lorsque je relance l'application a nouveau
voila mon code :

Dim Request As String = "SELECT * FROM Dictionnary"
Dim reader As SqlDataReader
Dim bs As New BindingSource()
Connect() 'Open connection

Dim cmd As DbCommand = cnn.CreateCommand()
cmd.CommandText = Request
DataGridView1.ReadOnly = True
reader = cmd.ExecuteReader()

bs.DataSource = reader
DataGridView1.DataSource = bs

jai réussi a voir les changements en temps réel lorsque je mets mon code dans un timer qui relance la requete toute les secondes mais ceci n'est pas bien car d'un cote ça va alourdir le serveur et d'autre part je ne veux que ré afficher les champs qui changent:en d'autre terme je cherche un moyen équivalent a l'ajax mais en vb.net.
Merci d'avance pour votre aide et voila mon msn pour mieux discuter : NoussaL@live.fr

IIS7 and .Net 3.5

I'm attempting to set up a development environment on a Vista Business laptop. I have Visual Studio 2008 set up, and I just installed IIS 7.

When I look at the properties of the default application pool, I see the option to choose the .net framework for that application pool. My options are the 1.1 and 2.0 frameworks. I do not see 3.5. Am I looking in the wrong place, or have I messed something up in the installation process?

Further reading on this topic would be appreciated.

What;s the trendy technique for web programming today

In 2006 i stopped programming in web platform. In that time i was following ServerCommunity "style" of programming. I am talking about the tiers trendy style in that time. i know still that's trendy but i have heard of MVC and other new "ways" that have come out. I remember when DotNetNuke "style" came out. It was pretty good. So, I have the whole Visual Studio 2008 suite, 3.5 framework, silverlight, etc etc. I need to make the best use possible of the new advances out there. I am very into separating UI from processing and all that kind of stuff. Thank you

An ISO file does not open

Recently I have downloaded "MSDN Library for Visual Studio 2008" from Microsoft Website. This is an iso file of 2 GB. I am unable to open this file. When I try to open this file with "ALzip (a software for open an iso file)" it gives me only a single text file. And it file says that "This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.". I don't know what happening.

Please help me to open this file.

Thanks in advance.

Hari!

Windows GUI C++ question

I'm making a postfix calculator in C++ with a windows GUI. There isn't buttons for each number, just a text box where you type in your postfix expression and a result box that displays the result after pressing the calculate button.
I'm using Visual Studio 2008 express, and I've already made the form and buttons.

My question is, how am I going to read in the input from the input box character by character? This is my first foray into GUI programming so I'm kind of confused. Thanks in advance.
12345