Search found 203 matches

by xbgtc
Jul 01, 2020 14:34
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: SOLVED - MPEG2 Play Code and Win10

dodicat as I posted earlier I did install WINFBE and use his/that code but same result as my code - audio but no video. After my last post saying it is working now with the codec installed I somehow stuffed it up (by playing around) and now back to square one - audio but no video, but the video will...
by xbgtc
Jul 01, 2020 1:19
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: SOLVED - MPEG2 Play Code and Win10

After lots of stuffing around trying to find out if it was a codec problem or what codec I needed I remembered that in Win XP I could never get that media player to play mpeg/vob and always had to install third party codecs namely K-Lite Codec Pack. So I ran this old program and just installed a mpe...
by xbgtc
Jun 30, 2020 9:56
Forum: Game Dev
Topic: freebasic game "hacker"
Replies: 3
Views: 701

Re: freebasic game "hacker"

here's my Hacker game that I've yet to finish

viewtopic.php?f=8&t=15505&p=134525#p134525
by xbgtc
Jun 29, 2020 4:55
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: MPEG2 Play Code and Win10

After running WMP it initially has that settings screen (where you disable most) it went into the GUI and it plays MPG, VOB no probs. I guess when Win10 upgraded itself it must of installed new codecs as I remember when I went through this before it said it needed codecs so... Anyone know why I woul...
by xbgtc
Jun 27, 2020 22:26
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: MPEG2 Play Code and Win10

OK think i'm getting to the bottom of this. After running into all sorts of trouble found that the code I copy/pasted from that link was no good as in WINFBE Suite (that I installed) I happen to find that exact code so used that and then it actually ran with no errors. The example .wmv file played o...
by xbgtc
Jun 27, 2020 0:52
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: MPEG2 Play Code and Win10

Oh ok will have to play with it and I don't get the messaging part (why it's needed) but will follow what you have stated and hopefully get what I need from the code you have provided - thanks again. :) > have you just got the bare bones of this code that just plays a vid? The main code is in the su...
by xbgtc
Jun 27, 2020 0:43
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: MPEG2 Play Code and Win10

Hi and thanks for this info. Although I don't understand this 'framework' and why it's needed will install/copy it and hopefully get it going, cheers! Hi xbgtc As Jose wrote elsewhere, the easiest way to use the framework is to use the libraries with WinFBE. Jose's framework WinFBX is installed auto...
by xbgtc
Jun 26, 2020 9:11
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

Re: MPEG2 Play Code and Win10

thanks but I can't get it to run because I get this:

C:\FreeBASICHacker\FBIDETEMP.bas(30) error 23: File not found, "Afx/CWindow.inc" in '#INCLUDE ONCE "Afx/CWindow.inc"'

have you just got the bare bones of this code that just plays a vid?
by xbgtc
Jun 26, 2020 1:28
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 67
Views: 4817

SOLVED - MPEG2 Play Code and Win10

EDIT: 07/07/2020 Here is the MCI code to play .MPG or .VOB video files in your game screen and with positioning and resizing code. It's does what the old dshow code (which still works) did but as you can see simpler and better. If for any reason you can't see video but can hear it then you will need...
by xbgtc
Mar 23, 2019 12:27
Forum: Projects
Topic: WinPopUp
Replies: 6
Views: 1978

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: 1978

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: 1133

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: 1133

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: 1133

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: 1133

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...

Go to advanced search