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 


popup windows and help file,passwords?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 7:45 pm    Post subject: popup windows and help file,passwords? Reply with quote

hello all

i woould like to find code for the following this:

1. how to make a pop-up window with buttons ( like a about box)
2. how to make help files?
3. how you guys make a file be password? so that you have to enter the right password in before the exe runs?
4. i have seen with other program they have a mail link so when a person click the about button. they can click on a e-mail link ( whick calls up the outlook express) i have try adding a mailto: but can't get it work right


thanks
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Aug 03, 2002 7:55 pm    Post subject: Reply with quote

This is for a password: (this must be on the first lines)

Code:

%%password = password
if @not(@equal(@input(What is the password???,,PASSWORD),%%password))
  exit
  end


Use this if you want to send a email:

Code:
shell open,mailto:"email@email.com"


You can make a pop-up box with the MessageBox Designer tool
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 8:05 pm    Post subject: coool Reply with quote

for the e-mail tho what is the code for the txt tho? meaning what you put in the box?like a clickable link.you follow what i mean?
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 03, 2002 8:21 pm    Post subject: Reply with quote

Here is code for an about box:
Code:
title About
  DIALOG CREATE,About,-1,0,159,108
  DIALOG ADD,STYLE,LINK,,,U,,BLUE
  DIALOG ADD,TEXT,Yourlink,16,13,,,Your link,,LINK,CLICK,HAND
  DIALOG ADD,BUTTON,OK,68,48,64,24,OK
  DIALOG SHOW
  :evloop
  wait event
  goto @event()
  :yourlinkclick
  warn your link was clicked
  shell open,"mailto:address@domain.com?subject=your subject&body=e-mail text (the parameters after the '?' are optional.)"
  goto evloop
  :okbutton
  :close
  exit


Note that you can use the format for sending e-mail like "mailto:address@domain.com", but make sure you put quotes around the mailto and address to prevent errors.

For help files, the easiest thing to do is to download Microsoft's HTML Help Workshop and write HTML files for the help, then compile into an HTML help file...

Hope this helps. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Sat Sep 28, 2002 11:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 8:43 pm    Post subject: great Reply with quote

wow thanks Smile

can help link and file be done? or vds can't do that? or would i be better off making a window that has the help text in it?
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 03, 2002 8:56 pm    Post subject: Reply with quote

VDS is not capable of making help files, but you can download the Microsoft HTML Help Compiler and editor from their web site, http://www.microsoft.com . Download that and try it out, it is really easy to create help files with it.

To launch a help file from you script, use code like:
Code:
shell open,yourfile.chm

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 9:22 pm    Post subject: hummmm Reply with quote

great now if i can find it on there dumb web site Smile

thanks all for the help Smile
Back to top
View user's profile Send private message
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Sat Aug 03, 2002 9:27 pm    Post subject: Reply with quote

tim6389,

here's the link to the download site

http://www.microsoft.com/downloads/release.asp?releaseid=33071
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 9:28 pm    Post subject: hummmmmm Reply with quote

hummmmm i'am lookig on there web site and i don't see it? is the program free? and what is it under?

thanks
Back to top
View user's profile Send private message
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Sat Aug 03, 2002 9:33 pm    Post subject: Reply with quote

At the bottom of the page you'll see the download links:

Download Now HelpDocs.ZIP - 1,349 Kb <- instructions
hhupd.exe - 717 Kb <- update to html help 1.32 (do not dowload for windows 2000 or xp)
htmlhelp.exe - 3,426 Kb <- the html help compiler program
htmlhelpj.exe - 1,412 Kb <- the html help compiler program for java


yes it is free
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sat Aug 03, 2002 9:49 pm    Post subject: ohhhh Reply with quote

i post that BEFore i new you had posted a link

thanks again guys Smile
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Aug 04, 2002 5:19 pm    Post subject: Reply with quote

FreezingFire wrote:
Here is code for an about box:
Code:
title About
  DIALOG CREATE,About,-1,0,159,108
  DIALOG ADD,STYLE,LINK,,,U,,BLUE
  DIALOG ADD,TEXT,Yourlink,16,13,,,Your link,,LINK,CLICK,HAND
  DIALOG ADD,BUTTON,OK,68,48,64,24,OK
  DIALOG SHOW
  :evloop
  wait event
  goto @event()
  :yourlinkclick
  warn your link was clicked
  shell open,"mailto:address@domain.com?subject=your subject&body=e-mail text (the parameters after the '?' are optional.)"
  goto evloop
  :okbutton
  :close
  exit


Note that you can use the format for sending e-mail like "mailto:address@domain.com", but make sure you put quotes around the mailto and address to prevent errors.

For help files, the easiest thing to do is to download Microsoft's HTML Help Workshop and write HTML files for the help, then compile into an HTML help file...

Hope this helps. Smile



that code kind of works, what i mean is when i click the ok it exits the program SO i put a goto statement at the end of instaed the goto will call the beginning of the program, this works BUT if i click other button first then click on exit button this about box flash open then the program exits Crying or Very sad i don't know why yet
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Aug 04, 2002 6:45 pm    Post subject: Reply with quote

Ya might wanna check this child window example (there's
always an extra event that must be captured when closing
child windows).

http://www.vdsworld.com/forum/viewtopic.php?t=98

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Sun Aug 04, 2002 6:48 pm    Post subject: ahhhh Reply with quote

ahhhh ok i think i follow you ...thanks for the link
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 -> 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