Valhalla Legends Forums Archive | Visual Basic Programming | Export OCX and EXE File?

AuthorMessageTime
Clan CDH
A friend started teaching me how to use resource files but he never got into any detail on how, I was wondering how I would do that in visual basic so that VB would automatically put specific files where I wanted them to go.  Mostly OCX files and one EXE file.  Thanks for your help and I will again, be posting on another forum just to get the best results!  Thanks!
June 28, 2006, 4:49 AM
UserLoser
I don't understand what you're trying to find out...or ask.  Resource files have nothing to do with file placement or ActiveX controls (.OCX extended files)
June 28, 2006, 10:46 PM
Clan CDH
well what im trying to do is create an installer that will extract .ocx files to the system32 directory and register them so that it doesnt tell the user "missing stupidfile.OCX"  do you get it now?
June 29, 2006, 4:05 AM
Clan CDH
i resolved my problem

for reference, see this link
http://www.stealthbot.net/forumn/index.php?showtopic=5899&st=0&#entry59490
June 29, 2006, 5:00 AM
MysT_DooM
for some odd reasons, installers on bots make me uneasy  ::)
June 29, 2006, 3:54 PM
Topaz
[quote author=Clan CDH link=topic=15294.msg155067#msg155067 date=1151557211]
i resolved my problem

for reference, see this link
http://www.stealthbot.net/forumn/index.php?showtopic=5899&st=0&#entry59490
[/quote]

You're better off writing a small util with the packaged dependencies that does it for you (minimal requirement is registering the visual basic runtime).
June 29, 2006, 11:30 PM
JoeTheOdd
If a person doesn't know how to run the VB runtime installer and regsvr32, and know where to place OCX files, then they shouldn't be allowed to use a bot.
July 1, 2006, 9:18 PM
Topaz
[quote author=J link=topic=15294.msg155128#msg155128 date=1151788732]
If a person doesn't know how to run the VB runtime installer and regsvr32, and know where to place OCX files, then they shouldn't be allowed to use a bot.
[/quote]

It's a lot of hassle to regsvr32 eight different files.
July 1, 2006, 9:30 PM
JoeTheOdd
Not really.
July 1, 2006, 11:11 PM
LoRd
[quote author=J link=topic=15294.msg155128#msg155128 date=1151788732]
If a person doesn't know how to run the VB runtime installer and regsvr32, and know where to place OCX files, then they shouldn't be allowed to use a bot.
[/quote]

That's exactly why your work never becomes popular... well one of several reasons why anyway.
July 1, 2006, 11:31 PM
Quarantine
LOL LORD you own
July 2, 2006, 1:13 AM
JoeTheOdd
Not really. He pointed out an obvious fact which came to mind soon after I posted it. To be quite frank, if I cared about peoples opinions at all it definately wouldn't be those of the general stupid populace of Battle.net who don't know ByRef from ByVal.
July 2, 2006, 6:59 AM
Topaz
[quote author=J link=topic=15294.msg155159#msg155159 date=1151823544]
Not really. He pointed out an obvious fact which came to mind soon after I posted it. To be quite frank, if I cared about peoples opinions at all it definately wouldn't be those of the general stupid populace of Battle.net who don't know ByRef from ByVal.
[/quote]

Ah yes, they're stupid because they don't program in VB6. Brilliant.
July 2, 2006, 7:26 AM
JoeTheOdd
Yet they're not as stupid as you because they have the common sense to understand that I used VB terms in a discussion about, of all things, VB.

Get a girlfriend and waste her time instead of mine.
July 2, 2006, 3:45 PM
Topaz
[quote author=J link=topic=15294.msg155192#msg155192 date=1151855109]
Yet they're not as stupid as you because they have the common sense to understand that I used VB terms in a discussion about, of all things, VB.

Get a girlfriend and waste her time instead of mine.
[/quote]

Ah, but you were talking about 'the general stupid populace of Battle.net' weren't you?
July 2, 2006, 7:57 PM
dlStevens
Hey, uh here.

Go to Project, Resources, and Scroll down to "Microsoft Scripting Runtime" then

Public  FSO as Filesystemobject, and go from there.
July 2, 2006, 10:58 PM
inner.
[quote author=Joe[x86] link=topic=15294.msg155192#msg155192 date=1151855109]
Yet they're not as stupid as you because they have the common sense to understand that I used VB terms in a discussion about, of all things, VB.

Get a girlfriend and waste her time instead of mine.
[/quote]
Get a boyfriend and waste his time instead of mine*

It's a girl. ;)
July 4, 2006, 11:11 PM
Grok
Get back on topic.

The most lightweight installer you could use is an INF file.  With that you have full control over placement of your OCX and EXE files.

More elaborate setup editors let you create MSI files.  You could and should use those instead of INF, if you must learn one.
July 7, 2006, 2:18 PM
Clan CDH
i finished this project a month ago, not using the post here, but with the help of a friend who showed me a better way of doing this.
July 23, 2006, 11:56 PM

Search