I have made an application and all was good, I tested it on a large scale of resolutions, DPI's and text sizes and it was fine on everything.
Now I have a user reporting the form is not big enough and that some of the content in the bottom right corner is inacessable. I have seen a screen shot...
Hi,
Maybe someone could help me on this, I have tried double buffering but it just doesnt seem to work. Here is some code:
This is simple code that traverses a small image across a larger image
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
Main =new...
Hi,
I have created a program which runs on startup (program A) and closes on shutdown. This program gets its parameters from the registry and I have seperate program to modify these parameters (Program B). I want to add the feature to program B which would allow me to stop or start program A...
Hi,
I am a programmer for a small buisness which decided that they wanted to share their crystal reports using crystal enterprise and me being the only computer literate person around they ask me to instal and configure it :-S
Im not au fait with data base servers etc but thought I would give...
Hi,
I am having a little trouble finding information on window handles, I have been using borland builder for 4 years now and have worte some pretty complex apps however as unbelivable as it may sound I have never had to mess around with windows handles.. Until now that is..
I am using (or...
I have programed an app that runs in the system tray, to open the app you can click on the icon and then choose open from the menu, I would also like to be able to open it by using CTRL+SHIFT and a Key (F Key Prefareably) and I am at a complete loss at how to implement this, any pointers in the...
I have an application and as part of it I would like to be able to capture a image of the despktop (even if the program is minimised), I would think it will be somthing tied into the print screen function but I am at a loss at how to capture it..
Any advice is greatly appriciated....
I have created a file monitor program which runs on our server moving files around, it runs on startup and all is fine, the problem is it runs like a normal program displayed in the taskbar, I would ideally like it to be shown in the systray next to the clock but Im at a loss to know how to do...
Hi,
I have just dropped in from the programming section wondering if any of you guys could help out with a small home networking problem.
I have a desktop running XP SP2 which is connected to the internet via a ADSL modem, this also has a wireless card in it which server my internet to my...
I know this is off topic but I cant find a relevant forum, I use the programming forums here regulary however I have a little project at home and was wondering if any of you with electrical knowledge could help out.
Basically, Im placing a tube heater in my greenouse for the winter period and...
Hi,
Im using the system comand to copy a file to another directory however the new dir/file name is specified on runtime, I thought I coudl use the system comand in a similar way to the printf command.. but no joy, any help on this would be appriciated...
thanks
Finding file
I am writing a program to monitor a directory and when a file appears in it, I need to check if the file is in use and if it isnt I need to change its extention.
the files name can be differnt though so how do I check if the file is in use if I dont know its name?
Thanks
I check if the file exists
if(FileExists(FileName))
And if it does not exist I open it like this:
OutputF.open(FileName, ios::out);
And all is fine, however if it does exist I open it like this:
OutputF.open(FileName, ios::app);
However in this case it wont open and returns OutputF.fail()...
I have a program which decypers a text in a text file, baically you open the program and paste the contents of a text file into it and it will perform an operation.
What I want to know is if I drag a txt file over the executable the program will open but how do I get the contents of the text...
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.