| Author |
Message |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
Ah this was my fault ^^
i only renamed the file to myplugin.
Now it works thanks
But how can i now make a config panel for my plugin?
|
|
| Fri Jun 15, 2007 8:58 am |
 |
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
Sorry for double post
But i thought you already read my post.
Now how can i make a config panel in VB.Net for my Plugin.
I'm not able to convert your C example plugin to VB.Net because i can't program in C
Thanks
|
|
| Fri Jun 15, 2007 9:15 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3336
|
|
|
|
Did you actually read this whole thread before posting in it? for instance this post and the ones following it..
|
|
| Fri Jun 15, 2007 9:25 am |
|
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
I know added the things the user as posted
And know i get following errors in VB IDE:
Error 1 the type “System.Windows.Forms.Control” is not defined. \ \ FSDEG001 \ USER10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ Class1.vb 57 57 LCDStudio
Error 2 the type “MySettings” is not defined. \ \ FSDEG001 \ USER10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ Class1.vb 53 28 LCDStudio
Error 3 the type “UserControll” is not defined. \ \ FSDEG001 \ USER10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ Class1.vb 59 24 LCDStudio
Error 4 the instruction is invalid in a namespace. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 1 1 LCDStudio
Error 5 the instruction is invalid in a namespace. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 3 1 LCDStudio
Error 6 the instruction is invalid in a namespace. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 13 1 LCDStudio
Error 7 the instruction is invalid in a namespace. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 17 1 LCDStudio
Error 8 the instruction is invalid in a namespace. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 21 1 LCDStudio
http://img293.imageshack.us/img293/5508/error1us3.jpg
http://img529.imageshack.us/img529/942/error2ei0.jpg
EDIT: Now i tried some things and i was able to solve some errors
But now there are new Errors
|
|
| Fri Jun 15, 2007 9:53 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3336
|
|
|
|
Add references to System.Windows.Forms.dll but really this is basic programming i'm willing to help you get your data in Studio but basic programming you are on your own.
|
|
| Fri Jun 15, 2007 10:16 am |
|
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
Yeah I'm just starting to program in VB.Net
Before i only programmed basics in VB6
I now solved the main errors on my selve.
Now only a few errors are still there.
Only declaration errors
Error 1 the name “ControlStyles” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 6 21 LCDStudio
Error 2 the name “Color” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 7 24 LCDStudio
Error 3 the name “_settings” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 8 9 LCDStudio
Error 4 the name “_settings” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 14 9 LCDStudio
Error 5 the name “_settings” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 18 9 LCDStudio
http://img340.imageshack.us/img340/1782/error3dw2.png
|
|
| Fri Jun 15, 2007 10:23 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3336
|
|
|
|
Again get some experiance with vb.net before attempting lcdstudio plugins, i really don't have the time to hold your hand on basic stuff.
|
|
| Fri Jun 15, 2007 10:28 am |
|
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
Only one error left.
When i comment out that line
Than the plugin loads but i can't open the Settings menu in LCDStudio
Error 2 the name “Color” was not defined. \ \ Fsdeg001 \ user10$ \ v90324 \ Visual Studio 2005 \ Projects \ LCDStudio \ LCDStudio \ UserControll.vb 7 24 LCDStudio
http://img293.imageshack.us/img293/7591/error4bb4.jpg
|
|
| Fri Jun 15, 2007 10:52 am |
 |
 |
Ray
Site Admin

Joined: 23 Apr 2005 Posts: 3336
|
|
|
|
Why don't you look up the Color class in the manual/msdn and see in what dll it is defined? 
|
|
| Fri Jun 15, 2007 11:04 am |
|
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
I got a bit further now.
I found the DLL.
And now i don't have any errors in VB IDE
But when I load this plugin i can't open the settings anymore.
And when i comment out that line the plugin loads but theres no tab.
|
|
| Fri Jun 15, 2007 11:07 am |
 |
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
at the moment i really don't know where the problem is
|
|
| Fri Jun 15, 2007 5:36 pm |
 |
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
| Sat Jun 16, 2007 6:30 pm |
 |
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
I now compiled your example and it works.
But why not in VB????
I changed nothing i only used the converted code.
Is there a debugging option in LCDStudio?
|
|
| Sat Jun 16, 2007 9:02 pm |
 |
 |
UNOPARATOR
Homo Moderatus

Joined: 19 Jul 2005 Posts: 865 Location: Istanbul, Turkey |
|
|
|
While LcdStudio is running, load your project in VS2005 and "Attach Process" to LcdStudio.exe 
|
|
| Mon Jun 18, 2007 6:47 am |
|
 |
Weissbierwaldi
Joined: 29 Jul 2005 Posts: 108 Location: Germany |
|
|
|
This works?
I will try it.
But now i have the working example from joshua_70448.
|
|
| Mon Jun 18, 2007 6:52 am |
 |
 |
|