Re: VB program conversion from Windows 95 to Windows XP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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..
>>
>
>


.



Relevant Pages

  • Re: VB program conversion from Windows 95 to Windows XP
    ... Here is the .vbp file as opened in Notepad.: ... >> compile error changed each time, ... >> utilizing Microsoft ActiveX Data Objects 2.8 Library my error changed to: ... If you post the contents of your VBP file, ...
    (microsoft.public.vb.general.discussion)
  • Re: Remove File Records
    ... how come you are apparently using your OWN project into which you had incorporated some of Steve McMahon's CD writer Class modules or whatever and yet you have Steve's legal trademark stuff in the Make tab's Version Information in your OWN vbp file after you have removed all references to Steve's code and Class modules because you have decided to no longer include them? ... since you have apparently already looked at the various trademark and copyright lines in the vbp file using NotePad then why don't you just delete those lines and use NotePad's File / Save menu? ...
    (microsoft.public.vb.general.discussion)
  • Re: translation functions
    ... The Compile option turning gray is normal: ... Doug Steele, Microsoft Access MVP ... None of the references are missing ... then go back in and unselect the reference you just added. ...
    (microsoft.public.access.gettingstarted)
  • Re: Library Database
    ... in the same folder location as the front-end database when you ... set the reference and compile the front-end MDE, ... Two of the libraries also reference ... all of this by simply not using references, ...
    (comp.databases.ms-access)
  • Re: Names of textboxes on tab-pages within a tab control?
    ... Compact the database to get rid of this junk: ... Uncheck any references you do not need. ... Still in the code window, choose Compile from the Debug menu. ...
    (comp.databases.ms-access)