Hello:
I'm using TMainMenu to create my application main menu. When i runthe application in Windows XP, the menu background color appears in white which is different from the background color of the application form. This looks terrible. I want the same behavior that i have in Windows 2000...
Hi:
I have an application accesing a MSAccess database in a LAN. The database is 35 MB in size with 40000 records in the main table. I'm using BDE to access the data store in the file. Every time I do a manipulation with the database a huge amount of data is tranfered (18 MB) back and foward...
Hi:
I have an application accesing a MSAccess database in a LAN. The database is 35 MB in size with 40000 records in the main table. I'm using BDE to access the data store in the file. Every time I do a manipulation with the database a huge amount of data is tranfered (18 MB) back and foward...
Hi:
I have an application accesing a MSAccess database in a LAN. The database is 35 MB in size with 40000 records in the main table. I'm using BDE to access the data store in the file. Every time I do a manipulation with the database a huge amount of data is tranfered (18 MB) back and foward...
Hi:
I'm using Access Database and I'm trying to delete a record from a table using the following code:
MyDataModule.tblPerson.Active := True;
MyDataModule.tblPerson.First;
while not MyDataModule.tblPerson.Eof do
begin
MyDataModule.tblPerson.Edit;
MyDataModule.tblPerson.Delete;
end...
Hi
I have a radio group using TRadioGroup and I want to
disable a single Item in the radio group without
disabling the entire radio group.
... Any Suggestion??
Thanks in Advance
Alberto
Hi:
I have a DBLookupComboBox in a form connected to a Data Source and List Source in two different tables in a database. It works just fine. My question is:
How can I select one of the lookup values programmatically without user intervention. In other words, I want to use one of the values in...
Hi:
I have a TDBLookupComboBox in a form connected to a Data Source and List Source in two different tables in a database. It works just fine. My question is:
How can I select a lookup value at run time. In other words, I want to use one of the values in the drop-down list to appear by default...
Hi:
I need to open a PDF file from my help menu. I tried the Shell function like this:
RetVal = Shell(App.path + "\filename.pdf", 1)
but it's giving me an "Invalid procedure call" error
Any sugestion...??
Thanks in Advance,
Alberto
Hi:
I have a form with a Image control and I want to change the mouse pointer to a custom cursor when the mouse is over that control and return to the default one once it leaves the control. I followed a tip in the MSDN Library (which is incompleted, by the way). In this, using MouseMove and...
Hi:
I hope somebody can help me. I'm new to SQL and I'm trying to send an SQL string in VB like this:
MySQL = "SELECT * FROM Visitor WHERE Last_name LIKE 'O'Farriel'.....
where O'Farriel is a last name with a single quote as part of the last name.
How can I make the SQL statement to...
Hi:
I hope somebody can help me. I'm new to SQL and I'm trying to send an SQL string in VB like this"
MySQL = "SELECT * FROM Visitor WHERE Last_name LIKE 'O'Farriel'.....
where O'Farriel is a last name with a single quote as part of the last name.
How can I make the SQL statement...
Hi:
How can I disabled at run time, a button created at design time with the Toolbar Control. I have this so far...
Dim button As Button
button.ButtonMenus("Send").Enabled = False
where "Send" is the Button Key at design time. My question is how to match this with the...
I'm writing a VB program that writes to an ACCESS database. This database has a picture field called "Picture" (an OLE Object). I'm using DAO to access that database. I open the database, the table, etc. But when I want to add a new record (including the picture) for example, the...
How can I create a file browser that includes My Network Places or Network Neighborhood by using the DriveList Control or something similar.
Thanks in Advance
Alberto
I'm having problem calling a dll that I created having an entry point like this:
void _stdcall Entry_Point_Function(unsigned char *input, int count, unsigned char *Output)
{
Function1(Input, count);
Function2(Output);
}
Some of the internal functions in the dll are declare as static.
In the...
Please help me to understand this function to allocate a 2D array.
int** ArrayAlloc(int rows, int cols, int size)
{
int i;
int** pp;
pp = (int**) malloc(rows * sizeof(int*));
/* check for error */
pp[0] = (int*) malloc(rows * cols * size);
/* check for error */...
Hi:
I'm using a MessageBox to display a message but it's always appears in the back of a DialogBox that is displayed. In the handle to the parent window parameter of MessageBox I put NULL. I don't know how to pass the focus from the DlgBox (which is not the parent window)to the MessageBox window.
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.