I changed the Keyboard to VB6 in Tools > Options with the same result.
He's what happens.
* I put a break point on Line2. The app stops there and so far so good.
* I press F8 or F10 or F11 (tried everything) and the app returns an error on line8 instead of stepping to Line3.
The error is...
I'm trying to step through a program using the "Step Into" and I would like to do the same as F8 in Vb6. Execute the current statement and move to the next instruction.
What seems to happen though, is that the rest of the code is executed. Any ideas?
Great information. I really appreciate you taking the time, it's helped me out a ton. Works like a charm! Anything I should be weary of though when it comes to Garbage Collection? What happens if I re-create the object before the garbage collector has disposed of it?
Hey guys, I posted this in the ADO.NET but didn't get much response. I'm trying to run a stored procedure providing 1 input parameter and retrieving 2 output parameters. When I run this I get
"Procedure or function 'MESSP_Get_PLCKitColour' expects parameter '@KitNo', which was not supplied."...
This is what I use. Not perfectly secure, but works great.
Public Function Decrypt(ByVal strText As String, ByVal strKey As String) As String
'This function will encrypt or decrypt a string based on a key. Not sure how it works,
'but it does it pretty good job at...
The event will not fire if it is enabled by the DataReceived Event.
The event will fire if it is enabled by a button click event.
I can confirm that the DataRecieved event does enable the timer because I can display a message box displaying the status of the timer.
The the event in the timer...
The DataReceived Event is firing and confirmed by a breakpoint. I can also place a button on the form and display a message box Displaying that TimerWait.Enabled = True.
If I Place a button to enable the timer, it fires no problem. It almost seems like a thread issue?
I guess I'm trying to better understand the .NET framework and the objects that are available. What's funny is that if I perform display the status of the timer, it says "TRUE", it just isn't firing the event.
I'm still new to the interactions between objects depends on...
I'm trying to enable a timer from a SerialPort_DataReceived event. I can see that the timer is enabled, but the event does not fire.
It's rather simple, but I need some help understanding why it doesn't run the code in TimerWait_Tick.
Private WithEvents Dave As New...