Search found 190 matches
- Sat Jan 06, 2007 12:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: INI class in WTS - Bug ?
- Replies: 2
- Views: 794
Antonio, It looks as a Windows behavior. If you review the class and the related winapi C file, you will see we don't do anything related yes, I've seen them. No problem once you know it :) It took some time to me before realizing why my defaults were overwritten. Maybe you could put a note in the d...
- Fri Jan 05, 2007 12:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: INI class in WTS - Bug ?
- Replies: 2
- Views: 794
INI class in WTS - Bug ?
In Windows Terminal Service: INI oIni FILE GetWinDir()+"\MyIni.ini" GET cEntry SECTION "Section" ENTRY "Entry" OF oIni DEFAULT "AAA" ENDINI GetWinDir() returns "c:\document and settings\administrator\windows", so MyIni.ini is created here (as it's no...
- Wed Jan 03, 2007 11:56 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Terminal Services
- Replies: 10
- Views: 2672
As it works only for Terminal Server enabled OS's (no 9x/ME), here is a function which takes care of the different cases. I do not have a NT4 Terminal Server to test. If you can test it ... Hi, Davide. Function RealWinDir() Local cDir,i If IsWin95() // No Terminal Services cDir:=GetWinDir() Else IF ...
- Wed Jan 03, 2007 12:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Terminal Services
- Replies: 10
- Views: 2672
Re: Terminal Services
Solved. I hope this could help someone else: 1) is there a function which tells me if Terminal Services are installed on a server in application mode ? I know OS_IsWTSClient() to retrieve if the application is running on a Terminal session, but I would need to know it on the server console. Function...
- Thu Dec 28, 2006 11:21 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Terminal Services
- Replies: 10
- Views: 2672
Terminal Services
Hello all, 1) is there a function which tells me if Terminal Services are installed on a server in application mode ? I know OS_IsWTSClient() to retrieve if the application is running on a Terminal session, but I would need to know it on the server console. 2) When Terminal Services are installed, t...
- Sat Oct 21, 2006 11:59 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DeletePrinter()
- Replies: 2
- Views: 701
Antonio, thank you for your reply. Do you have enough privileges to delete it ? Yes, I can delete it either by the GUI dialog or by RUNDLL32 PRINTUI.DLL,PrintUIEntry .... (which would not work on Win9x - that's why I'm trying to do it with the APIs, even on XP) Perhaps the problem may be in the data...
- Sat Oct 21, 2006 2:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DeletePrinter()
- Replies: 2
- Views: 701
DeletePrinter()
Hello all. I'm trying to automatically delete a printer by the source below, but I always receive Error 5 and I don't find where's the error. Do you see something wrong ? Thanks, Davide. #include "FiveWin.ch" #include "Struct.ch" // #include "WinSpool.h" #define PRINTER...
- Fri Jul 28, 2006 12:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Wrong printer picked up
- Replies: 10
- Views: 2327
Wrong printer picked up
I'm currently using FWH27, but it's a long time problem even with previous FW(H) versions. If I have 2 printers with similar long names, for example: HP Officejet 6200 series fax HP Officejet 6200 series PRINT oPrn NAME cName TO "HP Officejet 6200 series" - may pick up the fax one. The FRO...
- Mon Apr 03, 2006 2:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
- Mon Apr 03, 2006 12:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
- Mon Apr 03, 2006 11:15 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
Antonio, You may try to rebuild that file again to see if it gets fixed. I tried the WMF on another W98 machine. Same behaviour. I reopened the WMF with CorelDraw (which displays it correctly) and reexported it as a WMF file. Same behaviour. The original WMF worked well in past, and it works ok in X...
- Sun Apr 02, 2006 9:43 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
Antonio, ::SetIsoTropicMode() ::SetWindowExt( GetDeviceCaps( ::hDC, HORZRES ),; GetDeviceCaps( ::hDC, VERTRES ) ) ::SetViewPortExt( GetDeviceCaps( ::hDC, HORZRES ),; GetDeviceCaps( ::hDC, VERTRES ) ) Same behaviour. Anyway, it doesn't seem related to the size of printer object because the image itse...
- Sun Apr 02, 2006 8:44 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
Antonio, In XP if you double click on the EMF file, the XP graphics viewer reports that there is an error on the EMF file. Paint Shop Pro also refuses to open it. I've seen it. I've created the EMF with OpenOffice, starting from the WMF one. In W98 they are both opened correctly with ACDSee. Anyway,...
- Sun Apr 02, 2006 4:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPrn:ImportWMF()
- Replies: 10
- Views: 2374
oPrn:ImportWMF()
Antonio, after the last modification to ImportWMF() introduced with the March build, the function works ok in XP, either with WMF or with EMF files, but in Windows 98 both the file types are loaded incorrectly. Please have a look at the modified corel.prg sample I've sent to your private mailbox. Th...
- Sun Apr 02, 2006 11:38 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Say in Toolbar is not transparent.
- Replies: 10
- Views: 2832