Search results

  1. D

    Stepping through a program

    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...
  2. D

    Stepping through a program

    No, I wanted to get used to the standard VS IDE and figured that F11 (Step Into) would be the same as F8.
  3. D

    Stepping through a program

    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? Thanks
  4. D

    Destroying a class

    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? Thanks again.
  5. D

    Destroying a class

    I have a class that has timers and logic that I want to "Kill". Performing a TestClass = Nothing does not destroy it (calling it form a form). Any ideas? Thanks
  6. D

    Stored Procedure - Missing Parameter?

    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."...
  7. D

    Question Decryptor/Encryptor?

    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...
  8. D

    Timer not Firing

    You are correct sir, the .Enable was enough. I used the .Start and worked perfect. Thanks.
  9. D

    Timer not Firing

    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...
  10. D

    Timer not Firing

    Event Firing 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? 20 Lines...
  11. D

    Timer not Firing

    Timer Object Hi Tom, 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...
  12. D

    Timer not Firing

    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. Thanks, Dave Private WithEvents Dave As New...
Top Bottom