forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Some problems with INIREAD

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Tue Jan 11, 2005 4:08 pm    Post subject: Some problems with INIREAD Reply with quote

%1 = link1.url
inifile open,%1
dialog set,Link1, @iniread("internetShortcut", url)

This dont load the link1.url to EDIT1 MYBE but is empty
Back to top
View user's profile Send private message Send e-mail
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Jan 11, 2005 5:25 pm    Post subject: Reply with quote

If it is in fact a valid .ini file, then try including the program path before the filename:

%1 = @path(%0)link1.url

Cheers,

- Boo
Back to top
View user's profile Send private message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Tue Jan 11, 2005 7:44 pm    Post subject: Reply with quote

Nope

the file is there but dont load up

it only loads with

%1 = @filedlg("Internet Shortcut|*.url", "Select Link To Load")
if %1
inifile open, %1
dialog set,link1,@iniread("internetShortcut", url)

i want auto load up ???
Back to top
View user's profile Send private message Send e-mail
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Jan 11, 2005 9:30 pm    Post subject: Reply with quote

So where are the .url files located? In the program directory, or elsewhere?
Back to top
View user's profile Send private message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Wed Jan 12, 2005 6:23 am    Post subject: Reply with quote

In the program directory OK
Back to top
View user's profile Send private message Send e-mail
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Wed Jan 12, 2005 10:31 am    Post subject: Reply with quote

inifile open,@PATH(%0)link1.url
%%Link1 = @iniread("InternetShortcut",url)
dialog set,Link1,%%Link1
INIFILE CLOSE

ITS OK

now its working

to much the same % in the script

thanks anyway
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Jan 12, 2005 1:34 pm    Post subject: Reply with quote

hi filip,

i never use " " to access the contents of an ini file

Code:
%%content = @iniread(internetShortcut, url)


not sure if this will help

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Wed Jan 12, 2005 7:38 pm    Post subject: Reply with quote

Yes but i dont see any change

the code was manual converted from VDS 2 "Mate"
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group