Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2005
    Posts
    572

    i build a text editor and......

    i build a text editor and my program save my files to *.yyy (the *.yyy is my file) how i do thet the user run "file.yyy" my programe is open automtic and can i change the icon of my file?.
    exmple if i run file.doc the microsoft word is automatic open

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Take a look at this thread:

    http://www.indigorose.com/forums/showthread.php?t=17380

    It will show you how to make changes to Windows registry to achieve what you need.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160

    Does the Search function still work

    Just checking . . . . . . . . Yep the search function on the forums still works. bule you make a great search function too.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    but Tigg...

    If I use that feature, I might get the answer right-away. Where's the fun in that?
    Last edited by Worm; 10-02-2006 at 08:31 AM.

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Quote Originally Posted by Worm View Post
    but Tigg...

    If use that feature, I might get the answer right-away. Where's the fun in that?
    Oh yeah, Got to keep us forum fans in business. We have to earn our monies some how . . . oh yeah we don't get paid for watching the forums. Well not really but kinda we do. Great software for everyones.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  6. #6
    Join Date
    Oct 2005
    Posts
    572

    thenk you all i need 1 more help

    the code is vary good but and the file is run my program but the icon dont cheng way? i send the program tp attach files.
    Attached Files

  7. #7
    Join Date
    Oct 2005
    Posts
    572

    Please help

    Please help
    Attached Files

  8. #8
    Join Date
    Oct 2005
    Posts
    572

    its work i fix it thens to all

    function CreateFileAssociation(strApplicationPath, strFileExtension, strAppShortName, strIconFile)

    Registry.SetValue(HKEY_CLASSES_ROOT, strFileExtension, "", strAppShortName);

    local strCommandLine = "\""..strApplicationPath.."\" \"%1\"";
    Registry.SetValue(HKEY_CLASSES_ROOT, strAppShortName.."\\shell\\open\\command", "", strCommandLine);

    if(File.DoesExist(strIconFile))then
    local strApp83path = File.GetShortName(strIconFile);
    Registry.SetValue(HKEY_CLASSES_ROOT, strAppShortName.."\\DefaultIcon", "", strApp83path..",0");
    end
    end

    local strApplication = "c:\\LND.exe"
    CreateFileAssociation(strApplication, ".rrr", "c:\\LND.exe", "c:\\LND.exe,0") ;

Similar Threads

  1. Replies: 33
    Last Post: 02-02-2007, 12:56 PM
  2. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  3. Howto make the text disapear from the build buttons
    By baiaz in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 09-27-2003, 07:19 PM
  4. HOWTO: Display Conditional Text Based Upon a List Box Selection
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-15-2002, 10:54 AM
  5. HOWTO: Build a Setup from the Command Line
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 01:43 PM

Posting Permissions

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