hacker
New Member
Banned
Posts: 7
|
Post by hacker on May 21, 2003 8:07:12 GMT -5
1) ok noob question 1, how do i check if a variable is null, i cant find it anywhere 2) I have a status bar, i can figure out how to make the bars increase (sbname.Value = "20") etc, but i was wondering what the event for the page loading is (with Webbrowser) like when the page loads, is there a value for amount of document completed, and how to get that value, (yes im working on a web browser ) Thanks
|
|
Tewl
xTeam
C# & VB Developer
Posts: 495
|
Post by Tewl on May 22, 2003 4:37:23 GMT -5
1. variables = ""
2. i dont think so
|
|
|
Post by AbsoluteGenius on May 22, 2003 7:41:41 GMT -5
1. IsNull
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
Syntax
IsNull(expression)
The required expression argument is a Variant containing a numeric expression or string expression.
Remarks
IsNull returns True if expression is Null; otherwise, IsNull returns False. If expression consists of more than one variable, Null in any constituent variable causes True to be returned for the entire expression.
The Null value indicates that the Variant contains no valid data. Null is not the same as Empty, which indicates that a variable has not yet been initialized. It is also not the same as a zero-length string (""), which is sometimes referred to as a null string.
Important Use the IsNull function to determine whether an expression contains a Null value. Expressions that you might expect to evaluate to True under some circumstances, such as If Var = Null and If Var <> Null, are always False. This is because any expression containing a Null is itself Null and, therefore, False.
2. Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long) On Error Resume Next ProgressBar1.Max = ProgressMax ' Progress bar above the browser ProgressBar1.Value = Progress ProgressBar1.Refresh End Sub
|
|
hacker
New Member
Banned
Posts: 7
|
Post by hacker on May 22, 2003 8:45:00 GMT -5
ty both of you ;D
|
|