Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Need Help About VB Script in Outlook Form Design..

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,81
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need Help About VB Script in Outlook Form Design..
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Need Help About VB Script in Outlook Form Design.. - 6/1/2001 6:31:05 PM   
  bobchan

 

Posts: 2
Score: 0
Joined: 6/1/2001
From: Hong Kong
Status: offline
Hello!

Someone can tell me how to write a VBScript to auto change or force a textbox field to uppercase in a outlook form? I just know the command "UCASE" ^^... Please for example if you can.

Regards,
Bob Chan

WWW
...@_@...
w
 
 
Post #: 1
 
 Re: Need Help About VB Script in Outlook Form Design.. - 6/1/2001 11:46:23 PM   
  dougc

 

Posts: 12
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
Hi Bob,

I don`t knowin outlook forms but in HTML you will write something like this

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="vbscript">

Sub toUpper
words=ucase(document.form1.textfield.value)
document.form1.textfield.value=words
End Sub

</script>

</head>

<body bgcolor="#FFFFFF">
<form name="form1" >
<input type="text" name="textfield" onBlur="VBScript:toUpper()">
</form>
</body>
</html>

Regards,
Doug

(in reply to bobchan)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need Help About VB Script in Outlook Form Design.. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts