Answer Questions
The.B Preventing screen flicker when using opacity
The first time you change the opacity on a form (through code) the screen flickers, but any subsequent opacity changes while the form is still alive are smooth. Why is this Im trying to write some simple code to fade my app out when it&nb ...Show All
FrankHsu Threading
Hi guyz.. I need some help on threading.. Ok i already created a delegate and attached a method to it, and i invoked the delegate. Now that the sub routine is running on a seperate thread in the thread pool i need to call a another&nb ...Show All
JayScott How to check whether up/down button was clicked on the NumericUpdown Control...
Hi Friends, I would like to know that how to check whether up/down button was clicked on the NumericUpDown Control in .NET 2005. Any help would be greatly appreciated. With warm regards, KEDAR There isn't an easy way to know specifically when a button is clicked. Remember that the number can change any number of ways - clicking the button is only one. Depending on what you are trying to do, ...Show All
Steve McAlpin Focusing on Excel started with process.start
This works fine proc.StartInfo.FileName = "excel" This opens excel but stays in the background and I can't get it to come to the front. How do I get the focus to it like above proc.StartInfo.FileName = "c:\testexcel.xls" Thanks ...Show All
nou2006 How to display welcome screen
Hello everyone, i don't know if anyone has posted this query before, but anyway here it is: H ow do they display the starting screen(or sort of a welcome screen) in Windows forms applications, for eg. in Adobe Acrobat the starting screen shows the 'loading plugins' details and an image appears, or in Visual Studio a starting picture is displayed. It's there in games also. Is that starting screen also a Windows Form Or is it something els ...Show All
lodjikz DatagridView - Cursor in the Last Column ?
Hi ! I use VS 2005 (no beta) how to know if the cursor is the last visible column Consider that there are many invisible columns and the user can change the position of the columns. Thanks in advance ! Best regards, Joao Araujo There are some support methods on the column and row collection classes that help with this. Here is what I would do: int colIndex = dataGridView1.CurrentCellAddress.X; ...Show All
Gaoqiang Paging Problem in Data Grid (Using Asp.Net with VB.Net)
Hi all, I am Showing some record in Data Grid, Data grid have also Edit and Delete Button, I also use Paging for Data Grid ( 10 Record per Data Grid). Problem is that, Suppose i have 11 record, and i am on Last page where only 1 record is showning, when i delete this last record,it gives the error "Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount in ASP.Net". I think it is Paging Error, but i not Resolve that..... ...Show All
MBursill Can a control access the DOM?
Is there a way I can reference objects within the HTML in which my control is embedded I'm developing a user control and marking it for COM Interop so I can embed it as an ActiveX control. I would like it to be able to&nb ...Show All
Bransam72783 Design Question
I'm working with a team developing a large application. This application has multiple "modules". We want to have a single form load these different modules, one at a time. We are also very concerned about memory and don't want to have controls instantiated that aren't being used. Would creating the "modules" in user controls and loading the user controls on a panel be the best route What are the implications of the tab contr ...Show All
JoeCousins .NET skips graphic updates
Hi, (VS 2005/C#) I have a form with two objects: 1. DataGridView object with scrollbars 2. UserControl object showing an OpenGL animation in a separate thread using the BackgroundWorker component. The animation updates every 10th ms and it works fine. But when I move the scrollbar of the DataViewGrid the animation hobbles severely (design time). I have verified that the animation thread still invokes the Invalidate() method every 10th ms! So th ...Show All
Chris Treadaway MSFT printable section on a VS2005 winform
hiya, I have a winform that contains a list of products in a gridView. I want to be able to print this section in A4 size.(so that it can be viewed by the delivery drivers) I was wondering what the best approach was.Should I pipe the data into a word doc, or is there a way to be able to print a section of the form as A4 size I was hoping that there'd be a sample app out there that I could gather ideas from, but I haven't found it yet :-( many ...Show All
Bart.NET Date Time Picker
Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Hi, Can i do the substraction of the hours in the List View column Ya thanks, i had got what i wanted to display in the List View now. But allow me to ask another questions regarding to the List View items. In the List view items, i have four colums of 'TIME_IN', 'TIME_OUT', 'DATE', 'TOTAL_HOURS'. H ...Show All
GordonW Getting Bindings
upfrontinfo = (XP Sp2 | VC# Express Beta2 | SqlExpress Beta2) I have a form with many controls, several of which are TextBoxes. The TextBoxes are bound to a SqlExpress Database using a DataSet, BindingSource and TableAdapter. Everything works fine as far as&n ...Show All
niupigege Design Time Reflection
Hello. I'm creating a custom control with desing time support. For a property MyItems that is a collection of BaseItem's, I need to allow the user to add as many items he wish on a form I created (all in design time). The problem: I have a number of classes that derived from BaseItem, and I want that the user will be able to select from a combobox all optional elements by using reflection of some sort, so that we I create a new BaseItem ...Show All
Matt_Garven adding a control to a derived control
hello everybody i want a datetimepicker that has one field for handling a date and one for handling the time. so i created a datetimepicker derived from the original datetimepicker. now ic want another datetimepicker to be drawn right besides the other ...Show All
