Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.28 seconds.
Search: Posts Made By: PoseFant
Forum: General 01-25-2005, 12:14 AM
Replies: 2
Views: 1,937
Posted By PoseFant
RE: Send Print To File Directly To Port (Not Print Queue)

You can copy a file to any port.

However, in order to use the printer capabilities, you need a driver and a local spooler.

---

Regards

/Filip
Forum: General 01-21-2005, 03:11 AM
Replies: 9
Views: 2,038
Posted By PoseFant
RE: Deleting IE index.dat files with filestream...

The easyest solution is to delete the files while you're logged in with another profile.

You can also use the MoveFileEx() API and mark the file for deletion on next reboot.

---

Regards
...
Forum: .NET 01-17-2005, 11:52 AM
Replies: 0
Views: 1,301
Posted By PoseFant
Delphi and Delphi.NET

I notice alot of questions about Delphi.NET

What about creating a new group for .NET questions ?


---

Regards

/Filip
Forum: General 12-07-2004, 01:57 AM
Replies: 1
Views: 643
Posted By PoseFant
RE: Fake Close?

You can only do this when a thread requests your thread to close. At that stage you will need to trap the messages:

WM_QUERYENDSESSION
WM_ENDSESSION
WM_CLOSE

and return 0 without processing...
Forum: General 12-02-2004, 11:06 PM
Replies: 1
Views: 1,380
Posted By PoseFant
RE: Runtime error 216 in Windows XP

I bet you now this, but just to make sure:

RTE 216 means Access Denied.

That is if you dereference a nil
Access a protected memory block
Access a memory block not allocated

There may be...
Forum: General 12-01-2004, 11:20 PM
Replies: 4
Views: 2,320
Posted By PoseFant
RE: register dcom server (DLL) in Client Machine

Did you read this ?

http://bdn.borland.com/article/0,1410,25982,00.html

I don't know if that will help you.
You may have to be registred to get access to the document.


---
Forum: General 11-30-2004, 02:10 AM
Replies: 2
Views: 897
Posted By PoseFant
Appendum...

Remember to create the TTimer in its own thread to avoid failure when the screensaver kicks in or the user lock the computer.

---

Regards

/Filip


I've lost my autosignature ... *sobbing*...
Forum: General 11-29-2004, 02:15 AM
Replies: 1
Views: 639
Posted By PoseFant
RE: change icon of another file

Yes, you need to rewrite the resources in the corresponding exe files. As for DLL files, they use resources in other system DLL files. Take a look in the registry: HKEY_CLASSES_ROOT under subkey *...
Forum: General 11-28-2004, 11:23 PM
Replies: 4
Views: 1,273
Posted By PoseFant
RE: string from dll

digitiger: I'm a bit confused here. Do you look up the API functions I suggest at all ? Unless you know them by heart, I require you to look them up in order to get further help from me. If you...
Forum: General 11-25-2004, 04:35 AM
Replies: 4
Views: 1,273
Posted By PoseFant
RE: string from dll

I would use the LoadString() function, since this will do everything in one operarion.

However:

- LoadLibrary() to get the hLibrary (Module Handle)
- FindResource() to get the hResource...
Forum: General 11-25-2004, 01:50 AM
Replies: 6
Views: 1,525
Posted By PoseFant
RE: string to a unique id

function StringToCRC32(PlainText: string; const Dividor: Integer): string;
var
i,
Seed: Integer;
begin
for i:= 1 to Length(PlainText) do
begin
Seed:= Ord(PlainText[i]) mod...
Forum: General 11-24-2004, 11:24 PM
Replies: 1
Views: 744
Posted By PoseFant
RE: ANSI or UNICODE

Take a look at this small but descriptive article.

http://blogs.msdn.com/oldnewthing/archive/2004/03/24/95235.aspx

---

Regards

/Filip
Forum: General 11-24-2004, 10:00 AM
Replies: 4
Views: 1,157
Posted By PoseFant
RE: Comparing multiple lists

You load the first file ...

You load the second file ... if you get an exception, you know that the duplicate field exist in file1 and in file2

You load the third file ... if you get an...
Forum: General 11-24-2004, 03:58 AM
Replies: 4
Views: 1,157
Posted By PoseFant
RE: Comparing multiple lists

Load all files into a TStringList.
Enable sorting and set the flag for Duplicates.
Catch the exception and add a line in your memo with the current value.

---

Regards

/Filip
Forum: General 11-24-2004, 03:55 AM
Replies: 2
Views: 855
Posted By PoseFant
RE: Message from server to client

Look at the demo project for Client / Server. In D7 it is under internet/netchat.

The use a simple method for sending a message from client to server, just reverse this code and you've done it.
...
Forum: General 11-24-2004, 03:33 AM
Replies: 6
Views: 1,973
Posted By PoseFant
RE: getting local system account programmatically in DELPHI (urgent)

You can get any info you want about the local user, except the password. That is ... with the supported WinAPI.

The functions used to gain this info are many, it depends on what type of info you...
Forum: General 11-18-2004, 10:27 AM
Replies: 4
Views: 918
Posted By PoseFant
RE: Oracle -> MSSQL

The only thing I could think of before I reread your original question, was special characters as in wildcards for SQLServer. However, it works in one client but not another. What kind of accentuated...
Forum: General 11-15-2004, 04:25 AM
Replies: 4
Views: 918
Posted By PoseFant
RE: Oracle -> MSSQL

Are you inserting into the same database ?
Are you using the exact same insert statement ?
What kind of datatypes do you have on Oracle and SQL-Server ?

---

Regards

/Filip
Forum: General 11-11-2004, 03:35 AM
Replies: 1
Views: 876
Posted By PoseFant
RE: File Lock

You have to elaborate what you mean by locking files and what OS / FileSystem you need it done on.

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 11-09-2004, 12:56 AM
Replies: 2
Views: 974
Posted By PoseFant
RE: I need documentation please

You are mixing conceptual flowcharts and system architectural flowcharts.

I whish you good luck in finding a diagram that shows all of this in one schema ;)


---

Regards

/Filip
Forum: General 11-09-2004, 12:52 AM
Replies: 2
Views: 1,146
Posted By PoseFant
RE: Learn Open source go to HelpOpensource.com

I like the concept, unfortunately, it seems you have used some kind of openUML and not UML on those pages.


---

Regards

/Filip
Forum: General 11-04-2004, 03:10 AM
Replies: 1
Views: 1,075
Posted By PoseFant
RE: Application event log

In Delphi, you have the LogMessage() Method of TService.

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 10-29-2004, 02:35 AM
Replies: 4
Views: 895
Posted By PoseFant
RE: How to do this formula on delphi 5?

Hehe yes I was a bit quick there ... added 40% to the original value :)

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 10-28-2004, 12:35 AM
Replies: 6
Views: 1,830
Posted By PoseFant
RE: Delphi 7 w/ BDE 5.0.0 deployment problem

It all depends on what components you are using, if you look in the help for "Deploying database applications" You will notice that using TClientDataSet requires midaslib.dcu in certain cases.
...
Forum: General 10-28-2004, 12:31 AM
Replies: 4
Views: 895
Posted By PoseFant
RE: How to do this formula on delphi 5?

function Equ(Value: Extended; sdate, eDate: TDateTime): Extended;
begin
Result:= ((Value * 1.4) / 30) * DaysBetween(sDate, eDate);
end;

---

Regards

/Filip
Forum: General 10-28-2004, 12:26 AM
Replies: 2
Views: 1,017
Posted By PoseFant
RE: What is wrong with this code please?

Call StrToCurr to convert a string that represents a floating-point value to the corresponding Currency value. The source string, S, must consist of an optional sign (+ or -), a string of digits with...
Forum: General 10-27-2004, 12:12 AM
Replies: 1
Views: 997
Posted By PoseFant
RE: Local security policy...

LSA is not stored in the registry, for obvious reasons I will not cover here.

I'm not sure I quite understand your problem.
The Administrator account has lost its "Log On Locally" privilege ?
...
Forum: General 10-26-2004, 11:55 PM
Replies: 2
Views: 1,149
Posted By PoseFant
RE: Note to all posters ;-)

Cheater ... :P

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 10-25-2004, 12:33 AM
Replies: 1
Views: 825
Posted By PoseFant
RE: Is a handle still there?.

Use EnumWindows() to detect all top level windows.
Use EnumChildWindows() to detect all child windows.
Use GetClassName() to detect whether the windows is based upon WNDCLASS or MDICREATESTRUCT.
...
Forum: General 10-19-2004, 03:52 AM
Replies: 4
Views: 2,569
Posted By PoseFant
RE: simpler answere

I fully agree, however, he didn't ask for simplicity ;o)

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 10-19-2004, 02:28 AM
Replies: 4
Views: 2,569
Posted By PoseFant
RE: Help with CreateProcess to open Windows Explorer

function CreateProcessX(sExecutable: string; sDirectory: string): string;
var
pi: TProcessInformation;
si: TStartupInfo;
begin
FillMemory(@si, SizeOf(si), 0);
si.cb:= SizeOf(si);
...
Forum: General 10-19-2004, 12:38 AM
Replies: 3
Views: 1,640
Posted By PoseFant
RE: MQ Series

MQ Series Explorer


---

Regards

/Filip
Forum: General 10-18-2004, 04:12 AM
Replies: 3
Views: 1,640
Posted By PoseFant
RE: MQ Series

Nah, the default utilities works good enough for us, but I may do a test sometimes ...

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 10-04-2004, 10:22 PM
Replies: 4
Views: 1,469
Posted By PoseFant
RE: What do you think. What is the best database to use with Delphi 7.0 ?

***This is not an answer, just a comment***

Performance for DML is done by a proper design and proper use. You will always decrease performance one way or another when you increase for certain...
Forum: General 09-27-2004, 12:59 AM
Replies: 4
Views: 1,114
Posted By PoseFant
RE: Filename in DLL - again

How do you load the DLL and how do you send the FileName ?

---

For me it seems you unload the DLL, hence the FileName parameter is lost.


---

Regards
Forum: General 09-21-2004, 01:27 AM
Replies: 4
Views: 1,114
Posted By PoseFant
RE: Filename in DLL - again

Could you elaborate ?

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 08-06-2004, 04:39 AM
Replies: 2
Views: 3,770
Posted By PoseFant
Solution #2

SetWindowPos(hWindow, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE);

hWindow is the handle to the window you want to move to the bottom of the Z order.


---

Regards

/Filip
Forum: General 08-06-2004, 03:47 AM
Replies: 3
Views: 923
Posted By PoseFant
RE: Deleting Windows Media Player Recent List

It's stored in MRU lists in the registry.

I don't remember where exactly now, but if you open regedit and do a search on on e of the recently opened files, you will find a couple of places.

As...
Forum: General 08-05-2004, 03:03 AM
Replies: 1
Views: 798
Posted By PoseFant
RE: Run an exe inside a stream

Use google and take a look at something called spawned processes.

--- EOH ---

---

Regards

/Filip
Forum: General 08-05-2004, 03:01 AM
Replies: 2
Views: 927
Posted By PoseFant
RE: Changing the Tab Order in Open Dialog box

It would be very helpful if you showed the code you are using in order to achieve this.


---

Regards

/Filip
Forum: General 08-05-2004, 02:58 AM
Replies: 3
Views: 923
Posted By PoseFant
RE: Deleting Windows Media Player Recent List

By code or in general ?


---

Regards

/Filip
Forum: General 06-17-2004, 04:23 AM
Replies: 2
Views: 913
Posted By PoseFant
RE: Sender problems in external unit.

I found the problem, I called the function as MyFunction(Self); in both events :)

---

Regards

/Filip


I've lost my autosignature ... *sobbing* ...
Forum: General 06-17-2004, 04:03 AM
Replies: 2
Views: 913
Posted By PoseFant
Sender problems in external unit.

Delphi 7 Enterprise
Objects


I'm calling a function from two events.

- TForm.OnCreate
- TSpeedButton.OnClick
Forum: General 09-30-2003, 03:14 AM
Replies: 1
Views: 1,089
Posted By PoseFant
RE: Get flashing window?

I did some research and it's quite complex to do this.

Here's a great article of how you may intercept function calls in other processes with references to books and other resources on the net. I...
Forum: General 08-17-2003, 11:40 PM
Replies: 1
Views: 782
Posted By PoseFant
RE: Minamise

You need to trap the message the window is receiving.

The message sent is:

WM_SYSCOMMAND with the parameter SC_RESTORE.

In order to trap this message, there are several methods.

1 -...
Forum: General 06-24-2003, 03:32 AM
Replies: 2
Views: 720
Posted By PoseFant
RE: Long in Oracle equivalent to what ?

Long, stores variable length character data up to 2GB.

I guess you may use a string in Delphi.


---

Regards

/Filip
Forum: General 06-24-2003, 01:33 AM
Replies: 2
Views: 717
Posted By PoseFant
RE: searching

Search for what in what ?


---

Regards

/Filip

<cr> I've lost my autosignature ... *sobbing* ...</cr>
Forum: General 06-19-2003, 12:08 PM
Replies: 2
Views: 748
Posted By PoseFant
RE: NT service and Domain

That depends on how your domains are set up.

- Domain A trust Domain B
In this case all users from domain B may access resources in domain A as well as users from domain A, but users from domain...
Forum: General 06-19-2003, 12:01 PM
Replies: 3
Views: 681
Posted By PoseFant
RE: Creating components

You have several alternatives, depending on when you want to call your method.

- Using the constructor
- Using the Loaded method
- Using the ComponentState : csDesigning ++
- Using...
Forum: General 06-13-2003, 03:49 AM
Replies: 1
Views: 789
Posted By PoseFant
RE: MSDE Question

http://support.microsoft.com/default.aspx?scid=325016


---

Regards

/Filip

<cr> I've lost my autosignature ... *sobbing* ...</cr>
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 09:20 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.