-
- Invalidate and CPU Usage
by Assaf
- 9 Replies
- Last post
by TaylorMichaelL
- Hi all
I have created User control in WinForm C# ( RT) application and located it on a form.
I had needed to repaint the control every 10 sec and I did it by using a timer and in the Tick event I useed the Invalidate() method of the control.
It works good in the beginning but after sometime the peaks of the CPU usage at the time of repainting the control are becoming bigger and bigg
-
- Unnecessary Horizontal Scrollbars Appearing
by Yaakov Ellis
- 3 Replies
- Last post
by Yaakov Ellis
- I have a UserControl that contains a TableLayoutPanel . The TableLayoutPanel is set to Dock.Fill and AutoScroll = true . Scenario: The parent container of the UserControl is not tall enough to contain the UserControl. Expected : Vertical Scroll bars should appear. Horizontal scroll-bars should not appear. What is happening : Both Vertical and Horizontal scroll-bars are appearing. It seems that w
-
- DataGridView automatically adding columns I don't want !!?!
by JBalcerzak
- 3 Replies
- Last post
by timvw
- Hello -
I'm sure this is something simple, but I've got a databound DataGridView where I have several columns from the data source and some unbound columns like buttons and so forth. The problem is that every time I go to make simple changes through the column editor, I see that VS 2005 has added ALL the columns from the datasource to the grid - even columns that I already had in there. Whi
-
- Calculate time with int
by Andr&#
- 8 Replies
- Last post
by H. Tony
- Hi all sorry for asking, but how do i calculate time"hh:mm s" / int(pages) *100.
Gonna count the time of 100 pages...
big reggards!!
Thanks
-
- Base form for the Mdi child form
by zoomer
- 2 Replies
- Last post
by Fábio
- Hi,
I am working on the resolution independence for winforms. I have done very well with dock and anchor properties. I have repeated some code for my mdi child forms as below:
Type t = typeof ( Form );
PropertyInfo pi = t.GetProperty( "MdiClient" , BindingFlags .Instance | BindingFlags .NonPublic);
MdiClient cli = ( MdiClient )pi.GetValue( this .MdiPar
-
- PDF to JPEG
by jamesgwilson
- 2 Replies
- Last post
by YOY
- is there anyway that I can convert pdf to jpeg within the microsoft office, and if so, is there an addin that I can download
-
- Check for inactivity in .net
by cygnusx
- 2 Replies
- Last post
by nobugz
- How to check for user inactivity in a .Net application I want the program to do something after period of time in which user don't do nothing.
-
- Installing 5 different projects using single setup
by Vivekananda
- 3 Replies
- Last post
by PhilWilson
- Hi!
I am planning to create a setup project for 5 different projects. Each of them will need different launch conditions. And one of these projects is a web application. Is there any way in VS to integrate all these installations How can I check if Visual Studio SDK has been installed on the target machine Do I need to check for corresponding registry entries
-
- How to copy files into remote computers?
by D3siboy
- 5 Replies
- Last post
by H. Tony
- Hi everyone, I would like to know how to copy files to remote pc using VB. I have username and password for these computer. Also I might have to overwrite somefiles. I was wondering if anyone have anyideas Thanks
-
- Passing data between two combo boxes
by coolarian
- 2 Replies
- Last post
by Derek Smyth
- Hi,
I have scenario where I need to pass information from a combox on form1 to the combo box on another form2. I know I can pass the value member through constructor like:
form2 obj = new form2(valuemember);
obj.show();
Both the combo boxes has the same list of items, I need to directly display the member of form2 combo boxes to the same as sent from form1. Is there a way to ac
-
- OnPaint Overflow Exception
by Shajeel
- 14 Replies
- Last post
by TaylorMichaelL
- Hi I have a form with some controls, in it, most of them are labels, and a panel for displaying video and one of label is blinking using timer. sometimes i got an Overflow exception when a program is started and sometimes when label is blinking. this exception is random and not always thrown. when exception comes, it comes with quit and continue, and have detials of the stack trace, when continued
-
- webbrowser how to: proxy server settings
by Willie007
- 4 Replies
- Last post
by Willie007
- Hi,
i want ot use a webbrowser, but have to specify proxy server settings such as the name and port.
Is it possible to specify this with the webbrowser.navigate command
I know how to use the authentication data....
Code Snippet
If UserID.Length > 0 OrElse Password.Length > 0 Then
Dim Header As String = "Authorization: Basic " &
-
- Any J# Issues?
by bgrva
- 0 Replies
- Last post
by bgrva
- All,
I am evaluating a component library to be used in an application that is intended to be delivered using ClickOnce. This component is implemented in J#. Does anyone know of any issues with J# components deployed using ClickOnce
Thanks for you time,
-
- Calculations with nulls in the fields
by Dave721
- 1 Replies
- Last post
by Michael Letterle
- I have a very basic problem I think. I have an application where the user fills in a form, and within the form are two datagrids, one for labour costs and one for materials. if the user enters data into either of these, the values are saved in their respective tables. As material is not always required for a job, the saved total value for materials is zero and is saved as a null. My problem arises
-
- Repeat the DataGrid Header
by moconnor
- 2 Replies
- Last post
by Manan Thakkar
- Hi,
Does anyone know how to repeat the original header of a datagrid say every 10 rows
I have been able to add a new row as a header, with the same colors and all, just not the original text. It is for a long list and it will make it more readable.
Thanks in advance,
moconnor
-
- VB2005: Word-Doc in Webbrowser-Object - how to prevent typing in the document or generally how to get the word-object?
by peter556464
- 2 Replies
- Last post
by peter
- Hi, we have an application with a webbrowser-object which shows word-docs. These docs are copied from a server location to a temp-file in the client user-temp-directory. The name of the file is like 'FileToShow1" without extension to prevent webbrowser to ask "save or show ". The temp-files are deleted by closing the form with the webbrowser, so it's a "read-only" access t
-
- Mdi Parent & child
by sinusoftware
- 2 Replies
- Last post
by nobugz
- I am doing one project in visual basic express 2005. I am trying to use mdi parent & child form. i want to open one child form at a time. how can i do that. if i open child form same time i want to close other already opened child form.pls help me. very urgent.
-
- Creating a custom class using Form Components
by knji
- 3 Replies
- Last post
by nahguam
- Newbie here needs help.
I have a Form with a tabControl. Tabs are added onto the control when a user clicks on a tree node. Users can also close each tab, if not needed.
I want to dynamically create the content of each tab during run-time by pre-designing the tab page's content as a custom class. So for instance, in a custom class, I could have a 'Panel' as a parent object, within which al
-
- Is there a way to programmatically 'deselect' or 'un-focus' a control
by Jeremy Jarrell
- 1 Replies
- Last post
by nobugz
- Hi,
I'm implementing my own control which will contain other controls. The container control is derived from FlowLayoutPanel. I need to be able to have no more than one control selected (or focused) at a time. Programmatically setting the control as selected or focused is simple enough, but I need to be able to deselect when I choose to select other controls. I've not been able to figure out ho
-
- upgrading ur app
by pdawg
- 3 Replies
- Last post
by PhilWilson
- I use setup and deployment to build the install for my .net app... I want users to be able to download new versions of my app and have it upgrade (uninstall old app/reinstall new app or just modified files.. )
Is there a simple way to do this when i distribute a new version it just and run it on a machine running an old version, it just tells me another instance is already installed.
-
- CheckedListBox Class for .Net 3.0 -- where is it?
by FredSaw
- 2 Replies
- Last post
by FredSaw
- I am using a System.Windows.Forms.CheckedListBox, and went to MSDN to read up on its methods. There I discovered that there is a new CheckedListBox class for .Net 3.0, greatly redesigned from the one I'm using. I've installed .Net 3.0, but this newer control does not show in my VS 2005 toolbox. The one that's there is for .Net 1.1. Both versions are in files named system.windows.forms.dll accordin
-
- Help Required to access the values of the data table
by sweet_salt
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello,
I want to display the values of the datatable into a DataGridView. Can you pls help me to write a code which access each row of the table or each column of the table and their values...pls reply ASAP
waiting for your reply....
Thx a lot in Advance...
-sweety
-
- Newbie new form creation question?
by SI23
- 5 Replies
- Last post
by SI23
- Hi, I'm really new to c# so this may be obvious or stupid but.... I have a windows form application with a button on the mainform which when clicked brings up a new form where the user enters a name in a text box (the title for a set of data). The name the user enters is added to a list box on the mainform - say the name is 'car1'. What I'm then trying to do is create an instance of a form (carfor
-
- How to display data in textbox with 'TextMode' = 'password'?
by Aamir Iqbal
- 2 Replies
- Last post
by In Love With Dotnet
- hello all.
I am binding the controls(TextBoxes and Dropdowns) on an Asp.Net page.
Everything is working fine but the texbox with TextMod=Password is not bound;it is empty and no data in it.
Can anyone help me how to show the password in encrypted format(e.g.****) on the Asp.Net page.
I am using Asp.Net 2.0 with Sql Server 2005.
Thanks inadvance
-
- Problems with a DataGridViewImageColumn. Need advice
by Matt_Leaf
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I am currently having an issue refactoring some older code from .NET 2.0 VB.NET. I have written a ConsumptionGridView which inherits from DatatGridView. Within the contructor I try to add a column of type DataGridViewImageColumn. Then I bring in the image resource into the .Image property. What shows up is the "missing image" icon you normally see in Internet Explorer. The code I had be