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.delphi.language.delphi.general
 Post New
 TypeRepliesViewsDate
Tips on re-writing old TP7 Graphics-based program?
Hi everyone,

I've decided that the only way I'm going to really get myself into Delphi is
if I actually start using it to DO things! <LOL> I'm currently using the
free versio
 71193/16/2008 11:49:29 PM
Unique filename ?
Getting a unique filename under XP ?

DH
 21553/16/2008 11:34:14 PM
Windows 2003 SP2 server close my program unnormally for its exceptions!
Hi
im catching my server errors with try ...except end; block but sometimes
after many errors windows 2003 close my server.i dont know why! for example:
Try
...
read user
 2753/16/2008 10:35:12 PM
how can i change Debug or Release mode?
Hi
in Visual Studio or other compilers IDE we can change building mode to
"Release" or "Debug" mode.
i dont know where can i change building mode in Borland Studio?
 31523/16/2008 10:26:56 PM
Access violation while running Sleep(10) !?
Hi
i have a thread that do some things and after doing them will be sleep for
10 milisecond and then will continue itself loop, please see my following
pseudo code(main body of the threa
 8793/16/2008 9:27:53 PM
PageControl Scrolling problem
I have had this app for a few years and suddenly I have lost the
ability to scroll pages:

Multiline is False, so when I have more pages than the width of
the pagecontrol/form allows,
 21133/16/2008 4:54:44 PM
keypress delay
g'day all , I am reading keypresses using the forms onkeydown event to move
an graphic on an image(like a sprite in a game)..Is there a way of
eliminating that small delay before the key pre
 31233/16/2008 12:07:49 AM
ShellExecute to open multiple PDFs in Acrobat
Hey--

I hope this isn't too odd for this form....

I'm using ShellExecute( handle, 'open', pChar( sPDF ), nil, nil,
SW_SHOWNORMAL ) to open PDFs in my app.

It works grea
 4803/15/2008 9:37:41 PM
Application.Terminate doesn't on one machine
I have an app that has a home-grown update-from-the-network capability. It
detects when a new setup is available, launches it, then quits, using
application.terminate. But on one PC in the
 81253/15/2008 2:01:09 PM
[EQ]Pointer operation over record "." or "^" operator?
Hi, See following code, in the code both of "p.x "or "p^.x" operator work
same . why!?

type
TMyRec=record
x,y:integer;
s:string;
end;
 2783/15/2008 10:07:38 AM
horizontal scrolling
Hi all,
the middle button of my new mouse (Genius Ergo 525) can be tilted to the
right or to the left (plus up and down of course). I would like to
attach some functionality to the wheel
 3783/15/2008 9:50:08 AM
MessageDlg with custom captions on buttons
Of course there's instances where asking the user to pick yes or no just
doesn't make sense. Is there any way I can change the buttons of the
MessageDlg to say things like "DNA",
 31833/15/2008 2:20:36 AM
Any good tutorial regarding Delphi 2007 Repository
Any good tutorial regarding Delphi 2007 Repository & Code Templates.

Thank you.


 2873/15/2008 1:04:51 AM
StringReplace (Special Characters) For SQL
Hello there,

I am using PostgreSQL and I need to run certain sql statements, however some
of the records I have in the database have characters like ' inside them.
Example "She's
 42003/14/2008 8:16:28 PM
DLL programming - include ADO components and forms

Hello,

I have a book "Delphi Praxis" from W.Doberenz for the bases of DLL programming but even examples of the book don't work:

library TDBOperationen;

{ Wich
 1993/14/2008 6:56:11 PM
Random message: The window does not have scroll bars
My app has infrequently displayed the message "The window does not have
scroll bars" for a long time. Now however it is happening more often. It
happens during a tform.create. I
 11973/14/2008 6:50:46 PM
Save to File
D7

I want to save a picture to C:\ , i tried below code but
couldnt succeed, what is the correct code ?

Image1.Picture.SaveToFile('C:\'+PartsPartNo.asstring+'.JPG');

Tha
 8933/14/2008 5:46:39 PM
SystemWow64
Hello!

Anybody here knows how to get the path to SystemWow64 directory?

Is there any way to "force" an application to use SystemWow64 as the system
directory instead
 41233/14/2008 3:40:59 PM
Delphi 6 Hourglassing
Hello

I'm sure I had this problem many years ago and it was solved by deleting
some file - but I may be wrong. D6 keeps hanging with an hourglass while
(presumably) it updates its C
 2793/14/2008 10:09:53 AM
ansi string functions work with UTF-8 ??
Do the ansi string functions that work with MBCS's work properly with
UTF-8? They seem to from the testing I have done so far, but wondered if I
might run into problems I don't know about yet
 41263/14/2008 5:08:21 AM
TClientDataset FieldValue required
There seems to be a change with D2007 where its not respecting the
difference between a null field and a blank one. If the oracle database
column is not null (a varchar) and you assign it a
 31933/14/2008 2:32:39 AM
Flicker on resize
I have a form with a TJvGradient in it. Is there a way to prevent flicker
when the form is resized?

I tried DoubleBuffered for the Form but that doesn't help.
12Care
 7673/14/2008 2:00:47 AM
Time out a critical section
I have been using critical section to mutually exclude multi thread access
to the same object.
But I found that sometimes the program hang because one thread has some
problem that slows
 63263/14/2008 1:50:28 AM
Help needed with threads
Hi,

Goal: I've got some code (TProcessor.Process) that takes a while to run, and
I want a modal form with a progress bar (ProgressForm) to show the progress
of this task.

M
 5793/14/2008 12:36:31 AM
String to Long array
Hello all,

There is a function that I need to call from a dll. The function is :

WriteData (UserCode: LongInt;
DataOut : pLongWord;
 41393/13/2008 6:28:47 PM
Find more than one character in a string

I need to know if "!" is in a string more than once.

How do I code this please.

Cheers

SteveW


 811333/13/2008 4:38:04 PM
Adding extra icons via *.rc file
Hello

i have this in my AdditionalResources.rc file:

DEFAPPICON ICON ..\Resources\Icons\DEFAPPICON.ICO
DEFMENUICON ICON ..\Resources\Icons\DEFMENUICON.ICO

Which i includ
 3743/13/2008 3:44:08 PM
win32 pas to kylix ...
I desperately need the following code of my own to be translated to kylix
.... No third party components are involved. Truly, i only need the running
file (exe) to be run on Linux: Thany You
 11103/13/2008 2:21:24 PM
PageControl
I have a page control with multiple tabs. Each tab shows certain readings
from a different TCP Device.
I only want to poll that certain TCP Device when it's tab is selected.

What I
 21273/13/2008 9:28:30 AM
TComboBoxEx Hanging app
Hi People,

I have got a strange issue for you all. I need to use the TComboBoxEx
object on a form, however when I add this control (and dont do anything to
it) when I close my app,
 31273/13/2008 9:28:25 AM
Systray Icon
Hi,

I would like to convert a D6 App. into a Service running on Windows 2003
Server. As I have to remove the visual part, my intention is to display a
Systray icon when a User log o
 4893/13/2008 8:15:17 AM
Notification components list ?
Is the list of component to be notified by another within the
FreeNotification/RemoveFreeNotification mechanism available as a property ?

DH

 11703/12/2008 9:44:43 PM
Thread sinc and variables
Hi,

Started to learing about threads and have two questions

1. If I create non-visual component in Thread, then I don't need to
sincronize it, right?

2. Is it safe to a
 131163/12/2008 9:02:50 PM
Design time and runtime
Is there a secure way to know if Delphi is in Designing Time, Debugging Time
or simply not running ?

DH

 91573/12/2008 6:39:12 PM
D7 TListBox --> ClipBoard

I need to copy the multi-selected contents of a
TListBox to the clipboard. I see
a TListBox.CopySelection ... but no
way to get it to the clipboard.

I would like to Control
 51043/12/2008 6:16:32 PM
Delphi application is requiring the "Win95 Compatibilty mode" to be configure before running in a client server setup. Help!
My Delphi application will not run in a client server mode setup unless
the compatibility mode is set to "Run Compatibility for Win 95". I am
not sure how this happened, it was work
 0863/12/2008 5:37:30 PM
GlobalMemoryStatus function -- odd results
I'm trying to check for mem leaks & stumbled onto an article regarding the
GlobalMemoryStatus method. I call it before executing some code, remember
the results, then call it after. Th
 11733/12/2008 2:04:51 AM
How to call an instance method by name at runtime?
Dear all,

Assume there is a class TTarget:

class TTarget = class(TObject)
public
procedure DoProcessA(Param1: string; Param2: Integer; var Params3:
Variant);
pro
 13773/11/2008 9:56:54 PM
Hope you'll enjoy the views....
Hey TeamB !

Take a look at attachments...

Some gift for you...

DH
 6813/11/2008 9:49:52 PM
dbgrid to CSV
Hello. I need to export the contents of a dbGrid to a CSV file. I did this
procedure and so far it works fine. I'm just curious if that's the best way
to do it... I have the feeling that I'm
 81763/11/2008 9:14:18 PM
64bit o/s
Hi
D7
are there any issues with running 32bit Delphi applications created in D7 on
a 64 bit computer with 64 bit o/s [win xp pro]?

thanks



 1693/11/2008 1:55:19 PM
inherited readonly ?
I am desesperatly seeking a way to quickly publish ancestor properties and
make them readonly at will in some child classes...

That is :

class A
protected
getvalue
s
 15773/10/2008 9:26:05 PM
UInt64
Just a bit curious about this type. Borland have never documented this and I
would be interested to know whether it is safe to use.

Is it a true unsigned large integer type or is it impl
 111193/10/2008 8:56:11 PM
Dynamic arrays and properties....
How to quickly implement readonly property for an array of TPersistent...so
that you can view it in the Designer ?

DH

 51083/10/2008 7:28:07 PM
Closing a form without saving and destroying objects
I wrote a component inherited from TPaintBox, and in its BeforeDestruction
methods, I planed to call a SaveToFile method to save the component state
when its destroyed...

That works
 4663/10/2008 7:27:38 PM
Activate a popup menu from the onclick event handler?
I have a control with a popup menu and my question is
if it is possible to activate this popup menu when I click
the control with the "main" button instead of or in addition
to a
 52733/10/2008 5:52:37 PM
Getting the result code of an external app.
Is there some way? I have an external console application that returns a
code: 0-no error, 1-file not founs, etc-

I use CreateProcessAsUser to launch the console app as an administrator.
 4823/10/2008 5:46:15 PM
Loading form at runtime from plugin
Hi,

I want to load plugins on app startup,populating a listbox with the names of
the plugin. I need to create a form of a specific type, when the user clicks
on a plugin name in the
 1663/10/2008 2:21:22 PM
a more modern TList.Grow?

Currently, TList.Grow uses this algo to calculate the new size.

if FCapacity > 64 then
Delta := FCapacity div 4
else if FCapacity > 8 then
Delta := 16
 3643/10/2008 2:16:51 PM
a more modern TList.Grow?

Currently, TList.Grow uses this algo to calculate the new size.

if FCapacity > 64 then
Delta := FCapacity div 4
else if FCapacity > 8 then
Delta := 16
 0793/10/2008 11:58:47 AM


   
  Privacy | Contact Us
All Times Are GMT