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
Hu9o



Joined: 29 Nov 2005
Posts: 10

Post Reply with quote
Bedankt Ray!


voor het nageslacht:


Arrow http://blogs.msdn.com/jomo_fisher/archive/2005/04/22/410903.aspx

Op deze manier kan je met Visual Studio C# .NET 1.1 applicaties maken.
Wed Nov 30, 2005 11:26 pm View user's profile Send private message
town65330



Joined: 03 Dec 2005
Posts: 4

Post Reliability Reply with quote
Ray wrote:
I updated the sample a little showing how to do a basic config panel and saving/loading the settings.


Does it work all the time for you?Confused
Sat Dec 03, 2005 8:03 pm View user's profile Send private message Send e-mail
spock
Site Admin


Joined: 17 Feb 2003
Posts: 4172
Location: Athens, Greece

Post Lang Reply with quote
@Hu9o:
Keep it in English, please?

_________________
Live long and prosper...
Thu Dec 15, 2005 2:00 am View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Colonel



Joined: 26 Jan 2006
Posts: 2

Post Reply with quote
Damn you and your non .Net 2.0 ness! I demand that you upgrade to the new version immediately!

Just kidding, but really, come on... 2.0 is soo much better than 1.1... I mean, its like, 90% better!


Last edited by Colonel on Thu Jan 26, 2006 7:18 pm; edited 1 time in total
Thu Jan 26, 2006 7:10 pm View user's profile Send private message
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
Check the link given earlier allows you to compile 1.1 with the 2005 ide..
Thu Jan 26, 2006 7:15 pm View user's profile Send private message Send e-mail Visit poster's website
Colonel



Joined: 26 Jan 2006
Posts: 2

Post Reply with quote
Yea, but I want to use the features that .Net 2.0 opens up. Any chance you could open up a remoting channel or something to allow other langauges to work with LCDStudio? (not just .Net 2.0, but non-.Net).
Thu Jan 26, 2006 7:17 pm View user's profile Send private message
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
Are there other non .net languages that can handle the native remoting protocols?! I doubt that, but lets assume i could do that what kind of interfacing are you looking for? Display? data? widgets? gui?
Thu Jan 26, 2006 7:34 pm View user's profile Send private message Send e-mail Visit poster's website
Abnormal1



Joined: 20 Feb 2006
Posts: 180
Location: Kent, England

Post Reply with quote
Ray wrote:
I updated the sample a little showing how to do a basic config panel and saving/loading the settings.

http://updates.lcdstudio.com/~ray/site/MyPlugin.zip

Would someone be able to post a Visual basic .net version of this as I was not able to convert this using my limited VB knowledge.

Thanks
Abnormal1
Fri Feb 24, 2006 10:26 pm View user's profile Send private message
UNOPARATOR
Homo Moderatus


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

Post Reply with quote
Abnormal1 : try using this VB.NET <---> C# converter
Sat Feb 25, 2006 10:33 am View user's profile Send private message
Abnormal1



Joined: 20 Feb 2006
Posts: 180
Location: Kent, England

Post Reply with quote
Thanks UNOPARATOR but I have tried lots of converters and they don't work. I just tried yours but the output is the same as the others.

Anyway I have decided to post the GUI parts of the conversion in hopes that someone see's what's wrong

class.vb
Code:

        Public Overrides ReadOnly Property Serializable As Boolean
            Get
                Return true
            End Get
        End Property
       
        Public Overrides ReadOnly Property ConfigType As Type
            Get
                Return GetType(MySettings)
            End Get
        End Property
       
        Public Overrides ReadOnly Property ConfigPanel As System.Windows.Forms.Control
            Get
                Return New UserControl1(CType(_settings,MySettings))
            End Get
        End Property

Public Overrides Sub UpdateData(ByVal ds As IDataService)
            Dim Set As MySettings = CType(_settings,MySettings)

MySettings.vb
Code:
Namespace MyPlugin
    Imports System
   
   
    ' <summary>
    ' Summary description for MySettings.
    ' </summary>
    Public Class MySettings
       
        Private _MyText1 As String
       
        Private _MyText2 As String
       
        Public Property MyText1 As String
            Get
                Return _MyText1
            End Get
            Set
                _MyText1 = value
            End Set
        End Property
       
        Public Property MyText2 As String
            Get
                Return _MyText2
            End Get
            Set
                _MyText2 = value
            End Set
        End Property
    End Class
End Namespace

UserControl1.vb
Code:
Private components As System.ComponentModel.Container = Nothing
       
        Public Sub New(ByVal settings As MySettings)
            MyBase.New
            InitializeComponent
            Me.SetStyle(ControlStyles.SupportsTransparentBackColor, true)
            Me.BackColor = Color.Transparent
            _settings = settings
            textBox1.Text = settings.MyText1
            textBox2.Text = settings.MyText2
        End Sub

Private Sub textBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
            _settings.MyText1 = textBox1.Text
        End Sub
       
        Private Sub textBox2_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
            _settings.MyText2 = textBox2.Text
        End Sub
       
        Private Sub UserControl1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
           
        End Sub

Sat Feb 25, 2006 12:24 pm View user's profile Send private message
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
It might help if you would share exactly what error you are getting?
Sat Feb 25, 2006 12:53 pm View user's profile Send private message Send e-mail Visit poster's website
Abnormal1



Joined: 20 Feb 2006
Posts: 180
Location: Kent, England

Post Reply with quote
Sorry, here's the errors
I get the following errors when i enable the plugin and then lcdstudio crashes.
http://img505.imageshack.us/img505/8752/error11rb.jpg
http://img528.imageshack.us/img528/4467/error25pp.jpg

The plugin does work when I restart lcdstudio but if I goto options then MyPlugin it crashes again.
Sat Feb 25, 2006 1:17 pm View user's profile Send private message
Ray
Site Admin


Joined: 23 Apr 2005
Posts: 3336

Post Reply with quote
Well the first error pretty much gives it away your _settings variable must be null. So it's probably not initalized right.
Sat Feb 25, 2006 1:22 pm View user's profile Send private message Send e-mail Visit poster's website
Abnormal1



Joined: 20 Feb 2006
Posts: 180
Location: Kent, England

Post Reply with quote
wow im a idiot.
It was just one varible that needed changing, I appear to have got it working now.

Thanks ray.
Sat Feb 25, 2006 2:58 pm View user's profile Send private message
pseudo



Joined: 13 Mar 2006
Posts: 7
Location: Porto - Portugal

Post Reply with quote
hello

i have built the ffxiTimer.dll (final fantasy xi clock) based on the guide, but a lot of people are having problems loading it, it always stays red, and as you can read from the various posts, im getting out of ideas because its ambiguous... some can, some dont... Embarassed

can i request someone to look up at the sourcecode, or at least try to run the plugin?

ray?

(damn... you have more stuff to focus than this... but anyway any advice will be helpfull)


thanks in advance
Sun Mar 19, 2006 3:25 pm View user's profile Send private message
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 2 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.