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 wOOdy-Soft 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 davidmelvin

  1. davidmelvin

    Incomplete Downloads

    I've succesfully created a preloader that loads an external swf movie. After the preloader finishes the movie begins to play properly, but I have additional buttons and a slider that sometimes don't download completely, or at least they are not drawn on the page. Sometimes everything loads...
  2. davidmelvin

    Run executable using the register or desktop

    Thanks Rick, I think you've sent me on the right path. Best regards, David
  3. davidmelvin

    Run executable using the register or desktop

    Thanks for your reply Rick. I'm not sure how to get the path from the registry. I think the code looks somthing like key.GetValue(... But I'm not sure what the code should look like. Can you give me an example?
  4. davidmelvin

    Run executable using the register or desktop

    I'm writing a DLL that will automatically run an executable file that's already installed on the computer. The installed ap has a shortcut icon on the desktop and a long KEY name in the HKEY_LOCAL-MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Installer/UserData/S-1-5-21.../Components/...
  5. davidmelvin

    e-mail html format

    I found it! I used TSubType to set the type of file to html. Regards, David
  6. davidmelvin

    e-mail html format

    Thanks onrdbandit. The only problem is when I test it the html code is displayed when I receive the e-mail. I tryed sending the html file via NMSMTP1->PostMessage->Body->LoadFromFile("C:\\temp\\test.htm"); Then I received it in Outlook to assure that I'm using an e-mail program that can read...
  7. davidmelvin

    e-mail html format

    Hello, I’ve successfully completed an e-mail application that sends and receives text format e-mails. I would like to be able to send html format e-mails. It’s not necessary for the application to allow the user to create html files, the application can read an existing html file and send the...
  8. davidmelvin

    Convert AnsiString to Const char

    Thank you Michael. Problem solved. I'd also like to thank IonFilipski and Tottle. Thanks for the quick response. Regards, David
  9. davidmelvin

    Convert AnsiString to Const char

    I've tried several configurations and get about the same error. The code looks like this. CopyFile("C:\\temp\\AcPro8.exe", ComboBox1->Text, false); And I get the following errors. [C++ Error] AcP8SPU1.cpp(170): E2034 Cannot convert 'AnsiString' to 'const char *' [C++ Error]...
  10. davidmelvin

    Convert AnsiString to Const char

    Hello, I'm trying to use CopyFile to copy some foles from one location on a drive to another location on another drive. The CopyTo folder is defined by information the user places in a ComboBox. When I try to use ComboBox1->Text for the lpszNewFile, I get an error "can't convert AnsiString to...
  11. davidmelvin

    How do I open a file in Builder

    Thank you brisko, Which header file should I use for fopen? David
  12. davidmelvin

    Execute an exe within a c++ app

    I would like to execute an executable file (exe) that is located in the same directory as my application. I don't want the cmd.exe window to pop up when it happens. So I don't want to use system(), or do I? It would be fine to use system() if the window would quickly disappear when it...
  13. davidmelvin

    How do I open a file in Builder

    I need to open a text file, read it, modify it, then save and close it. All of this will work in the backgound. That is, no user interface. The user will click on a button and start a sequence of operations including the above mentioned. How do I open, read, write, save, close this file...

Part and Inventory Search

Back
Top