Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2006, 03:07 PM
rich.peters rich.peters is online now
Registered User
 
Join Date: 01-31-2006
Posts: 8
Is there a way HTMLize a string?

I need to put some text into an html link to send an html email. Is there a way to expand a string so it converts a string to valid html?

thanks
Rich
Reply With Quote
  #2  
Old 02-24-2006, 05:09 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I'm not exactly sure what you looking for, but perhaps something like this would work:

<html>
<head>
<title>My page title</title>
</head>
<body>
<p>Here is my message with <a href="xyz.html">a link</a>.</p>
</body>
</html>
Reply With Quote
  #3  
Old 02-24-2006, 08:08 PM
rich.peters rich.peters is online now
Registered User
 
Join Date: 01-31-2006
Posts: 8
if
%LINK% = "file:\\\c:\program files\path with spaces"

this snippet

<html>
<head>
<title>My page title</title>
</head>
<body>
<p>Here is my message with <a href="%LINK%">a link</a>.</p>
</body>
</html>

doesnt expand into a usable link...
Reply With Quote
  #4  
Old 02-27-2006, 11:38 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Attached is one way (uses project script code based on http://www.planet-source-code.com/vb...43806&lngWId=1).
Attached Files
File Type: bld encode.bld (1.5 KB, 1433 views)
Reply With Quote
  #5  
Old 02-27-2006, 12:10 PM
rich.peters rich.peters is online now
Registered User
 
Join Date: 01-31-2006
Posts: 8
Wow,

thanks, thats just what I needed.
A newbie question... where is that vb script stored in the bld file? I dont see it stored in the script?

thanks
Rich
Reply With Quote
  #6  
Old 02-27-2006, 12:27 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.visualbuild.com/Manual/?scripteditor.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:55 AM.


Copyright © 1999-2023 Kinook Software, Inc.