| | |
to stop window minimization automatically
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 34
Reputation:
Solved Threads: 0
Hi Friends
I am using crystal report, when i click button1(for switcing to print page) so the printing form becomes infront, but when i click on print button of that form & get printout,imidiatlity that form become minimize & hides on task bar
but it's necessary that form must be there & tere is a button(close) on that form when i click on that than form must be close or minimize, Not automatically
please help me to solve this problem
I am using crystal report, when i click button1(for switcing to print page) so the printing form becomes infront, but when i click on print button of that form & get printout,imidiatlity that form become minimize & hides on task bar
but it's necessary that form must be there & tere is a button(close) on that form when i click on that than form must be close or minimize, Not automatically
please help me to solve this problem
Not sure how this works with Crystal Report, it works with "normal" forms. Trap Resize event and if minimizing, set WindowState back to normal
VB.NET Syntax (Toggle Plain Text)
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize ' If Me.WindowState = FormWindowState.Minimized Then Me.WindowState = FormWindowState.Normal End If End Sub
Teme64 @ Windows Developer Blog
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Format Number
- Next Thread: Problem in deployment
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2008 access add application arithmetic array assignment basic binary box button buttons center click code combo combobox component connectionstring convert cpu data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall folder image images isnumericfuntioncall login math memory mobile module ms msaccess mssqlbackend mysql navigate net opacity pan peertopeervideostreaming picturebox picturebox1 port print printpreview problemwithinstallation project record regex reports" reuse right-to-left save savedialog search serial sorting sqldatbase storedprocedure string temp textbox timer txttoxmlconverter updown useraccounts usercontol usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vbnet view vista visual visualbasic visualbasic.net visualstudio web wpf xml





