home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

VB.Net .exe's

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2374
Discussions: 200,942, Posts: 2,379,305, Members: 246,305
Old June 9th, 2002, 02:26 AM   Digg it!   #1 (permalink)
Senior Member
 
Rhino's Avatar
 
Join Date: Oct 2001
Posts: 552
VB.Net .exe's

OK, it seems pretty easy to create an .exe for a windows app, but is there anythign one would need to do to move the .exe to another PC? Do you have to have the .Net framework installed on the other PC? Or can I just put the .exe on the other PC?

With VB 6, they had that package deployment wizard that would include all neccessary files to install and use your app that you made. I don't see anythign like this in .Net


And Vass, if you read this, my observation on it now, is that in some cases, you can actually use LESS code in .Net than VB 6. Especially stuff like performing sql commands on am OLEDB database. All you do is add a oledbcommand control to your form, on the text property, it brings up a query builder window similar to MS Access query design view. Very slick. Then you just tell it to execute in your code.
__________________
It's like that, and it's like this....
Rhino is offline   Reply With Quote
Old June 9th, 2002, 03:04 AM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
Only one way to find out

I found this in the VS.NET help...
Quote:
Deployment to computers with the common language runtime already installed could not be simpler. Our simple program can be run directly from a file server (more advanced programs might involve security issues), in which case, no files are placed on the workstation, no entries are made in the registry and, in effect, there is no impact at all on the workstation. This also means that there is nothing to clean up, because there is nothing to uninstall. A related benefit is that running this program cannot break another program, nor can any other program cause this one to stop functioning.

As you would expect, Hello.exe can also be copied to a local volume. In this situation, simply deleting the file is sufficient to uninstall the program and, again, nothing remains on the workstation.

But not sure if that is assuming the framework is already installed

After that it starts getting into assemblies and such and gets really confusing and I haven't had time to really look into it to really understand it...

What book are you using to learn it?
deitel?
O'Reilly?
http://www.vb-world.net/misc/vbnetuncovered/
I just found a tutorial thingie, I'm gonna read through.. see if I can find out more ..
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.

Last edited by vass0922 : June 9th, 2002 at 03:25 AM.
vass0922 is online now   Reply With Quote
Old June 9th, 2002, 03:11 AM     #3 (permalink)
Senior Member
 
Rhino's Avatar
 
Join Date: Oct 2001
Posts: 552
Yeah, they seem to be mainly concerned about running like a shortcut to a file on a network. Well maybe I'll have to get a diskette and try it on another PC. Will have to make another app though cuz the one I made connects to a DB, so it wouldn't work anyways.
Rhino is offline   Reply With Quote
Old June 9th, 2002, 03:30 AM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
WHOOPS .. just found your answer

Quote:
Top Tip: Remember– you need the .NET Framework before you can run any program created in a .NET language. Just a warning.

On the 2nd page of the tutorial I noted above....
vass0922 is online now   Reply With Quote
Old June 9th, 2002, 12:39 PM     #5 (permalink)
Senior Member
 
Rhino's Avatar
 
Join Date: Oct 2001
Posts: 552
Man that sucks. Now I'm gonna have to figure out how to install it on other PCs.

I'm using a .Net for dummies book. Not very in-depth cause it covers all .Net languages. I think I will look at your link after work. Thanks Vass.
Rhino is offline   Reply With Quote
Old June 9th, 2002, 01:34 PM     #6 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
ahhh never had much luck with for dummies books.. not exactly a connieuseur of them though
So far the page isn't too bad, kinda slow though lol

However, its taking things ONE (and only one!) step at a time lol
vass0922 is online now   Reply With Quote
Old June 9th, 2002, 03:14 PM     #7 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
http://www.vb-world.net/misc/vbnetun...d2/index6.html
Very interesting page

THE BEST PART!!
Quote:
New Operators - VB.NET brings with it a few new arithmetic operators to help cut down your code. For example, "X += 4" in VB.NET will do what "X = X + 4" did in VB6. Try playing with these too: "X -= 10, X *= 2", "X /= 13", "X \=13", "X ^= 3", "X &= " OK"

+- operators!!
Man those things are great! LOL
not sure on the X &= " OK" though?
Thought maybe it was logic, but doesn't seem to be...

Hmm just found another one...
Quote:
Default ByVal - By default, all parameters are now passed 'by value' as opposed to 'by reference'. To be safe, make all declarations explicit

ByVal takes up more memory.. but safer.. ah well, I usually declare parameters explicitly anyways

Last edited by vass0922 : June 9th, 2002 at 03:18 PM.
vass0922 is online now   Reply With Quote
Old June 9th, 2002, 06:40 PM     #8 (permalink)
Ultimate Member
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,542
In Basic, & is the string concatenation operator. You figure the rest out...
strangerstill is offline   Reply With Quote
Old June 9th, 2002, 06:43 PM     #9 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
ahhhh Wunderbar!
Thanks.. duh didn't think about that
vass0922 is online now   Reply With Quote
Old June 9th, 2002, 10:41 PM     #10 (permalink)
Member
 
Join Date: Oct 2001
Location: Midland, NC USA
Posts: 64
You see, that's the whole deal....
With VB6, people harp that the size of the distribution is so large. But that is because it contains the VB6 runtime and any other common dlls that are used by the app. In most cases, however, these dlls are already on the target machine so installing the app doesn't eat up that much more real estate.

With .NET, the siren song is the CLR (Common Language Runtime), aka the .NET framework. Which is likely NOT already on the target machine(s) and which does eat up a lot of resources. That is why M$ is careful to say that :
Quote:
Deployment to computers with the common language runtime already installed could not be simpler.

(emphasis mine).

Part of the effect of .NET is to commoditize developers (coders/bit-flippers). The people who will make the REAL money with the .NET "paradigm" will be the ones who can HOST Web Services.

And guess who the only outfit is that has been anointed by M$ as a certified Web Services host?
UncaDanno is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
The disrespect of Obama by Russian .. (7)
Is It Just Me? (2918)
windows 7 problem (7)
Wireless Televisions. (11)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (11)
Print spooler problem (14)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
Laptop with wireless problem. (1)
Print spooler problem (14)
Wireless Televisions. (11)
Have you switched yet? (86)
Asus P4G8X Mobo (5)
screen resolution vs monitor size (2)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)


All times are GMT -4. The time now is 04:28 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28