Worked like a champ! Thanks Jim Now another question. From within my code I would like to Minimize the main form but I see no Minimize property to accomplish...
(no author)
(no email address)
Feb 1, 2006 2:04 pm
9496
Hi, Jim Your code example for MyPrinter has been proven to work (see MyPrinter.bas below). I just used "LPT1" for the system_name for now, just to prove it...
Philip Bister
philip.bister@...
Feb 1, 2006 5:09 pm
9497
Dear Jim We have a problem with .OnMouseDown when used with a ListBox. (See test code below) .OnMouseUp works perfectly, .OnClick is not working properly. In...
Philip Bister
philip.bister@...
Feb 1, 2006 5:10 pm
9498
... Compiles on my system with no problem. Philip...
Philip Bister
philip.bister@...
Feb 1, 2006 5:11 pm
9499
... In your code, I inserted BEEP in the label_select routine and with both .OnClick and OnMouseDown, it works (beep is heard); that is, the event routine is...
Thanks, I will investigate furthur. ... [Non-text portions of this message have been removed]...
(no author)
(no email address)
Feb 1, 2006 10:46 pm
9501
... Thank you, Philip, for sharing your expertise on printing matters many times here in this group! Idea: Maybe you and others might write tutorials. E.g.,...
... Below you will find some clips of code from a program that I have written to print text files to the default printer. This program sends the text to the...
... Cor wrote a program to identify if HotIDE (or any other program) was running, and if so, send it characters. His app could then "write" text into HotIDE!...
... Use MUTEX. The WinAPI used are CreateMutex, GetLastError and CloseHandle. If I recall correctly this is what needs to be done: 1.) Create Mutex with...
... You could also use a Semaphore. --CODE-- $apptype gui: $typecheck on Declare function CreateSemaphoreA lib "kernel32" (iAttrib as long, iCount as long,...
Quick note: you don't need to declare the GetLastError function, it's built in. Just change the line: err=GetLastError() to: err=GetLastError And it still...
... I have discovered why special characters are not printed. My printer manual states that additional symbol sets are supplied on a floppy disk which came...
Philip Bister
philip.bister@...
Feb 3, 2006 1:03 pm
9513
Dear Jim Re printing via a USB port, you have often asked if anyone knows what name is used for a USB port. My printer is a HP DeskJet 895C. This is quoted ...
Philip Bister
philip.bister@...
Feb 3, 2006 1:10 pm
9514
It is sometimes said that hot babe entertainers may put on shows for the troops overseas to "remind them what we are fighting for". Well, here is a little...
... Well we talked about using BYREF this way (in a SUB of an object): x0 = byref(@SPLITTER.LeftTop1) but the problem is, that BYREF is directly coupled with...
... Oh, I see. Thanks for the clarification. But another object *cannot* become hbObj during the run of your code, can it? That is, code is run linearly in...
... I believe the main thread includes all of the Custom Object (or any other) procedures called by the main program (e.g., SPLITTERInit). These run linearly,...
... Given the grinch of accented characters "stole our wm_char" message, I've now enhanced HB to unconditionally send all tab keydown events as wm_char...
Hi all I tried to assign some styles to some objects but them don't work in all cases. Have I mistake the way to use Styles? Thanks. $APPTYPE GUI $TYPECHECK ON...
... You made no mistake; FACT: The OS is unable to change certain styles of certain FORM object types (classes) on-the-fly (after the object has been...
... Right, thanks for pointing this out. I think recent changes to get the accented and other special characters has obliterated the wm_char message used in...