Friday, July 31, 2009

Where can I find Visual Studio 6.0?

I just finished a semester of Visual Basic at my school and I love it. Right now I am in another semester and I am taking c++ and thats a lot of fun too. I was just wondering where I can find VS 6 because i searched best buy and target and they dont have it. SO is their anywhere I can find it. And another thing can someone tell me a price range.

Where can I find Visual Studio 6.0?
Can't beat the price. Free.





http://msdn.microsoft.com/vstudio/expres...





enjoy...
Reply:Try www.isohunt.com
Reply:on the internet
Reply:It is a very expensive product to find without ordering it. I bought mine from my school's library for around $300.
Reply:you can get it for FREE, I got it from Microsoft online for free.


My C# program fails to establish connection to SQL Server during Data Form Wizard on Visual Studios. Why?

I was trying to create a program that would retrieve information from an SQL Server database, located at the Master folder, but the error message provided was "Server does not exist or access denied". I already added the SQL Server name, and set it on "NT Authetication", since I did not specify the username and password for the server itself. What went wrong?

My C# program fails to establish connection to SQL Server during Data Form Wizard on Visual Studios. Why?
A couple of things to try:





Can you ping the server from your PC? Drop to a command prompt and type in Ping ???? where ???? is the servers name. Can you ping it? If not, verify the servers IP address by going to the server and typing at a command prompt


ipconfig /all





It'll display it's IP address and you should then see if you can ping it from your development PC. If you can, use the IP address in your connection string.





If you can Ping it see if you can telent to it. MS SQL Server listens on port 1433. Drop to a command prompt and type in


Telnet ???? 1433


Does the command prompt screen clear with a cursor blinking or does it return an error? If it returns an error then the server is not listening. Make sure SQL Agent is running and make sure that the server is actually running by going onto the server and starting the Enterprise Manager or Management Studio and see if you can do some queries.
Reply:from all my experience in .NET programming, i know you always need a user id and password on a database, even for a sample coding/ trying out..





why dont u create a simple user id of 'test' with a password '1234' then give it a permission of a normal user. it should be able to work..





also, another thing can be wrong is the configuration of your connector. if you are using odbc or msodbc, be sure to check its configuration. a number of times i got this not configured and ending up getting the same error message as yours





hope that helps and do note that just setting up a database for connection and data retrieval may take up to a whole day even for seasoned programmers
Reply:Is your SQL Service running?


Start--%26gt;Run--%26gt;services.msc


In services Look for:


SQL Server started


if it is blank you need to start it. right click and start.
Reply:What's the connection string?





Does the SQL Server support TCP/IP connections?


How to make a website written in c#.net into an executable file?

i have made a website with certain linked pages in C#. net (visual studio 2005) and i have to put it on our institution LAN.Pl advice how to package it and make it executable so that i can see the site across the net work from any computer.

How to make a website written in c#.net into an executable file?
Web applications are not compiled into executable files but rather into another kind of assemblies.





All you need to do now is deploy or publish your application on your webserver and there are a number of ways to do this.





You can read about deploying ASP.NET applications here:


http://www.codeguru.com/csharp/.net/net_...


http://www.beansoftware.com/ASP.NET-Tuto...


http://www.c-sharpcorner.com/UploadFile/...





Hope this helps.


"Guess the number" in C#?

Hi. I created a website in c# (using visual studio), that contains a simple "guess the number" game. I have a textbox, a button and a label. It works so far only if I specify the number that needs to be guessed.


So the problem is - I want to generate a random number from 1 to 100 let's say, but as the user clicks the button, the page refreshes, and a new number is generated.


I want to keep the randomly chosen number until the user guesses it or quits. How can I fix this?

"Guess the number" in C#?
Use the session-hash to store a number.





Example





session["secretNumber"] = GenerateSecretNumber();





On you page, you should read the number from the hash table.





Where/when to create?





1) When a new session is started; or


2) When no session-key is found; and/again


3) When the visitor guessed it

trading cards

How to run pro*c programs on from my windows OS.. I've oracle 10g express edition installed on my computer.

is there any way i can use my Turbo C or visual studio IDE i can run my Pro*C programs..


Thanks

How to run pro*c programs on from my windows OS.. I've oracle 10g express edition installed on my computer.
Create a project in MS VS and attach the .pc file there. Right click on the file and choose "Custom Build Step"





You will need to put something like this in the command line:





D:\Oracle\product\10.1.0\Client_1\BIN\... iname="$(InputPath)" code=cpp





The first directory is where proc is located. You may be able to just type


proc iname=...





You also need the outputs set to filename.cpp





Apply the changes, right click the file and compile it.





I had it working in MS VS 6.0 but 7.1 is not compiling yet. An additional line is needed for the command line with 7.1: SQLCHECK=SEMANTICS





However; it still isn't working. Has anyone successfully used pro c with MS VS 7.1?


Golf game using c++?

I need help in writing a golf game using c++ on Visual Studio - 2005. Could anyone just give ideas how to do it? The program should allow the user to play one hole a 280 metre par 5.


Please help......

Golf game using c++?
You'll need a way to determine the direction, strength and accuracy of the shot based on the player's input. Most games I've seen ask the player to decide how hard he's going to swing, then use a click timer to gauge how close to a perfect swing he makes. The path the ball takes is calculated like a shot in the classic artillery game, and if you care about realism can take wind into account as well as the slope and condition of the grass. Keep it simple while you get the physics down and save the extra credit features for later.





So it would go like this:





1. Get the player's club choice, aim, and swing strength.


2. Take a swing, challenging the player to click at exactly the right time.


3. From those input parameters, decide which direction the ball is going and how hard it's being hit, taking accuracy into account.


4. Launch the ball and calculate/animate its trajectory.


5. When the ball has stopped, make a report and invite the player to hit again.





There's a real nice game online at http://www.worldgolftour.com/ that might give you some ideas.
Reply:Well thats according to the level of detail you want to use. I'd go use the directx API within c++. Thats how I do my basic game programming.





Of course if it's going to be really really simple such an approach may be overkill.





Look up the directx 9 sdk. Get it and google some tutorials.
Reply:C and C++ attach the coding software and output hear


C# file to .wsdl file?

I want to automatically generate a .wsdl file from a web service i've created using C# (in visual studio).


I know how to create a C# file from a .wsdl file but i want to do it the other way around. is this possible? if so, how?

C# file to .wsdl file?
Browse (with IE) your web service home page (the asmx page). Then type the following after the URL:





?WSDL





Then press enter. It will give you the WSDL.
Reply:The answer is wrong,she asked help to create WSDL from a c# class. But the help u have given is to create proxy class.No tool available for this.Using reflection u can do this.Use the assembly class and ServiceDescriptionReflector,se... in google Report It



How to learn C# ?

I know C++ already. I ve heard of this language called C# developed by Microsoft. And i need to learn it.





please tell me for what purposes C# is used?


Whats the relationship between C# and Visual Studio.NET ?

How to learn C# ?
The best way to learn is to try the language out. It uses the C language syntax. Though, it is a .Net based language. You can download a free light weight version of C# called Visual C# Express from Microsoft directly (see below link). C# is simple but the Dot net framework is pretty huge. If you've been using Visual Dev Studio for C++ then the transition is pretty straight forward. Once you download C# you should be able to write Hello World in about five minutes.


It easy to create GUI's and gives you access to develop under the .Net environment. It runs in a virtual machine so it runs slower if you're doing intense calculations or image processing.


I've been programming in C# for about one and a half years. I programmed in C++/C for the last fifteen years.
Reply:I was quite the C++ veteran when I took on C#, and all I did to learn it was use visual studio and C#, and checkout MSDN for help (I did have knowledge of the .Net framework too, from using VB.Net). If you know C++, C# will be a breeze as the syntax is very similar, plus it has advantages like lower compilation times, and it removes the requirement to forward-declare class. The only learning curve is the .Net framework. If you are familiar with Java, then you will notice that the .Net framework class libraries contain many similar types of namespaces and objects that Java does.





C# is primarily used to design windows applications, but it can be used for Asp.net as well. It's a Rapid Application Development language designed to allow you to quickly make quality windows applications. C# is hosted by Visual Studio, meaning it is one of the languages that Visual Studio can work with. Other languages include C++ and VB.Net.
Reply:C# is a part of visualstudio.net. you can learn c# using MSDN or you can buy a book the complete reference by herb schildt is also good.it is similar and advanced than C++.

our song

Playing AVI videos(or any other format) using C++?

Hello,I need urgently to know how to play an AVI vedio(or any other video format) in a Visual C++ Win32 project's EXE (or even in a pop-up player that plays the AVI immediatly).As I want to add several short videos in my game that is implemented using Visual Studio 6 with DirectX 9 (June 2006).

Playing AVI videos(or any other format) using C++?
Check out http://www.pscode.com for great sample codes.


C++ problem ,, Help pls?

Hey i saw buzz's c++ tutorials ...


In those tuts in the first program they've written a program like this [ theyre using Visual Studio.net ]








#include%26lt;iostream.h%26gt;


using std::cout;


{


cout%26lt;%26lt;"Hello";


}





And in the tutorials when they run the program without the


" using std::cout; "


command, they arent able to run it


whereas i dont need to type in that command to run the program in Turbo C++ or Visual studio..


So can any one tell me that what is the command for ? And is it only used in visual studio.net or what ???

C++ problem ,, Help pls?
Whatever you are using to program in C++ may already be loading and including the command under the covers... that's why you don't need to add it. In the tutorial, they may be using something a little more primitive, so they have to indicate this.








using std::cout; is used to tell the compiler "Use this namespace "std", because I don't want to type std:: before every cout".





It's just an indicator, to make things simpler for you (the developer), so that you don't have to type std::cout everytime... instead you just do cout.
Reply:Well, I am not a C++ programmer, but I have a feeling this may be because - as in VB or C# - there are some libraries included in some part of your IDE that are not included in the one being refrenced in the tutorial.





For example : in VBA (the code behind MS Access), there is a place where you can select "refereces" to other libraries, like Outlook, Adobe, etc. If you check one of the references in the box displayed, you can directly access objects in that library in the code. If not, you can't.





Chances are that there is a similar functionality in C++ (I know there is in VS.NET) and you have the library for 'std:cout' selected; the people in the tutorial don't, so they have to call it explicitly from their code, while yours is included automatically because of different compiler options.





This would be my guess, having experienced similar things in different languages.


C++ query ...?

Hey i saw buzz's c++ tutorials ...


In those tuts in the first program they've written a program like this [ theyre using Visual Studio.net ]








#include%26lt;iostream.h%26gt;


using std::cout;


{


cout%26lt;%26lt;"Hello";


}





And in the tutorials when they run the program without the


" using std::cout; "


command, they arent able to run it


whereas i dont need to type in that command to run the program in Turbo C++ or Visual studio..


So can any one tell me that what is the command for ? And is it only used in visual studio.net or what ???

C++ query ...?
using std::cout imports the cout function from the std namespace into your local name space. std is the namespace that much of the Standard Template Library is stored in. Google "C++ STL namespace" and you'll see what I mean. You could change





using std::cout;





to:





using namespace std;





and it would import the whole standard library into your local namespace. Importing the namespace (or function as your tut shows) allows you to make a call to the function directly. If you did not import the function or namespace, you would have to change the code from the tutorial to look like this:





#include%26lt;iostream.h%26gt;





{


std::cout%26lt;%26lt;"Hello";


}





See how we're prefacing the cout call with the namespace in which it resides?





The "using" command is standard across all newer C++ compilers. As you program you might use a third party library that has a different namespace. In that case you'd use something like:





using thirdpartylibrarynamespace::thirdpartyfu...





{


thirdpartyfunction();


}





and I'm sorry but the other answer is wrong. It is indeed





cout %26lt;%26lt; "Hello";
Reply:I'm not a c++ expert, but I think it means you can only use the cout%26gt;%26gt; thing inside the using std::cout braces...





Plus its cout%26gt;%26gt; not cout%26lt;%26lt;


How do I learn to write C++ applications?

I use Visual Studio 2005 for programming. When I was little, I used to do programming all the time with Turbo C 3.0, so I'm familiar with all the C grammars and stuffs. But, somehow I don't know how to get on the application programming. I can write console programs only run don command prompt, using C++. But when it comes to windows application programs(like MFC programmings and stuffs,) I don't know how to design window resources and everything. There are not much books on Application programming on Visual C++ 2005. Does the version matter in C++(Can I use older version books for C++ 2005?) It's hard to find the way to start these. Do you have any suggestion?





Quesiton Summary:





1) What is the most famous website/forum for C++ developers group?


2) How do I get started on Windows APP Programming?


3) Is the older version of C++ compatible with Visual C++ 2005(Can I get books for VC++ 6.0 or .NET and would it still work on 2005?)





Thx, and I always give 5 stars to the best answer.

How do I learn to write C++ applications?
You can download for free the Visual Studio Express and there are tutorials you can follow for each of the languages in it to learn.


You can write a program and then look at the final code source to see how it was developed in order to use in your other C++ work.





Download selection here:


http://msdn.microsoft.com/vstudio/expres...





Take a look here for learning materials:


http://msdn.microsoft.com/vstudio/expres...





If you need graphics programs or some other free programs you can find some more links on my webpage at http://www.tom-olsen.com/links.html
Reply:learn by doing
Reply:I took it up when I was going to school. The first 2 weeks are the basics. I was hanging in there, then that mess got advanced. I was completely lost. LOL I ended up dropping out of the class. LOL Good Luck with Computer Programming, man.
Reply:Buy book of last part or take teacher you're know his expert on C++ last Part.
Reply:Fred Wow!Your Extra News here!


★※★ http://208.109.69.157/funstuff/extra/ext...

flower pots

How do you start a home based game studio?

Without having a large budget,





free software,





using blender 3d, Photoshop, and Microsoft XNA Studio/ Visual Basic/ C#/





And how to make games commercial (i.e PS2, I know you can make Xbox 360, and Wii)





And Copyrights, if you Copyright the game's story, do you have to individually Copyright each character?





So much to ask!!!

How do you start a home based game studio?
%26gt;%26gt; free software,





http://www.sourceforge.net





%26gt;%26gt; And how to make games commercial (i.e PS2, I know you can make Xbox 360, and Wii)





You'll need a distributor. Jump off that bridge when you have something to market.





%26gt;%26gt; And Copyrights, if you Copyright the game's story, do you have to individually Copyright each character?





You don't copyright software, you patent it. You would copyright the name of the game and the names of the characters / places, etc.





You receive a patent when you apply for one and the government issues it to you. You automatically have copyright by virtue of creating a work. You automatically receive a trademark on a game or character name the first time you use it to promote your product.





http://www.copyright.gov


http://www.uspto.gov
Reply:Hmm, difficult question :D





The trick is to start small. Most major games take years of development with a large team of designers, programmers, conceptual artists etc.





BUT saying that, if you have a great idea for something simple (pong was HUGE when it first came out!), go for it!





Business side of things, you would probably be best as a sole trader or partnership. If you live in the UK establishing such a business is really easy, look on Google for help. Set up a website where people can download your games (perhaps for a fee), and begin a games portfolio of things you've released. Things should grow from there.





Re copyright: this will only apply if you publish your game, as obviously no-one will have access to the source code otherwise. Standard copyright rules apply- you don't have to explicitly copyright your material (its automatically covered to some degree), but you could put a copyright notice on the first screen of the game and in the source code etc. Character names, place names etc *can* be copyrighted, but this will be a long and probably expensive process- and even then you might not get full protection, so this probably isn't worth your time unless you have a huge global mega bestseller on your hands!!





Good luck with it!
Reply:sex


C++ compiler and guide?

I am interested in programming and so far I only know Visual Basic, Basic, and QBasic, not so amazing. Anyway, lately I have grown interest in C++ and want to learn it. I know C++ is a massive language but are there any compilers? guides? to get statrted? I like using the 32-bit compilers, but it doesn't make a difference. Also, I have VIsual Studio.NET 2003, but I don't know hwo to use it with Visual C++. Even teaching me how to program Hello World would be fine.

C++ compiler and guide?
Well, if you'd like to find a larger selection of compilers (though Bloodshed Dev-C++ is excellent) as well as links to tutorials, try out the URL below. It has a very nice selection of reviews, articles, tutorials, compilers in lots of languages and other programming tools. Good luck.
Reply:for C++ u may refer to "Exploring C++" by "YESHWANTH KNETHKAR ".
Reply:http://www.bloodshed.net/devcpp.html
Reply:#include %26lt;iostream.h%26gt;





main()


{


for(;;)


{


cout %26lt;%26lt; "Hello World! ";


}}


is the way to write in C++..on visual basic you have the option to choose C++ as a language. you kinda have to play with it, but there are lots of web sites to get you started


Visual Express editions ????

Visual Web developer -Express edition


Visual C# Express edition


Visual VB.NET Express edition


SQL Server Express edition





are they free or not?





Is this legal to download freely?





what is diff b/w Visual Studio 2005 and Express Editon?

Visual Express editions ????
These are not free from microsoft and u can't expect these types of products free from them, i think sql server express edition is free.


It's not legal to download them except sql server.





visual studio is the complete package for developing ur applications that can be desktop or web based . It contains whole of the functionalities of all express editions, and each express edition is only for special purpose..
Reply:Yes the Express Edition are free,you can download it at-msdn.microsoft.com/vstudio/express/vb...


or vs/


Microsoft distribute it for free to motivate aspireing programmer it does not have the full capability of the paid version but it is quite good enough and you can create even a complex software with it, you can even access their data and samples when you go to the 'Help'-'How do I' but you got to register it for free at their website or it will have a limited time period.


Regarding your last question the Express Edition is free but I can't be sure about visual studio 2005, I seen it at their web site when I look for sample code.


Can Anyone Tell me how I can tell me how i know if I have a C++ compiler???!?!?

I have 3D developers studio for Visual C++ But I can't tell if I have a compiler, And I acually need to talk to some one if possible Just about C++ in general.

Can Anyone Tell me how I can tell me how i know if I have a C++ compiler???!?!?
If you have VS, you have compiler.





To test if you have the compiler, click debug -%26gt; compile from Visual Studio window.
Reply:"...how I can tell me..."?

flower beds

How to learn C Language?

Hi everybody,





I want to learn C Language and want to be expert in this language. But I am very confused that from where I should start to learn it. I have visual studio 6.0 installed on my pc that have Visual C++.





But when I open this application, I cann't understand what to do and how to do.





Can anybody help me please? And tell me also which Version of 'C' I should use and from where I should start to learn this language.





Pl. reply asap.





Thanx.

How to learn C Language?
Try learning from a book. It is best taught by a teacher. I am studying at calTech and i have never used C. C is a very old language. Try learning JAVA which is just an improvement over C
Reply:Borland C++ is a good program, but u should take a class called computer science to learn the c++ language, cos I am taking that right now.
Reply:well, i recommend Dev C++ and read this site :http://www.cplusplus.com/





http://actualtecnologia.blogspot.com
Reply:i compleated my diploma in computer applications,i don't know how to start and learn "c" language
Reply:please i suggest you one that u must learn by teacher to gain more knowledge about c.
Reply:Not much help with this stuff but im going to have to say i agree with what everyone said an responded to!!
Reply:First you should have TC (Turbo C - MS DOS program) to start with...At the moment forget about Visual studio...





Try the book 'Programming in ANSI C - E Balagurusamy'....for beginning





If you completely understand almost the concepts of this book, then go further trying more complex programs, you will decide what you should read for more understanding....





If you want to be expert in C, then take your time...and first clear this book....Have a nice journey in C... :-)


C++/MFC compilation error, help (c++ newbie)?

hi, i'm trying to learn using MFC and the first example i tried out didn't compile on visual c++ 2005. here it is:


i created a win32 empty project and added one source file with the following:





---





#include %26lt;afxwin.h%26gt;








class CMyApp : CWinApp


{


public:


virtual BOOL InitInstance();


};





class CMyWindow : CFrameWnd


{


public:


CMyWindow()


{


Create(0, L"My first app, ehi2");


}


};








BOOL CMyApp::InitInstance()


{


m_pMainWindow = new CMyWindow;





m_pMainWindow-%26gt;ShowWindow(m_nCmdShow)...


return TRUE;


}





CMyApp App;





-------





when i compile it says:


"Error 1 fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h 24 "





what should i do?

C++/MFC compilation error, help (c++ newbie)?
From a google search: http://www.thescripts.com/forum/thread46...





And, you're writing MFC apps as a C++ newbie? That's terrible. You should learn C++ first before trying to do anything like MFC, GUI, win32 api, etc.
Reply:is this VC++ 2005 express, if it is AFAIK MFC is not supported on the express version
Reply:Its been a while since I have programmed C++ but off hand you might want to check and make sure you have all the libraries that you are using linked in the properties in Visual Studio.


C++ EXPERTS!! HELP!! Please??

I use:





#include %26lt;iostream.h%26gt;





main()


{


cout %26lt;%26lt; "Hello World!";


return 0;


}





In MS Visual C++ and always get the same error!!





1%26gt;c:\documents and settings\c j smith\my documents\visual studio 2005\projects\test\test\test.cpp(6) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory


1%26gt;Build log was saved at "file://c:\Documents and Settings\c j smith\My Documents\Visual Studio 2005\Projects\test\test\Debug\BuildLog.h...


1%26gt;test - 1 error(s), 0 warning(s)


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





And a pop up?





Unable to start program c:\documents and settings c j smith\my documents\visual studio 2005\projects\test\debug\test/exe.





The system cannot find the file specified.





PLEASE HELP!

C++ EXPERTS!! HELP!! Please??
It should be this:





#include %26lt;iostream%26gt;





using namespace std;





int main()


{


cout %26lt;%26lt; "Hello World!";


return 0;


}
Reply:The ".h" in "iostream.h" is archaic and should not be used. That line should read:





#include %26lt;iostream%26gt;





Also, you might want to give main() a type.... int main() and void main() are both acceptable.


How to install C#?

Setup Visual C# 2005 Express Edition


GET TO RIGHT - Yes, I have the installed media.


C:\Program Files\Microsoft Visual Studio 8\


WRONG - Install %26gt; - Unable to locate the product. Please enter the location of Microsoft Visual C# 2005


Express Edition - ENU


How correct to installing for setup Visual C# 2005 Express Edition ???

How to install C#?
Take it and install it from here:





http://msdn.microsoft.com/vstudio/expres...

wedding flowers

C program based on AI reasoning for Bioinformatics data processing?

I am getting the error below when i try to compile my source file in C using visual c++ 2008





------ Build started: Project: Biodata_main, Configuration: Debug Win32 ------


Compiling...


Biodata_main.c


d:\documents and settings\olawale\my documents\visual studio 2008\projects\biodata\biodata_main.c(131... : error C2065: '__argc' : undeclared identifier


d:\documents and settings\olawale\my documents\visual studio 2008\projects\biodata\biodata_main.c(131... : error C2065: '__argv' : undeclared identifier


d:\documents and settings\olawale\my documents\visual studio 2008\projects\biodata\biodata_main.c(131... : warning C4047: 'function' : 'const char **' differs in levels of indirection from 'int'


d:\documents and settings\olawale\my documents\visual studio 2008\projects\biodata\biodata_main.c(131... : warning C4024: 'mclRunMain' : different types for formal and actual parameter 3


Biodata_main - 2 error(s), 2 warning(s)


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

C program based on AI reasoning for Bioinformatics data processing?
int main(int argc, char* argv[])


What are the softwares that are needed to be downloaded to start studying Visual studio. net?

hi all.. i want to start learning visual studio .net.. i want to know which all softwares are needed to be downloaded for this. Do i have to install vb6, c#, asp and .net framework separately? Or can i get all in a single package.. Is there any site for this? in microsoft site i found some free downloads.. such as vb express, .net framework 3.0 etc.. are these softwares enough ?

What are the softwares that are needed to be downloaded to start studying Visual studio. net?
At the minimum, all you need is one of the Express IDEs (C#, VB.net or C++). It will include the .net framework. If you aren't developing for Vista, you don't need .net 3.0, .net 2.0 will work fine.
Reply:When you install Visual Studio .NET, it should install everything you need. If you are using the latest version you will need to be running an operating system with IIS installed though. This means XP Professional. If you don't have it you won't be able to use ASP.NET.

paid survey

Why do I get error "cannot define 'list' as a member of managed 'myclass' mixed types ... (VS2005/C++) ?

I am using Visual Studio 2005 / C++





I have a struct named addrStruct defined above a class.





In the class I have:





addrStruct list[10];





I am running into the error:





cannot define 'list' as a member of managed 'myClass': mixed types are not supported





Can anyone explain why to me?

Why do I get error "cannot define 'list' as a member of managed 'myclass' mixed types ... (VS2005/C++) ?
that is a good site keep reading it will help


I have a problem with C#.NET, any body can help?

Hi, I'm working with visual studio 2003, C#.NET, i've created 2 forms (form1 and form2), form1 calls form2 by clicking a button, when pressing the button form2 appears separated, i want form2 to be loaded on form1 or when loading form2 form1 must disappear, any body can help?

I have a problem with C#.NET, any body can help?
form1.hide should work - after you have called form2.show





That's the VB-6 syntax anyway...not sure if it is exactly the same in .NET 03, but you should check out the Hide and Show methods of the form object.
Reply:You have two different options here. You can use MDI (multiple document interface) or you can simply hide the other form. I don't have the time or space here to go into MDI (it's not that hard really).


The easiest thing to do is simply call it like this:


Form1 frm = new Form1();


frm.Show();


this.Hide();


That will hide the previous form. If you want that form back, you'll have to pass it as a parameter to the new window so that you can call it's show() method again.
Reply:use the Show()/Hide() public methods of the Form objects or do this:





class form1


{


private void OnButtonClick()


{


form2 f2 = new form2(this);


f2.ShowDialog();


}


}


Some one urgent who knows about c++!?

Does some one knows where i can teach my self for visual studio 2008 c++? i really want to make a game evan a ugly boring game i wana have expierence! lol but if some one knows websites pls tell me i really wana learn how to make a game.


thank you so much!

Some one urgent who knows about c++!?
Microsoft offers some great C++ MFC videos:


http://msdn2.microsoft.com/en-us/visualc...
Reply:you can edit wolfenstein 3d from its source but you cannot use anything but the turbo borland c++ compiler to compile it





i would like some help with this myself and there are tutoruals on editing the game at wolfenstein3d.co.uk
Reply:Just google search C++ tutorials. And try searching for 3d game engines. You'll come up with something...


What are the new features of Visual Studio 2005 IDE?

I have installed Visual Studio 2005. I would like to use IDE very efficiently. Can anybody tell me what are the new features available (with respect to IDE)? As well as I would like to know useful features available (may be present in earlier versions too) in VS 2005. I'm mainly using C# for development purpose. Also I heard that it's good for testing (like writing test cases). Is it true? How we can integrate VS 2005 with PVCS? What are the short cut keys available (except Menus)?

What are the new features of Visual Studio 2005 IDE?
2005 is so much better than 1.x. There are a myriad of new freatures in 2.0. You can use MasterPages for your website layouts. There are web parts that would enable a web user to customize a webpage by being able to shift elements around on the page. The DataGrid was replaced by GridView, which is easier to work with. You can also use SqlDataSource to populated Data Controls. The SqlDataSource will save you time so you don't have to write connection code.





2.0 now has local database support. You can add a database right to your APP_DATA folder, which you'll be able to build and connect to with ease. You can only access this database from the project you are working in. If you want to make the database live on a webhost, you have to copy the .mdf or generate script to move it.





Classes now have a keyword called "Partial", which would allow you to have the same class name over many areas. This is so, if you are working in a team environment, many co-workers can work on their own version of the same class without writing over each others' code. At compile time, these same files will be compiled together.





There is just too many things to list on here. If I were you, I would go to ASP.NET QuickStarts and go from there. There is a lot of information you can learn from there.





Also, if you haven't already, download the startkits from ASP.NET. The starterkits are useful and powerful, and not just some cheesy website example.
Reply:I believe the big one is Intellisense.


It guesses what you're going to type while you type it. (Makes coding go WAY faster).
Reply:http://www.google.co.uk/search?hl=en%26amp;q=v...





How do people who use computers so much manage to get through life without knowing how to use Google?





Rawlyn.

customer survey

C++! Help!?

Does anyone knows the code to create a simple windows where you can write texts???? Help me! I am using Visual Studio 2005 C++

C++! Help!?
Asking a lot there in a simple question. There are two type of applications, win32 console applications (command prompts), and win32 MFC\Window applications - (forms).





I suggest reading up on the subject, I'm guessing you'll eventually want to do more then just display text, I'd start with the MSDN help: http://msdn2.microsoft.com/en-gb/visualc...


How do I program Browser Tabs in C# similare to IE7 or FireFox?

I have been trying to find an example somewhere that would show me how I could program tabs in C# similar to the tabs in IE7 or even FireFox but I cant find any. I use Visual Studio 2008 C# Express Edition. Does anybody know of a good example somewhere in C#?

How do I program Browser Tabs in C# similare to IE7 or FireFox?
Hello,





They do not use the default control similar to what .NET provided, they custom made the Tab as a control. IE7 and Firefox do not use C#, they use C++ so they created their own Custom Tab Control.





If you wish to replicate this control in C# and produce the same look and feel of the Tabs, then you will need to learn about creating custom C# controls.





You would need to inherit the Control class and provide your own implementation of the OnPaint event handler. If you wish to use user input, then you need to handle that as well.





That is the only way to do Custom Controls, and that is how they do all the neat controls in the workplace. Read this tutorial on how to create a very simple control, http://www.ondotnet.com/pub/a/dotnet/200... , they will show you how to create a custom circular button. You can follow the same steps and draw a tabular version of the control like IE7 instead of a circle. Obviously it isn't a beginner like problem since there are many curves, actions, and special stuff to do but it is awesome learning step.





Good Luck.


Open Executable (.exe) in Visual Studio?

How can you open an executable in Visual Studio in order to view the code...for example I want to open a program that was written in C# and was built as an "filename.exe" and be able to view the basic code from it.

Open Executable (.exe) in Visual Studio?
run a search for a c# decompiler, bout the only way I'm aware of once the program has been compiled into an executable.
Reply:Thanks, that was exactly what I was looking for. Report It

Reply:You can only look at the IL code with a disassembler.





Here is an example: http://www.csharphelp.com/archives/archi...


Building a standalone app in MS Visual Studio 2003?

I'm in a beginning C++ class at my school. I'd like to make one of my projects into a standalone app capable of running without Visual Studio. I believe I'm using MS Visual Studio 2003. Can anyone tell me how to do this?

Building a standalone app in MS Visual Studio 2003?
when you run the project it auto compiling the project ino .exe find the exe in your bin folder..

survey for cash

Professional software developers, do most of you use Visual Studio???

I am a CS student in college at a major university and they teach us tons of C++ using G++ and emacs...and I was wondering...in the real cooperate world do a majority of developers use Visual Studio??? It seems like every job listing says "knowledge of Visual Studio required".....and i feel like I'm wasting my time using emacs and g++ for school.....would it be difficult to transition from the simple environment of svn, g++, and emacs, into visual studio???





Thanks.

Professional software developers, do most of you use Visual Studio???
All the Universities hate Microsoft. But you are right, as soon as you look for a job, you'll most likely be in a Microsoft environment.





Visual Studio .Net is the platform you will most likely be using. It wouldn't hurt to start using it on your own. I would especially look into C# in addition to C++...





As far as wasting your time, as I mentioned above, all the Universities are that way, so keep working hard. The concepts are all you really need to understand. The rest is just syntax.





Good luck.
Reply:If you are programming C++ or any of the .net Languages in a windows environment ... yes. There was a time when the Borland IDE was an option, but those days are over (which doesn't mean Borland isn't good).





I have been a programmer for several companies using microsoft technology for almost 12 years now ... I actually haven't seen anybody using anything else than Visual Studio.
Reply:visual studio is a environment + tool for programming.


it provides different headers/libraries which help us to make our code simple.


you must know what libraries are .


if you know the basic way of implementing c++, in any environment its no problem.


you can get to another easily.


no prob dude.
Reply:we have about 20 C/C++ developers here; our software compiles on many different operating systems with different compilers, linkers etc.





we use Makefiles for compiling all the stuff.





everyone uses his own editor - i use vi, my manager uses emacs, some of us use visual studio.





i don't really like visual studio - the project settings are weird and buggy. the debugger is good, though.
Reply:well as far as i can tell you. if you are comfortable using visual studio or find it easier then keep using it. as far as work places, depends on the job you go on. they most likely use visual studio. or they might have something else.


I'm trying to learn Visual Studio 2005 and I'm having a difficulty with databases.?

I'm trying to learn Visual Studio 2005 and I'm having a difficulty with databases.





I am new at VS 2005 (C#) and I'm now trying to learn how to connect my excel spreadsheet with it. and its giving me an error "ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed "





I'm trying to connect it to a datagrid. Am I forgeting something? I tested the connection and it was Ok.

I'm trying to learn Visual Studio 2005 and I'm having a difficulty with databases.?
I am very sure you can get some help from the sample programs. Try this site


http://www.planetsourcecode.com
Reply:Hii.......





i think u are using VB.60 of visual stuio.





From ur error message, it shows tat u r trying to connect to a SQL database, not to an excel's.





So jus take care in selecting the options





in the " connect " property of ur data, jus select the correct version of excel, that u r using, also be careful in selecting ur recordset.





hope it works


u may rite 2 me


Any good references for using Visual Studio 2003 and .Net Framework 2.0 together.?

I work for a company and we currently develop software using Visual Studio 2003 on the Microsoft .Net Framework version 1.1





I have been tasked to look at a Content Management System written in C# but runs on the .Net Framework version 2.0. I know that I can have both frameworks installed on the same machine. What I would like to know is what I would need to be able to develop applications (in case we need to make any modifications to the CMS package) using Visual Studio 2003 for the .Net 2.0 framework. Any good websites or whitepapers or anything similar would be appreciated.





Thanks in anticipation.....

Any good references for using Visual Studio 2003 and .Net Framework 2.0 together.?
From everything I have seen you can't. Even on the MSDN library it claims that to work with a certain version of the framework you have to get the corresponding Visual studio. This doesn't mean that you can't create a project in the 1.1 version and not have it run in 2.0, it is saying that the actual development environment is hard wired to a specific version.





To create 2.0 framework applications you need visual studio 2005. However the .NET 2.0 framework should be able to run programs written for the 1.1 because it is backwards compatible.





I could find no official white papers, but people on and off the MSDN forums have said that each visual studio is tied to a version of the .NET framework. One report even said the 2003 debugger crashes when encountering the .NET 2.0 framework by accident. (There was a fix for it)





So it is pretty safe to say that if you want to develop in 2.0 that you will need 2005. Better hurry, I believe the free download expires this month.





Hope this helps!


Someone with visual studio 2005 pls?

Hey I have just loaded visual studio 2005. I make a simple program (a hello world program) with no errors and nothing pops up when I try to run it. NOTHING!





I know some people are going to say it's my code so here it is (C#)





using System;


using System.Collections.Generic;


using System.Windows.Forms;





namespace texthello2


{


static class Program


{


/// %26lt;summary%26gt;


/// The main entry point for the application.


/// %26lt;/summary%26gt;


[STAThread]


static void Main(string [] args)


{


Console.WriteLine("hello world");


Console.ReadLine();





}


}


}

Someone with visual studio 2005 pls?
I don't know why you have a using statement pointing to System.Windows.Forms. That is all about UI, but Console apps don't have a UI. The other poster commented out this and it worked for him because he obviously didn't put in a reference to the .dll. When I put in a reference to System.Windows.Forms it works fine. The surprising thing is that you don't seem to have the reference but that it compiles! In any case, get rid of the "using System.Windows.Forms" as the first poster said and you will be fine.
Reply:I had to comment out the "using System.Windows.Forms" line, and then it worked fine for me!

customer satisfaction survey

Please help me to install visual studio 6.0?

I uninstalled Visual studio 6.0 recently from my computer due to some errors and tried to install frsh from a CD. But the installation set up copied the files to the default directory but installation process not completed. I t shows an error message that " Setup is failed to create a DCOM user account in order to register 'C: program files/microsoft visualstudio/common/tools/vs-Ent98/vanal... What is the problem with? What I do to install the visual studio? Please help me showing what arrangements I have to do?

Please help me to install visual studio 6.0?
Consider this good luck. Visual Basic 6 is a legacy product.





Instead, install Visual Basic .NET Express. You can download it free from microsoft.com


An surprising Error is giving from IIS server but not in VISUAL STUDIO 2005. Please see details.?

I am developing an website using C#.net,ASP.Net and SQLServer. I completed this project when running from Visual Studio 2005 then all thing is fine.


When I am trying to access from IIS It is giving following error in every .aspx pages but .html pages are fine.





A name was started with an invalid character. Error processing resource 'http://localhost/testing/UserHome.aspx'. Line 1, ...





==%26gt;%26gt;%26gt;%26gt;


%26lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserHome.aspx.cs" Inherits="UserHome" %%26gt;


-^


%26lt;%26lt;%26lt;==


I am a new webdeveloper and just doing practice in C#. net and ASP.Net/








Please help me to get ride on this error.


thanks in advance

An surprising Error is giving from IIS server but not in VISUAL STUDIO 2005. Please see details.?
Make sure IIS is configured to run .NET 2.0 applications.





Most default setups of IIS is configured for .NET 1.1


Can Visual Studio 6.0 fit Windows XP?

I want C++ and VB to instal in my computer that has Windows XP OS. When I read requirements for Visual Studio 6.0 it stays tha works with Windows 95/98/2000 ir ME, not XP

Can Visual Studio 6.0 fit Windows XP?
boot into Safe Mode by pressing F8 when prompted at the startup of the system and selecting Safe Mode. Then attempt installation again.





If the installation does not succeed and returns one of the errors listed in the "Symptoms" section of this article, continue with the following steps:


1. Clear the Temp folder by removing any previous incomplete installations.


• The default location for the Temp folder on Windows 2000 is C:\Documents and Settings\Profile\Local Settings\Temp C:\Winnt\Temp or, if upgraded from Windows 98, C:\Windows\Temp.


• The default location for the Temp folder on Windows NT 4 is C:\Temp C:\Winnt\Temp.


NOTE: To discover the location of your Temp folder: on the Start menu, click Run, type %temp%, and then click OK.





2. Try to manually start Acmsetup by typing the following command line:


E:\SETUP\ACMSETUP.EXE /T *.STF /S E:\ /n "" /o "" /k "YYYYYYYYYY" /b1


where E is the CD-ROM or DVD-ROM drive letter, and YYYYYYYYYY is the CD key for the product (the /k options and its argument should be omitted for Service Pack installations).





NOTE:The specific *.stf file that is required for the manual command line will vary depending on the specific product you are installing. Search the \Setup folder on the CD-ROM of the product you are installing for the *.stf to use. For example, for Visual Basic 6.0 Professional, use VB98Pro.stf.


If you still cannot install the product by passing the command line manually, continue with the following to repair the NTVDM process.





Nullify any nonstandard settings in the Config.nt and Autoexec.nt files in the system root\System32 folder. To do so, use an REM statement to remark out each entry except the following default entries:


Config.nt





dos=high, umb


device=%SystemRoot%\system32\himem.sys


files=20





Autoexec.nt





lh %SystemRoot%\system32\mscdexnt.exe


lh %SystemRoot%\system32\redir


lh %SystemRoot%\system32\dosx


lh %SystemRoot%\system32\nw16 (only if CSNW is installed)*


lh %SystemRoot%\system32\vwipxspx (only if CSNW is installed)*





* CSNW is Client Services for NetWare


NOTE: Another way to accomplish this is to expand Autoexec.nt_ and Config.nt_ from the Windows NT or Windows 2000 CD-ROM to the SystemRoot\System32 folder:


• To expand a single compressed file, use the Expand.exe program. This program is located on the Windows CD-ROM in the I386 folder.


• To expand the required files:


1. Insert the Windows CD-ROM into the CD-ROM or DVD-ROM drive.


2. At the command prompt, type the following, and then press ENTER:


C:\WINDOWS\System32\Autoexec.nt


3. At the command prompt, type the following, and then press ENTER:


EXPAND X:\i386\Config.NT_ C:\WINDOWS\System32\Config.nt


4. Restart the computer and try to install the product again.





Here's the source :


http://support.microsoft.com/kb/250343/e...





Fell free to Contact me :)


Visual Studio 2005 vs 2003 - Backwards Compatible?

We're considering upgrading to MS Visual Studio 2005 from VS 2003. Our concern is backwards compatability with existing web apps. At the moment we have several applications running under ASP.NET v1.1 (mostly in C#) on our Win2K3 box. We intend on using the capabilities of .NET v1.1 for at least another year or so as we have several existing apps that were composed under VS 2003 and .NET v1.1.





My quesitons are:





1. Can VS 2005 be installed on the same development box with VS 2003?





2. Is VS 2005 capable of reading VS 2003 code and can compile code that is still compatabile with our existing ASP.NET v1.1 portal (we use Rainbow Portal) and existing .DLLs / Source in production that was compiled using VS 2003 / .NET v1.1 ?





Thanks.

Visual Studio 2005 vs 2003 - Backwards Compatible?
1 Yes. .net 1.1 and .net 2.0 can exist on the same box also.


I have vs6, vs2003, vs2005 and vs2008(orcas) all running on the same machine and they do not interfere with each other.





2 vs2005 compiles and generally targets 2.0. The references to new programs created in vs2005 point to 2.0
Reply:One word. YES

free survey

How do i show ajax control toolkit in toolbox use visual studio 2005?

i have installed ASP.NET 2.0 AJAX Extensions in my computer, and copy AjaxControlToolkit folder in c:\Program Files\Microsoft ASP.NET, when i run visual studio i cant found it in toolbox, how can i show it? i am it's first time i use asp.net n ajax asp.net, please give some solution and references





thanks a lot

How do i show ajax control toolkit in toolbox use visual studio 2005?
Here is the answer:


Create a Tab in Visual Studio (you can named it Ajax Toolkit).


Then right click on it and select: Choose Items...


Go to the folder where you downloaded the toolkit (you might have to move all the information to a new folder since it wont let you open a .zip folder)


Click browse and go to: SampleWebSite -%26gt; Bin


Choose: AjaxControlToolkit.dll and click open.





That should install all the components from the toolkit in visual studio.





Hope this help.


Visual Studio 2005 vs 2008 and .NET Framework question?

I'm moving from Visual Studio 6 to something with .NET. I noticed 2008 is out, but the price (on PC Connection) isn't much different than that of 2005. Is it just minor incremental changes? Any reason not to go with 2008? I work in C/C++, Java, and VB.





Second, it uses .NET framework 3.5. Is that pre-installed on XP? I have it on my system, but as a developer I really don't recall if I downloaded it for something or it came with XP Pro. I'd be looking to write consumer apps and don't necessarily want them to have to download some large framework to run the executable or an app/control in the browser. Is anything .NET pre-installed on XP (and now Vista).





Thanks in advance

Visual Studio 2005 vs 2008 and .NET Framework question?
Definitely go with 2008. XP is actually installed with .NET 1.1 %26amp; 2.0 (used for Visual Studio 2003 %26amp; 2005 respectively). Vista comes with .NET 2.0 and 3.0 (I'm almost positive it doesn't come with 3.5) However if you're going to buy one and they're priced similarly go with 2008. The changes made were actually pretty substantial. With 2008 you can still create .NET 2.0 apps if you want to avoid people having to d/l the 3.5 framework. Plus it'll save you from having to buy it in a year or two when pretty much everyone is developing .NET 3.5 apps.


Newbie wants C# for MS Office automation introduction?

I am newly studying programming with an intro book to Visual Studio 2008 C#.


I know that Visual Basic can be used to automate MS Office applications like Word and Excel. I would like to study how to do this using C#.


I am using Visual Studio 2008 and MS Office 2007 but I can back up a version for a good book.


Can someone recommend me a book I can read?

Newbie wants C# for MS Office automation introduction?
Aaah...


Ive just gotten a book about c# and im learning pretty fast


Its called 'C# in east steps' Author: Tim anderson


I reccomend this although it is a pretty old book


You probably wont be able to get it in your local bookshop


So why not try going to your local library thats where i got mine
Reply:I think you're talking about very different things.





VBA (Visual Basic for Applications) is an implementation of Visual Basic (not really .NET) for creating automated tasks and applications with in Microsoft Office.





Visual Basic and C# are merely programming languages and automating MS Office tasks in those solely is not as easy as just learning VBA.





You really want to look into VBA tutorials/books.


Help needed : How do you install MS SQL Server for MS Visual Studio 2008 Professional?

One of my friends got a copy of Microsoft Visual Studio 2008 Professional but when he installed it, it only installed MS C++, MS VB, MS C#, ASP, Crystal Reports and Tools for Office.





How could we install SQL server?

Help needed : How do you install MS SQL Server for MS Visual Studio 2008 Professional?
Buy it.





http://www.microsoft.com/sql/default.msp...





There's an express version as well.

survey results

Please, I need Help with Visual Studio Error?

Visual Studio, Error LNK2019: unresolved external symbol?





Ok, so I have created a C++ project( using analog to digital chip, "ADC0809") and using Mdedriverdll.lib. I have included the "Mdedriverdll.h" file in my project source file. When I compile, I am getting following linker errors;





1%26gt;labSevenDlg.obj : error LNK2019: unresolved external symbol "int __cdecl MDEInPA(int)" (?MDEInPA@@YAHH@Z) referenced in function "public: void __thiscall ClabSevenDlg::OnBnClickedButton3(void)" (?OnBnClickedButton3@ClabSevenDlg@@QAEXX...


1%26gt;labSevenDlg.obj : error LNK2019: unresolved external symbol "int __cdecl MDEOutPA(int,int)" (?MDEOutPA@@YAHHH@Z) referenced in function "public: void __thiscall ClabSevenDlg::OnBnClickedButton3(void)" (?OnBnClickedButton3@ClabSevenDlg@@QAEXX...





Does anyone know how to fix these errors, please?

Please, I need Help with Visual Studio Error?
These errors look like the kind you see when you try to access C code from C++. The problem is that C++ is going to think that they are C++ functions and give them the mangled name (the one with the @ signs etc) You can fix these using this:





extern C


{


// prototype your C functions in here.


// or


// it's very slightly possible that you could


// include "Mdedriverdll.h" in side here and that


// would take care of the problem


}


The Mdedriverdll.h declares them but they're assumed to be included in a C file not a C++ file.


I am installing Visual Studio 2008 and I don't know what to install?

Last time I installed Visual Studio 2008 I had a bunch of junk that I didn't need. I really don't think I need the SQL server and the crystal reports basic for visual studio 2008.





If you can help me out...and I didn't provide enough info I will add details and then if you don't mind sticking around and getting the best anwer :)





I also uploaded an image of what I can install...what should I install...I am going to install the C++ and C#, basic and web developer...if there is a website that has an explanation of what this stuff means...I will praise you if you would provide it for me!





The place of the image that I uploaded is:


http://storage.scottymedia.com/visual_in...





Hope to hear from someone :)

I am installing Visual Studio 2008 and I don't know what to install?
As a programmer, you should know what that stuff means...





The language tools just allow you to program in the language that is specified. You need to install at least 1 language tool if you're installing Visual Studio. Since they all use the same interface, you should probably enable all of them (it doesn't add much to the hard drive requirement, and they are all part of the same program anyway so each one won't be added to your start menu either).





Dotfuscator enhances the efficiency of your programs, and also resolves dependencies on architectures... Essentially not necessary unless you're really going for top knotch performance. Since you don't seem to be experienced, you probably don't need this.





The tools for redistributing applications are only necessary if you plan on making programs that will use advanced features. These advanced features may require separate software to be installed. Since they may not have that separate software, you can package your installer with the redistributable software so that when they install your program, they can install the other software with it. Again, since you you don't seem all that experienced with it, this is probably not necessary for you.





Unit Testing Tools are just that. Testing Tools. Unless you know how to use them, you shouldn't install this. Though if you're taking a class your instructor may want you to have them installed.





SQL Server is a database. Yet again, this is for more advanced users. You probably won't need it. If you do end up needing it later on down the road, you can always install it separately.


http://www.microsoft.com/sql/editions/ex...





Crystal Reports is also not all that necessary. It gets used by software companies, not usually by individuals.
Reply:It depends on what you want to do with it. The feature description on the right give you a description what each one does.





If you're a student and want to learn about a particular language, install that language.





If you have no idea, install everything.





It all depends on your requirement.


Does anyone know of any good visual C# learning tutorials that are free?

Trying to learn visual C# well enough to create games in the microsoft XNA studio. Does anyone know any good websites to learn?

Does anyone know of any good visual C# learning tutorials that are free?
Check this page from Microsoft.





http://www.microsoft.com/events/series/m...





They have a series of webcasts under the heading: Introduction to 2-D Video Game Development.





You will have to register (email address required) but I think they are free. I signed up for a web cast on a different topic, and it was free.


Advice me on timeline and resources to be a Visual Studio Expert.?

I just passed Engineering and have have fair knowledge of C++. I have this great job offer , but it requires Visual Studio Programming. There are many, I need your advice on good books, wesites, video tutorials and any other resources to help me gain this expertise !

Advice me on timeline and resources to be a Visual Studio Expert.?
Maybe this book can help you...


Programming C# with Visual Studio .Net 2005


here you can find it...


http://www.amazon.com/gp/product/1411664...
Reply:The best reference is anything online. MSDN is useful if you can decifer it. If you are interested in ASP .Net, one of the features of VS, the ASP .Net Unleashed is really good. Lot's of references.

community survey

I need to run this written C program.I have compiler installed and wrote small progs but how do i run/execute

I am trying to learn C and C++. I use Microsoft Visual C++(from Microsoft Visual Studio 6.0) to write the program in C but i don't know how to run it/to execute the program and view the output.


can you help me hos to do that...and also can I ask for websites that teach programming in C or have tips for beginners?


Thanks a lot!

I need to run this written C program.I have compiler installed and wrote small progs but how do i run/execute
To compile it , ALT + F9, then F5 will execute it.
Reply:After writing the whole program press


ALT+F9 for compiling your code.


After successful compiling..press


CTRL+F9 for running your program.





Be carefull about the format in which you store the file..


i f your file is written in C store it as .C


if C++ store it as .cpp


..
Reply:create a new project the insert your c++/c code then compile then run project. i think hope it helps.





i used to use that but it was a long time ago
Reply:Hi there!


If u r a beginner %26amp; starting on with small C/C++ programs, I would recommend don't use MS Visual C++. It's too bulky %26amp; has features for advanced users. You'll end-up being confused. Instead start with DOS based IDE(Integrated Development Environment) like Turbo/Boreland C++ which are more suitable for beginners with small programs.


Thursday, July 30, 2009

Visual studio installation help on vista?

hi,


i have windows vista home premium on my laptop. i am developing a project using asp.net,c#,and sql server 2005.





i have installed sql server 2005 developer edition, visual studio 2005 professional edition. when i am starting the visual studio i am getting a msg like compatibility issue. do i have to install visual studio SP1 on vista or visual studio SP1 vista beta.





are the two mentioned above softwares enough for creating a website for my project? help me.





thanx in advance.

Visual studio installation help on vista?
Well, to answer the first question, Windows Vista still has a lot of software/hardware compatability issues. I'm sorry you made the move to Vista. =P ESPECIALLY Home Premium.





But anyhow, for the second question, Visual Studio 2005 alone, without SQL Server, is more than enough to create a website. It just depends on what you plan to include on the website that determines what software(s) you will need.





But check at Microsoft's website about application compatability. Because, of course, they're going to MAKE SURE their OS's support THEIR software. =P It would only make more sense.





But maybe there's some sort of update or something, to update software/hardware compatability. Also, check at the Visual Studio website.


Visual Studio 2005 Express Questions?

1. How would I make a hex editor in Visual Basic 2005 Express?


2. What the heck is C sharp anyway?


3. How get something from a VB program to my webpage (such as a contributing idea given from a text box) without copying and pasting manually? (via code)


4. What is J sharp anyway?


5. Can OpenOffice.org be used in full compatibility (all the functions and stuff) that Microsoft Office can? If not, what can and can't it do with the Visual Studio Programs?


6. Where is a good resource for Visual Studio as a whole, for all skill levels (don't say MSDN, darn it!)?





I would appreciate it if each person would answer one, some, or all of these questions.

Visual Studio 2005 Express Questions?
1) With a lot of work, pain and headaches. It's not worthwhile to waste your time in Visual Basic.


2) It's a scripting language.


3) By completely reworking the code from Visual Basic to something like JavaScript. Usually JavaScript alone will not be enough and you'll need to use more things.


4) Another scripting language.


5) OpenOffice.org does not support VB for applications and I don't think it supports any scripting language from Microsoft.


6) MSDN is the best resource out there. Other than that, your bookstore.
Reply:1) I don't know and don't really care - there are zillions of hex editors to choose from (most aren't free but a few are). And one written in VB.NET probably wouldn't be all that great. VB is good for quick-n-dirty applications but anything professional is better done in another language, IMO.





2) C# is a programming language.





http://en.wikipedia.org/wiki/C_Sharp





3) Not really sure what you want to do here.





4) J# is Microsoft's "Java killer" based programming language on .NET. Sort of a migratory path for the 5 people in the world who used Visual J++:





http://en.wikipedia.org/wiki/J_Sharp





5) Huh?





6) MSDN. Had to say it :) How about:





http://www.codeproject.com/





Instead?








Edit: To the person above this post, C# and J# are [bytecode] compiled languages, NOT scripting (or interpreted) languages.


Visual C# 2005 express and connecting to access?

How can I find where to drag and drop a oleDbConnection to my form in Visual C# 2005 express edition? It's in the toolbox for .net studio 2003 but I cant find it for C# express.

Visual C# 2005 express and connecting to access?
Right click your toolbar and select "Choose Items..." from the popup menu. This will load your toolbar items in which you will see all the Oledb objects you are familiar with (just scroll down a bit since they are in alphabetical order) including oleDbConnection object and its adapter. They are just not loaded on default.





Enjoy!
Reply:I think the express version is lacking in some OleDb components you would find in 2005 professional

order flowers

Making an install file from source code (C++) that is a trial version?

For a project I used C++ Visual Studio 6.0 and I want to have my source code as a program that will be installed by the user as a trial version.

Making an install file from source code (C++) that is a trial version?
You can use Inno Setup to make your installer. http://www.jrsoftware.org/isinfo.php


It does a fantastic job, and it is free.





As far as making your software a trial version, that is something you will have to do from inside your software. There are infinite ways to do this. The simplest is to make a text file that has the installation date or expiration date, which you read at startup. This is obviously very easy to crack.





If you want to get a little more advanced, add a registry entry during the install that is a hash of the install date combined with part of the computer's mac address. You can then check against that value at startup or on a timer.


Visual Basic 2005/2008 (VB.NET) OR C#.NET?

I am looking to get into programming. I am proficient with HTML, PHP, and Flash. Which of these languages should I choose, VB.NET OR C#.NET? I need a language with a .NET framework, I will be using Visual Studio as my IDE. I am a beginner and do not know much, but I do have access to video tutorials.





Which of these languages is easier to learn? (VB.NET?)


Which is more flexible and used more often? (C#.NET?)


Which has more demand for and growing?





Thanks for any helpful advice! Happy Holidays!

Visual Basic 2005/2008 (VB.NET) OR C#.NET?
I would consider VB.NET easier to learn because it is more like English, but C# is more like most programming languages in terms of syntax and structure.





You can find plenty of work in either.





http://www.dougv.com/blog/2007/05/26/the...
Reply:C#. Even Microsoft has stated than many VB programmers are moving to C# (40% last year by one account.)





If you have some experience in Javascript and Flash Actionscript, you will be more comfortable with C#, which has similar syntax.
Reply:definitely C#, I used to be a PHP programmer too, and VB is just too different, I would recommend VB if you used Pascal / Delphi before





Btw... not that it really matter anyway, if u use C#, VS provide tools to convert a C# syntax to VB in no time, vice versa


C++ and regular expressions?

I want to search through a file and identify three kinds of tokens: words, new lines, and spaces, using regular expressions.





How do I do this in C++ (Visual Studio 2005)?





Specific examples of code would be appreciated!





Please be as specific as possible (e.g. Please don't just say "use regex"... I have no idea how to use regex or where to get regex and my google searches are proving fruitless...)

C++ and regular expressions?
Bad news is there is no standard regrex support in c++.


Good news is that using regex to split a string into words is like traveling around the corner by a a private jet.


Just go through your string, and look at the chars:





char *word = 0;


for (char *c = input; *c; c++)


{


if (!word) word = c;


if (*c %26gt;= 'A' %26amp;%26amp; *c %26lt;= 'z') continue; //middle of the word;


if (*c == ' ' || *c == '\n') process_blank (c, c - input);


*c = 0; // Terminate the current word


if (word) process_word (word, word - input);


word = 0;


}





This assumes that by "word" you meant any sequence of letters. If you want to allow more characters - like digits or underscores, just modify the condition of the second "if" (that has continue) next to it accordingly.
Reply:I do regex in Perl and Ksh, but not C++, my google search was for :"c++ regular expression for finding newline"


and what I found on one site is below.


A note on new line, sometimes you have to search for both a newline character as well as a carriage return character.


:


Trying It Out


Since searching and matching are so common, the Boost::Regex library has functions for both. The following code demonstrates both, using the preceding test strings as well as another, abc.





#include %26lt;iostream%26gt;


#include %26lt;boost/regex.hpp%26gt;





using namespace std;





void testMatch(const boost::regex %26amp;ex, const string st) {


cout %26lt;%26lt; "Matching " %26lt;%26lt; st %26lt;%26lt; endl;


if (boost::regex_match(st, ex)) {


cout %26lt;%26lt; " matches" %26lt;%26lt; endl;


}


else {


cout %26lt;%26lt; " doesn’t match" %26lt;%26lt; endl;


}


}





void testSearch(const boost::regex %26amp;ex, const string st) {


cout %26lt;%26lt; "Searching " %26lt;%26lt; st %26lt;%26lt; endl;


string::const_iterator start, end;


start = st.begin();


end = st.end();


boost::match_results%26lt;std::string::const_... what;


boost::match_flag_type flags = boost::match_default;


while(boost::regex_search(start, end, what, ex, flags))


{


cout %26lt;%26lt; " " %26lt;%26lt; what.str() %26lt;%26lt; endl;


start = what[0].second;


}


}





int main(int argc, char *argv[])


{


static const boost::regex ex("[Rr]eg...r");


testMatch(ex, "regular");


testMatch(ex, "abc");


testMatch(ex, "some regular expressions are Regxyzr");


testMatch(ex, "RegULarexpressionstring");


testSearch(ex, "regular");


testSearch(ex, "abc");


testSearch(ex, "some regular expressions are Regxyzr");


testSearch(ex, "RegULarexpressionstring");


return 0;


}
Reply:good luck, I've never heard of using regex in c.... but there is a c library called pcre (perl compatible regular expressions) that is used in apache!


I'm a C++ student and need lots of help?

I'm going to scholl for game development and we program the ghames with C++ visual studio 8....I'v failed the class once and this is my last chance...so I need a online tutor fast....can anyone please help me








Bobby

I'm a C++ student and need lots of help?
what is a ghames?

spring flowers

C++: How to create an MFC application that will rename files in a directory?

As a part of a larger MFC application written in C++ (Visual Studio 2005), I would like to include a function that will read in all the filenames in a given directory and rename them to append the date that the file was created to the end of the filename.





Thus, files that were previously named, "hello.txt" and were created on 1/1/2007 would now be named, "hello010107.txt".





Is there an easy way to do this? Keep in mind, this is an MFC application (with windows, buttons, forms, etc), not a console application.

C++: How to create an MFC application that will rename files in a directory?
Here ya go:





#include %26lt;afxtempl.h%26gt;





void TimeStampFiles(CString Path)


{


// enumerate all files in the directory and place them in an array


CStringArray files;


CFileFind finder;


BOOL bWorking = finder.FindFile(Path + "\\*.*");


while (bWorking)


{


// ignore directories


bWorking = finder.FindNextFile();


if (!finder.IsDirectory())


files.Add(finder.GetFilePath());


}





// now cycle through the array


for (int i=0; i%26lt;files.GetSize(); i++)


{


// get the file path, title and extension


CString path = GetPath(files[i]); // e.g. "c:\\dir\\"


CString title = GetTitle(files[i]); // e.g. "name"


CString extension = GetExtension(files[i]); // e.g. "ext"





// get the time for this file


CTime time;


finder.GetCreationTime(time);





// construct the string


CString timeString = time.Format("%m%d%Y");





// construct the new filename


CString newName = path + title + timeString + "." + extension;





// rename it


CFile::Rename(files[i], newName);


}


}





What this does is first enumerate all the files and place them in an array....you don't want to be modifying the contents of a directory while you're looping through it. It then goes through the array and names each file at a time. The only functions I haven't implemented are the 3 that seperate the full path and filename into the path, the file title and the extension, but they should be easy enough to look up.





Enjoy!
Reply:You can do it, but there is no 'easy way' shortcut.





You need to use FindFirstFile() and FindNextFile() to iterate through the files in the directory. Here's sample code: http://netez.com/2xExplorer/shellFAQ/bas...





Be sure to explicitly ignore '.' and '..' when iterating through the file names and also ignore subdirectories. See sample code for how to determine whether you're looking at a filename or a subdir name.





Collect all the valid file names into a container (vector would work). Once you are done getting all the file names, start iterating through your vector. Parse the existing file name at the dot, and build your new file name, then call ::MoveFileEx( ) to rename the file. Be sure you use the full path in the file names.





How are you planning to use this? You'll only be able to run it once on a directory. If you run it a second time, you'll keep expanding the already-renamed files with more date decoration. Maybe you need a more unique naming convention so you can decide that the file is already renamed and leave it alone.


A little help with C++?

I am confident that i know the basics of C++, but what i want to know is how to add a (UI) user interface. Instead of the simple console applications.





Compilers i use are





Dev C++


Visual studio 2008 express edition.





Anyone tell me how to get started with that, i have no idea where to begin or how to start.





Thanks in advance.

A little help with C++?
in straigt visual c++ you could use the MFC libraries for graphical interfaces, or you can use gtk+ etc etc. But for .NET languages, you just need to add a form to the project and set it as the start UI.
Reply:In the express edition, you cannot use the built in GUI creator. You can, however, use it in the Visual Studio 2005 one. (Or any other non express ones). Otherwise you have to learn a graphics library such as GTK or wxWidgets. You can also try straight Win32 GUI code, but that takes some memorization...
Reply:Ok.....





Heres the website i use for my learnin of C++ programing...





http://www.cprogramming.com





I guess the website says it all...


C# help please?

In C# Visual Studio 2005 how do I make it so that when the mouse is no longer in the group box area something happens? Here is my code so far:





private void groupBox1_MouseHover(object sender, EventArgs e)


{


btnTopIncrease.Visible = true;





}





How do I modify this code so that this happens when the mouse is out of the area?








Thanks,


Sophie

C# help please?
I don't know C# very well (only the bare basics) but you should look for one of the following:





1. Put the group boxes in a "block", I don't know the exact term but it's the line that goes around a grouping of controls. You can set a hover on that, so when the hover is on that, do what you want to happen when it's out of the grouping of radio buttons.


2. Not sure if this'll work or not, but the same as #1, but instead of using another control under the radio buttons, try with the form itself and set a private variable for the status. So...something like statusShow = true, within the MouseHover function, and then on hover for the main form something like:


if(statusShow == true) {


// Do your stuff here.


}





There may other options too, I'm not sure off hand though.
Reply:The MouseHover event is triggered when the mouse is stationary over the control. There are other events like MouseEnter and MouseLeave that would be more appropriate for what you want to do. Add an event handler for MouseLeave to trigger an event when the mouse leaves the control.