 |
|
|
|
| Author |
Message |
softie
Joined: 13 Jan 2008 Posts: 4
|
Posted: Sun Jan 13, 2008 3:57 am Post subject: deploy vb6 app not working |
|
|
Greetings
Please excuse me if this is not the correct group for this problem.
My app, written in VB6 on WinXP is now ready for deployment. I used
InstallShield 2.13 (vintage 1999) to build the installation package.
The install works perfectly on WinXp.(either by accident or design,
who knows). Now I try to install on a Win95 machine.
The program fails. My application works with Excel and will attach to
a running version or launch it if no Excel is running.
The part of the code that is not working is
(abridged) is:
Global xlobj As Excel.Application
On Error Resume Next
Set xlobj = GetObject(, "Excel.Application")
'On Error GoTo 0
If xlobj Is Nothing Then
Set xlobj = GetObject("", "Excel.Application")
End If
xlobj is set to nothing
This code works fine on WinXp and this code was developed and worked
on the Win95 machine.
What has probably happened is that the installation package installed
some XP system routines overtop of the Win95 system.
Here are the System files Installsheild has packed :
Msvbvn60.,stold2.tlb,oleaut32,olepro32,asycfilt,comdlg32,comctl32,tabctl32.
I suppose I have entered DLL Hell.
Sure, I probably need an new Installer program. Retail or shareware,
they all look to do the same job.
All I want (like 1000's of others) is to deploy my app to all versions
of Windows from 95 to Vista.
I read somewhere in the last week, that if your app is written in VB6,
the end user should download and install the vbrun60.exe. My users are
Excel power users. They dont know or care about vb.
So what I am to do?
Im pretty sure that my Win95 machine is pooched.
Any advice to get it running is appreciated.
I've surfed high and low for REAL information about installers and
found NOTHING of any value.
If installing an app across all versions of Windows is complicated,
then the Installers would have figured out how to do it, and give you
a template.
If installing an app across all version of Windows is easy, then why
did my installation pooch my machine.
Thanks in advance for any and all help
Garry
Archived from group: microsoft>public>vb>deployment |
|
| Back to top |
|
 |
expvb
Joined: 04 Oct 2007 Posts: 525
|
Posted: Sun Jan 13, 2008 6:31 pm Post subject: Re: deploy vb6 app not working |
|
|
"softie" wrote in message @s19g2000prg.googlegroups.com...
> Here are the System files Installsheild has packed :
> Msvbvn60.,stold2.tlb,oleaut32,olepro32,asycfilt
comcat.dll is missing.
> comdlg32,comctl32,tabctl32.
If these are OCX files, then it's fine, if DLL, then you made a mistake.
I recommend that you use Inno Setup, which is free:
http://www.jrsoftware.org/isinfo.php
See the tips here, especially how to translate SETUP.LST file that is
created with the P&D wizard:
http://www.jrsoftware.org/iskb.php?vb |
|
| Back to top |
|
 |
"Jan Hyde
Joined: 04 Oct 2007 Posts: 466
|
Posted: Mon Jan 14, 2008 2:04 pm Post subject: Re: deploy vb6 app not working |
|
|
softie 's wild thoughts were released on
Sat, 12 Jan 2008 22:57:06 -0800 (PST) bearing the following
fruit:
>Greetings
>Please excuse me if this is not the correct group for this problem.
>My app, written in VB6 on WinXP is now ready for deployment. I used
>InstallShield 2.13 (vintage 1999) to build the installation package.
>The install works perfectly on WinXp.(either by accident or design,
>who knows). Now I try to install on a Win95 machine.
>The program fails. My application works with Excel and will attach to
>a running version or launch it if no Excel is running.
>The part of the code that is not working is
>(abridged) is:
>
>Global xlobj As Excel.Application
>On Error Resume Next
>Set xlobj = GetObject(, "Excel.Application")
>'On Error GoTo 0
>If xlobj Is Nothing Then
> Set xlobj = GetObject("", "Excel.Application")
>End If
I'd have expected the second call to be createobject.
J
>xlobj is set to nothing
>This code works fine on WinXp and this code was developed and worked
>on the Win95 machine.
>
>What has probably happened is that the installation package installed
>some XP system routines overtop of the Win95 system.
>
>Here are the System files Installsheild has packed :
>Msvbvn60.,stold2.tlb,oleaut32,olepro32,asycfilt,comdlg32,comctl32,tabctl32.
>I suppose I have entered DLL Hell.
>Sure, I probably need an new Installer program. Retail or shareware,
>they all look to do the same job.
>All I want (like 1000's of others) is to deploy my app to all versions
>of Windows from 95 to Vista.
>
>I read somewhere in the last week, that if your app is written in VB6,
>the end user should download and install the vbrun60.exe. My users are
>Excel power users. They dont know or care about vb.
>
>So what I am to do?
>Im pretty sure that my Win95 machine is pooched.
>Any advice to get it running is appreciated.
>I've surfed high and low for REAL information about installers and
>found NOTHING of any value.
>If installing an app across all versions of Windows is complicated,
>then the Installers would have figured out how to do it, and give you
>a template.
>If installing an app across all version of Windows is easy, then why
>did my installation pooch my machine.
>Thanks in advance for any and all help
>
>Garry
>
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde |
|
| Back to top |
|
 |
softie
Joined: 13 Jan 2008 Posts: 4
|
Posted: Mon Jan 21, 2008 2:36 am Post subject: Re: deploy vb6 app not working |
|
|
Thank you for your help.
1. Yes, I will now use Inno.
2. CreateObject doesnt solve the problem
Garry
On Jan 14, 2:04 am, "Jan Hyde (VB MVP)"
wrote:
> softie 's wild thoughts were released on
> Sat, 12 Jan 2008 22:57:06 -0800 (PST) bearing the following
> fruit:
>
>
>
>
>
> >Greetings
> >Please excuse me if this is not the correct group for this problem.
> >My app, written in VB6 on WinXP is now ready for deployment. I used
> >InstallShield 2.13 (vintage 1999) to build the installation package.
> >The install works perfectly on WinXp.(either by accident or design,
> >who knows). Now I try to install on a Win95 machine.
> >The program fails. My application works with Excel and will attach to
> >a running version or launch it if no Excel is running.
> >The part of the code that is not working is
> >(abridged) is:
>
> >Global xlobj As Excel.Application
> >On Error Resume Next
> >Set xlobj = GetObject(, "Excel.Application")
> >'On Error GoTo 0
> >If xlobj Is Nothing Then
> > Set xlobj = GetObject("", "Excel.Application")
> >End If
>
> I'd have expected the second call to be createobject.
>
> J
>
>
>
>
>
> >xlobj is set to nothing
> >This code works fine on WinXp and this code was developed and worked
> >on the Win95 machine.
>
> >What has probably happened is that the installation package installed
> >some XP system routines overtop of the Win95 system.
>
> >Here are the System files Installsheild has packed :
> >Msvbvn60.,stold2.tlb,oleaut32,olepro32,asycfilt,comdlg32,comctl32,tabctl32.
> >I suppose I have entered DLL Hell.
> >Sure, I probably need an new Installer program. Retail or shareware,
> >they all look to do the same job.
> >All I want (like 1000's of others) is to deploy my app to all versions
> >of Windows from 95 to Vista.
>
> >I read somewhere in the last week, that if your app is written in VB6,
> >the end user should download and install the vbrun60.exe. My users are
> >Excel power users. They dont know or care about vb.
>
> >So what I am to do?
> >Im pretty sure that my Win95 machine is pooched.
> >Any advice to get it running is appreciated.
> >I've surfed high and low for REAL information about installers and
> >found NOTHING of any value.
> >If installing an app across all versions of Windows is complicated,
> >then the Installers would have figured out how to do it, and give you
> >a template.
> >If installing an app across all version of Windows is easy, then why
> >did my installation pooch my machine.
> >Thanks in advance for any and all help
>
> >Garry
>
> --
> Jan Hyde
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text - |
|
| Back to top |
|
 |
"Jan Hyde
Joined: 04 Oct 2007 Posts: 466
|
Posted: Tue Jan 29, 2008 4:28 pm Post subject: Re: deploy vb6 app not working |
|
|
softie 's wild thoughts were released on
Sun, 20 Jan 2008 21:36:52 -0800 (PST) bearing the following
fruit:
>Thank you for your help.
>1. Yes, I will now use Inno.
>2. CreateObject doesnt solve the problem
>Garry
Do you get an error?
J
>On Jan 14, 2:04 am, "Jan Hyde (VB MVP)"
> wrote:
>> softie 's wild thoughts were released on
>> Sat, 12 Jan 2008 22:57:06 -0800 (PST) bearing the following
>> fruit:
>>
>>
>>
>>
>>
>> >Greetings
>> >Please excuse me if this is not the correct group for this problem.
>> >My app, written in VB6 on WinXP is now ready for deployment. I used
>> >InstallShield 2.13 (vintage 1999) to build the installation package.
>> >The install works perfectly on WinXp.(either by accident or design,
>> >who knows). Now I try to install on a Win95 machine.
>> >The program fails. My application works with Excel and will attach to
>> >a running version or launch it if no Excel is running.
>> >The part of the code that is not working is
>> >(abridged) is:
>>
>> >Global xlobj As Excel.Application
>> >On Error Resume Next
>> >Set xlobj = GetObject(, "Excel.Application")
>> >'On Error GoTo 0
>> >If xlobj Is Nothing Then
>> > Set xlobj = GetObject("", "Excel.Application")
>> >End If
>>
>> I'd have expected the second call to be createobject.
>>
>> J
>>
>>
>>
>>
>>
>> >xlobj is set to nothing
>> >This code works fine on WinXp and this code was developed and worked
>> >on the Win95 machine.
>>
>> >What has probably happened is that the installation package installed
>> >some XP system routines overtop of the Win95 system.
>>
>> >Here are the System files Installsheild has packed :
>> >Msvbvn60.,stold2.tlb,oleaut32,olepro32,asycfilt,comdlg32,comctl32,tabctl32.
>> >I suppose I have entered DLL Hell.
>> >Sure, I probably need an new Installer program. Retail or shareware,
>> >they all look to do the same job.
>> >All I want (like 1000's of others) is to deploy my app to all versions
>> >of Windows from 95 to Vista.
>>
>> >I read somewhere in the last week, that if your app is written in VB6,
>> >the end user should download and install the vbrun60.exe. My users are
>> >Excel power users. They dont know or care about vb.
>>
>> >So what I am to do?
>> >Im pretty sure that my Win95 machine is pooched.
>> >Any advice to get it running is appreciated.
>> >I've surfed high and low for REAL information about installers and
>> >found NOTHING of any value.
>> >If installing an app across all versions of Windows is complicated,
>> >then the Installers would have figured out how to do it, and give you
>> >a template.
>> >If installing an app across all version of Windows is easy, then why
>> >did my installation pooch my machine.
>> >Thanks in advance for any and all help
>>
>> >Garry
>>
>> --
>> Jan Hyde
>>
>> https://mvp.support.microsoft.com/profile/Jan.Hyde- Hide quoted text -
>>
>> - Show quoted text -- Hide quoted text -
>>
>> - Show quoted text -
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde
|
|
| Back to top |
|
 |
|
|
| Related Topics: | How do I deploy Sorry if this is the wrong group I have installed VB.Net Standard and made my project ready for distribution, but I can't figure how to package and deploy the solution. I have build the solution and some files are left in the \bin folder. Now what do I do
Deploy .net as VB6 Is there any way to deploy a .net Windows application as a VB6 application? I have an app that needs to be able to run on machines without .net 2.0 installed. I am writing the app in the new Beta2 of Visual Basic .net. thanks -- Deploy on XP Hi, After searching and browsing the vb.deployment newsgroup and being unable to find a solution, maybe someone can help me. My development machine is Windows 98 SE, VB 6.0 SP5. The application uses Jet 4.0 and an Win 2K Access MDB as the database. Usin
General Deploy I use VB6, ADO, Jet, Active Reports, JRO, DynaZip and I will need some type of copy protection. My application is used in small city offices so I have no control over equipment, Win versions, etc. The application includes the main exe and several .dll's t
PWD Deploy folder Has anyone used the Package And Deployment wizard to add a folder to setup package? If yes, how? |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|