Ask a Question related to ASP.NET General, Design and Development.
-
Bill Priess #1
Re: how to use vbscript in .net code behind file
Why would you need to? Anyhow, in response, no, you cannot. The code behind
is for server-side processing and only supports VB.NET, C#, C++, J#, etc etc
etc. If you are wanting to use VBScript for server-side processing, stick
with ASP.
HTH,
Bill P.
"Jenet" <Jenet@yahoo.com> wrote in message
news:%23vaPqrHTDHA.1576@TK2MSFTNGP12.phx.gbl...> Is this possible? Is there any source code/link for reference?
>
> Thanks.
>
>
Bill Priess Guest
-
Why doesn't the Code Completion occur in FlexBuilder IDEwhen source code is in an external file?
I am seperating my .as from the MXML by using the following in my file.mxml: <mx:Script source="file.as"> When I edit file.as, the code... -
VBScript (ASP) Intellisense (Code Hints)
Does anyone have a way of including Code Hints (Intellisense) for VBScript code (ASP) in Dreamweaver? Thanks! -
Custom control fires event but ignores some code in the code behind file
I do not quite understand the question. I will merely point out that most programming problems happen for a reason. Code works the way it is... -
Save a file in UTF-8 format from ASP vbscript
I need to save a file in UTF-8 format from an ASP file. Using FileSystemObject I can only save them in Unicode (UTF-16, I think) but not in UTF-8:... -
change a file name from asp (rather vbscript)
As there is no change filename command in vbscript you have to take a diversion. According to aspfaq http://www.aspfaq.com/show.asp?id=2074 the... -
S. Justin Gengo #2
Re: how to use vbscript in .net code behind file
Jenet,
If what you really mean is: "Can I add vbscript to the html file that
asp.net sends to the client from the code behind file?"
Then the answer is yes.
You could attach the script to the page with the
Page.RegisterClientScriptBlock method.
You would then attach a call to the vbscript from a client object event (say
a button click) by adding the attribute to the button:
Button.Attributes.Add("onClick", "MyVbScriptFunction()")
I hope this helps.
--
S. Justin Gengo, MCP
Web Developer / Programmer
Free Code Library At:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Jenet" <Jenet@yahoo.com> wrote in message
news:%23vaPqrHTDHA.1576@TK2MSFTNGP12.phx.gbl...> Is this possible? Is there any source code/link for reference?
>
> Thanks.
>
>
S. Justin Gengo Guest



Reply With Quote

