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 


Compiling scripts incorporating DSU Files.
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Wed Jun 23, 2004 10:09 am    Post subject: Reply with quote

Many thanks once again for your help CodeScript.

Take care now.
regards
Andy F



CodeScript wrote:
Sorry I didn't test the code- it doesn't work.
I have updated the DSU with a close command.
Code:
Calendar Close,%%Calend


You can take a look at the examples at http://codescript.vdsworld.com
as well as platform sdk availble for free download from Micro$oft. To get the values of the constants used U can try the API constants collection for VDS available at main site.
Back to top
View user's profile Send private message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Wed Jun 23, 2004 10:23 am    Post subject: Reply with quote

Just tried the Close command with the DSU downloaded into the VDS Root directory but it did not work.
I noticed that the file was smaller than the latest one I had which you very kindly updated so I could use on a TAB dialog. Is it possible you have added the Close command to the older version that could not create the calendar on the TAB dialog Question

Regards
Andy F

CodeScript wrote:
Sorry I didn't test the code- it doesn't work.
I have updated the DSU with a close command.
Code:
Calendar Close,%%Calend


You can take a look at the examples at http://codescript.vdsworld.com
as well as platform sdk availble for free download from Micro$oft. To get the values of the constants used U can try the API constants collection for VDS available at main site.
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Jun 23, 2004 5:14 pm    Post subject: Reply with quote

I tested the very same DSU downloaded now on XP home (I have only that one here) and it works well on the TAB and closes too. So something wrong somewhere else I guess.

You need to use something like:

Code:
Calendar Close,%%Calend


AND NOT

Code:
Calendar Close,"%"%%Calend

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Thu Jun 24, 2004 11:47 am    Post subject: Reply with quote

These are the only two commands used for establishing the calendar and closing the Calendar:

#INCLUDE /REMS/Resources/Calelm.dsu

:CalcloseBUTTON
Calendar Close,%%Calend
Dialog Hide,Calclose
Goto Loop

:Calendar ONMenu
%%Calend = @Calendar(Create,@winexists(~TAB1),270,100,Auto,Auto,WEEKNUMBERS))
Dialog Show,Calclose
Goto Loop

The Calendar ONMenu works fine and Calendar is created. but the CloseBUTTON does not work.

The %%Calend variable is not used anywhere else in the script Confused

Can you see any thing Question

What other issues could affect this Question

Regards
Andy F



CodeScript wrote:
I tested the very same DSU downloaded now on XP home (I have only that one here) and it works well on the TAB and closes too. So something wrong somewhere else I guess.

You need to use something like:

Code:
Calendar Close,%%Calend


AND NOT

Code:
Calendar Close,"%"%%Calend
Back to top
View user's profile Send private message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Thu Jun 24, 2004 11:58 am    Post subject: Reply with quote

Can you set up the DSU for download again, maybe I have mixed up the new and old script. I only have one copy now on the system and will download to over write the one I am using.

Many Thanks
Andy F

CodeScript wrote:
I tested the very same DSU downloaded now on XP home (I have only that one here) and it works well on the TAB and closes too. So something wrong somewhere else I guess.

You need to use something like:

Code:
Calendar Close,%%Calend


AND NOT

Code:
Calendar Close,"%"%%Calend
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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