Search found 22 matches

by TimeSurfer
Sat Oct 11, 2008 9:21 am
Forum: Coding Questions
Topic: Lua lib question....
Replies: 0
Views: 985

Lua lib question....

Ok theres not much documentation for the lua lib so thats kinda a bummer and a hangup lol but the problem is I cant figure out how to take a list or string and output it to a lua table any help is greatly appreciated =p
by TimeSurfer
Fri May 09, 2008 3:10 am
Forum: Tricks 'n' Tips
Topic: Token's [Word Count] Simplified --
Replies: 1
Views: 1354

Token's [Word Count] Simplified --

I saw a few posts about this and played around with it till I got the result's needed. Enjoy

NewList Token.s()

a.l = 0
b.s = " "
Repeat
a = a + 1
c.s = StringField("This is how many tokens are in this string.", a, b)
AddElement(Token())
Token() = c
Until c = ""

DeleteElement(Token ...
by TimeSurfer
Sun Apr 13, 2008 4:22 am
Forum: Coding Questions
Topic: Help with vbscript for changing xp key
Replies: 9
Views: 2207

thanks SFSxOI, :D will check them out now.
by TimeSurfer
Sun Apr 13, 2008 4:18 am
Forum: Coding Questions
Topic: Help with vbscript for changing xp key
Replies: 9
Views: 2207

you 2 are helarious.... anyways the above script is provided on msdfn fyi.
by TimeSurfer
Sat Apr 12, 2008 7:45 pm
Forum: Coding Questions
Topic: Help with vbscript for changing xp key
Replies: 9
Views: 2207

here's another vbscript i came across that does same thing so thought id post it too as i dont know which one i would need if i wanted to use it as a pb dll [once converted of course] and i still have no clue on how to convert it.

Option Explicit ...
by TimeSurfer
Sat Apr 12, 2008 7:40 pm
Forum: Coding Questions
Topic: Help with vbscript for changing xp key
Replies: 9
Views: 2207

Help with vbscript for changing xp key

can anyone convert this for pb4 i have tried but im too much of a newb lol,
its supposed to allow you to change the xp product key, i get the jest of it but i have no clue how to convert this code for use as a dll.


' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the ...
by TimeSurfer
Wed Mar 26, 2008 8:28 pm
Forum: Tricks 'n' Tips
Topic: DDE for PureBasic
Replies: 15
Views: 9329

Global WhoIAM.sGlobal DDEServerName.s DDEServerName = "TestServer"Global DDETopicName.sDDETopicName = "PUREBASIC_DDE_TOPIC"Global idInst.lGlobal isRun.l#XCLASS_BOOL = $1000#XCLASS_NOTIFICATION = $8000#XTYPF_NOBLOCK = $2 #XTYP_CONNECT = $60 | #XCLASS_BOOL | #XTYPF_NOBLOCK#XTYP_DISCONNECT = $C0 ...
by TimeSurfer
Wed Feb 27, 2008 6:36 am
Forum: Coding Questions
Topic: DLL to change WMP visulizations on the fly.
Replies: 6
Views: 1841

can anyone give me any insight on how to port those over to pb so i can use them. I'm not wanting anyone to do it for me, but some help would be greatly appreciated as i have no idea where to start. So far all i have determined is which interfaces i need to use. I just dont know how to use them lol.
by TimeSurfer
Tue Feb 26, 2008 9:35 am
Forum: Coding Questions
Topic: Problem with SendNetworkString and ReceiveNetworkData
Replies: 6
Views: 1490

thanks guys, got it working lol my problem was with my if statements. But you were right too heathen case 1 should be case 2.
by TimeSurfer
Sun Feb 24, 2008 6:10 am
Forum: Coding Questions
Topic: Problem with SendNetworkString and ReceiveNetworkData
Replies: 6
Views: 1490

i found a way around that issue using a combination of peeks and pokes but now i have run into another problem.

my server code seems to work fine. now its this thats being a pain, it connects, sends the string but its not recieving the string thats sent back and ive checked the connectionid's over ...
by TimeSurfer
Thu Feb 21, 2008 1:28 am
Forum: Coding Questions
Topic: Problem with SendNetworkString and ReceiveNetworkData
Replies: 6
Views: 1490

Problem with SendNetworkString and ReceiveNetworkData

Im having a problem using RecieveNetworkData on the serverside [so far] I send a string from the client via SendNetworkString and when i try to retrieve it using ReceiveNetworkData on the serverside it comes out all garbled except the last character. [basically it looks like null spaces to me or ...
by TimeSurfer
Fri Feb 01, 2008 10:06 am
Forum: Coding Questions
Topic: irc procedures example help plz
Replies: 0
Views: 902

irc procedures example help plz

InitNetwork()

Global ConnectionID.l
Global NewList RecText.s()

Procedure IRCConnect(Server.s, Port.l)
Connection = OpenNetworkConnection(Server, Port)
If Connection <> 0
ConnectionID = Connection
EndIf
ProcedureReturn Connection
EndProcedure

Procedure IRCUseConnection(Connection ...
by TimeSurfer
Fri Feb 01, 2008 2:55 am
Forum: Coding Questions
Topic: DLL to change WMP visulizations on the fly.
Replies: 6
Views: 1841

well i downloaded the sdk for wmp10 last night and have been going through it although alot of it is hard to understand cause im not a c coder but i have found the IWMPEFFECTS and IWMPEFFECTS2 are the 2 interfaces that control visualizations but more over what i was looking at in the sdk was the ...
by TimeSurfer
Thu Jan 31, 2008 10:59 am
Forum: Coding Questions
Topic: IWMPEFFECTS - WMP10 SDK -- help
Replies: 0
Views: 746

IWMPEFFECTS - WMP10 SDK -- help

does anyone know how i can use this in pb4 i just started learning pb but i could really use this as i need to make a dll that can use EFFECTS.nextEffect and EFFECTS.previousEffect so that i can change the visualizations in the ams7 wmp object.

you can get/view the sdk at
http://msdn2.microsoft ...
by TimeSurfer
Thu Jan 31, 2008 10:11 am
Forum: Coding Questions
Topic: Non Halting Timer
Replies: 6
Views: 1202

baldric thank you so much that is exactly what i was looking for

KUDOS