Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How can i get all my application required files into one package ??

Hi,,
after finishing my application i used Packaging tool included with visual basic 6.0 to pack my app. and create a setup program

i done that and it worked with no problems on my pc (which have vb6.0 installed on) , when i tried to setup it on another pc have Win 98 and don't have vb6.0 installed on - i faced a problem about DLL Files required by the app. work - it was rmoct32.dll used in the Real Player control - and it damaged all of the windows !!

need help !
[495 byte] By [AHHB] at [2007-11-11 8:35:27]
# 1 Re: How can i get all my application required files into one package ??
in your setup wizard, you'll need to include the .dll your missing. in the wizard you have the option to add any additional files
jim12345 at 2007-11-11 17:25:23 >
# 2 Re: How can i get all my application required files into one package ??
thanx for reply jim ,

but i know that method and it doesn't make any joy !

still waiting !!
AHHB at 2007-11-11 17:26:15 >
# 3 Re: How can i get all my application required files into one package ??
Are you certain that RealNetworks allows distribution of that file? The user would probably have to install RealPlayer on their machine.
pclement at 2007-11-11 17:27:23 >
# 4 Re: How can i get all my application required files into one package ??
Yeah that is - App. don't run without Real Player installed on the end-user pc

but what about another controls ? like WinSock - what that need ?

and what about ActiveX when it added to a web page , and be run on a pc haven't got VB Run Time files ? what that also need ?

Thanx Pclement for your help !
AHHB at 2007-11-11 17:28:18 >
# 5 Re: How can i get all my application required files into one package ??
Look at this :-
http://www.ahhb.be/Active/test.htm

it is an activex control - it run only on my machine and at any other pc it doesn't load the activex control only the webpage HTML contents
View page source for more info about how i wrote it's code and if you want to check the activex project ask me and i will send it to you in a pm

yours ,,
AHHB at 2007-11-11 17:29:24 >
# 6 Re: How can i get all my application required files into one package ??
Are you using the Object tag for the ActiveX component? Does it specify a .cab file for the upload and installation?
pclement at 2007-11-11 17:30:23 >
# 7 Re: How can i get all my application required files into one package ??
no , i have it in .OCX Extension , should i use packaging tool included with vb6.0 to create a .CAB Installition file ?
AHHB at 2007-11-11 17:31:27 >
# 8 Re: How can i get all my application required files into one package ??
Yes. You need to make certain that any dependent files are installed when your component is downloaded to the target computer.

The following example should help:

http://www.codeproject.com/vbscript/vbActiveXControl.asp
pclement at 2007-11-11 17:32:30 >
# 9 Re: How can i get all my application required files into one package ??
Thanks for reply and help but still have the same problem and i have wrote the ActiveX code and HTML Page code exactly like tho one you sent - see this :-

http://ahhb.be/AHHBirc.HTM

it still work only on my local pc and any another one the ActiveX Control doesn't load !!

waiting for reply ; and very thanks for continous help !
AHHB at 2007-11-11 17:33:29 >
# 10 Re: How can i get all my application required files into one package ??
Have you tried the example in the article I posted? Just to see if you can get it working?
pclement at 2007-11-11 17:34:30 >
# 11 Re: How can i get all my application required files into one package ??
OK , I'l make one like it exactly and send you the result soon

Thanx
AHHB at 2007-11-11 17:35:28 >
# 12 Re: How can i get all my application required files into one package ??
See this :-
http://ahhb.be/act
AHHB at 2007-11-11 17:36:26 >
# 13 Re: How can i get all my application required files into one package ??
OK, all that is see is your directory listing.
pclement at 2007-11-11 17:37:33 >
# 14 Re: How can i get all my application required files into one package ??
Yes - i meant see the Project1.HTM page
and there's also the .CAB file

waiting for you
AHHB at 2007-11-11 17:38:35 >
# 15 Re: How can i get all my application required files into one package ??
What type of control are you trying to display in the page?
pclement at 2007-11-11 17:39:28 >