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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by nanin

  1. nanin

    Database application:Out of resources

    I'm programming a grid application which shows records from a SQL Server DataBase through an ADOConnection. The number of records is about 10000. The problem is that when I pass from a record to another in the DataGrid the amount of memory increases slightly (4-8 KB/reg). Finally, the...
  2. nanin

    Problems with TLocateOptions

    I´m writing this code but Opts variable is always empty when the program is running. This incredible! Anybody knows why? . . . TLocateOptions Opts; Opts.Clear(); Opts << loPartialKey; bool encontrado=ADODataSet1->Locate(&quot;DNI&quot;, this->DNI->Text, Opts ); . . .
  3. nanin

    Problems accessing to ADOConnection Properties

    I need to change some ADOConnection properties but I have a lot of problems because I don't know how to select each of the properties. In Delphi you can change the propertis this way: ADOConnection.Properties['Data Source'].Value := strPadNaarDatabase I have tried changing the order, the...
  4. nanin

    JetEngine compact database problem

    I solved the problem inserting this connection paramenter into the new database connection string before it had been compacted: Jet OLEDB:Engine Type=5 so: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DB.mdb;Jet OLEDB:Engine Type=5 you can change the engine type from 1 to 5: jet 1.0 ->1 jet...
  5. nanin

    JetEngine compact database problem

    I've built an application in which I can select a Jet Database (usually MS access) and then compact. The problem is that I have to chage the database version but the JetEngine->CompactDatabase (which I imported from &quot;Import from type library&quot;) function in Builder hasn't got enough...
  6. nanin

    images displacement

    I think there is a easier way to solve the problem: -set container property &quot;DoubleBuffered&quot; to true.
  7. nanin

    images displacement

    I'm designing an application in which a user can move a image when he holds down the mouse's left button. The fact is that I need to keep image visible during the operation and, at same time, move the image. I have used OnkeyUp & OnKeyDown events of the image to start this action and OnMouseMove...
  8. nanin

    Clear DBGrid

    I have inserted a DBgrid component which needs to be cleared from time to time. It's connected to DataSource component which is connected to an ADO connection component. Any idea?
  9. nanin

    Disconnecting clients from automation server.

    I do not use CoCreateInstance to run the server. I have imported the Type library from the server into the client program and I directly open it with this expression: this->SvrMyVisdata1->LanzaListado(Conexion,SQL); where SvrMyVisdata is the reference to the server, Conexion is the string...
  10. nanin

    Disconnecting clients from automation server.

    I have built a program to manage DB operations. This program acts as stand-alone application or a automation server if a client requests any action from a external program. If a user attempts any action, the server opens and stay opened. If the user press the &quot;close&quot; button in the...
  11. nanin

    inserting text into executable file

    And if I add a resource file to the project with the text? does anyone how to do that?
  12. nanin

    inserting text into executable file

    How can include a text file into an executable file so the application doesn´t have to read from a external file? How do I obtain the text later? Thanks!!
  13. nanin

    Painting text over a picture

    I´m trying to send a picture to the printer with a label over the image. i've set transparent property to true ann i've remove ETO_OPAQUE flag. When the application shows the document on the screen the label is transparent but when send it to the printer, the label is opaque. How could i solve...

Part and Inventory Search

Back
Top