CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums



> NEWSGROUP > Borland Forums > borland.public.cppbuilder.students
 Post New
 TypeRepliesViewsDate
Help a Noob

Hi-

I'm an old time C programmer who is only recently trying to figure out C++.

I'm using C++ Builder to create a front end for a command line C program. Throughout the C progr
 2953/23/2008 6:29:53 PM
Access variable on 2ndForm from 1stform
Hi All,
I am experimenting. I have created two forms, and have a button on each
where I access the other Form.
If I declare a variable say 'x' in Form1 I declare this as an integer in
 31033/23/2008 2:47:24 PM
Indys TIdHashMessageDigest4 and Cpp problems
Hi,

Trying to use the TIdHashMessageDigest4 component, but came access the
delphi/cpp convert error, (cpp can't return arrays)
The generated cpp code is as such


typedef
 01103/22/2008 5:33:38 PM
Canvas experiments.
Hi All,

I hope some of you can help me.
I am experimenting with the canvas runtime Properties.
I have a Main Form with two buttons on it. In the code for the Button1Click
I have a
 71133/22/2008 4:02:36 PM
need Audio converter help
Dear All,

Where can find wma file convert to wav file VCL or sample code?
Where can find mp3 file convert to wav file VCL or sample code?

Best regards,
James
 01143/21/2008 3:40:38 PM
BitFill 32bit integer? Need more

I'm using a 32bit integer (BitFill) enum to store the user rights.

Example:

enum EUserRights
{
eRIGHTS_NONE = 0x00000000, // No rights at all
eRIGHTS_CREATE = 0x00
 31103/13/2008 9:55:01 PM
Truncating decimals in use of Floats in a Filename
Hi All

I am using this line of text to setup a default SAVE-As file name.

AnsiString TempName = "Wave_" + FloatToStr(Height) + "_" +
FloatToStr(Period) + &qu
 101223/12/2008 3:13:34 PM
Need help use delphi code on my bcb2007
Dear Sir,

Below is the delphi code, it is a callback function.

procedure Switch(double Index: longint); cdecl;
begin
case Index of
0 : PostMessage(MainForm.Handle,
 21043/7/2008 1:25:19 AM
How to add BCB unit into Delphi unit?
Hello Sir,

I use a delphi form on my project, how to add BCB unit into delphi for
manipulation?
On BCB2007 I know add header file to another unit, but how to add header
file for
 91653/5/2008 2:33:25 PM
memory allocation error
Hello

Whats happening with the following code?

I have a class FOO.

FOO *foo;
int Index_Count = 3000;
try
{
foo = new FOO[Index_Count];
}
catch(Ex
 111343/4/2008 12:54:34 AM
Display Hex values
Hi All,

I have been experimenting with creating a function.
Its purpose is to create the Hex values of a range of Colors
and display them in a Label1 as the Color and in Label2 as the
 52073/2/2008 1:17:44 PM
VCL50.BPL
I have a new small BCB application, which if I run it off any other PC other
than my Laptop and Desktop, both of which have BCB5 installed, it throws up
an error message, saying Vcl50.bpl mi
 57302/27/2008 6:07:44 PM
strange behaviour of TForm
Hi, all
In BCB 6.0, i created a AppBar.
Here is the complete code i have.

File->New Application
Save the Project As Project1 and Unit As Unit1.

Put a TButton on form.
 31022/25/2008 3:40:15 PM
ADOConnection, ADOTable, ADOQuery Basics
hello, can anybody answer my post regarding "ADOConnection, ADOTable,
ADOQuery Basics" dated 2/18 in cppbuilder.database.ado group?
thanks,
sudesh

 01792/21/2008 2:33:14 PM
Change the Font with code
Hi All,

I want to change the Font of a TEdit Component in my code.

There are many of these TEdit's in the form of a 9x9 grid (sudoku) and I
want to distinguish between
entri
 101132/11/2008 6:55:31 PM
array of controls

I need to create a variable amount of buttons at runtime. I don't know what's the best way to do it. I'm thinking about to create an array of controls so that I can create them by loop the array.
 5862/7/2008 7:25:51 AM
create controls at run time

I would like to create a TForm at run-time and then add some controls on this form. Could you please give me a example code?
Thanks for help

 21242/6/2008 1:19:26 PM
Problem setting file pointer (large files)

Hi,

I use this function which I have from MSDN, to handle file pointers in large
file sizes.

__int64 FilePosition (HANDLE hf, __int64 distance, DWORD MoveMethod)
{
 21141/24/2008 1:25:40 AM
Debugger Exception Notification
Hi I hope some of you can help me.
I am using Builder 6 standard and trying to learn C++ by attempting to write
a program to solve a Sudoku puzzle.
The following code is one of the routin
 6981/17/2008 3:53:23 PM
What is zprintf() ?
Hi,

I found this in a source I want to use and bcc55 accepts it without error.
I can't find anything about it in the docs.

zprintf(2, "INSERTING BITS: %d\n", v_bits);
 21081/13/2008 11:33:56 PM
about TFileStream
How shall I do that overriding the virtual
Read() and Write() methods from TFileStream to get the rage of speed when
TIdFTPServer storefiles.
thanks!


 42351/7/2008 6:10:24 PM
TDateTimePicker
hello

1. is it possible to display both date and time together in TDateTimePicker?
2. how to have increment/decrement (with mouse and keys) where increment
after 60 ss(seconds), mm w
 21381/5/2008 3:46:24 AM
pass params to TThread
Hello everybody!

I created a TThread object (BDS2006) and I had no poblem for this purpose.

But now, I want to pass some parameters to the thread and I don't know
how to do it.
 21131/4/2008 7:53:38 AM
File saving
Hi There,

I am trying to learn Builder from books etc, but have to abandon my efforts
from time to time, perhaps as much as 12 months and find I have forgotten
most of what I have l
 81081/1/2008 12:42:49 PM
trying to link in icon res files in a particular order
Hi,

Up till now I have done the following to link a number of icon files in my
program.

USERC("Icons.rc");

In Icons.rc:

#include "icons.h&qu
 09212/17/2007 5:32:33 PM
Highlighting text
I am looking for a way to highlight (make bold) text going to the console window in a console
application. I am currently using printf(). Is there a means of doing this without using the VCL
 010412/17/2007 2:03:10 PM
opposite of |=
Some Windows API functions take a DWORD (e.g. dwFlags) as input and you can
for instance build that variable by adding parts during a process that
determines the best combination:
E.g. d
 1010712/7/2007 9:28:02 AM
Htmlhelp - examples please
Is there anywhere examples how to create application help system (htmlhelp)
with c++builder 2006. I have done help-file with html help workshop.

I have tried to find examples from intern
 511112/6/2007 9:40:30 AM
Get File Heading Info - Duration
I would like to access the "Duration" that is listed in file information
for files such as "*.mp3" but I have no idea what commands to use. Any
guidance would be appreci
 216411/22/2007 12:24:26 AM
student edition license (OT?)
Hi,

I'm looking for the license of cpp builder student edition, to get if it can
be used only for personal purposes or not.
Where can I look/ask?

Thanks.


 09711/19/2007 1:05:47 AM
Protect files from opening
Hello

I have an app which download and create some graphic files (.jpg,.gif etc)
to the local disk of the user. Is there any way to prevent opening files
manually by user. changing
 99911/13/2007 5:34:40 AM
Search in Sub Folder
Hi
in this Code below, what change should I make for searching sub folders
also?

AnsiString MyStr="*.txt";
ListBox1->Clear();
ListBox1->Items->Add
 39411/12/2007 6:15:17 PM
QRRichText in QReports
Does someone have the methods and properties for QRRichText. I can seem
to find the help, I am sure I used to have.

All I am wanting to do is to change the colour of the text of a line,<
 111411/9/2007 5:12:06 PM
specific panel that can never be covered by other one
Hi,

I'm looking for a kind of panel that is always displayed (as one column for
example) at the right side of the screen. This panel can never be covered by
other window: each time
 19511/5/2007 6:27:43 PM
test
testing message

 210111/5/2007 1:30:39 PM
Calling a BCB Dll from a none C++ app
I have this very simple DLL in C++ Builder 5.

extern "C" void __export VisFrm(){
MessageBox(0,"Hello from Dll","",0);
}
#pragma argsused
int WI
 314010/31/2007 7:09:10 PM
Creating DLLs containing VCL components.BCB5 Pro
The helpfile says:
"Note that when creating a DLL that uses the VCL, the required VCL
components are linked into the DLL resulting in a certain amount of
overhead. The impact of thi
 012710/31/2007 3:41:39 PM
Doing a clone of Turbo Prolog

Hi there,

I want to do a clone of the Turbo Prolog 2. Writing the code from scratch. Do I need to request any authorization from Borland to do that?

Any help will be appreciate.
 312910/29/2007 4:36:22 PM
PopUp Bar BiDi mode
I want a popup bar to be displayed having BiDi property set to Right to Left
on Form.
I can do by the changing the settings under windows xp.
Regional and Language Options->Regional Op
 011110/27/2007 10:23:07 AM
Default button in form
Hi all,

I have a form with a "default" button. So, anywhere the user hit "enter"
key, the OnClick event for this button is triggered.

In my funcion there is
 39810/18/2007 2:53:44 PM
how to reach image data of a webcam?
Hello,

I'm developing a tool that process image from a webcam. Is there any
component in Borland that allows to read the usb port? Somebody knows how to
reach the data of a webcam?<
 112710/17/2007 5:16:42 PM
Threads Queue
Hi,

I'm trying to setup my app to use threads, a max of 10, but the app could
try to start more then 10 depending on the items selected to process.

If I have 23 items to process
 110410/17/2007 5:09:49 PM
Calling functions by name
Hi All,

I made some code that contains multiple functions, Func1(), Func2(),...,
Func30()
Depending on the value of a variable, I need to call a specific function. At
the moment
 48310/15/2007 3:52:43 PM
combine Form components from 2 Applications
I have 2 applications having single Form each, with many components with
events.
I wish to combine both i.e. bring components from 2nd applications MainForm
to the 1st applications MainF
 59910/11/2007 4:13:50 PM
Problem with TListItem and TListColumn
Hello,

my program hast a item list, wich is much like Windows Explorer right
pane, in Detail mode.

But the automatic resizing of column widths is not working as I want. I
w
 212410/11/2007 1:04:14 PM
text file rersource
hello
how to inlcude a plain text file as resource and then read it in program?
thanks,
sudesh


 412810/3/2007 7:04:18 PM
Resizing Arrays
Hi

I understand that arrays cannot be resized at runtime. So, to be able to
resize an array I have to create a new, larger one, and copy the existing
data. How do I do this?
 4969/30/2007 4:35:35 AM
Performance Problem
I am using BCB6 Ent.
I am creating 50 to 100 number of labels at runtime and placing all of them
in a panel.

header file
------------------------------------
private:
 101049/29/2007 9:32:10 AM
SpeedButton

Hi,

Is there a way to execute a speedbutton if I want to press like
F12?
 11039/29/2007 12:25:18 AM
loading an exe (instead of dll) and executing functions
Hi,

I got a strange request.
Load a Windows executable program, like you would load a dll, and call
functions from this exe ?

Is this at all possible ?

Obviously th
 21089/27/2007 11:41:47 AM


   
  Privacy | Contact Us
All Times Are GMT