LcdStudio.Com Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
DataPlugin SDK Quickstart
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Reply to topic    LcdStudio.Com Forum Index » SDK View previous topic
View next topic
DataPlugin SDK Quickstart
Author Message
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
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 View user's profile Send private message Send e-mail Visit poster's website
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
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 View user's profile Send private message Send e-mail Visit poster's website
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
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 View user's profile Send private message Send e-mail Visit poster's website
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
Why don't you look up the Color class in the manual/msdn and see in what dll it is defined? Very Happy
Fri Jun 15, 2007 11:04 am View user's profile Send private message Send e-mail Visit poster's website
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
at the moment i really don't know where the problem is
Fri Jun 15, 2007 5:36 pm View user's profile Send private message Visit poster's website ICQ Number
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
I now translated your example to VB.Net using this converter:
http://codeconverter.sharpdevelop.net/Convert.aspx


I repaired some errors and than i was able to compile.


But now when i want to load my plugin the messagebox gets gray.
I don't think that it is a problem with the *.plugin file


I uploaded my project here

http://filebeam.com/e25079e1a5cd866afdca6e1e2d97927e
Sat Jun 16, 2007 6:30 pm View user's profile Send private message Visit poster's website ICQ Number
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
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 View user's profile Send private message Visit poster's website ICQ Number
UNOPARATOR
Homo Moderatus


Joined: 19 Jul 2005
Posts: 865
Location: Istanbul, Turkey

Post Reply with quote
While LcdStudio is running, load your project in VS2005 and "Attach Process" to LcdStudio.exe Wink
Mon Jun 18, 2007 6:47 am View user's profile Send private message
Weissbierwaldi



Joined: 29 Jul 2005
Posts: 108
Location: Germany

Post Reply with quote
This works?


I will try it.


But now i have the working example from joshua_70448.
Mon Jun 18, 2007 6:52 am View user's profile Send private message Visit poster's website ICQ Number
Display posts from previous:    
Reply to topic    LcdStudio.Com Forum Index » SDK All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.