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 TouchToneTommy 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: *

  • Users: paispatin
  • Content: Threads
  • Order by date
  1. paispatin

    How to Create Buttons from Class ?

    Dear all, I Already create a object form with 2 button with this code : VIEW.CODE 1 frmMyForm = CREATEOBJECT('Form') && Create a Form frmMyForm.Closable = .t. frmMyForm.AddObject('button1','cmdMyCmndBtn') && Add Command button frmMyForm.button1.top=40 frmMyForm.button1.caption="Button 1"...
  2. paispatin

    How to set Menu item by code / table?

    Dear all, I would like to make a menu for VFP 8, usualy I create it form project menager, and create a menu from Menu Designer. Can I create a menu from prg file and also create a menu from a table to set the item at that menu? Thank you in advance.
  3. paispatin

    Function Question

    I want to convert from "a" to "1" or from "b" to "2" with function. I'm new with VB, please give me an Idea about this problem. Thank you in advance. a1="a" a1 = fac(a1) MsgBox (a1) 'if a1="a" it should be "1" a2="b" a2 = fac(a2) MsgBox (a2) 'if a2="b" it should be "2" Function...
  4. paispatin

    How make quote reply below signature?

    I user Eudora 6.0.0.22. If I want to reply a mail, the signature automatic put at the bottom of the message. What I need at the reply message is like this: My new message The signature The Quote Reply from sender Thank you in advance.
  5. paispatin

    Help for PHP time() function

    Dear all, As we know we could use time() function, but I have some problem with it : this is my code : <? $linux_time=time(); $normal_date=gmdate("d-m-Y",$linux_time); $normal_time=gmdate("h:i A",$linux_time); echo "unix time = $linux_time"; echo "<p>normal date = $normal_date"; echo...
  6. paispatin

    Help for simple case

    Dear all, I have 3 simple cases, and waiting for help: 1. case : $a="abcdefg" (string) How to get it as "efg" and "abc" and "cde"? (string result) 2. case : $b=1234567 (numeric) How to get it as 567 and 345 ? (still numeric result) 3. case : How to generate a random number/string? Thank...
  7. paispatin

    How to separate table value?

    This is the first table (3 field, 5 record) : | Name | Type | Value | -------------------------- a1 L 400 a2 P 100 a3 P 150 a4 L 200 a5 P 300 How to make that first table value become like this (table...
  8. paispatin

    Show internal IP at Proxy connection

    Dear all, Using $REMOTE_ADDR will get the remote IP. If the remote IP using proxy server, than the $REMOTE_ADDR will be show the proxy IP. Can I see the computer remote IP inside that proxy sever with PHP script? the case : computer a [192.168.0.51] -> proxy server [201.32.25.107] If using...
  9. paispatin

    How to copy structure from a cursor to new cursor

    I have CURSOR1, I want to copy the CURSOR1 structure to new cursor name CURSOR2. When I try this one, the new cursor always locked: SELECT * FROM cursor1 INTO CURSOR cursor2 SELECT cursor2 zap It' will return error : Can not update the cursor cursor2, since it is read-only So, anyone could...
  10. paispatin

    Can I change default backcolor for all form

    Dear all, We know if change a form backcolor, we could get it back to default using Reset to Default. But anyone khow, Can I change the default color to a color that I want? Let say if I already create a program with 10 form. And then I need to change all form backcolor to white color, so I...
  11. paispatin

    SQLEXEC for INSERT at MySQL

    Dear all, Is that something I have to do for using SQLEXEC() for insert record at MySQL from form text? I have a input from form.text: xdate="2004-06-28" xcode="ABC1" Than, I have to save xdate & xcode at MySQL with : NumRows = SQLEXEC(myConnection, "INSERT INTO mydata (date,code) WITH...
  12. paispatin

    How to count at character number?

    Dear all, I have this one : A1="A9906001" It mean : (A9906=front code) (001= count number) How to make count number is counting 1 by 1? What I need is : A2="A9906002" A3="A9906003" I already make this program: a="A9906001" b=RIGHT(a,3) c=LEFT(a,5) so I got b="001", now how do I count b so...
  13. paispatin

    How to Backup user data and folder at exchange?

    Dear all, I have Exchange server 5.5 with about 50 users to access mailbox from their MS Outlook. Now I don't have idea to backup all user account and mailbox at exchange server just in case if the server get problem. What should I do? Thank you in advance.
  14. paispatin

    Can I store and update data buat not at database?

    Dear all, I just curious about putting some setting/product version/company name at a file but that file can not read with notepad or not a database file (such as dbf). This is the sample situation: I create a master program and compile at .exe. Inside the master program, there is copyright...
  15. paispatin

    How to count total at a cursor field?

    Dear all, I have a cursor like this : mycursor field : code, description, amount How do I counting amount total at mycursor with SELECT SQL? Thank you in advance
  16. paispatin

    Form Color Background

    Dear all, I use WinXP OS. I created 2 forms, 1 (form a) is set with default backcolor (212,208,200) property and the other form (form b) is set with 0,0,0 But after that, I change the color back to 212,208,200 than the form a and form b is now show with the same color. The problem is, when I...
  17. paispatin

    Enter Data at Grid

    Dear all, Problem 1. I would like to enter data at a grid. Should I make a dummy table first for a grid recordsource and after that save all data from that dummy table to a real table, or do it have other solution? Problem 2. If I use grid to enter the data, if I finish with first line at the...
  18. paispatin

    What foxuser.* for?

    Anyone know what foxuser.* files for? If I create an .exe application, and run it alone, the foxuser.* will be created at the same directory, can I stop the foxpro creating foxuser.*? Thank you in advance.
  19. paispatin

    Can I read image size from other server?

    Dear all, I have a server which can embedded picture from other server. something like this : <img src=$remote_picture> Can I read the $remote_picture size such width and height and size from my server? Thank you in advance.
  20. paispatin

    how many table should be at 1 database?

    How many table that we could make at 1 database? What is the best condition: make many table only at 1 database, or make some table at some database. (both of them have the same total table) Thank you in advance.

Part and Inventory Search

Back
Top