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. awarnica

    Printing on non default printer in Windows.

    You have to change all the properties I would guess... Printer.PageHeight := Printer.PageWidth := ... andrew
  2. awarnica

    A Quick format question

    Thanks a lot Doug! Exactly what I needed.
  3. awarnica

    How can I enable search?

    When you save the file to the database you will have to store it as a BLOB. It may be easier / more practical to just store a link to the location of the file on the server. Andrew
  4. awarnica

    dynamic SQL Statements using ASP

    Im rusty on ASP but once the text appears on a web page it is not ASP anymore, it is on the client. So you treat it as you would any other input from a user, ie the VALUE of the textbox / label whatever it is. SELECT * FROM orders.A, itemsOrdered.B where a.orderID = B.orderID and A.person =...
  5. awarnica

    Javascript and SQL

    Im going to take a wild guess the you need to enclose the number in quotes: stmt = con.createStatement("SELECT DISTINCT hrbid_employee.employee_number from hrbid_employee WHERE hrbid_employee.employee_number = ''11111''"); Cant hurt to give it a shot.
  6. awarnica

    A Quick format question

    Thanks in advance, I am deciding on a barcode with a client. The barcode needs to be alphanumeric. Our debate is wether we *really* need a checkdigit. Am I correct in understanding that if we don't go with a checkdigit Code 39 is going to do the trick but if I need a checkdigit Code 128 is the...
  7. awarnica

    Upload & Download

    For system shutdown try: ExitWindowsEx(EWX_SHUTDOWN,0);
  8. awarnica

    Upgrade win 2000 to winXP with delphi 5

    Hi all, Hoping someone smart out there can give me a little bit of advice: I use Delphi 5 (on my win2000 computer), and have for the past 2 years. I also use Delphi 6, but have a custom compnent that I cannot seem to get installed in Delphi 6, only in Delphi 5. The component is used in a...
  9. awarnica

    how to do outportb in delphi

    If you are looking for freeware to access com ports, check out this guys site: http://www.bcs-computer.de/cport260.htm The site is not 100% in English. The unit is difficult to install. Be that as it may, when you get it installed it is one of the most reliable units I have used. I use it to...
  10. awarnica

    Hardwareproblem: Barcodescanner with Keyboard

    If you end up having to use a comport scanner, and dont want to write the code for it, check out this app: http://www.taltech.com/TALtech_web/products/bcwedge.html It captures comport data and transforms it into keyboard data. We used this temporarily until we could do the code ourselves...
  11. awarnica

    MS Access Database table lock

    I had the exact same issue but with a SQL server database. In my case people could be inserting 10 records a second so checking the database is not the best idea. I created a compound SQL statement that selects / inserts all in one, no locking required. Im only guessing it would work with...
  12. awarnica

    Hardwareproblem: Barcodescanner with Keyboard

    We had a similar situation, where we had to get a scanner with a power supply attached, but the problem was that the only model we could get with the attached power supply didnt plug into the keyboard - it plugged into the comport! We had to add code to capture the comport data in our...
  13. awarnica

    Can I use a barcode scanner with ASP application?

    Just to clarify, a keyboard wedge scanner inputs data as keypresses, so a barcode of 123456 when scanned acts exactly the same as typing 123456 into your keyboard. You can as well program the scanner (see the manual), to enter a TAB or ENTER command after it scans a barcode, so it would enter...
  14. awarnica

    How do I know if I'm on the last record in a TDataSet ?

    I'm going to guess that the reason that your code never executes the message: Table1.First; while not Table1.EOF do begin if (Table1.EOF = True) then begin Showmessage('Put Code in here'); end; Table1.Next; end; // while not Table1.EOF do Is becasue once it hits...
  15. awarnica

    Starting with Delphi

    check out about.delphi.com They have some good introductory courses online that should get you started.
  16. awarnica

    Hi I need to print barcode to t

    Maybe there is a more elgant way, but I develop applictions where labels are being printed out 30-40 times per minute and using the shell command works fine for me... Andrew
  17. awarnica

    How do I run an external program

    If you need to use command line parameters put them as the 4th parameter: ShellExecute(Handle, 'open', pChar('FilePath&Name'), pChar('/parameter1 /parameter2 /parameter3') nil, SW_SHOWNORMAL) Don't forget that if your filename /...
  18. awarnica

    QuantumGrid dblclick problem

    Not sure about a quantumgrid, but in a normal StringGrid after a click event you can check the .Row property to see what row you are on. Could you not add code at the beginning of your procedure such as: if sg.Row = 0 then exit; Andrew
  19. awarnica

    Upgrade Delphi 5 to 7

    Yes please, I don't actually use the BDE, if not is there any reason a) design-wise, and b) final product-wise, to upgrade?
  20. awarnica

    Congratulations Zathras!

    Cheers to the man, I can sometimes not beleive how much work Zathras must do to copy out snippets of other peoples code and try them out. Just reading his posts makes you smarter. Zathras you are an asset to the forum, thanks a lot!

Part and Inventory Search

Back
Top