Hi
I'm using ShellExecuteEx to run a dos program from my bcb aplication. In lpFile i put the path to the program, and in lpParameters the line with parameters.
well, the dos program sends some messages to the monitor and i want to save them to a file.
If I run the program in command pronpt it's...
I have a FontDialog and i need do to know the filename of the Font selected.
For example: FontDialog->Font->Name returns "Arial" but what I need is the filename: "arial.ttf".
Thanks in advance.
I have one project with some source files. I have the main source file (main.cpp) and it header file (main.h) where are declared all the objects on the form. In one of the oters source files (other.cpp) i needed to use some objects in the form, so i had the line #include "main.h" to 'other.cpp'...
I'm trying to make a function, that receives a "bidimensional" array (ex: a[][]) and print it. The problem is that the function could receive arrays of different size and it must print them.
So, i cant declare the function like this:
void printTable(int table[][5])
and the C doesnt allow me to...
I think this should be very easy but i dont know how to do it.
I've made a about box and i want to put there a text, and somewhere in that text i want the word "email" with the link to send me a email (mailto).
So, my problems are: How do I put only one word with the link, and how do I make that...
I?ve made one program that basicaly reads and writes text files. The problem is that it sometimes closes itself without apparent reason.
Can someone please tell me what may be the cause of this?
How can I make a table like this one?
I want to put one table like the one is above in my BCB program but I don´t know what component use. I tryed the components StringGrid and ValueListEditor but I wasn't able to do what i want.
Can you help me????
I´m trying to make a video (also audio) player. For this i´m using the object mediaplayer, but i´m having some problems.
At the moment my player only have the common buttons (play, stop, etc) and a Panel where the video is displayed.
1) Now i´m trying to implement a trackbar. For this i use...
I´m trying to make a video (also audio) player. For this i´m using the object mediaplayer, but i´m having some problems.
At the moment my player only have the common buttons (play, stop, etc) and a Panel where the video is displayed.
1) Now i´m trying to implement a trackbar. For this i use...
Hi
I need a speedy dll that parses a string and returns a substring.
The dll sould contain a function in order to be called by one program, like this:
Parsestring(String, Ldelimiter, Rdelimiter, Number, Action)
legend:
Parsestring is the function name, and returns the substring.
String is the...
Hi
I´m trying to put multiple languages in my program and to do that i need to change Captions of some objects and other things. Well my problem is chnging the caption of some ojbects.
I want to change:
- the caption of the tabs of a TPageControl
- the items of TComboBox
I also want to accede...
Hello!
I want to read a file with a specific text format to a struct (or array of structs...) and than write it to a new file.
The text format of the file is:
{int}{int}string\n
Some example lines:
{12}{34}The text i want
{56}{105}More and more text
This is parte of my code:
typedef struct...
Hello!
I put a TEdit called "show_text" into the form (Form1). In Unit1.cpp (the principal code file) i call a function called "Show" that is in other code file("other.cpp") and i put the prototipe of "Show" in Unit1.h (uni1.cpp header file). The funtion...
Hello!
I´m using Borland C++ Builder 6 Enterprise Edition to do my programmes but i think it is quite limited at graphic level (or i don't use it right....probably this).
I want that my programms have a Windows Xp design. Do you see what i mean?
Look to this image:
I would like to know how...
Hello, please help me with this doubts
How can I give to my bcb programmes a look more Windows XP? All the buttons had a look like Win98 and i dont like it :(
What can I do to a TEdit box don't accept numbers bigers then 60??? If I had a 9 in there it will only accept a 5 (foe exemple) if...
When I compile a programme with Borland C++ it creats a exctutable. But this executable needs other files to work (like vcl60.bpl, vclx60.bpl, etc). How can I make a executable that don't need any other file to work?
PS: I saw something about Static linking but I don't know how to do it. Please...
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.