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!

Search results for query: *

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

    NullReferenceException was unhandled

    Hi, I get this error but i dont understand why... here is the code : Try conn.Open() 'Open a connection to database Dim stm As String = "SELECT * FROM myTable" Dim cmd As MySqlCommand = New MySqlCommand(stm, conn) Dim reader As...
  2. Paco75

    Use of MaskedTextBox with currency?

    Hi, I'm trying to put a MaskedTextBox in which users can type a decimal number like a money amount i.e. 12345678.99 i put 99999999.00 in the "Mask" property but i dont like the way it works with the dot... they have to move the keyboard's cursor to the dot after typing the amount to write...
  3. Paco75

    Save excel sheet into excel 95

    Hi, I use the import function to convert a excel file to dbf file. But it only works with excel 95 files. So if i have excel files from latest versions (97, 2003, 2007...) i have to manually save them in excel 95 files. I there a way to save a excel file into another format programmatically...
  4. Paco75

    select combobox item using a value

    Hi, I got a combobox filled with combobox.additem('values') RowSourceType = 0 (none) On init i want to place back the value the user had selected before he left the form. When the form is closed the value is stored in a public variable. on init i do : thisform.mycombobox.value = storedValue...
  5. Paco75

    Import excel sheet to foxpro table?

    Hi, I want to import data from excel file into a vfp table. I tried with IMPORT command but it does not work... here is the code i use: MyFile = GETFILE("Excel *.xls:XLS","Import the excel file:","Import",0,"Choose the file to import") IF NOT EMPTY(MyFile) THEN IMPORT FROM JUSTFNAME(MyFile)...
  6. Paco75

    Custom Grid

    Hi, I want to create an object that looks like a grid. But the rows could be collapsible like in a treeview nodes and fields could be labels, textboxes, checkbox or combobox. Maybe it already exist if you have any links that could help me achieve this (or if it already exist that would be...
  7. Paco75

    Problem accessing cutom class method

    Hi, I created a custom class witch contains a collection of another custom class. So it looks like this myClass && Attributes subClassColl && Contains a collection of mySubClass && Methods getSubItem && Gets the sub item at index n from subClassColl myClass.init &&...
  8. Paco75

    How to set a custom class as property of another custom class?

    Hi, I created a custom class and i want this class to contain an attribute that is also another custom class. I dont know how to achieve this in vfp. Here is a sketch of what i want to do: myCustomClass2 { attribute1 type: string } myCustomClass1 { classAttrib type: myCustomClass2 }
  9. Paco75

    Select a logical field?

    Hi, Im trying to do a select of a logical field but nothings works... let's say field1 is my logical field. I tried these selects... SELEC * FROM MYTABLE WHERE FIELD1 INTO QMYCURSOR SELEC * FROM MYTABLE WHERE FIELD1 = 1 INTO QMYCURSOR SELEC * FROM MYTABLE WHERE FIELD1 = .T. INTO...
  10. Paco75

    Acess form's custom properties from menu?

    Hi, I have a standalone form with a menu and i want to acess my custom properties i put in the form but i can`t manage to do a call like thisform.myProperty = "TEST" So i need to pass a variable from menu to standalone form! anyone know how to? except than putting the property as public...
  11. Paco75

    Creating a menu for standalone (.exe) form?

    Hi, I am looking to add a menu to my application. It is a standalone form compiled as .exe file. I tried to use the wizard to create menu but it seems to only modify the VFP 9 main menu. any help is appreciated thanks
  12. Paco75

    Get files from a project that is on source control provider (VSS)

    Hi, I have a project that is in VSS but not on my local computer. I want to "Get" the files. I can do it using VSS but i dont get the icons in VFP... how can i do this in VFP? thanks
  13. Paco75

    Use regex to find text into a string?

    Hi, Im searching how to use regular expressions to find text patterns inside a string... like dates. How we do it in visual foxpro? thanks
  14. Paco75

    Editbox line jump disabled

    Hi, Im calling a old form from another program (not made by me) and after this form is released in my program the enter key in editbox is not working, it does not jump a line as it is supposed to do. I can type characters as usual except ENTER. The problem is i dont know what command could...
  15. Paco75

    what means the m. in front of a variable?

    Hi, I have seen some m.variable things in some code... why is there a m. before? Im asking because i got an bug in a case where a field from a table has the same name than a m. variable... let's say i got mytable.myfield and m.myfield and if i do Vartype(myfield) to verify the mytable.myfield...
  16. Paco75

    How to print rich text in vfp report?

    Hi, I have a database with a memo containing textRTF from a RichTextBox. I want to know how to print the contents in a report... i want to add it in an existing report made with vfp report editor. thanks
  17. Paco75

    error 1099 "Procedure cancelled"

    Hi, I got this error message but it is not documented anywhere! I looked in the msdn error messages list and it's not part of that list! O.o any idea what this error is? thanks
  18. Paco75

    DynamicForecolor overrided by SelectedItemForeColor

    Hi, I have a grid in with i set DynamicForecolor to set some colors depending on row values. I want to change the ForeColor of the selected row too but it is always the SelectedItemForeColor that is used. Is there a way to disable or override this color value so i can have the same colors i...
  19. Paco75

    Multi-line Grid

    Hi, I want to know how to put more than one line into a grid's row? Actually a grid is like this: ******************************* * header1 * header2 * header3 * ******************************* * field1 * field2 * field3 * ******************************* * field1 * field2 * field3 *...
  20. Paco75

    Problem with option group values

    Hi, I have a option group object with 3 radio buttons inside. Now i want to add 2 more options but i want them to be first and second... when i add them they automatically got 4 and 5 as values. Even if i move them in first place, change tab order. here is what i got : Option4 Option5 Option1...

Part and Inventory Search

Back
Top