vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: VB 2008 - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
VB 2008 (10th Mar 08 at 12:32am UTC)
Well, seeing as I can't find a "Compile" button anywhere, and have to go to "Publish", which creates an install file and a bunch of seemingly useless application files, I have 2 questions.

1. Is there any way I can just compile to an EXE rather than being forced to do a full "Publish" ?

2. If I can't do my first question, when publishing, can I uncheck ".NET Framework" in the prerequisites list if I'm not using any network functions?

rroll.to— Shorten a link, rickroll your friends.
Avtar
New Member
*

[Avatar]
Traffic. That's why I hate four wheels.

Posts: 10
Status: Offline
Gender: Male
Location: India
Age: 36
Joined:  
Reputation: 0%  


pmwwwaim
Re: VB 2008 (21st Mar 08 at 10:33am UTC)
Are you using Visual Basic 2008 Express Edition or Visual Studio 2008? Also, pressing F5 will run your current application without having you to publish it. I'm guessing you're not using the Express Edition, since it has the green "play" button that lets you do that, whereas in Visual Studio you need to get it onto the toolbar through your options.

Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: VB 2008 (21st Mar 08 at 7:19pm UTC)
I have Express Edition. I don't want to just run it. I want to save the EXE without having to create setup files and whatnot, so others can just click on the EXE and it will run.

rroll.to— Shorten a link, rickroll your friends.
Avtar
New Member
*

[Avatar]
Traffic. That's why I hate four wheels.

Posts: 10
Status: Offline
Gender: Male
Location: India
Age: 36
Joined:  
Reputation: 0%  


pmwwwaim
Re: VB 2008 (21st Mar 08 at 11:16pm UTC)
When you save the project in a designated folder, the bin folder shall have the EXE that you can run. And the others will be able to run the EXE only if they have the .NET framework I'm guessing.

Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: VB 2008 (22nd Mar 08 at 2:38am UTC)
 
When you save the project in a designated folder, the bin folder shall have the EXE that you can run. And the others will be able to run the EXE only if they have the .NET framework I'm guessing.


I had seen that, but when I tried to send just that to people, half of them received a runtime error.

As for my second question, is there any way to not require .NET framework? {Unsure}

rroll.to— Shorten a link, rickroll your friends.
Avtar
New Member
*

[Avatar]
Traffic. That's why I hate four wheels.

Posts: 10
Status: Offline
Gender: Male
Location: India
Age: 36
Joined:  
Reputation: 0%  


pmwwwaim
Re: VB 2008 (22nd Mar 08 at 5:02am UTC)
I know of a way to do it in Visual C#, but that pretty much requires you to build a semi-installer really.

Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: VB 2008 (22nd Mar 08 at 6:19am UTC)
 
I know of a way to do it in Visual C#, but that pretty much requires you to build a semi-installer really.


I still don't understand why a Password Generator requires .NET when if I entered the same code into VB6 it would run fine. {Tongue Out}

Speaking of which, since neither of these seem fully solvable, do you know of anywhere that I could get a legal free copy of VB6? {Tongue Out}

rroll.to— Shorten a link, rickroll your friends.
Avtar
New Member
*

[Avatar]
Traffic. That's why I hate four wheels.

Posts: 10
Status: Offline
Gender: Male
Location: India
Age: 36
Joined:  
Reputation: 0%  


pmwwwaim
Re: VB 2008 (22nd Mar 08 at 7:50am UTC)
If VB.NET would run just as simply as VB6, the entire point of the .NET framework would be lost. {Tongue Out} The compatibility of C#, ASP.NET and everything in the application will exist only with the .NET framework being intact. So yeah, that's why it won't run so easily.

And yeah, while saving the project/file there should be an option for you to make it non .NET compatible or something of the sort. {Smile}

Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: VB 2008 (22nd Mar 08 at 4:10pm UTC)
I've tried unchecking the .NET framework prerequisite, but I'm told by everyone that it's still required upon running the EXE. {Unsure}

rroll.to— Shorten a link, rickroll your friends.
Avtar
New Member
*

[Avatar]
Traffic. That's why I hate four wheels.

Posts: 10
Status: Offline
Gender: Male
Location: India
Age: 36
Joined:  
Reputation: 0%  


pmwwwaim
Re: VB 2008 (22nd Mar 08 at 6:24pm UTC)
Test it out, if you've told it to not be a .NET application, it should sure as hell not be one!

Image
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: VB 2008 (22nd Mar 08 at 7:21pm UTC)
 
Test it out, if you've told it to not be a .NET application, it should sure as hell not be one!


I've tested it on 4 computers that do not have .NET framwork; it still says that it's required.

rroll.to— Shorten a link, rickroll your friends.
Mithras
Junior Member
**

Posts: 67
Status: Offline
Gender: Male
Location: Pittsburgh, PA
Age: 33
Joined:  
Reputation: 0%  


pm
Re: VB 2008 (22nd Mar 08 at 10:47pm UTC)
Who created and maintains the .NET framework? Microsoft. There's your problem.

Really, the only languages (on Windows) that you're not going to have to install software for are C++, Java, and maybe C.

If you're on a Mac or some Linux distros, you're looking at Java, C++, C, Perl, Ruby, Python, and a host of other languages pre-installed. Windows just makes things difficult {Tongue Out}
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 33
Joined:  
Reputation: 4%  


pmmsn
Re: VB 2008 (23rd Mar 08 at 12:01am UTC)
Mith is correct, i'v used Macs before at school.

Windows indeed makes it difficult, which would explain why I havn't learned these languages yet.

 Printable View

All times are GMT+0 :: The current time is 2:15pm
Page generated in 0.4547 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums