Hi... I want to change the 'Opacity' property of my form when i move my form using mouse from one place to another while application is running. I want same effect as we can see when we get an exception while debugging any application in VS2005. We get one form & if we try to move that form its opacity chnges & that form becomes normal when we stop moving that form. My application is a MDI application & i want to change the Opacity of child Form. Thank & Regards, Vinay
IamHuM
Posts
-
How to change Opacity of a child form at runtime...? -
How to Create a Text Log file in C#...Hi... I want to create a Log file in my application. I want to use this log file to put the text received & transmitted on my PC serial port throgh my C# application. I am receiving large text on my PC serial port. Is there is any special class to create a log file in C#. I dont want my text file every time to open & close to write text in that file since i have to put data in that text file on every receive data event of my serial comport. How i can do this...? Thanks , Vinay
-
DatGridView ...Thanks... Can you tell me is it possible to add different combobox items to a different cells of a ComboBoxcolumn in a DataGridView...? Thanks for your Reply, Vinay
-
DatGridView ...Hi... If i want my datagridview control to show one column as combobox & other two columans as textbox. I want first two columan as read only textboxes for user & 3rd column is used by user to select the values by a Dropdown combobox... Is it possible to do this...How can i do this...? how can i add rows in DataGridView...? How i can add range of data in Combobox column...?Can anybody give me link for any good Documnet on DataGridView which explains this...? Thanks, Vinay
-
How to Add ToolStripButtons on a Child Form Dynamically...hi... In my MDI application , i have one child form(ChildForm) & object of that form i am adding on every click of one MenuItem(i have three Menu items- ManuItem1,Manuitem2 & menuItem3) in my parent form & on click of the MenuItems i'm making that form(ChildForm) as a child form of my parent & i am displaying that child form. Now i want that child form to have three ToolStripButtons & three events for that toolstripbuttons. i have added 3 ToolStripButtons while making that ChildForm initiallly only. I have made them public also but they are not available when i want to access them in my ParentForm class. I am clicking each MenuItem & declaring object for childForms. I am able to dispaly the form but i am not able to access those ToolStripButtons. I have a RichtextBox as other Control on that Form. How i can do this...? Thanks & regards, Vinay
-
CheckListBox ...selct singlr itemhi.. How i can select single item in a CheckListBox... I want to eneble it or disble it or i want to check it or uncheck it... Thanks in adavance, Vinay
-
applicaion Exit problem...Hi... In my application , i am creating a project which gives me a dll file i am using that dll in other project. I had added dependency for my application properly. From my windows application project i am starting some threads which are there in dll file. But when i exit my application...only my windows are getting closed(Forms) but my application is running in PC. Why my application i still running although i am exiting the application...? Is i something with dll...? Thanks in adavance, Vinay
-
How to Select all items in CheckedListBox with an itam in a CheckedListBox ...Hi.. Actually i dont know number of items are there in that CheckBoxList so can you tell me how i can use foreach loop for my CheckBoxList. How i'll get collection of items in that CheckBoxList. Regards, Vinay
-
How to Select all items in CheckedListBox with an itam in a CheckedListBox ...Ok...Can u tell me if i give a single CheckBox(say 'Selct All') outside this CheckBoxList then How i can select all ites in CheckBoxList on selction that CheckBox(Selct All). Thanks for all your replies, Vinay
-
How to Select all items in CheckedListBox with an itam in a CheckedListBox ...I have to make this type of application.... since that is the requirement...so can u tell me ... How i can do this...? Regards, Vinay
-
How to Select all items in CheckedListBox with an itam in a CheckedListBox ...Hi... How i can select all items in a CheckedListBox on selction of a first CheckedListBox item...? Items in CheckedListBox are as follows- 'Selct All' First Item Second Item Third Item So on click of 1st CheckedListBox item(SelectAll), i want to select all items...How i can do this...? Thanks in adavnce, Vinay
-
MDI apllication problem...Hi, I am developing a MDI application. In this application on click of some menu items I have to display some forms(say MenuForm1, MenuForm2, MenuForm3) with some data. But at the same time I want one form(say BackGroundForm) which is a child form of my MDI application should be active in the background of the form which gets displayed on click of some menu items. If I declare those forms(MenuForm1, MenuForm2, MenuForm3) as child & if I pop them up using ‘show’ then for 1st time they are visible in my application but next time if I click that menu item then they are not visible. Same problem I’m facing if I don’t make them as child of my MDI & pop them up using ‘ShowDialog’. I am hiding forms(MenuForm1, MenuForm2, MenuForm3) on click of a button which i placed on same forms(MenuForm1, MenuForm2, MenuForm3). I want that ‘BackGroundForm’ in my application because I want to put some button controls on one form & that form should be active all the time until the application is running. So I had put some buttons in this BackGroundForm & I cant put buttons on MDI parent form . How I can solve this problem in my MDI application…? Thanks in advance, Vinay
-
How to Check for Serialport status...?Hi... How i can check Serailport status...? Means whether another application is using that serialport or not...? In my application, if i dont check this & if some other application or hyprterminal is using same comport then my application is crashing... Thanks in advance, Vinay
-
getting a string from dll & printing it on richtextbox...Hi... I want to read a string from a dll & i want to print it in a rich text box on windows form. How can i do this...? How i can define a function which will return a string in dll file so that i can call that function from my form class & get the string to display on form...? Thanks, Vinay
-
Table or Datagrid...i am new in C#. So while going through some document i came to know that we can use table(table means 'tableLayoutPanel') & DataGrid(DataGridView). But since i want user should not enter wrong values i am confused which one to use & how to use...? Can u suggest me any document to learn it. I am using Visual Studio 8. Thanks, Vinay
-
Table or Datagrid...Thanks for reply... But i am not using ASP.NET & i am using .NET 2. In my application i just want to set some parameter valuse to new values & at the same time i've to display old valuse on form with table/datGrid (old values i'll read from SerialPort communication & display it in 2nd column). My 1st column will be my parameter name & last column will be new vallues entered by user. On another button click event , i've to send those new values on serial port. Thanks, VInay
-
Table or Datagrid...hi.. In my application on a form , I want to list some paramter values as old & new. User entered values should be there in new column. But in c# we can use 'table' & 'DatGrid' for this. So which one is better for my application as i want user to enter those parameter values in a perticuler range only. Can i give dropdown combobox in table or datagrid so that user can select with only values given in that combobox. Can i do it with both Datgrid & table. Can any body give me any good document to do this using datagrid/table in c#. Thanks in adavance, Vinay
-
Command for EchoOff & EchoOn in C#...?Hi... What is the command for 'EchoOff' & 'EchoOn' in C# for SerialPort communication in C#. Regards, Vinay
-
Thread taking maximum CPU time-Hi... Here is complete code what i am doing... private void ComportThread() { for (; ; ) { if (MsgQueue.Count > 0) { string firstItem = (string)MsgQueue.Peek(); comport.Write(firstItem); MsgQueue.Dequeue(); } } comport is object of serialport class & MsgQueue is object of Queue... can u tell me now what is the probelm exactly... Regards, Vinay
-
Thread taking maximum CPU time-hi... In my application , i'm using a thread to check for Queue contents. If i have any data then i have to transmit/receive that data. But my application is taking maximum CPU time if i'm using infinite for loop in this thread & because of this my CPU is using maximum time for my application(around 95%). & if i'm not using this for loop i am not able to transmit/receive whatever data is there in queue. private void ComportThread() { for (; ; ) { //Check for queue contains, if data is there then trnasmit/receive } } What is the problem...? Thanking you, Vinay