All the samples are in c#, none are Visual Basic.
It is .NET and that means that all the MIP library classes will work in Visual Basic too, but we have unfortunately no samples..
All the samples are in c#, none are Visual Basic.
It is .NET and that means that all the MIP library classes will work in Visual Basic too, but we have unfortunately no samples..
Hi, and no good patience programmer, can give me an example of how I can connect to the server? For example a login to the db, so that it can see how the plugin communicates with the system?
From here, based on this, I can develop everything else, such as logs, events, reading cameras, etc.
I just need an initial example .. how can we solve?
It is seldom I come across Visual Basic developers and I think it is first time I see the question on plugin development where I have previously seen it on standalone application development. The MIP SDK does not include any samples in Visual Basic.
I suggest you take one of the samples, or take an otherwise empty plugin project based on the plugin template and translate the C# to Visual Basic.
I did an experiment where I wrote a plugin the does nothing, a minimal implementation, so minimal that I think it is futile to share it here. My Visual Basic skills were nonexistent so I resorted to help from - http://converter.telerik.com/ -. The experiment was succesful that I could see the plugin without functionality loaded.
Hello and thank you for the help.
I did as you told me .. I created a new project and translated it into vb, but I don’t see the plugin ..
did you proceed to make a new project in vb net or in c# (plugin type)?
and if you make new project in vb net, what kind of project did you create? class, windows form…?
being your project is without functionality, could you share it so that I take it as a sample and then develop the features? Thanks
The project I made. - http://download.milestonesys.com/MIPSDK/Samples/VB.zip
It is a class project.
There are some tricks to deploy and debug plugins. I believe it is best covered here: - https://developer.milestonesys.com/s/article/debugging-techniques-for-Smart-Client-plugins
Very thanks man.. Tomorrow I’ll try it ![]()
I guess I’m not a lucky man. ![]()
I have compiled your project and followed the link guide. Put the two files “plugin.def” and “vb.dll” in folder VB inside mipplugin folder.. started event server ..
nothing appears .. I still don’t see the plugin anywhere .. I use XProtect Essential + 2019 R.. it can be is this the problem?
If you want Event Server and not Smart Client you need another document..
https://developer.milestonesys.com/s/article/debugging-techniques-for-Event-Server-plugins
The Event Server logs will tell if the VB plugin is loaded.
I see you originally mention management..
https://developer.milestonesys.com/s/article/debugging-techniques-for-Management-Client-plugins
My problem is that I dont see, with your example, pugin in ItemList of smartclient.. so nothing to then drag into the layout
now I try with management
What I said was that my plugin has no functionality. So the only evidence that there is a plugin is in -
oh.. is right.. I thinked was in item list but empty.. and Ihow I put it in item list? any idea?
As Bo wrote, his plug-in does not contain any functionality so you will need to add a view item plugin to it for something to become available in the Smart Client view item list. Have a look at one of the view item samples to see how to do that (all in C# though).
E.g.: https://doc.developer.milestonesys.com/html/index.html?base=samples/dataexport.html&tree=tree_1.html
OK RESOLVED:
Plugin in VB.NET is possibile to get here with small donation.. very very easy to use.
Good Luck all for your own plugin creations ![]()