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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shuesty

    Newbie help

    Well guys thanks for the help. I'm guessing both are gonna be quite helpful in the future since I'll be working with both environments. And thanks Turkbear ... amazing how often the easiest solution is the one you don't think of. Shuesty
  2. shuesty

    Newbie help

    Well it does work while using SQL*Plus. What I forgot to mention was that I'm using a TOracleQuery component from inside Delphi to run the sql lines. And when I try to execute the 'set define off' line I get a 'ORA-00922: missing or invalid option'. Any thoughts as to why? Shuesty
  3. shuesty

    Newbie help

    Hey, I'm trying to enter the following string into a database dd_cd=02_00060_00003&format=rdb&period=10&site_no=14105700 ok so the actualy string is 5 times longer and it's a website but this is the part that's acting up. Oracle is changing this section to...
  4. shuesty

    Getting file creation time

    I'm wondering what version of Borland you are using because with 6.0 I don't have the FTP.DirectoryListing attribute. I have a work around already formulating though so thanks for the help. Shuesty
  5. shuesty

    Getting file creation time

    Well it gives me the creation date of the file which is helpful. Unfortunately I need the date (and time) that the file was placed onto the FTP site. Any ideas for that?? Shuesty
  6. shuesty

    Getting file creation time

    I'm working on a project that involves downloading files via ftp sites ... parsing out the needed data ... then adding the data to a database. The files are expected to be updated everyday so that I'm not putting the same data into the database however I was wondering if there was a way to find...
  7. shuesty

    Invalid Pointer Exception

    I found the error. While cleaning up the files I had alphebetized the various components in the uses clause ... including the reference to ShareMem. I was finally reminded that ShareMem must go first by going back to a 'Write a DLL 101' page ... gotta love those pages. Shuesty
  8. shuesty

    Invalid Pointer Exception

    Ok here's the lines inside my executable begin Application.Initialize; (create a bunch of forms) Application.Run; end. And inside a dll exports FileRead, FileWrite, FileTypesRead, FileTypesWrite; begin end. I'm not doing anything fancy whatsoever. But somehow while the...
  9. shuesty

    Invalid Pointer Exception

    So I've made some progress into locating the error but I'm still at a loss at to why the error occurs. I have written 3 dlls to accompany the application which I appearantly prematurely destroy. When I trace into the 'end.' line in the application project I get to the main dll's 'begin' line...
  10. shuesty

    uses after interface / implement section?

    Now I'm not sure about the possible speed difference between the two different sections but this is what I have gathered. The difference between the two lay in the procedure/function/property/variable declarations. You need to create the reference to the needed classes before you are able to...
  11. shuesty

    Invalid Pointer Exception

    I'm getting an invalid pointer exception as my program closes which is baffeling me. Looking at the project code ... it pass the Application.Run line and reaches end. Which you would think it would pass over and terminate the program. But appearantly on that line is where the exception...
  12. shuesty

    How to turn a string into a Const

    The only way I can see that working is predefining the relationship between the string and ordinals somewhere in the code. Whether it's from your database, a config file you load, an internal array, or the combo box idea ... you need to define the relationship before using it in a Case block...
  13. shuesty

    How to turn a string into a Const

    Rather than defining it as a string trying using an integer since the value of VK_MENU is numeric. function TForm1.SetValue(ValueToSet: Integer): Boolean; begin //defined in the global parameters parameter := Ord(ValueToSet); result := True; end; procedure TForm1.Button1Click(Sender...
  14. shuesty

    Preselect TListBox item at load?

    procedure TForm1.FormShow(Sender: TObject); begin //if you know the number ListBox1.Selected[<the index number of the item you want selected>] := True; //if you know the name ListBox1.Selected[ListBox1.Items.IndexOf(<name of the item you want selected>)] := True; end; Shuesty
  15. shuesty

    Random Crashing Sucks

    I'm writing a program that downloads information from various FTP sites, placing the information into a database, then recomplies the data and places it onto my company's ftp site. In the download thread the basic funcitonality is - download the data, insert into the database, update the...

Part and Inventory Search

Back
Top