PlugIn Development in VB6

Asim

Member
Dear Support Team:

I am using PlSql developer v 8.0 and trying to create some useful add-ins in visual basic 6 but the problem is that when I execute PlSql Developer it does not detects the DLL which I have placed in PlugIns Folder. However I have also verified the PlugIn Directory path in Prefrences menu.

Following is the code snipptof my Visual Basic DLL:

Public PlugInID As Long
Public PlugInName As String

Public Function IdentifyPlugIn(ID As Long) As String
PlugInID = ID
IdentifyPlugIn = "MyAddIn1.0"
End Function

Public Sub OnMenuClick(index As Long)
MsgBox "MenuItem CLicked! " & CStr(index)
End Sub

Public Function CreateMenuItem(index As Long) As String
If index = 1 Then
CreateMenuItem = "Test Addin"
Else
CreateMenuItem = ""
End If
End Function

Public Sub OnActivate()
MsgBox "Activated"
End Sub

Please help me to solve this issue.

 
I don't think this is possible. The Plug-In interface requires C/C++ style variables and functions (e.g. zero-terminated strings). I'm not sure if Visual Basic can deal with that.
 
Back
Top