ActiveX error when running an application(VB 6 based)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

I am trying to run a home made Visual Basic 6 application on SUSE Linux
Desktop 10, using "wine-1.1.18-2.1"
Installation of VB 6 Application went smooth, and creates the directory
under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".

I then did the following
# cd /root/.wine/drive_c/Program\ Files
# cd PrjPatientInfo
# wine cmd
C:\Program Files\PrjPatientInfo>

"ActiveX component cant create object"

and on console/cmd got the following error

C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class
{00000514-0000-00 10-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registere d
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5

Please help
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

ActiveX error when running an application(VB 6 based)

Post by austin987 »

On Fri, Apr 10, 2009 at 2:28 AM, Muhammad Sharfuddin
<[email protected]> wrote:
I am trying to run a home made Visual Basic 6 application on SUSE Linux
Desktop 10, using "wine-1.1.18-2.1"
Installation of VB 6 Application went smooth, and creates the directory
under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".

I then did the following
# cd /root/.wine/drive_c/Program\ Files
Please don't run wine as root.
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

Please don't run wine as root.
Thanks for the suggestion. I normally do the testing via root, and once
things got stable/implemented switch to an ordinary user.

On Fri, Apr 10, 2009 at 12:31 PM, Austin English <[email protected]>wrote:
On Fri, Apr 10, 2009 at 2:28 AM, Muhammad Sharfuddin
<[email protected]> wrote:
I am trying to run a home made Visual Basic 6 application on SUSE Linux
Desktop 10, using "wine-1.1.18-2.1"
Installation of VB 6 Application went smooth, and creates the directory
under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".

I then did the following
# cd /root/.wine/drive_c/Program\ Files
Please don't run wine as root.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Now that you've run Wine as root, your ~/.wine permissions are probably all messed up. Set the owner permissions back or remove that directory...

For testing, I recommend that you use different wineprefixes: normally things get installed and run in ~/.wine but you can temporarily change that so you can test apps on a 'clean' or just completely different 'installation' of the wine prefix dir. Like so:

WINEPREFIX=~/.testwine wine app.exe
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

before the winetricks, I got the
following error, when running the vb6 app
"ActiveX component cant create object"
and on console/cmd got the following error
C:\Program Files\PrjPatientInfo> >PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class
{00000514-0000-00 10-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registere d
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
then
# sh winetricks colorprofile comctl32 comctl32.ocx corefonts dcom98 urlmon
pdh wininet wsh56vb xact
and now the error change

# cd /root/.wine/drive_c/Program\ Files/PrjPatientInfo
# wine cmd

C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>wine: Unhandled page fault on read access to
0x80000050 at address 0x7bc40aeb (thread 0020), starting debugger...
Unhandled exception: page fault on read access to 0x80000050 in 32-bit code
(0x7bc40aeb).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7bc40aeb ESP:0033f7bc EBP:0033f7e4 EFLAGS:00210286( - 00 -RISP1)
EAX:80000000 EBX:7bc8d448 ECX:65faf1f0 EDX:65f22392
ESI:00000000 EDI:00370154
Stack dump:
0x0033f7bc: 00000000 00370018 0033f7d4 7ed55013
0x0033f7cc: 00000000 65f2438c 0033f88c 65f24247
0x0033f7dc: 7bc8d448 00000000 0033f844 7bc42ddc
0x0033f7ec: 0033f7ac 00000000 00000038 7bc325f1
0x0033f7fc: 0012af48 00110014 00000030 7bc31f6f
0x0033f80c: 00110014 0033f84c 7bc8d448 00000000
Backtrace:
=>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4)
1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844)
err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "ole32.dbg" ("")
2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc)
3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc)
4 0x65f2376c in ole32 (+0x2376c) (0x0033f918)
5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c)
6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c)
7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4)
8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c)
9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40)
10 0x65f3434b in ole32 (+0x3434b) (0x0033faac)
11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c)
12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44)
err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "DLL\\MSVBVM60.dbg"
("")
13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0)
14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8)
15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc)
16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c)
17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40)
18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60)
19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80)
20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00)
21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8)
22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x7bc40aeb HEAP_GetPtr+0x1b in ntdll: cmpl $0x50414548,0x50(%eax)
Modules:
Module Address Debug info Name (41 modules)
PE 400000- 64e000 Export prjpatientinfo
PE 65340000-653d2000 Deferred oleaut32
PE 65f00000-65fc2000 Export ole32
PE 66000000-66153000 Export msvbvm60
ELF 7b800000-7b935000 Deferred kernel32<elf>
\-PE 7b820000-7b935000 \ kernel32
ELF 7bc00000-7bca9000 Export ntdll<elf>
\-PE 7bc10000-7bca9000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e8d8000-7e8f5000 Deferred ximcp.so.2
ELF 7e91d000-7e922000 Deferred libxfixes.so.3
ELF 7e930000-7e938000 Deferred libxrender.so.1
ELF 7e938000-7e957000 Deferred imm32<elf>
\-PE 7e940000-7e957000 \ imm32
ELF 7e957000-7ea4e000 Deferred libx11.so.6
ELF 7ea4e000-7ea5c000 Deferred libxext.so.6
ELF 7ea5c000-7ea74000 Deferred libice.so.6
ELF 7ea74000-7eb0b000 Deferred winex11<elf>
\-PE 7ea80000-7eb0b000 \ winex11
ELF 7ec45000-7ec64000 Deferred libexpat.so.1
ELF 7ec64000-7ec9d000 Deferred libfontconfig.so.1
ELF 7ec9d000-7eca0000 Deferred libxrandr.so.2
ELF 7ecab000-7ecbd000 Deferred libz.so.1
ELF 7ecbd000-7ed2a000 Deferred libfreetype.so.6
ELF 7ed2a000-7ed7e000 Deferred advapi32<elf>
\-PE 7ed40000-7ed7e000 \ advapi32
ELF 7ed7e000-7ee1a000 Deferred gdi32<elf>
\-PE 7ed90000-7ee1a000 \ gdi32
ELF 7ee1a000-7ef5e000 Deferred user32<elf>
\-PE 7ee30000-7ef5e000 \ user32
ELF 7efcd000-7eff2000 Deferred libm.so.6
ELF 7eff5000-7effe000 Deferred libxcursor.so.1
ELF 7effe000-7f000000 Deferred xlcutf8load.so.2
ELF b7cc1000-b7cc6000 Deferred libxxf86vm.so.1
ELF b7cc6000-b7cc9000 Deferred libxinerama.so.1
ELF b7ccb000-b7ccf000 Deferred libdl.so.2
ELF b7ccf000-b7dfb000 Deferred libc.so.6
ELF b7dfb000-b7e11000 Deferred libpthread.so.0
ELF b7e12000-b7e1b000 Deferred libsm.so.6
ELF b7e1f000-b7f5a000 Export libwine.so.1
ELF b7f5b000-b7f77000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000c
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000017
00000018 0
0000001f (D) C:\Program Files\PrjPatientInfo\PrjPatientInfo.exe
00000020 0 <==
Backtrace:
=>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4)
1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844)
2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc)
3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc)
4 0x65f2376c in ole32 (+0x2376c) (0x0033f918)
5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c)
6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c)
7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4)
8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c)
9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40)
10 0x65f3434b in ole32 (+0x3434b) (0x0033faac)
11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c)
12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44)
13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0)
14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8)
15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc)
16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c)
17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40)
18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60)
19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80)
20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00)
21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8)
22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)


help please
Regards
From: Muhammad Sharfuddin <[email protected]>
Subject: [Wine] ActiveX error when running an application(VB 6 based)
To: [email protected]
I am trying to run a home made Visual Basic 6 application on SUSE Linux
Desktop 10, using "wine-1.1.18-2.1"
Installation of VB 6 Application went smooth, and creates the directory
under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".
I then did the following
# cd /root/.wine/drive_c/Program\ Files
# cd PrjPatientInfo
# wine cmd
C:\Program Files\PrjPatientInfo>
"ActiveX component cant create object"
and on console/cmd got the following error
C:\Program Files\PrjPatientInfo>>PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class
{00000514-0000-00 10-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registere d
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
Please help
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.winehq.org/pipermail/wine-us ... chment.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

I restart the machine, and now error messages on "cmd" gone, just the
following error(gui small pop-up window)

"ActiveX component cant create object"

# cd /root/.wine/drive_c/Program\ Files/PrjPatientInfo/
# wine cmd
CMD Version 1.1.17

C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe

no error on the console/cmd now(after running the winetricks)


On Tue, Apr 21, 2009 at 5:35 PM, Muhammad Sharfuddin <techsubscriptions.ms@
gmail.com> wrote:
before the winetricks, I got the
following error, when running the vb6 app
"ActiveX component cant create object"
and on console/cmd got the following error
C:\Program Files\PrjPatientInfo> >PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class
{00000514-0000-00 10-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registere d
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
then
# sh winetricks colorprofile comctl32 comctl32.ocx corefonts dcom98 urlmon
pdh wininet wsh56vb xact
and now the error change

# cd /root/.wine/drive_c/Program\ Files/PrjPatientInfo
# wine cmd

C:\Program Files\PrjPatientInfo>PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>wine: Unhandled page fault on read access
to 0x80000050 at address 0x7bc40aeb (thread 0020), starting debugger...
Unhandled exception: page fault on read access to 0x80000050 in 32-bit code
(0x7bc40aeb).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7bc40aeb ESP:0033f7bc EBP:0033f7e4 EFLAGS:00210286( - 00
-RISP1)
EAX:80000000 EBX:7bc8d448 ECX:65faf1f0 EDX:65f22392
ESI:00000000 EDI:00370154
Stack dump:
0x0033f7bc: 00000000 00370018 0033f7d4 7ed55013
0x0033f7cc: 00000000 65f2438c 0033f88c 65f24247
0x0033f7dc: 7bc8d448 00000000 0033f844 7bc42ddc
0x0033f7ec: 0033f7ac 00000000 00000038 7bc325f1
0x0033f7fc: 0012af48 00110014 00000030 7bc31f6f
0x0033f80c: 00110014 0033f84c 7bc8d448 00000000
Backtrace:
=>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4)
1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844)
err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "ole32.dbg" ("")
2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc)
3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc)
4 0x65f2376c in ole32 (+0x2376c) (0x0033f918)
5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c)
6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c)
7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4)
8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c)
9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40)
10 0x65f3434b in ole32 (+0x3434b) (0x0033faac)
11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c)
12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44)
err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "DLL\\MSVBVM60.dbg"
("")
13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0)
14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8)
15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc)
16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c)
17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40)
18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60)
19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80)
20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00)
21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8)
22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x7bc40aeb HEAP_GetPtr+0x1b in ntdll: cmpl $0x50414548,0x50(%eax)
Modules:
Module Address Debug info Name (41 modules)
PE 400000- 64e000 Export prjpatientinfo
PE 65340000-653d2000 Deferred oleaut32
PE 65f00000-65fc2000 Export ole32
PE 66000000-66153000 Export msvbvm60
ELF 7b800000-7b935000 Deferred kernel32<elf>
\-PE 7b820000-7b935000 \ kernel32
ELF 7bc00000-7bca9000 Export ntdll<elf>
\-PE 7bc10000-7bca9000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e8d8000-7e8f5000 Deferred ximcp.so.2
ELF 7e91d000-7e922000 Deferred libxfixes.so.3
ELF 7e930000-7e938000 Deferred libxrender.so.1
ELF 7e938000-7e957000 Deferred imm32<elf>
\-PE 7e940000-7e957000 \ imm32
ELF 7e957000-7ea4e000 Deferred libx11.so.6
ELF 7ea4e000-7ea5c000 Deferred libxext.so.6
ELF 7ea5c000-7ea74000 Deferred libice.so.6
ELF 7ea74000-7eb0b000 Deferred winex11<elf>
\-PE 7ea80000-7eb0b000 \ winex11
ELF 7ec45000-7ec64000 Deferred libexpat.so.1
ELF 7ec64000-7ec9d000 Deferred libfontconfig.so.1
ELF 7ec9d000-7eca0000 Deferred libxrandr.so.2
ELF 7ecab000-7ecbd000 Deferred libz.so.1
ELF 7ecbd000-7ed2a000 Deferred libfreetype.so.6
ELF 7ed2a000-7ed7e000 Deferred advapi32<elf>
\-PE 7ed40000-7ed7e000 \ advapi32
ELF 7ed7e000-7ee1a000 Deferred gdi32<elf>
\-PE 7ed90000-7ee1a000 \ gdi32
ELF 7ee1a000-7ef5e000 Deferred user32<elf>
\-PE 7ee30000-7ef5e000 \ user32
ELF 7efcd000-7eff2000 Deferred libm.so.6
ELF 7eff5000-7effe000 Deferred libxcursor.so.1
ELF 7effe000-7f000000 Deferred xlcutf8load.so.2
ELF b7cc1000-b7cc6000 Deferred libxxf86vm.so.1
ELF b7cc6000-b7cc9000 Deferred libxinerama.so.1
ELF b7ccb000-b7ccf000 Deferred libdl.so.2
ELF b7ccf000-b7dfb000 Deferred libc.so.6
ELF b7dfb000-b7e11000 Deferred libpthread.so.0
ELF b7e12000-b7e1b000 Deferred libsm.so.6
ELF b7e1f000-b7f5a000 Export libwine.so.1
ELF b7f5b000-b7f77000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008
00000009 0
0000000c
00000012 0
0000000e 0
0000000d 0
0000000f
00000016 0
00000015 0
00000011 0
00000010 0
00000017
00000018 0
0000001f (D) C:\Program Files\PrjPatientInfo\PrjPatientInfo.exe
00000020 0 <==
Backtrace:
=>0 0x7bc40aeb HEAP_GetPtr+0x1b() in ntdll (0x0033f7e4)
1 0x7bc42ddc RtlAllocateHeap+0x1c() in ntdll (0x0033f844)
2 0x65f01b9b in ole32 (+0x1b9b) (0x0033f8dc)
3 0x65f2389d in ole32 (+0x2389d) (0x0033f8fc)
4 0x65f2376c in ole32 (+0x2376c) (0x0033f918)
5 0x65f235cd in ole32 (+0x235cd) (0x0033f92c)
6 0x65f2354d in ole32 (+0x2354d) (0x0033f95c)
7 0x65f018b4 in ole32 (+0x18b4) (0x0033f9c4)
8 0x65f02ca5 in ole32 (+0x2ca5) (0x0033fa1c)
9 0x65fa9458 in ole32 (+0xa9458) (0x0033fa40)
10 0x65f3434b in ole32 (+0x3434b) (0x0033faac)
11 0x65f4fdd6 in ole32 (+0x4fdd6) (0x0033fb1c)
12 0x65f6cbdb in ole32 (+0x6cbdb) (0x0033fb44)
13 0x660468c2 in msvbvm60 (+0x468c2) (0x0033fbb0)
14 0x6602452e in msvbvm60 (+0x2452e) (0x0033fbe8)
15 0x004dc877 in prjpatientinfo (+0xdc877) (0x0033fcdc)
16 0x660143f3 in msvbvm60 (+0x143f3) (0x0033fe1c)
17 0x66011cc0 in msvbvm60 (+0x11cc0) (0x0033fe40)
18 0x6600e218 in msvbvm60 (+0xe218) (0x0033fe60)
19 0x6600df77 in msvbvm60 (+0xdf77) (0x0033fe80)
20 0x6600de7d in msvbvm60 (+0xde7d) (0x0033ff00)
21 0x0040b252 in prjpatientinfo (+0xb252) (0x0033ffe8)
22 0xb7e26907 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)


help please
Regards
From: Muhammad Sharfuddin <[email protected]>
Subject: [Wine] ActiveX error when running an application(VB 6 based)
To: [email protected]
I am trying to run a home made Visual Basic 6 application on SUSE Linux
Desktop 10, using "wine-1.1.18-2.1"
Installation of VB 6 Application went smooth, and creates the directory
under "/root/.wine/drive_c/Program\ Files/PrjPatientInfo".
I then did the following
# cd /root/.wine/drive_c/Program\ Files
# cd PrjPatientInfo
# wine cmd
C:\Program Files\PrjPatientInfo>
"ActiveX component cant create object"
and on console/cmd got the following error
C:\Program Files\PrjPatientInfo>>PrjPatientInfo.exe
C:\Program Files\PrjPatientInfo>err:ole:CoGetClassObject class
{00000514-0000-00 10-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registere d
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
Please help
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.winehq.org/pipermail/wine-us ... chment.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

did a clean WINEPREFIX

test@lapnux:~> WINEPREFIX=~/.wine-test /usr/local/bin/wine
~/Zia/Patient_Pkg/setup.exe

test@lapnux:~> cd .wine-test/drive_c/Program Files/PrjPatientInfo

test@lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo>
/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
test@lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo>

same error


On Thu, Apr 30, 2009 at 5:45 PM, Austin English <[email protected]>wrote:
2009/4/30 Muhammad Sharfuddin <[email protected]>:
I dont know how to test in a clean WINEPREFIX
WINEPREFIX=~/.wine-test wine foobar.exe

test@lapnux:~> wine .wine/drive_c/Program\
Files/PrjPatientInfo/PrjPatientInfo.exe
Don't do that. 'cd' to the directory first.

--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

ActiveX error when running an application(VB 6 based)

Post by austin987 »

On Fri, May 1, 2009 at 6:11 AM, Muhammad Sharfuddin
<[email protected]> wrote:
did  a  clean WINEPREFIX

test@lapnux:~> WINEPREFIX=~/.wine-test  /usr/local/bin/wine
~/Zia/Patient_Pkg/setup.exe

test@lapnux:~> cd  .wine-test/drive_c/Program Files/PrjPatientInfo

test@lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo>
/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
'winetricks art2kmin'

--
-Austin
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

ActiveX error when running an application(VB 6 based)

Post by austin987 »

On Fri, May 1, 2009 at 11:02 AM, Austin English <[email protected]> wrote:
On Fri, May 1, 2009 at 6:11 AM, Muhammad Sharfuddin
<[email protected]> wrote:
did  a  clean WINEPREFIX

test@lapnux:~> WINEPREFIX=~/.wine-test  /usr/local/bin/wine
~/Zia/Patient_Pkg/setup.exe

test@lapnux:~> cd  .wine-test/drive_c/Program Files/PrjPatientInfo

test@lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo>
/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
'winetricks art2kmin'

--
-Austin
Err, that should be 'winetricks mdac28'.

--
-Austin
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

'winetricks mdac28'.
Yes .. I am sure its working fine now ;-).. this time I didnt get the
ActiveX error.
Now I got the following Message Box
[Microsoft][ODBC Driver Manager]Data source name not found and no
default driver specified

and on console
test@lapnux:~/.wine-test/drive_c/Program
Files/PrjPatientInfo>/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not
registered
err:ole:CoGetClassObject no class object
{6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not
registered
err:ole:CoGetClassObject no class object
{ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1

I think I need the odbc ...
please suggest

Regards
Muhammad Sharfuddin
On Fri, May 1, 2009 at 10:04 PM, Austin English <[email protected]>wrote:
On Fri, May 1, 2009 at 11:02 AM, Austin English <[email protected]>
wrote:
On Fri, May 1, 2009 at 6:11 AM, Muhammad Sharfuddin
<[email protected]> wrote:
did a clean WINEPREFIX

test@lapnux:~> WINEPREFIX=~/.wine-test /usr/local/bin/wine
~/Zia/Patient_Pkg/setup.exe

test@lapnux:~> cd .wine-test/drive_c/Program Files/PrjPatientInfo

test@lapnux:~/.wine-test/drive_c/Program Files/PrjPatientInfo>
/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4}
not
registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not
registered
err:ole:CoGetClassObject no class object
{00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
'winetricks art2kmin'

--
-Austin
Err, that should be 'winetricks mdac28'.

--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

ActiveX error when running an application(VB 6 based)

Post by austin987 »

On Fri, May 1, 2009 at 2:10 PM, Muhammad Sharfuddin
<[email protected]> wrote:
'winetricks mdac28'.
Yes .. I am sure its working fine now ;-).. this time I didnt get the
ActiveX error.
Now I got the following Message Box
[Microsoft][ODBC Driver Manager]Data source name not found and no
default driver specified

and on console
test@lapnux:~/.wine-test/drive_c/Program
Files/PrjPatientInfo>/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not
registered
err:ole:CoGetClassObject no class object
{6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not
registered
err:ole:CoGetClassObject no class object
{ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1

I think I need the odbc ...
please suggest
mdac28 _IS_ odbc. try 'winetricks jet40'.

--
-Austin
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

Hi Thanks
mdac28 _IS_ odbc. try 'winetricks jet40'.
no difference after 'winetricks jet40'
I do agree with you that 'mdac28' is enough.
I think this is not an error .. because when I installed the app on windows
xp, without configuring the odbc, I got the same error/Message BOX. This
error only remove after configuring the odbc on windows XP.

I think I have to configure the odbc .. I think all components/modules are
installed on my system .. just the configuration is left.

Please suggest/guide

Regards
Muhammad Sharfuddin

On Sat, May 2, 2009 at 1:35 AM, Austin English <[email protected]>wrote:
On Fri, May 1, 2009 at 2:10 PM, Muhammad Sharfuddin
<[email protected]> wrote:
'winetricks mdac28'.
Yes .. I am sure its working fine now ;-).. this time I didnt get the
ActiveX error.
Now I got the following Message Box
[Microsoft][ODBC Driver Manager]Data source name not found and no
default driver specified

and on console
test@lapnux:~/.wine-test/drive_c/Program
Files/PrjPatientInfo>/usr/local/bin/wine PrjPatientInfo.exe
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not
registered
err:ole:CoGetClassObject no class object
{6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not
registered
err:ole:CoGetClassObject no class object
{ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1

I think I need the odbc ...
please suggest
mdac28 _IS_ odbc. try 'winetricks jet40'.

--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: ActiveX error when running an application(VB 6 based)

Post by vitamin »

needee wrote:just the configuration is left.
Then why don't you configure it the same way you did on winxp?
needee
Level 2
Level 2
Posts: 10
Joined: Wed Apr 08, 2009 2:53 am

ActiveX error when running an application(VB 6 based)

Post by needee »

vitamin wrote:
Then why don't you configure it the same way you did on winxp?
on winxp
control panel > odbc > system DSN > ...
How can I access the 'control panel' then 'odbc' here in wine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

ActiveX error when running an application(VB 6 based)

Post by austin987 »

On Sat, May 2, 2009 at 1:14 PM, Muhammad Sharfuddin
<[email protected]> wrote:
vitamin wrote:
Then why don't you configure it the same way you did on winxp?
on winxp
control panel > odbc > system DSN > ...
How can I access the 'control panel' then 'odbc'  here in wine
'wine control' then choose ODBC.

--
-Austin
Locked