Re: VB program conversion from Windows 95 to Windows XP
- From: "Someone" <nobody@xxxxxxx>
- Date: Fri, 12 Aug 2005 12:32:51 -0400
Have you removed "Microsoft ADO Ext. 2.8 for DDL and Security"? from the
list of references?
"Rainer Koenig" <rainer.koenig@xxxxxxxxxx> wrote in message
news:%23IO33zSnFHA.320@xxxxxxxxxxxxxxxxxxxxxxx
> Here is the .vbp file as opened in Notepad.:
> Type=Exe
> Reference=*\G{00000600-0000-0010-8000-00AA006D2EA4}#2.8#0#..\Program
> Files\Common Files\System\ado\msADOX.dll#Microsoft ADO Ext. 2.8 for DDL
> and Security
> Reference=*\G{2A75196C-D9EB-4129-B803-931327F72D5C}#2.8#0#..\Program
> Files\Common Files\System\ado\msado15.dll#Microsoft ActiveX Data Objects
> 2.8 Library
> Object={648A5603-2C6E-101B-82B6-000000000014}#1.1#0; MSCOMM32.OCX
> Form=DaBuffA.frm
> IconForm="Form1"
> Startup="Form1"
> HelpFile=""
> Title="DaBuffA"
> ExeName32="dabuffa.exe"
> Command32=""
> Name="Project12"
> HelpContextID="0"
> CompatibleMode="0"
> MajorVer=1
> MinorVer=0
> RevisionVer=0
> AutoIncrementVer=0
> ServerSupportFiles=0
> VersionCompanyName="COBE Cardiovascular, Inc."
> VersionLegalCopyright="(c) COBE Cardiovascular, Inc. (2001) "
> CompilationType=-1
> OptimizationType=0
> FavorPentiumPro(tm)=0
> CodeViewDebugInfo=0
> NoAliasing=0
> BoundsCheck=0
> OverflowCheck=0
> FlPointCheck=0
> FDIVCheck=0
> UnroundedFP=0
> StartMode=0
> Unattended=0
> Retained=0
> ThreadPerObject=0
> MaxNumberOfThreads=1
>
> [MS Transaction Server]
> AutoRefresh=1
> Thanks for your help.
>
> "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:es2C$CGnFHA.4056@xxxxxxxxxxxxxxxxxxxxxxx
>> "Rainer Koenig" <rainer.koenig@xxxxxxxxxx> wrote in message
>> news:uj35lfFnFHA.708@xxxxxxxxxxxxxxxxxxxxxxx
>>> On 7/18/05 I wrote (same subject):
>>>
>>> In 2001 I wrote a VB program under Windows 95 using some data base
>>> stuff.
>>> It worked fine and was validated, but now it fails to execute without
>>> error
>>> under Windows XP.
>>> Re-making the executable leads to the offending statement:
>>> Set rsDebugBuffers = New ADODB.Recordset
>>> I am assuming that I need to satisfy a reference under
>>> Projects/References,
>>> but cannot find one that works.
>>> Does anyone have a suggestion how to convert this program to work under
>>> Windows XP without a major re-write?
>>>
>>> There were two responses to this question. I tried them both and my
>>> compile error changed each time, but the problem remained. After
>>> utilizing Microsoft ActiveX Data Objects 2.8 Library my error changed
>>> to:
>>> Active X component can't create object on the same line as above.
>>> Any further suggestions?
>>> Why is it so different to compile under a different operating system?
>>
>> There really should be no difference compiling on a different OS. The
>> difference from Win95 to XP is mostly related to NTFS/Network
>> permissions. Once you get those out of the way, you shouldn't be able to
>> tell the difference.
>>
>> Are there any missing references at all? Missing ocx's or anything? If
>> anything at all is marked as "Missing", give up. It'll never compile or
>> run. If you post the contents of your VBP file, it'll show us the
>> references you're using, along with any OCXs (etc). You can get at that
>> by opening the project file in Notepad. Also, if you're trying to compile
>> a group project, you'll find it easier to solve problems if you compile
>> one project at a time. Also, make sure you're compiling in reverse
>> dependency order (exe needs dll so compile dll first, then the exe)
>>
>> --
>> Ken Halter - MS-MVP-VB - http://www.vbsight.com
>> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
>> Please keep all discussions in the groups..
>>
>
>
.
- References:
- VB program conversion from Windows 95 to Windows XP
- From: Rainer Koenig
- Re: VB program conversion from Windows 95 to Windows XP
- From: Ken Halter
- Re: VB program conversion from Windows 95 to Windows XP
- From: Rainer Koenig
- VB program conversion from Windows 95 to Windows XP
- Prev by Date: Re: TreeView selection
- Next by Date: Re: Hex to Dec and back
- Previous by thread: Re: VB program conversion from Windows 95 to Windows XP
- Next by thread: Re: VB program conversion from Windows 95 to Windows XP
- Index(es):
Relevant Pages
|