What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Visual Basic 6 - I need some help

Pages: (2): « First [ 1 ] 2 » Last »
Visual Basic 6 - I need some help
Author: Message:
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. Huh?  Visual Basic 6 - I need some help
Hey, I'm new here on the forum, and also new when it comes to Visual Basic 6. Well new... That's a big word. Let's say I'm new in programming plugins that work on the !Plus ( which btw is great (Y) ). I downloaded the documentation on the !Plus site to help me creat a plugin. Now I was looking at the code and wonderd. So I just clicked the make button and it made the .dll file ( so I didn't change the coding ). I 've putted the .dll in the !Plus > Plugin dir. But when I startup !Plus the plugin won't show up. I've tried restarting !Plus, and restarting my PC. But it won't showup in de menu ( and in the code there was a piece of coding that normaly would let it to show on the menu ). Can somebody help me with this. Because the problem is realy bugging me :S. Thanks a lot ( Ow please remember I'm Newbie on this section of programming, so try to explain as easy as posible :D )

Sazologie
04-03-2004 03:50 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Visual Basic 6 - I need some help
Did you also read the readme.txt that comes with the examples:

quote:
The files MPPluginConst.bas and MPPluginDef.cls contain the information you need to create a plugin in Visual Basic. Include the two files in your project and create a new class for your plugin based on MPPluginDef. Remember that an extra installation step is needed when installing Visual Basic pluggins (see below).
quote:
When installing a Visual Basic plugin, you are required to create a special value in the registry to let Messenger Plus! know that it has to load your DLL. Placing it in the Plugins directory will not be enough. Here is the value you have to create:
  Key: HKEY_LOCAL_MACHINE\SOFTWARE\Patchou\MsgPlus2\RegisteredPlugins
  Value Name: any name you want to identify your plugin
  Value data: VB object identifier (ProgID)

The object identifier is the name of your project, a dot and the
name of your class. For example, the identifier for the VB sample
distributed in this API package is "MPPlugin.Sample"
.


Also, take a look at this excellent plugin tutorial made by RaceProUK: http://www.geocities.com/raceprouk/msn/plugins.htm (Scroll down the page to get the PDF and samples)


I hope these things helped...

This post was edited on 04-03-2004 at 03:58 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-03-2004 03:58 PM
Profile PM Find Quote Report
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. RE: Visual Basic 6 - I need some help
Thanks I'll try this at once
04-03-2004 04:11 PM
Profile PM Find Quote Report
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. RE: Visual Basic 6 - I need some help
Maybe a some kind stupid question...
But like I told befor I'm new... So
How do you created a registery file.... :$
04-03-2004 04:15 PM
Profile PM Find Quote Report
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. RE: Visual Basic 6 - I need some help
Ow btw Cookie,
I have the dutch version of !Plus
and I looked at the About. When
I saw that you helped to translate it
into dutch. So my guess is that your
main language is dutch. If so that could
come in handy because I'm from belgium:$
If not, thanks any way :)
04-03-2004 07:02 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Visual Basic 6 - I need some help
quote:
Originally posted by Sazologie
I'm new here on the forum
welcome :wave:
quote:
Originally posted by Sazologie
How do you created a registery file....
In the VB example plugin there's a registry file: install.reg. Edit it (it's a plain test file, so you can open it with notepad) and modify it as you want.

If you're only testing you may want to modify the registry yourself, without any file.
[*]go to start > run
[*]type regedit and click ok
[*]navigate at the left until you find the secction HKEY_LOCAL_MACHINE\SOFTWARE\Patchou\MsgPlus2\RegisteredPlugins
[*]at the right, right click and create a new key as you can read in Cookie's post.
quote:
Originally posted by Sazologie
!Plus
Plus! ;)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
04-03-2004 07:28 PM
Profile PM Find Quote Report
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. RE: Visual Basic 6 - I need some help
Thanks you guys are helping a lot :D
Hum where can I get that installer maker?
Btw I tried it with the Register file and still my plugin
won't come into that damn menu.
Thanks for wishing me welcome, and sorry for that
Plus! fault :)
04-03-2004 08:04 PM
Profile PM Find Quote Report
Sazologie
Junior Member
**

The Search For Knowledge

Posts: 15
36 / Male / –
Joined: Apr 2004
O.P. RE: Visual Basic 6 - I need some help
Btw I'm so soo sooo sorry that I got to bug you with ( forr you guyz ) lame question, but I can't figure out this plugin thing... It seems easy but its hard for me :s
04-03-2004 08:23 PM
Profile PM Find Quote Report
RichGuk
New Member
*


Posts: 9
37 / Male / –
Joined: Apr 2004
RE: RE: Visual Basic 6 - I need some help
quote:
Originally posted by Sazologie
Btw I tried it with the Register file and still my plugin
won't come into that damn menu.


I'm also fairly new to programming, but have you built up your menu in the GetPublishCommandInfo function? As I assume this is where the menu is created from?

code:
    '// Parameters for GetPublishCommandInfo():                          //
    '//   * nCommandIdx: a number between 1 and nCommandCount            //
    '//     representing the index of the command who's info is going to //
    '//     be retrieved.                                                //
    '//   * sName: name you want to be displayed for the command in the  //
    '//     Plugins menu.                                                //
    '//   * sValue: command string. Do NOT include "/" at the beginning  //
    '//     of the command. Example: "xping".                            //
    '//   * sHelp: optional help you want to be displayed when the user  //
    '//     selects the command from the Plugins menu. This is useful    //
    '//     only when the command accepts arguments.                     //
04-04-2004 07:56 AM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Visual Basic 6 - I need some help
Well...Try using DJMystic's install maker like blasphemer said.
I made a tool which will modify DJMystic's info files :)
Get it here : http://shoutbox.menthix.net/showthread.php?tid=23191
Oh!The installer file comes there too!
YouTube closed-captions ripper (also allows you to download videos!)
04-04-2004 08:47 AM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On