Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5

Thread: Message.box

  1. #1
    Join Date
    Feb 2006
    Posts
    3

    Message.box

    Please could someone help out. I'm reading 2 registry entry's and want to create 1 messagebox out of them. The only thing i could create is 2 messageboxes. How can i combine the entry's to 1 messagebox?
    (this reads what windows version+ what service pack)
    This is what i have:
    Code:
    -- Read the values.
    registry_value = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true);
    registry_value2 = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "CSDVersion", true);
    -- Display the value read from the Registry in a dialog.
    Dialog.Message("Registry Data", "Uw systeem heeft "..registry_value..".");
    Dialog.Message("Registry Data", "En "..registry_value2..".");

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Code:
    -- Read the values.
    registry_value = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true);
    registry_value2 = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "CSDVersion", true);
    -- Display the value read from the Registry in a dialog.
    Dialog.Message("Registry Data", "Uw systeem heeft "..registry_value..".\r\nEn "..registry_value2..".");

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

    Code:
    -- Read the values.
    registry_value = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "ProductName", true);
    registry_value2 = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "CSDVersion", true);
    -- Display the value read from the Registry in a dialog.
    Dialog.Message("Registry Data", "Uw systeem heeft "..registry_value..".\r\nEn "..registry_value2..".");
    man that Worm is a quick draw. Beat me again.
    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
    sorry.. double post

  5. #5
    Join Date
    Feb 2006
    Posts
    3

    thnx

    thanx guys, you're the best!

Similar Threads

  1. Message.box
    By rheuvink in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 02-10-2006, 07:44 AM

Posting Permissions

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