Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Burtlancaster

  1. Burtlancaster

    Dock ACROBAT in form

    Thanks for the replies however I have just found out that you can actually load acrobat within a CppWebBrowser component, doesnt work exactly as I wanted which was to show a PDF with no options/menu however this method is nice and simple so it will be good enough.
  2. Burtlancaster

    Dock ACROBAT in form

    Is it possible to show a Acrobat document within a form? I do believe it is but I can't get passed the stage of even getting the component/ocx installed! Ideally I want to be able to dock a version 8 document but a 5,6 or 7 version would also be acceptable if need be. Many thanks.
  3. Burtlancaster

    Remove confirmation when using DeleteNode

    I'am using DeleteNode(Node) to remove a folder and its contents from a tree, it works perfectly however when the folder is deleted I get a Windows MessageBox asking "are you sure you want to remove the folder..." I wish to avoid this MessageBox from appearing, any ideas???
  4. Burtlancaster

    Pulling data out of a help file???

    Does anyone know if it's possible to pull out information (rich text & bitmaps) from a help file so I can display it on my own form?
  5. Burtlancaster

    Create REG_DWORD registry entry HELP!

    Well about 5 minutes after putting up this post I found the answer which is really simple but I didnt notice it staring me right in the face for all you people out there also having the same problem (if any at all) here is the answer: Reg->WriteInteger("FileTypes", 16); //"FileType" being the...
  6. Burtlancaster

    Create REG_DWORD registry entry HELP!

    Can anyone help me to make a REG_DWORD registry entry. I'am quite cable of creating a REG_SZ and a REG_BINARY using the following methods: TRegistry *Reg = new TRegistry; Reg->RootKey = HKEY_CLASSES_ROOT; // Set the root key to HKEY_CLASSES_ROOT int Buffer = 65536; Reg->OpenKey(".ggc", true)...
  7. Burtlancaster

    HELP! Using try / catch statements!

    you know its always the simple things that work the best, and your method BuilderSpec works a treat and I dont know why i didnt think of that myself. thanks.
  8. Burtlancaster

    HELP! Using try / catch statements!

    Can someone please put me out of my misery! I cannot for the life work the following problem out. Basically I would like to take an entered value from a TextBox (a string value) and convert it to a float! Simple! I know, but what happens if the user enters a non-digit expression...
  9. Burtlancaster

    Make MessageBox Always On Top ?

    Ok i've found the answer to my problem, and its so simple its embarassing, but for any other numpties like myself here is the solution. if (Application->MessageBox("test", "tes",MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDYES|MB_TOPMOST) { } As you can see above all I have had to add is |MB_TOPMOST
  10. Burtlancaster

    Make MessageBox Always On Top ?

    Created a very simple message box as follows. if (Application->MessageBox("test", "tes",MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2) == IDYES) { } code works fine but i need for the message box to be " Always On Top ", now I know i could just create my own form to act as a message box but it would...
  11. Burtlancaster

    Convert Label->Caption (degrees minutes seconds to decimal equivlant)

    I need to find a way of converting a caption in the following format 45.45.45 to its decimal equivalent which is in this case its 45.7625. Now the formula goes: A = degrees B = minutes C = seconds A + (B * 1/60) + (C * 1/60 * 1/60) Any help would be much appreciated!
  12. Burtlancaster

    HELP Sorting data in StringGrid

    I have a data currently loaded in to a StringGrid, does anyone know how I can sort this data. For example the Grid has 3 columns (Name, Date, Time) and I need the ability to sort by the 3 columns whilst keep the data appended to its original string. Thanks for looking.

Part and Inventory Search

Back
Top