Search found 149 matches

by xbgtc
Mar 23, 2019 12:27
Forum: Projects
Topic: WinPopUp
Replies: 6
Views: 1600

Re: WinPopUp

UPDATE:

New Win10 version totally re-written and uses a thread for computer checking/reporting.
Does 3 computers.
Saves messages. UP/DOWN arrows for messages and LEFT/RIGHT blanks.
TAB to switch user to message to (if both present).
Has loop back test for testing message sending/receiving.
by xbgtc
Mar 23, 2019 12:21
Forum: Projects
Topic: WinPopUp
Replies: 6
Views: 1600

Re: WinPopUp

see next
by xbgtc
Feb 15, 2019 23:29
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 779

Re: Checking if a computer is ON on the network

NO GOOD! I have shortened the code (I hate bloat) #include "win\winsock2.bi" function CO(comp as string) as byte dim as WSADATA giger dim as hostent ptr cp WSAStartup(MAKEWORD(2,2),@giger) cp=gethostbyname(comp) if cp then return 1 else return 0 WSACleanup() end function do if CO("C12...
by xbgtc
Feb 15, 2019 15:04
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 779

Re: Checking if a computer is ON on the network

thanks for your efforts jj2007 :) @dodicat thanks for that code! i had already gone through winsock.bi but didn't think it was suitable as it didn't work as I used a LAN address eg. \\ComputerName\C Drive\ but should of just used "ComputerName" and it works fine by the code you supplied - ...
by xbgtc
Feb 15, 2019 10:55
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 779

Re: Checking if a computer is ON on the network

thanks but I'm aware of ping but wanna see if there's a coding way rather than running external programs.
by xbgtc
Feb 15, 2019 4:57
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 779

Checking if a computer is ON on the network

Is there any code to check if a computer is ON and OFF on the network? Currently i'm using if CHDIR(computer1)then... and that works great but has one problem. when you shutdown the computer, after about 5secs it will hang at that check for 36sec and 2sec later (the delay for checks) will hang again...
by xbgtc
Feb 01, 2019 0:19
Forum: Windows
Topic: Ok to use 'END' in a thread?
Replies: 4
Views: 600

Re: Ok to use 'END' in a thread?

thaks guys and yeh counting_pine might try that _exit(1) although my program does only have 1 non global variable.
by xbgtc
Jan 31, 2019 1:36
Forum: Windows
Topic: Ok to use 'END' in a thread?
Replies: 4
Views: 600

Ok to use 'END' in a thread?

I have a program that runs a thread and I just tried to use 'end' in the thread rather than the main program and it ended the program no probs (Win10+FB1.01) so just wondering if this is ok to do (seems to be) as it suits my program better :)
by xbgtc
Jan 18, 2019 2:22
Forum: Windows
Topic: Multikey and Win10 Pro 64bit
Replies: 7
Views: 1106

Re: Multikey and Win10 Pro 64bit

ahh that's what it is - cheers Dodicat :)
by xbgtc
Jan 17, 2019 10:29
Forum: Windows
Topic: Multikey and Win10 Pro 64bit
Replies: 7
Views: 1106

Re: Multikey and Win10 Pro 64bit

Yeh it's prolly the browser but I like Edge actually and it's pretty fast too :)
by xbgtc
Jan 16, 2019 11:52
Forum: Windows
Topic: Multikey and Win10 Pro 64bit
Replies: 7
Views: 1106

Re: Multikey and Win10 Pro 64bit

Hey! sorry missed this! I ran your code and no probs here even with a sleep 100 in there. Then I ran this code: #include "fbgfx.bi" screen 8 do if multikey(fb.sc_left) then ? "x"; sleep 10 loop until inkey()=chr(27) and yeh on the 25th line it will scroll up as if you've used 'vi...
by xbgtc
Jan 16, 2019 0:19
Forum: Windows
Topic: Win10 and DSHOW
Replies: 0
Views: 812

Win10 and DSHOW

Well, bummer that my video playing code does not work in Win10 Pro (ver. 10.0.17134) and I think it's because they've dropped directshow somewhere along the way so question is: What do you use to play video in FreeBasic now? I've tried the example program in Freebasic x64 (test.bas) and that just er...
by xbgtc
Dec 18, 2018 21:15
Forum: Windows
Topic: Multikey and Win10 Pro 64bit
Replies: 7
Views: 1106

Re: Multikey and Win10 Pro 64bit

Ahhh Nevermind! it all works properly now, even the original exe - weird!
by xbgtc
Dec 18, 2018 10:40
Forum: Windows
Topic: Multikey and Win10 Pro 64bit
Replies: 7
Views: 1106

Multikey and Win10 Pro 64bit

HI folks. Recently installed Win10 Pro 64bit and when I ran my WinPopUp program in FBIde got a strange behavior from multikey - here's the code: if multikey(&h3b) then start if multikey(&h58) then shutdown if multikey(&h3f) then centre v.hist(0),1,0 'show previous message and when the pr...
by xbgtc
Jul 10, 2018 20:33
Forum: Windows
Topic: Stopping System Messages in Consol
Replies: 3
Views: 617

Re: Stopping System Messages in Consol

Thanks guys! Both of those worked well and the re-direct to null is especially useful :)

Go to advanced search