Search found 172 matches

by AlexSchaft
Fri Apr 30, 2010 7:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Window coordinates for multiple desktops
Replies: 1
Views: 429

Window coordinates for multiple desktops

Hi, If you have a secondary monitor to the left of your main screen, your window coordinates become negative. If you were then to disconnect this monitor (leave office and hit the road), and your app restores to those coordinates your window is hidden. Can anybody point me at windows api functions t...
by AlexSchaft
Fri Jan 22, 2010 7:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: RELEASE ALL LIKE Does not work !!!
Replies: 13
Views: 2214

Re: RELEASE ALL LIKE Does not work !!!

It's still an xharbour bug that has nothing to do with fivewin
by AlexSchaft
Tue Nov 10, 2009 9:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: Internal and external ip-address
Replies: 4
Views: 612

Re: Internal and external ip-address

The text on http://www.my-ip-address.com has changed.

Change

Code: Select all

   cVar2 := StrExtract(cVar2,"My IP address: ","</h2>")
to

Code: Select all

   cVar2 := StrExtract(cVar2,"My IP address is: ","</h2>")
by AlexSchaft
Fri Jul 18, 2008 12:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: mac address
Replies: 38
Views: 10012

Vista

Haven't bothered with a version for Vista yet. I see a new API is recommended for XP/Vista, which I haven't investigated yet.
by AlexSchaft
Sat Jun 07, 2008 7:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Get return text of DOS command!?
Replies: 4
Views: 787

Hi,

I'd suggest using the Waitrun(), otherwise the program will continue without the command having finished

Waitrun("tracert.exe -d 10.1.1.1 >> file.txt")
by AlexSchaft
Thu May 22, 2008 10:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: Date Picker
Replies: 9
Views: 3092

Empty dates?

Hi,

I have used these changes on fwh 7.12 date picker, but as soon as I specify the DTS_SHOWNONE style, I get a checkbox inside my control.

Is there a reason anybody knows why this is happening?
by AlexSchaft
Wed Feb 13, 2008 1:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remote IP
Replies: 20
Views: 4037

Well, isn't that what oSocket:clientip() gives on the server? It does for me...
by AlexSchaft
Wed Feb 13, 2008 10:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: Remote IP
Replies: 20
Views: 4037

IP

So you want to get the IP Address from Client A, connected to server B, while you are at client C, connecting to B?

Can't server B keep a record of who's connected?
by AlexSchaft
Thu Feb 07, 2008 9:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: Remote IP
Replies: 20
Views: 4037

Alex, I'm really familiar with the socket function ! :). This won't work if the client connection come from the internet over a Router you'll obtain the ROUTER IP ! Best Regards, Sylvain I have used sockets over routers before, and have never had an issue with only getting the router ip.... Below o...
by AlexSchaft
Wed Feb 06, 2008 10:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: Remote IP
Replies: 20
Views: 4037

Connecting

Yes,

The main pc runs the listen socket, and all the others connect to it on startup.

Increment a counter when they connect, and decrement when they disconnect
by AlexSchaft
Wed Feb 06, 2008 4:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: Remote IP
Replies: 20
Views: 4037

Remote IP

Hi Sylvain, Are you looking for the ip address of the client connecting to a server socket? If so, you need oSocket:ClientIP() nEchoPort := ::nPortNo+::nPortNo / 100 Do While .t. ::oEchoSocket := tsocket():New(nEchoPort) If ::oEchoSocket:lStartOK Exit Else nEchoPort++ Endif Enddo ::oEchoSocket:bAcce...
by AlexSchaft
Mon Jan 07, 2008 11:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: Associate file
Replies: 4
Views: 870

Associate file

Hi,

How can I associate a file extension with my piece of software we've written from inside our software?
by AlexSchaft
Tue Dec 18, 2007 10:03 am
Forum: FiveWin for Harbour/xHarbour
Topic: vbscript getobject function
Replies: 2
Views: 596

vbscript getobject function

Hi, Found the below on the xhb newsgroup, but can't seem to translate the Getobject call. Does anybody know of an alternative way to get domain info, not necessarily AD, could be Linux+Samba too. Function VerifyGroupMembers( strDomain, strGroup, strMemberList ) VerifyGroupMembers = False Set objGrou...
by AlexSchaft
Tue Dec 18, 2007 9:39 am
Forum: FiveWin for Harbour/xHarbour
Topic: Say with no hot key parsing
Replies: 7
Views: 1138

Working

It's fine now, after I removed one too many comma's :oops:
by AlexSchaft
Tue Dec 18, 2007 9:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Say with no hot key parsing
Replies: 7
Views: 1138

Antonio Linares wrote:Alex,

SS_NOPREFIX and CRLFs and working fine here on SAYs

What define value have you used for SS_NOPREFIX ?
#define SS_NOPREFIX 128.

From xhb\include\winuser.ch