Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a basic .exe 3

Status
Not open for further replies.

Bresart

Programmer
Feb 14, 2007
314
ES
Hi, i have just installed Visual Studio 2005, and have several questions:

1.- Can i make an .exe file with the basic form i have created, for this exe launch the form?

2.- Does Visual Studio 2005 have the VB last version, and which is that?

3.- Which software is now most reccommended for building a VB project that access to a DB in Microsoft Access? And for that project be accesible from the net?

Thanks.

 
Sorry, I didn't understand your second question when you posted in the VB6 forum. I took "VB Last version" to mean "Previous VB version" whereas it's now clear to me that you mean "Latest VB version", in which case the answer is yes. As far as what they call that verision, I don't know.
 
2) I've only ever seen it called vb.net 2005 on any Microsoft documentation. It may have an internal version number, but they don't officially call it any version that I've ever seen. There are updates to the Framework and IDE depending on when it was purchased.

3) Visual Studio/VB.NET? I'm not really sure exactly what you are asking.

-I hate Microsoft!
-Forever and always forward.
 
Thank you Sorwen.

1) How could i make an .exe from a Visual studio 2005 project?

3) I mean which VB version (VB5, VB6, VB.NET, any other?) is now most reccommended for building a VB project that access to a DB in Microsoft Access? And for that project be accesible from the net?
 
1) When you build a project it creates an .exe file. Real quick break down. Make a form, hit F5 (to build and run it) or right click on the Solution in Solution Explorer and select build (to just build it). It will be a debug build and it will have an exe in the projects debug folder. For better info try a search on MSDN. The have a good setup by step guide on building a project.

3) VB.NET since that is the only version supported by Microsoft for further development. Everything Microsoft related is going .NET and a lot of developers are starting to use it at least partially.

-I hate Microsoft!
-Forever and always forward.
 
Sorwen thank you. I have done both things (F5 and right click in the project name in the solution explorer), and after a searching in the folder My Docs/Visual Studio 2005, i have found several exes in the round-about folder

My Docs\Visual Studio 2005\Projects\Proy1\Proy1\bin\Debug:

- WindowsApplication1.exe
- Proy1.vshost.exe
- WindowsApplication1.vshost.exe

The first one (WindowsApplication1.exe) is the only that opens the form that compose the project.

Is that the target file i need for having and carrying all the project?

 
Yes, the WindowsApplication1.exe is the file. Really what you want to do though is to make it a click once or Setup Project. Generally speaking, in my opinion, the setup project is the better way to go as you have more control on installation. The reason is as you add more things to your project, things like dll, picture, or text files your project may use, if you create a setup project you can have those automatically install with the program instead of remembering to move everything later.

-I hate Microsoft!
-Forever and always forward.
 
VB 2005 is version 8. .NET was version 7.

When you build your project, it creates both a debug version in the bin\debug folder, and a release version in the bin\release folder. You don't have to choose as we did with previous versions of Visual Studio.
 
Yes, i have just seen it, DENewkirk.

<quote>VB 2005 is version 8. .NET was version 7.
</quote>

I guess version 8 is only .NET, is that right?

Thanks.
 
Vb6 is a totally different language to any of the DotNet releases.

To answer your question for what is recommended in terms of connecting to an Access database, if you were to use VB, it would would be VB2005 using ADO.Net (through the System.Data.OLEDB Namespace)

 
There is the next version in the works of Visual Studio, which works with Orcas, the new Windows Server OS, as well as Vista.

-David
2006 & 2007 Microsoft Most Valuable Professional (MVP)
2006 Dell Certified System Professional (CSP)
 
Thanks dglienna.

Which is that next version? If that version works with Vista, should it be compatible with XP also?
 
It's Visual Studio 2008. Last I heard it was supposed to be released at the end of November (I don't remember if they listed a year tho) hehehe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top