Search found 12 matches

by szerda
Mon Nov 07, 2011 11:12 am
Forum: Coding Questions
Topic: help convert perl script to purebasic [solved]
Replies: 8
Views: 2131

Re: help convert perl script to purebasic

Thank you infratec again

this code working, *Buffer need shift 28 and i can read received string.

Code: Select all

MessageRequester("Info", PeekS(*Buffer+28))
Thanx
Szerda
by szerda
Mon Nov 07, 2011 7:19 am
Forum: Coding Questions
Topic: help convert perl script to purebasic [solved]
Replies: 8
Views: 2131

Re: help convert perl script to purebasic

Thank you your help infratec
i think it is work because the receive result size 442, so there are some data in *Buffer, but PeekS read nothing.
Why not, or how can i reed *Buffer data?
by szerda
Fri Nov 04, 2011 12:22 pm
Forum: Coding Questions
Topic: help convert perl script to purebasic [solved]
Replies: 8
Views: 2131

Re: help convert perl script to purebasic

here is my code that i try, but it is not work, no receive data and i don't known how can convert msg variable ( Protocol request, must be 28 bytes long )


;Protocol request, this must be 28 bytes long
msg.s="000007050000000100000000A4A1EFB8FFFFFFFF0000001C00000000"
len=Len(msg)
*memory ...
by szerda
Fri Nov 04, 2011 9:48 am
Forum: Coding Questions
Topic: help convert perl script to purebasic [solved]
Replies: 8
Views: 2131

help convert perl script to purebasic [solved]

I have a perl script, which read info from our NAS server, i try convert it to purebasic but not work, please help if somebody can.
Thank you.

#!/usr/bin/perl -w

use Socket;

my $data='';

# NAS UDP port number
my $nas_port = 22081;

# NAS IP address/hostname
my $nas_host = '192.168.1.1';

my ...
by szerda
Tue Mar 02, 2010 2:19 pm
Forum: Coding Questions
Topic: File already exists. How?
Replies: 18
Views: 5228

File already exists. How?

Hi!

Sorry my english.

i have a problem. i created a little app and when i click to saveas (in my program) my modified file, open savefilerequest dialog and write a new filename, but not check if the file is exist or not. overwrite it.
this is my save code:

BmpFile$ = SaveFileRequester ...
by szerda
Tue Feb 07, 2006 5:28 pm
Forum: Tricks 'n' Tips
Topic: Context Menu Item Shell Extension example (Windows)
Replies: 36
Views: 24084

Thanks El_Choni
i wait your reply, because i can't know how to do that
by szerda
Mon Jan 23, 2006 6:54 pm
Forum: Tricks 'n' Tips
Topic: Context Menu Item Shell Extension example (Windows)
Replies: 36
Views: 24084

Hi


i need some help: how can i add 2 or more line to context menu?

thanks
by szerda
Fri Sep 16, 2005 3:00 pm
Forum: Coding Questions
Topic: structure help
Replies: 9
Views: 2020

i found answer
i use tinman's double_linked_list
thanks everybody
by szerda
Fri Sep 16, 2005 8:34 am
Forum: Coding Questions
Topic: structure help
Replies: 9
Views: 2020

thanks

but how can i make that every fileList has an own barList?
barList in fileList

it is possible?
by szerda
Thu Sep 15, 2005 11:12 am
Forum: Coding Questions
Topic: structure help
Replies: 9
Views: 2020

thanks GedB

yes i know the structure is static

so my question: ther is any other way to creat it?

i tried use 2 list: 1 for file, and 1 for bar

structure filestr
name$
date.l
barcount.l
endstructure

structure barstr
start.l
end.l
endstructure

NewList file.filestr
NewList bar.barstr ...
by szerda
Wed Sep 14, 2005 2:11 pm
Forum: Coding Questions
Topic: structure help
Replies: 9
Views: 2020

structure help

hi first sorry my bad english

i want creat a structure orelse like this:

structure barstr
start.l
end.l
endstructure

filenum.l
file[filenum]
name$
date.l
barcount.l
bar.barstr[barcount]


so my question how can i make this
filenum,barcount : alwasy different and value's i will know when i ...