
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Question: I am trying to make a Delphi program that has TCP/IP networking capabilities.I found some functions, etc. in the wininet.dll.My question:Does anybody know how to use it?The manual says
Question: I have a couple of questions about passing information to aword processing template and controlling the saving of the template toanother name. I appreciate any guidance you can provide.
Question: I cannot find much info on how to do Date math. I am trying to determine elapsed days from a record entry date to the current date. I am
Question: I have a table. When I delete an item, the size of the table won’t change. I think the delete command for tables doesn’t move up the entries but
Question: How can you call a DOS command under Delphi 2.0? For example, I want to do a “TYPE >prn” from Delphi. Answer: You can do it with CreateProcess. Refer
Question: I have two questions:Question 1:How can I extend the painting functionality of a TWinControl like the TGraphicControl‘s Paint method? Question 2:I cannot find the Paint method in TWinControl to
Question: I am currently trying to convert three components to ActiveX components. I am doing this through Delphi 3, which I realize some people do not have access to.I need
Question: How can I call the operator= of the base class from the operator=in the derived class?The data member in the base class is a private data member. I want
Question: What is the difference between calling yield() and sleep()? Also, in what instances would you call either method? Answer: The Java platform uses the multithreading facilities of the host
Question: I’m a beginner in Java. I’ve tried two different applets now (one of which I borrowed from another site), both of which involved text fading and color changing. I
Question: Is it possible to have more than one class in the same file ? Answer: Yes. The file Foo.java may contain several class declarations, but amongthem must be a
Question: Can you tell me how to change the background color of an applet from the normal grey to white? I would greatly appreciate it. Answer: Try putting the line:
Question: I need to be able to move the caret in my memo field back to the begining of the field. Any idea how I do this? Answer: Try this:Memo1.SelStart(0);This
Question: 1. I developed an application, but after running for about one hour, a message error: “Insufficient memory to do the operation” occurred. The error did not cause the application
Question: I am using a DBgrid. I have defined two NEW Persistent fields as lookupfields. In the Columns editor, I added them to the grid display. Those two fields are
Question: I have 10 .wav files that I want to play in a loop.If I make the mmplayer wait property true, I suffer from control failure during the loop time.I
Question: I am using a simple grid with names and numbers, and I have the fields set as required in the database. I would like to know how to trap
Question: I am creating numerous threads on-the-fly in Delphi 2.0. I create them suspended. The question is: How do I make the threads go away? I’ve tried Free, Terminate… nothing
Question: I’m using Delphi to do a client-server application in which all the lines I get from a socket I send to a TMemo in my form. I want that
Question: Do you know how to create a flat, non-3D combo box with only a thin black border? Setting CTL3D to False doesn’t seem to have an effect on the
Question: I want to be able to filter records in a table based on criteria in, say, three combo boxes on a form. Answer: If you have indexes on those
Question: How do I re-size the buttons, etc. on my forms when the resolution changes? If I create something in Delphi at a high resolution and run it on a
Question: I’m using the Winexec command and trying to use a string as the argument, but Winexec takes only a Pchar as its argument. I can’t figure out how to
Question: How can I build a program that I can run on a computer that has no Borland Database Engine?Or how can I make a program to install BDE? Answer:
Question: What is the difference between cout
Question: What is the C++ equivalent to _getch()? I need to have program control immediately after any keypress in a DOS-based program. Answer: Unfortunately there is no specification in the
Question: How can I turn a text string into an integer? Answer: You can convert a string to an integer by using the atoi function. For example:void foo (){int i
Question: What is the best way to manipulate strings in C++? Answer: Here is an example.#include void foo (char *instring){ // Declare char array big enough to read in input
Question: How can one do 64-bit or larger math calculations in C++? Do you know of a free class or class library that supports large scalar math? Answer: There are
Question: How can I write and delete individual lines of a text file?Also, how can I bubble-sort the whole text file alphabetically? Answer: There is no support in thelanguage to
