Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Passing A Vbscript Variable To Html
Old 03-10-2005, 07:42 PM Passing A Vbscript Variable To Html
Junior Talker

Posts: 3
Trades: 0
Hello.

Can some one illustrate to me how to achieve the following as simply as possible.

I have an html page.

In this page I have some VBSCRIPT code ....

<script language="vbscript">
<!--
Set objnet = CreateObject("WScript.NetWork")
user-is = objnet.username


But how in terms of code, do I now display the contents of this varibale onto my HTML form. So in other words is would look like this

User Name = HG363


====VERY NEW TO HTML, so please keep make it / keep it simple.
Please advise. Hinesh Ghelani.
hg363 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-10-2005, 08:30 PM
Phaedrus's Avatar
Ultra Talker

Posts: 271
Location: CA
Trades: 0
document.write(user-is)
__________________

Please login or register to view this content. Registration is FREE
Phaedrus is offline
Reply With Quote
View Public Profile
 
Old 03-11-2005, 09:09 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Just checking, but you are writing this for people that you know will be using Internet Explorer (i.e. corporate intranet)? Other browsers don't support VBScript so you'd be ignoring a significant portion of users by implementing it
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-22-2005, 03:41 PM HTML and VBSCRIPT
Junior Talker

Posts: 3
Trades: 0
OK, can some one out there help me with the following.

Logically I want to achieve the following, but coding wise I have no idea how its done.

I enter a value in an html page, so lets say H505050 and then click a button. This much I am able to code.

But and its from here on that I need help.

I then want to open a seperate file called test.vbs and have this value (h505050) carried over into my .vbs file

so in other words, lets say that the code in the .vbs file is


strcomputer = h505050

a) Is this possible?
b) If so please, please can some one show me with a simple example how it can be done.

Please feel free to email me at h.ghelani1@rbh.nthames.nhs.uk

Very new to html, so please make it simple and instructive. thank you very much.

Who ever assists me first, I will send them a xmas card....
hg363 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Passing A Vbscript Variable To Html
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.98474 seconds with 12 queries