Search found 43 matches

by muab256
Sun Nov 02, 2003 2:29 pm
Forum: Coding Questions
Topic: lines in file too long for string...
Replies: 8
Views: 2469

umm... =(

finally i was too quick believing it was the fault of purebasic ;/

sorry for that...

muab
by muab256
Sat Nov 01, 2003 7:24 pm
Forum: Coding Questions
Topic: gadgetlist not updating?
Replies: 6
Views: 1768

yes, i have a delay of 500 msecs in the loop....
i would be satisfied even if it would update every few seconds,
but not only if u "draw cirles" with the mouse over the
window =(
by muab256
Sat Nov 01, 2003 6:32 pm
Forum: Coding Questions
Topic: lines in file too long for string...
Replies: 8
Views: 2469

hehe, the problem was:

how to count it? ;P

so i loaded it with the editor...

but the better way was: look for the longest line in a file, delete the
others and read the filesize ;P
by muab256
Sat Nov 01, 2003 6:02 pm
Forum: Coding Questions
Topic: lines in file too long for string...
Replies: 8
Views: 2469

okis, so far (the peak) is 5023

thx

muab
by muab256
Sat Nov 01, 2003 5:57 pm
Forum: Coding Questions
Topic: gadgetlist not updating?
Replies: 6
Views: 1768

Code: Select all

Case 2
 Buffer = AllocateMemory(0, 1000, 0) 
 ReceiveNetworkData(ClientID, Buffer, 1000)
 x$=PeekS(Buffer)
 
 AddGadgetItem (0,-1,x$)
thx for ur help =)
by muab256
Sat Nov 01, 2003 5:53 pm
Forum: Coding Questions
Topic: lines in file too long for string...
Replies: 8
Views: 2469

umm.. im rather newbie....

id be satisfied if i could get the data... it wouldnt have to be
that 1 line is in one string if this would be easier to manage?
by muab256
Sat Nov 01, 2003 5:41 pm
Forum: Coding Questions
Topic: lines in file too long for string...
Replies: 8
Views: 2469

lines in file too long for string...

heyas!

have some problem here to process a (text) file.
some lines seem to be too long for beeing read (or placed into
a string)...

anybody knowing a workaround?

thx
muab
by muab256
Sat Nov 01, 2003 1:12 pm
Forum: Coding Questions
Topic: gadgetlist not updating?
Replies: 6
Views: 1768

gadgetlist not updating?

im writing a little monitor tool that sends a string to another pc
over network every 30 secs.

now i made the "receiver" hacing a window with listgadget.
every 30 secs it receives the string and should display it
by: AddGadgetItem (0,-1,x$)

my problem:

it does display the string _only_ if i move ...
by muab256
Thu Oct 30, 2003 9:35 pm
Forum: Coding Questions
Topic: getting own ip adress?
Replies: 4
Views: 2026

getting own ip adress?

heyas =)

is there a simple way to get your own (internet)ip adress?

ok, runprogram "ipconfig>temp.txt" then processing the temp.txt
might do the job, but it doesnt look nice...

im sure there is a simple command in pure basic (i dont know
of yet)...

ho knows? =)

thx
muab
by muab256
Thu Oct 30, 2003 9:04 pm
Forum: Coding Questions
Topic: very simple icq-replacement...
Replies: 2
Views: 1357

dammit!

now i feel really stupid (once again) =(

many thx anyway ;)

muab
by muab256
Thu Oct 30, 2003 8:44 pm
Forum: Coding Questions
Topic: very simple icq-replacement...
Replies: 2
Views: 1357

very simple icq-replacement...

heyas!

could anybody give me an initial idea how to begin?

basically i need to know (best with a little sample) how to
1) send a string to a certain ip
2) recieve a string sent to a certain port

umm... sounds way simple, but i have no idea =(

thx
muab
by muab256
Mon Oct 27, 2003 6:35 pm
Forum: Coding Questions
Topic: how to kill a process?
Replies: 3
Views: 3118

Kale wrote:Is this what you meant?
nearly =)

i need to kill "window-less" applications too...
so i need to kill a process by its "real name" (calculator.exe)

muab
by muab256
Mon Oct 27, 2003 5:22 pm
Forum: Coding Questions
Topic: how to kill a process?
Replies: 3
Views: 3118

how to kill a process?

heyas =)

how could i "kill" a running process (not my own app, but some
other app running)?

thx

muab
by muab256
Thu Oct 23, 2003 12:43 pm
Forum: Coding Questions
Topic: Port Scanner
Replies: 3
Views: 1724

not quite sure what u mean.. perhaps u mean this?:

port1$="1"
port2$=str(val(port1$)+1)

umm.. yes ;)

muab
by muab256
Tue Oct 21, 2003 8:15 pm
Forum: Coding Questions
Topic: freeing ram (aka ram defragmentation)?
Replies: 20
Views: 5807

think such feature loaded ram defrager are enough out there...
so here what i do:

a "screen saver" which will free up ram and set the disk cache very
high, and reduces cache/frees ram again when system is in use again =)

muab