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 Mike Lewis 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. amarti44

    TMainMenu and Windows XP:unwanted white background color

    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...
  2. amarti44

    Optimizing database application using BDE and MSAccess

    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...
  3. amarti44

    optimizing a database application using DBE and MSAccess

    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...
  4. amarti44

    Optimizing

    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...
  5. amarti44

    Problems deleting a record in Access

    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...
  6. amarti44

    Disabling a single Item in a RadioGroup

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

    Selecting one of the lookup values programmatically in DBLookupComboB.

    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...
  8. amarti44

    TDBLookupComboBox displaying a default value at run time

    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...
  9. amarti44

    How to open a PDF file from the VB code

    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
  10. amarti44

    Custom Cursor Problem

    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...
  11. amarti44

    Quotes as part of the string in a SQL statement

    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...
  12. amarti44

    Quote as a part of string in a SQL statement

    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...
  13. amarti44

    How can I disabled at run time, a button created at design time with t

    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...
  14. amarti44

    How to add a Picture to an Access Database using DAO?

    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...
  15. amarti44

    DriveList Control with My Network Places ?

    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
  16. amarti44

    How to implement full justification with RichTextBox Control

    Hi: Is there a way to implement full paragraph justification (like in MS Word) with MS RichTextBox Control? Thanks, Alberto
  17. amarti44

    Problem calling a dll

    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...
  18. amarti44

    Two-Dimensional array allocation

    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 */...
  19. amarti44

    A Good Tutorial of How to use MS Tabbed Dialog Control 6 in VC++

    Hi: I'm trying to find a guide of how to use MS Tabbed Dialog Control v6.0 in MS VC++ 6.0. If somebody can help me... Alberto
  20. amarti44

    How to set focus of a window created with MessageBox

    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.

Part and Inventory Search

Back
Top