A runnig example of runnig Activex and scripts from PB !!

Developed or developing a new product in PureBasic? Tell the world about it.
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Cor wrote:Still does not work.

regsvr says it is registered, but sample programs do not work :cry:

win98 se
Hi,

Its strange i test it now in a w98 too.

The problem is not my dll, but the ocx i use for the examples.
Send me an email please ricardoarias@yahoo.com

BTW, did you download and test the dll itself? It contain examples to control word, etc.
ARGENTINA WORLD CHAMPION
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

In W98 don't use the regsvr32 in the package, use your own (windows/system) to reg the COM objects (xObjects.dll,xObjects1.dll,xObjects2.dll).

Those xObjects.dlls are not really part of my dll, are just Activex i used to make the demosntrations.
In the first release i make the mistake to compress it and i don't test it on w98, so now i know that in w98 its not a good idea to compress COM... in the 2nd release (the same download urls as the 1º) i put the activexs dlls without any compression.

I just test it here in a w98 and it runs fine.

However, try to test the dll itself, downloading it from

http://www.getafile.com/cgi-bin/merlot/ ... eX2Dll.zip

The package contains some PB sources that let you try from you own code to do many things.

Thanks
ARGENTINA WORLD CHAMPION
Cor
Enthusiast
Enthusiast
Posts: 124
Joined: Fri Apr 25, 2003 7:52 pm
Location: Netherlands
Contact:

Post by Cor »

@Ricardo

I'am sorry that it give so much trouble

All done like you say.

Does not work

xobjects.dll reports succeeded.

But if I run example function Test1 gives result 0
Cor de Visser

Registered PureBasic user

Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

[@Cor

Send me an email ricardoarias@yahoo.com
ARGENTINA WORLD CHAMPION
User avatar
Rings
Moderator
Moderator
Posts: 1427
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

you cannot compress activeX-Dlls (for example with upx) .They did not running after that coz the export-table cannot generated .
SPAMINATOR NR.1
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Rings wrote:you cannot compress activeX-Dlls (for example with upx) .They did not running after that coz the export-table cannot generated .
Now i know :oops:

But in XP it runs fine :?:
Cor
Enthusiast
Enthusiast
Posts: 124
Joined: Fri Apr 25, 2003 7:52 pm
Location: Netherlands
Contact:

Post by Cor »

From a resource site:

Code: Select all

We have discovered that ActiveX errors are the result of some missing components that are added during the install/uninstall of Office/Access 2000.  The only known cure for the above error is to install/uninstall MS Access 2000, OR to install the MS Access Jet 4 Service Pack (even though Access may not actually 'be' on the workstation).
I have MS 2000 installed, so that seems to be the problem, that is it not working.
Cor de Visser

Registered PureBasic user

Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
Cor
Enthusiast
Enthusiast
Posts: 124
Joined: Fri Apr 25, 2003 7:52 pm
Location: Netherlands
Contact:

Post by Cor »

I did some inspection with Activex manager.
http://www.4dev.com/xmgr/index.htm

The Microsoft Script Control 1.0 was not registered (msscript.ocx)

I did register it and now it worked.

Only the Word example did not work. (word 2000 does not start)

Maybe if you start Activex programs check if the msscript.ocx is registered and report it to the customer, maybe like I they disabled it for security reasons.

I'm running win98 se

Now I need some examples to play with.

If all goes well then I register your program Ricardo :D , if the $15 stays for a while.
Cor de Visser

Registered PureBasic user

Author of ChordPlanet
Made with PureBasic
http://www.chordplanet.com
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Cor wrote:I did some inspection with Activex manager.
http://www.4dev.com/xmgr/index.htm

The Microsoft Script Control 1.0 was not registered (msscript.ocx)

I did register it and now it worked.

Only the Word example did not work. (word 2000 does not start)

Maybe if you start Activex programs check if the msscript.ocx is registered and report it to the customer, maybe like I they disabled it for security reasons.

I'm running win98 se

Now I need some examples to play with.

If all goes well then I register your program Ricardo :D , if the $15 stays for a while.
Im happy that you find the problem, i learn now one more thing.

The official place to share examples is:

http://groups.yahoo.com/group/ActiveX2Dll/

I will be giving examples often and the users can put their own
ARGENTINA WORLD CHAMPION
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

@Rings:

Did you see my private message?
ARGENTINA WORLD CHAMPION
Post Reply