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...
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...
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...
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...
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)...
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...
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
&&...
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
}
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...
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...
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
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
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...
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...
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
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
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...
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 *...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.