scripting activex
BlitzPlus Forums/BlitzPlus Programming/scripting activex
| ||
The following code illustrates the use of an activex component from BlitzPlus, in this particular example it is a Merlin an msagent control that overlays himself on your desktop and if you have him fully installed will talk and listen to you: http://www.blitzbasic.com/codearcs/codearcs.php?code=1039 |
| ||
I'm speachless. Does that mean that we can use any VB ActiveX written with VB6 or VB.NET ? If so, could you be so kind to explain in detail each needed step to achieve that ? I mean, for example: - open VB6 - create an ActiveX (ocx ?) - ..... Sergio. |
| ||
Whoa, good stuff! |
| ||
Neat. |
| ||
nice but *cough* why not add this functionality directly into blitz *cough* |
| ||
*gives skn a cough drop* |
| ||
lol *cough* |
| ||
Mr. skidracer, *cough*, could you *cough* please answer to *cough* my *cough* questions ? Thanks.... *cough* Sergio. |
| ||
No, it won't feed your cat or water your dog. What in particular do you want to do??? |
| ||
Here you are: Does that mean that we can use any VB ActiveX written with VB6 or VB.NET ? If so, could you be so kind to explain in detail each needed step to achieve that ? I mean, for example: -1 open VB -2 create an ActiveX (ocx ?) -3 ..... .... |
| ||
Sorry you seemed to have missed the particulars again. If you can < embed > your vb controls in html then yes you can utilize them from BlitzPlus, activex controls need to be registerred so are not the simplest things to bundle with an app. |
| ||
They are quite simple to include with an app, but you need a good install maker. I'm surprised noone thought of doing that before since blitz+ uses the IE control (I think). Since it's basically IE, it can do anything that IE can do... Including using activex controls. |
| ||
any active x control can be embedded into an html page skid... when i used to do the 9 to 5 thing, that's what i did... create com objects that would be hosted on a web page that would provide functionality to the corporate customers. so... say that i write a fully functional game in vb... compile it as an activex control, then embed it on an html page... will i be able to cotrol it via this method? i haven't looked at the code yet... a lil busy trying to finish up all my weeks tasks before the day (Friday) ends, but i will take a look at the example code tommorrow... ... in the meantime, what's your take? thx --Mike |
| ||
It seems you can have certain control on the ocx using that script method, so that you can actually perform the methods that the ocx exposes; but how, for example, retrieve values from it ? skidracer, any takes ? Could you please be so kind to enlight this concept to us ? Please... ;-) Sergio. |
| ||
Thats really cool. :) With some minor alteration I now have a foul mouthed wizard keeping track of the time. Its the simple things... |