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