Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Creating a Virtual Serial Port in VB.net

  1. #11
    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,612
    Xport in google brings up Curiosity's site on the 5 or 7th link.


    which is good enough for me.

    However my main point of reference, as I said in my previous post, was Curiosity on here.

    And I thought that Thunderstick, who has been here for awhile, would already be aware of Curiosity and his Xport program as it's mentioned alot in the RoadRunner forum which is one of Thundersticks main hangouts

  2. #12
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    There is a way for an app to send data to xport which will then go to all the virtual ports. Just an option.

  3. #13
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by Enforcer View Post
    Xport in google brings up Curiosity's site on the 5 or 7th link.


    which is good enough for me.

    However my main point of reference, as I said in my previous post, was Curiosity on here.

    And I thought that Thunderstick, who has been here for awhile, would already be aware of Curiosity and his Xport program as it's mentioned alot in the RoadRunner forum which is one of Thundersticks main hangouts
    Since I spend more time here than at the bar (WTF it's true), I was well aware of xport and all the serial splitter tools. I am just trying to create one of my own with a few added features.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  4. #14
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    com0com is open source, so how to do it is all there. If it was around when I started XPort, I think that would have been a good starting point or at least a great reference.

  5. #15
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by Curiosity View Post
    There is a way for an app to send data to xport which will then go to all the virtual ports. Just an option.
    can this be done using Visual Basic?
    If so guide me jedi master...
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  6. #16
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    I'm not too great with VB, but searching can always find goods examples of similar code to help out. Here's a similar setup.
    http://www.mp3car.com/vbulletin/road...e-net-app.html
    Ah, here's a VB one: http://social.msdn.microsoft.com/for...-f9f75717456c/

    So based on that, it should be something like...

    Find the XPort message window...
    int hWnd;
    hWnd = FindWindow(NULL, "XPortMsgWnd");

    Now there are 3 different message you want to send using a COPYDATA and
    SendMessage(hWnd, WM_COPYDATA, 0, cds)

    cds.dwData = 1 and everything else cleared will stop the real data relay

    cds.dwData = 0 and everything else cleared will restart real data relay

    To send data, use command 2 for dwData, then lpData is a pointer to your data, and cbData is the length of the data...
    cds.cbData = length of string;
    cds.dwData = 2;
    cds.lpData = string;

Page 2 of 2 FirstFirst 12

Similar Threads

  1. GPS serial port disappears?
    By NSFW in forum GPS
    Replies: 3
    Last Post: 09-18-2008, 02:44 PM
  2. Serial Port issues, can someone help?
    By HiJackZX1 in forum General Hardware Discussion
    Replies: 4
    Last Post: 08-29-2008, 02:30 PM
  3. Fresh Install on New PC, Rebooting
    By phc in forum StreetDeck
    Replies: 3
    Last Post: 12-23-2007, 09:33 AM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  5. Holux GPS Trouble
    By mangus580 in forum StreetDeck
    Replies: 34
    Last Post: 11-26-2007, 08:56 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
  •