Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Support > Visual Basic error

Reply
Thread Tools

Visual Basic error

 
 
Michael
Guest
Posts: n/a
 
      06-28-2003
I’ve been developing a system in Visual Basic (VB-5. I know it’s
outdated, but I’m so far along in it that I’ve been afraid to rock the
boat by rebuilding the project in VB-6, which I have). Anyway,

I have until now never had any problem building a distribution file
for transferring to CD for sales distribution, but now I find that
when I build the file and then try to install from it using the
SETUP.EXE file that VB supplies, he aborts the installation. I printed
out the Installation LOG file and this is the message that he gives me
as the cause of the Abort:

The file ‘C:\WINDOWS\system32\$(DLLSelfRegisterEx)’ could not be
registered because it was not found.

I don’t know whether the Installation process is looking for this file
because he always looks for it or because something in my distribution
folder is telling him to look for it. Do you know? If it’s something
in my distribution, any clues as to how I would go about locating what
it is that triggers the search for the file. If I absolutely must have
the file in any case, any idea where I might get it (say, the Windows
Installation CD, the Internet, whatever)?

I have moved from Windows 98 to a Windows XP recently and I don’t
recall whether I’ve ever tried to make a distribution CD under XP. I
suspect this is the first attempt.

Any help would be appreciated
 
Reply With Quote
 
 
 
 
Jimchip
Guest
Posts: n/a
 
      06-29-2003
On Sat, 28 Jun 2003 23:31:05 GMT, Michael wrote:
> I’ve been developing a system in Visual Basic (VB-5. I know it’s
> outdated, but I’m so far along in it that I’ve been afraid to rock the
> boat by rebuilding the project in VB-6, which I have). Anyway,
>
> I have until now never had any problem building a distribution file
> for transferring to CD for sales distribution, but now I find that
> when I build the file and then try to install from it using the
> SETUP.EXE file that VB supplies, he aborts the installation. I printed
> out the Installation LOG file and this is the message that he gives me
> as the cause of the Abort:
>
> The file ‘C:\WINDOWS\system32\$(DLLSelfRegisterEx)’ could not be
> registered because it was not found.
>
> I don’t know whether the Installation process is looking for this file
> because he always looks for it or because something in my distribution
> folder is telling him to look for it. Do you know? If it’s something
> in my distribution, any clues as to how I would go about locating what
> it is that triggers the search for the file. If I absolutely must have
> the file in any case, any idea where I might get it (say, the Windows
> Installation CD, the Internet, whatever)?
>
> I have moved from Windows 98 to a Windows XP recently and I don’t
> recall whether I’ve ever tried to make a distribution CD under XP. I
> suspect this is the first attempt.
>
> Any help would be appreciated


$(DLLSelfRegisterEx) is not a specific file but rather a call to an object
in the runtime library. Your VB5 files may be calling some control that
doesn't exist in XP in the same way the VB runtime libraries think it
should. I think the problem is in the VB libraries themselves and not just
in a missing system file. Without knowing more I would guess your best bet
is to upgrade VB to the XP version and debug your code until it runs on VB6/
XP. Then go back and check compatibility for 98.

Another possibility is that the way you are finally building the
distribution file is at fault. The installer that you are currently using
may be the one making the bad object call. There is a free utility for
Visual Studio (VB) but it is for VB6:
http://msdn.microsoft.com/vstudio/do.../download.aspx

A long shot would be that you have to create the distribution copy while
logged in as the Administrator.

The move from 98 to XP is quite a leap.

--
Anyone outside my light-cone is dead to me. That's just a rule I have.
(lifted from /. Posted by jamie.)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005 and Visual Basic .net 2003 Stewart ASP .Net 1 02-24-2006 07:32 AM
What is the difference between Visual Basic.NET and Visual Basic 6? Jimmy Dean Computer Support 3 07-25-2005 07:05 AM
Visual Studio .Net v.s. Visual Basic .Net? M P ASP .Net 6 08-07-2004 04:25 AM
eMbedded Visual Basic & Visual Studio .NET - No Longer Supported? ¢harlie MCSD 0 12-26-2003 07:23 PM
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET Jaime MCSD 2 09-20-2003 05:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57