Results 1 to 3 of 3

Thread: associate irc:// with program

  1. #1
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803

    associate irc:// with program

    So i'm no windows programmer.. I'm looking for like examples of how to setup like irc:// to a irc client.

    I have a poker game i'm making and I'd like to associate poker:// with my program that is installed.. anyone have a clue how that is done.. via the installer or app itself.

    this is why i HATE the windows programming work on IRC

    <Jy> anyone off hand know how to associate like irc:// to a program in windows?
    <prym> jy; **** around in the registry till u get something working
    '98 Explorer Sport
    http://mp3car.zcentric.com (down atm)
    AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
    80% done

  2. #2
    Newbie
    Join Date
    Dec 2002
    Posts
    10
    You've got to add a few keys to HKEY_CLASSES_ROOT.

    The structure looks like this:

    HKEY_CLASSES_ROOT\POKER\shell\open\command
    For the default value of the command key, use the path to your application.

    You also need to add an empty string value under HKEY_CLASSES_ROOT\POKER names "URL Protocol", and for the default value of HKEY_CLASSES_ROOT\POKER, use "URL: Poker".

    You'll also need to add another key under HKEY_CLASSES_ROOT\POKER\shell\open called ddeexec. The default value of that key should be %1. This allows you to use the entire command line in your application. i.e. if you wrote your program in VB6, the variable Command$ would contain the entire command that loaded the application: poker://TexasHoldEm@192.123.12.123 or whatever, and you'd have to parse out the useful data.

  3. #3
    Raw Wave hijinks21's Avatar
    Join Date
    May 2002
    Location
    Albany, NY
    Posts
    1,803
    thanks!
    '98 Explorer Sport
    http://mp3car.zcentric.com (down atm)
    AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
    80% done

Similar Threads

  1. auto starting a program
    By djmickyg in forum Software & Software Development
    Replies: 5
    Last Post: 06-11-2004, 05:41 PM
  2. Looking for a program.
    By Mikesz in forum Software & Software Development
    Replies: 1
    Last Post: 11-23-2002, 07:09 AM
  3. Running a program inside a program
    By CaffeineAddict in forum Software & Software Development
    Replies: 10
    Last Post: 10-16-2002, 04:26 AM
  4. charchter lcd program?
    By Jaymz in forum Software & Software Development
    Replies: 1
    Last Post: 02-15-2001, 08:32 PM
  5. Can someone write me a PIC program 4 a awesome s/down controller please?
    By gizmos in forum General Hardware Discussion
    Replies: 3
    Last Post: 07-17-2000, 01:43 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
  •