Ask a Question related to ASP Components, Design and Development.
-
Mark Findlay #1
VBScript: What is default function parm type - ByVal or ByRef?
I know this should be a no-brainer, but I am seeing odd results in my ASP
VBScript function calls with the passed parameters.
In VBScript, is the default for a function parm ByRef or ByVal? I am running
Windows 2000 Server, IIS 5.
For example: What would be the result of the response.write statement below?
'---------------------
function GetStringText(s)
s = "goodbye"
GetStringText = s
end function
dim sString, sOtherString
sString = "hello"
sOtherString = GetStringText(sString)
response.write(sString & sOtherString)
Mark Findlay Guest
-
What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?
I just don't get what the () after the sub name does...kind of stupid question, but it would be nice to understand it. Thanks. Kathy *** Sent... -
making php the default file type
I've got a client set up to use Contribute to edit a PHP site. When he creates a new page, the default file extension is .htm and it needs to be... -
Calling a jscript function in vbscript host without atrigger
Hello, I'm integrating the CyberSource credit card processing gateway into an Ultracart II shopping cart from Joe Scavitto. Everything with the... -
DataTable as parm to a WebMethod function?
According to MS, DataTable cannot be passed or returned by a Web Service. Try using DataSet instead. Aleksey -
How to set default to TRUE: Overrides Function OnBubbleEvent(ByVal source As Object, ByVal args As EventArgs) As Boolean?
Hello, how can I set the default value to TRUE of Overrides Function OnBubbleEvent(ByVal source As Object, ByVal args As EventArgs) As Boolean ?...



Reply With Quote

