I know this is kind of a weird question, but how do you...allocate physical memory? I know using New will make a new object but it's not allocating what I'm looking for. Here's kind of what I'm looking for: http://www.soft.tahionic.com/download-memalloc/index.html
That program allocates memory...
Okay I have most of this working but I'm stuck on one problem. I have a TCP Instant Messenger I made in class so me and one friend could send messages to each other. It works flawlessly. Now my other friends want to join in and all message together. So I'm making a TCP Server that will accept...
I have a console application that I want to show the path and filename when a file is dropped on it...kind of like the Command Prompt. Open Command Prompt and drag any file onto it and it will display the path and filename where you type. How can I get my console to do that?
I'm trying to make a private chat between two people but I can't get it to connect. I Googled it and found out that I can use TCPListener and TCPClient. I tried it out and it won't work. I'm usually good with making programs that don't require Internet but this one does and it's bugging me. I...
I'm trying to get seconds and a URL off my friend's website that is stored in a file. He has it in a PHP file that displays it on the screen as text. I'm not sure if I can rip that off the page and then use it. He said he can change it to an XML file for me to get it off of.
Here's my question...
I've tried searching Google without any luck for my problem. My program has a label that tells you how long you have been running the program. I can only get it to show in seconds (using a TTimer.) How could I somehow convert those seconds into hours:minutes:seconds format?
Hi again,
I've never handled error messages in Delphi so it's new to me.
My program uses a lot of RAM. Is there a way to do FreeAndNil() when I receive the "Out of Memory" error? Or if not, is there a way to end the program on this error? Such as Halt() or Close()?
Hello,
I've built a page viewing program. Everything is working except for when I press the View button. I have the program set to load a list of URLs off a server and view each URL individually. When you click the View button it turns a TTimer on. The TTimer is set to navigate to each URL in...
Hello again all,
Has anyone else seen on Skype where it tells you how many people are online? (How many people are using the program right now.) Is there a way to do that in Delphi? I have a viewing program that gives views to web pages and I'd like to know how many people are using my program...
Hello,
I'm making a page viewing program that views URLs in a list it downloads from the Internet. I have it downloading the list and then loading it into a memo but I'm struggling on how to get all the URLs off of it and view them each individually in a TWebBrowser. Anyone know how to do this...
I've asked this question before and got no answers except how to upload which was of no help. I have a program that needs to download a text file from my server. It's basically a list of URLs my program is going to visit. Whenever you open the program, I want it to automatically start...
Is there a way to select a folder using the open dialog so that I may use the folder path that users select. I don't want any components to download, I just want to use what comes with Delphi.
I have Delphi 7.
Hello,
I'm trying to put a trackbar onto my mediaplayer. The trackbar works fine for just tracking the position but I don't know how to make it change the mediaplayer position when it is dragged. Here's the code I have so far:
procedure TForm1.Timer1Timer(Sender: TObject);
begin...
Hello all,
I've tried searching on Google, but none of the codes work. I have a label on my form that I want to display the URL of the link that the mouse is hovering over in the TWebBrowser. Basically, I want the text thats in the HREF of a link (<a href="Text I want here" /> </a>) to be in a...
Hello all,
I'm trying to make my own configuration file so that other people can change it and make it in their own way. (changing color, captions, etc.) I know how to load a file into a Memo, but I don't know how to find specific text in it. Can anyone help me? I use Delphi 7 by the way.
I have an image that uses an OnMouseMove event that changes the image to another one located in a folder. The image is located in a TImage folder I created. Also, I have a TMediaPlayer and a TOpenDialog.
Problem: Whenever the TOpenDialog is used to pick an audio file, TMediaPlayer opens the...
I'm using Delphi 7, and I have a button I made. I want it to change when someone rolls their mouse over it and then change back when their mouse isn't on the button. The only event for pictures is OnMouseMove, I tried it but it doesn't change back. Can someone help me?
I'm building a basic web browser but the copy and paste is not working, when I visit a web page in the program, I highlight some text and right-click then copy. I open notepad and it won't paste what I copied. Can someone help?
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.