Search results for query: *

  1. mvthakar

    Question System.Windows.Forms.Timer does not work in Release Mode but works in Debug Mode,why?

    Found solution! Never mind people! I found solution myself and here it is: It is happening because of .NET Framework 4.0. I changed it to version 4.5 and now it works.
  2. mvthakar

    How to get a variable's value after hiding a form?

    Solution The problem with your code is: Form1 frm1 = new Form1(); Above statement creates a new instance (object) of Form1 so the textbox txtPervasiveDBName will be newly created everytime the above statement is executed. You can store the Database name to be passed in Program.cs file. Create...
  3. mvthakar

    Question System.Windows.Forms.Timer does not work in Release Mode but works in Debug Mode,why?

    Hello folks, First Post. I'm using Visual Studio 2012 Express and .NET Framework 4.0. As mentioned in Thread Title, (System.Windows.Forms.)Timer works fine in Debug Mode but does not work in Release Mode. I googled it and found it might be getting collected by Garbage Collector (GC). If it is...
Back
Top Bottom