develop plugin/script in vb6 |
Author: |
Message: |
Compact3
New Member

VB/MSN freak
Posts: 13
34 / / –
Joined: Jun 2006
|
O.P. develop plugin/script in vb6
Is there any way to develop a plugin/script with visual basic 6.0? cause that's the only language that I know.
This post was edited on 06-25-2006 at 01:01 PM by Compact3.
|
|
06-25-2006 12:58 PM |
|
 |
absorbation
Elite Member
    

Posts: 3636 Reputation: 81
– / / 
Joined: Feb 2005
|
RE: develop plugin/script in vb6
Yes, scripts are just as advanced as plugins. You can make scripts call functions from dlls, however you will need to know some very basic jscript to get the calling to work when you want  . I hope this helps, I am sure you can learn the really basic jscript syantax within a few minutes.
|
|
06-25-2006 01:03 PM |
|
 |
Compact3
New Member

VB/MSN freak
Posts: 13
34 / / –
Joined: Jun 2006
|
O.P. RE: develop plugin/script in vb6
can you give me a little example of how to call my dll then? or can you give me a link where I can learn that?
|
|
06-25-2006 01:06 PM |
|
 |
absorbation
Elite Member
    

Posts: 3636 Reputation: 81
– / / 
Joined: Feb 2005
|
|
06-25-2006 01:08 PM |
|
 |
matty
Scripting Guru
    
Posts: 8328 Reputation: 109
40 / / 
Joined: Dec 2002
Status: Away
|
RE: develop plugin/script in vb6
When making the ActiveX Dll in vb you need to register it (regsvr32).
Next in Initialize you can use the following code
code: var sDll = new ActiveXObject('ProjectName.ClassName');
That will provide you access to all the functions in the class. Now to call them you simply use code: sDll.function(parameters);
.
|
|
06-25-2006 02:15 PM |
|
 |
Compact3
New Member

VB/MSN freak
Posts: 13
34 / / –
Joined: Jun 2006
|
O.P. RE: RE: develop plugin/script in vb6
quote: Originally posted by Matty
When making the ActiveX Dll in vb you need to register it (regsvr32).
Next in Initialize you can use the following code
code: var sDll = new ActiveXObject('ProjectName.ClassName');
That will provide you access to all the functions in the class. Now to call them you simply use code: sDll.function(parameters);
.
thank you 
|
|
06-25-2006 02:17 PM |
|
 |
Shadow-x
New Member

Posts: 1
Joined: Jun 2006
|
RE: develop plugin/script in vb6
hi can some1 tell me if plus live takes pluggins such as stuffplugin and if it does wen will the version compatible whit it come out?
|
|
06-25-2006 03:58 PM |
|
 |
CookieRevised
Elite Member
    

Posts: 15497 Reputation: 173
– / / 
Joined: Jul 2003
Status: Away
|
RE: develop plugin/script in vb6
quote: Originally posted by Shadow-x
hi can some1 tell me if plus live takes pluggins such as stuffplugin and if it does wen will the version compatible whit it come out?
No...
Plugins are not supported directly anymore. However the devellopers of plugins can make wrapper-scripts which will load the plugin.
As for StuffPlug, the next version will come out when it is ready. This can be soon, this can be in 5 months... nobody knows. It also isn't going to be a plugin anymore, but a standalone application.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
06-25-2006 04:09 PM |
|
 |
Compact3
New Member

VB/MSN freak
Posts: 13
34 / / –
Joined: Jun 2006
|
O.P. RE: develop plugin/script in vb6
I'm not so good at English and I'm not so good at js. So what do I do with this? (It's from the chm-file)
code: [string] OnEvent_ChatWndReceiveMessage(
[object] ChatWnd,
[string] Origin,
[string] Message,
[enum] MessageKind
);
and
code: [boolean] SendMessage(
[string] Message
);
I know I need this but I don't know how to use it.
This post was edited on 06-26-2006 at 11:40 AM by Compact3.
|
|
06-26-2006 11:40 AM |
|
 |
matty
Scripting Guru
    
Posts: 8328 Reputation: 109
40 / / 
Joined: Dec 2002
Status: Away
|
RE: develop plugin/script in vb6
code: function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind){
pChatWnd.SendMessage('i sent this message through my script');
}
Just an example, however every time someone sends a message (including you, it will send that message).
|
|
06-26-2006 11:53 AM |
|
 |
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|