Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: VB.net Guru .. Plugin pro needed

  1. #1
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508

    VB.net Guru .. Plugin pro needed

    Well.. I'm after some help if possible,

    I would like to add the ability in FI to use plugins. Now I've never wrote / coded for these so need someone with a bit of experience in helping me achieve this.

    Ideally it would be nice if FI accepted RR plugins if at all possible. FI is coded in VB.net 2010 and I'm more than happy to send someone my source to laugh at and also help get this thing moving.

    please apply below.. :-p

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,626
    I'll take a look if you don't mind.


    I'm dying to get my plugins into FreeICE.



    Accepting RR plugins striaght in would probably not be the best way, you would then have to copy the main way RR does things as it's skin based.

    But I'm sure we can come up with something.

  3. #3
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    Hi fella,

    Would be good to get you onboard, let me just finish up the internet checker and I will fire you over a pm with a link.. O and apols for the poor coding.. lol

    Steve

  4. #4
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    OpenMobile uses plugins and is opensource so you could have a look at it's plugin engine.
    It's pretty straight forward thought. If needed I could help out explaining a bit.

    It's not vb.net though but c#.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  5. #5
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    Quote Originally Posted by Borte View Post
    OpenMobile uses plugins and is opensource so you could have a look at it's plugin engine.
    It's pretty straight forward thought. If needed I could help out explaining a bit.

    It's not vb.net though but c#.
    Thanks fella... I'm nearly there (I think) just struggling with STA MTA threading.. tbh I aint got a clue.. lol

    The error I'm getting is when I'm trying to pass a variable back to my main form to send to the flash skin. It's coming up with this error;

    An error occurred creating the form. See Exception.InnerException for details. The error is: ActiveX control '6bf52a52-394a-11d3-b153-00c04f79faa6' cannot be instantiated because the current thread is not in a single-threaded apartment.

    Now I've tried setting the main form to STA, but I understand it would be anyway as standard.. so I'm lost atm. :-(

    Might have another go in the morning but I still need to finish of a couple of things ready for tomorrows release.

    Steve

  6. #6
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    You have to invoke you call on the forms thread. Have a look at form.invoke and it should get you a bit further.
    Basically you need something like this:
    form.Invoke((MethodInvoker)delegate { Your code goes here... });

    I'm not 100% sure that's the error you have since I don't know your code but it sounds like the problem I explained.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  7. #7
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    Hi Borte,

    I had a bit of a read on invoke.. etc last night but things just didnt make sense. I will have another go today. Really appreciate the pointer. Just out of interest you wouldn't have vb.net 2010 installed on your machine would you ? ;-)

  8. #8
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    Quote Originally Posted by CdRsKuLL View Post
    Just out of interest you wouldn't have vb.net 2010 installed on your machine would you ? ;-)
    I've got the full VS2010 with all languages so, yes! ;-)

    You can only have one thread running your GUI (form). Any data/calls coming from other threads can't access controls or GUI objects created on a different thread. The workaround for this is to have your main thread "take over" your data/call that you're trying to run. This "take over" is done by invoking your code onto the main GUI thread so that access to controls or GUI objects is done via the correct thread.
    Last edited by Borte; 10-28-2011 at 02:46 AM. Reason: additional info
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  9. #9
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,508
    you know what's coming next...... pm sent :-)

  10. #10
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    529
    Quote Originally Posted by CdRsKuLL View Post
    pm sent :-)
    Replied!
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

Page 1 of 3 123 LastLast

Similar Threads

  1. ALK Co-Pilot Live V8 Plugin needed
    By SNOtwistR in forum CF Plugins
    Replies: 1
    Last Post: 07-07-2011, 12:16 AM
  2. Flash Guru needed.
    By MGD in forum Road Runner
    Replies: 3
    Last Post: 08-05-2008, 09:14 PM
  3. RR Media Plugin, Input needed
    By Blue ZX3 in forum Road Runner
    Replies: 8
    Last Post: 01-08-2008, 03:44 PM
  4. Translations needed for OBDII Plugin
    By smeesseman in forum Centrafuse
    Replies: 7
    Last Post: 06-19-2007, 05:47 PM
  5. winamp audio CD plugin needed
    By babas151 in forum Software & Software Development
    Replies: 4
    Last Post: 05-14-2002, 03:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •