Search found 74 matches

by Gilbert
Mon Nov 20, 2006 7:21 pm
Forum: FiveWin for CA-Clipper
Topic: Dialog without class
Replies: 5
Views: 1925

Hi Antonio, I mean PRG. I`m not to good at C. By the way, is it poosible for you to take a peak at the thread MESSAGE TO BADARA. I called this way because I did`nt know how to call it. This thread is about Windows Available Printers retreival form Windows Register. Badara has done a tremendous job o...
by Gilbert
Mon Nov 20, 2006 5:32 am
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Hi Barada, I did more searching, specialy in XP registers, and find out that there is two places were available printers can be found: For two shared printers installed on a station running Windows 98: HKEY_LOCAL_MACHINE\system\CurrentControlSet\COntrol\Print\Printers and For two shared printers ins...
by Gilbert
Mon Nov 20, 2006 5:05 am
Forum: FiveWin for CA-Clipper
Topic: Dialog without class
Replies: 5
Views: 1925

Dialog without class

Hi All,

I have a situation where I need to display a Dialog box that will contain 5 Listbox and 1 Button. Now, I want this function to be CLASS independant.

Is there a way to do this without using TDialog, TListbox and TButton. Just pure code.

Regards
by Gilbert
Fri Nov 17, 2006 9:46 pm
Forum: FiveWin for CA-Clipper
Topic: TXBrowse
Replies: 5
Views: 1965

Hi Antonio, First, a lot of define are longer than 10 char with similar syntax. ex.: INACTIVECAPTION... But that can be arrange by changing the syntax I guess Second, many METHOD also have more than 10 char with similar syntax. ex.: CreateFromCode(), CreateFromResource() This to can be arrage by cha...
by Gilbert
Fri Nov 17, 2006 9:21 pm
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Ho Badara,


I did more research & testing today. What I fiind out on XP worked well on 2000 but not on XP. Still will search for an answer and let you know later on.
by Gilbert
Fri Nov 17, 2006 5:24 am
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Hi Badara, Searching for My Printer did not give any result but... I did some exhaustive testing using the default printer name and found out that the default when changed was found under HKEY_CURRENT_USER Software\Microsoft\Windows NT\Current Version\Windows `Device` value correspond to the default...
by Gilbert
Fri Nov 17, 2006 5:00 am
Forum: FiveWin for CA-Clipper
Topic: TXBrowse
Replies: 5
Views: 1965

Hi Antonio,

I scattered around TxBrowse sources and found out that there is a few functions used that does not exist in FW.

Can you tell what small changes have to be made...


Regards
by Gilbert
Wed Nov 15, 2006 6:09 pm
Forum: FiveWin for CA-Clipper
Topic: TXBrowse
Replies: 5
Views: 1965

TXBrowse

Hi All,


Can anyone tell me why TxBrowse only works with FWH. Is it because of the syntax or because it uses xHB functions

Regards,
by Gilbert
Wed Nov 15, 2006 2:35 am
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Message to Badara

Hi Badara, I started doing some testing with your Printer functions. It works fine execpt for WinDefPrn(). Works well with 98, 98SE and ME but not for 2000. Did`nt check XP yet... When I looked at Windows 2000 register HKEY_CURRENT_CONFIG, System\CurrentControlSet\Control\Print\Printers has no value...
by Gilbert
Wed Nov 15, 2006 2:23 am
Forum: FiveWin for CA-Clipper
Topic: Browsing arrays
Replies: 4
Views: 1574

Hi Biel,


At first look it seem like that`s what I was looking for. I will get on it this coming weekend.

Thanks

Gilbert
by Gilbert
Mon Nov 13, 2006 7:55 pm
Forum: FiveWin for CA-Clipper
Topic: Major flaw in TDataBase CLASS
Replies: 4
Views: 1599

Hi Biel,

I finally found what the problem was. The database I was testing with contains special ASCII code that are in the range of 0 to 31. That was causing the problem. I did some testing with another database and everything works well.

Regards,
by Gilbert
Mon Nov 13, 2006 7:50 pm
Forum: FiveWin for CA-Clipper
Topic: Browsing arrays
Replies: 4
Views: 1574

Hi Detlef, Sorry to tell you that I have browse array with TWBrowse without any problems in many of my applications so far. That is not my problem. My real problem is that in the application under developpement I need to browse a 2 dimensions array not knowing how many column I will need. If the arr...
by Gilbert
Thu Nov 09, 2006 12:27 pm
Forum: FiveWin for CA-Clipper
Topic: Major flaw in TDataBase CLASS
Replies: 4
Views: 1599

Hi Biel,


It`s true I always used set delete on. I don`t want to see deleted records anyway. But my database as no deleted records.

Made a second test: if i use Clipper dbGoTop() & dbGoBottom() everything works fine. Only if I use TDataBase problem returns.


Regard
by Gilbert
Wed Nov 08, 2006 8:13 pm
Forum: FiveWin for CA-Clipper
Topic: Major flaw in TDataBase CLASS
Replies: 4
Views: 1599

Major flaw in TDataBase CLASS

Hi all,

I use a database that has 148 records in it. No indexes are used at all.

If I call oDbf:GoTop() and test the RecNo()
I get recno 14 instead of 1
If I call oDbf:GoBottom() and test the RecNo()
I get recno 142 instead of 148

Can anyone tell me why this weird result. :(

Regards
by Gilbert
Tue Nov 07, 2006 8:56 pm
Forum: FiveWin for CA-Clipper
Topic: Why use MESSAGE in Classes
Replies: 6
Views: 1917

Hi Antonio,


Thanks

I would like to know what possibility I have to implement an idea of mine.

The OnError METHOD receives an cFieldName an nError parameters. Is nError always the same or could it be different ? Where is nError comes from ?


Regards