Paltalk Fast Admin Updated

You can talk about VB programming here

Postby locohacker » Sun Jul 23, 2006 10:16 pm


Man wha we need is to get a copy of paltalk 9.0 :) to see whas up
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby BattleStar-Galactica » Wed Jul 26, 2006 7:39 am

useful code :lol: a suggestion, instead of using file.txt to save admin code, use WriteProfileString and GetProfileString api

each time the programm loaded, call get and write when click button join. that doing you dont need button save 8)
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby locohacker » Wed Jul 26, 2006 1:01 pm

ah never use that berofe would that make it faster and more reliable :?:
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby BattleStar-Galactica » Wed Jul 26, 2006 3:15 pm

I don't know but if you dont have 1 mb data to store maybe u can think to use that function, habitually I use that to store some value for my setting programm. like save my last form position when is closed...and next time it will load at the same pos :)

Microsoft said this

In Windows NT, the value is stored to a registry key.

In Windows 3.x, the value is stored in the WIN.INI file.

In Windows 95/98, the value is stored in a cached version of WIN.INI.

it works like registry...key and value
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby locohacker » Wed Jul 26, 2006 6:23 pm

crap man it sounds complicated hehe :) but if it work wha hte heck i do it :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Postby BattleStar-Galactica » Wed Jul 26, 2006 9:07 pm

nope it's not complicated man, document on that function u will see..

example

set a key
WriteProfileString("fastjoin","code","mycode")

and read value of that key

GetProfileString("fastjoin","code","",myvaluereturn,mylength)
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby locohacker » Thu Jul 27, 2006 8:57 am

thas it, hehe damn I can defenetly do tha I think I know wha ya mean now :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4364
Joined: Fri Dec 31, 2004 6:59 pm

Previous

Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests