I am trying to implement a forms like model in flash mx 2004. I have two classes, Container and Component. The Container contains many instances of Component. Each time an instance of Component is instantiated I assign a method pointer to it that points back to a method on Container called...
I to am working on something like this. I have an instance where I create many controls onto the screen each at their own position according to an incoming communication. That communication specifies which control is to have focus initially without having to change the tab indexes on all the...
Thought I'd help anyone coming here, here is the code to parse strings into booleans.
Dim clause As String
Dim switch As Boolean
Dim scripter As New MSScriptControl.ScriptControl()
scripter.Language = "VBScript"
clause = "1 = 0"
switch = scripter.Eval(clause)
If switch Then...
Thanks so much for the leads!
Still undecided on whether to go with the script object idea or just break down and build a boolean expression parser. I've got a good model from an algebraic expression parser in one of my college text books so I may end up going that direction. Thanks for...
Yes a little bit. I have already written a version to do this but it is primitive. The function I wrote accepts a string, then splits it into a string array and then does a case switch on the operand. It then performs and If using the first and third operands using the operand which matched in...
I have a string that like this.
Dim switchClause As String
switchClause = "1 = 0"
I want to then use the switchClause in an If statement like this.
If switchClause Then
' Do something cause it was true.
Else
' Do something else cause it was false.
End If
The above doesn't work...
I have a combo box that each time the focus leaves it, it reverts back to what it was when the form loaded. Does anyone know what could possibly be doing this?
Does anyone know how to receive email programmatically in VB.NET? Or at least point me in the right direction. I found documentation on sending email in the System.Web.Mail namespace, however there are no objects or methods for connecting to a mailserver and checking for received email. Any help...
I have built a custom component which I call 'VComboBox'. This component is composed of a single label and an instance of Macromedia's builtin ComboBox 'FComboBoxSymbol'. I named the instance of the FComboBoxSymbol to 'comboObject'.
Now when I drag a copy of my component onto the stage and in...
Can anyone tell me how you can tell when the user presses the Insert key on their keyboard? I tried to use the KeyPress Event of my Form object, however the Insert key did not fire the event at all.
First of all I got mine fixed. It is returning recordsets, and return values now. So that being said I think it may be in your code somewhere. Can you post both your VB code and the Sproc that your using? I will run through them and see how they differ from mine. Right off I know I used the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.