-
- Three questions regrading webbroswer
by stige
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hey there,
I am using a webbrowser as a text editor and got 3 issues with it.
1. I want the webbrowser to have an image background. How can I do it
2. When i press Enter the cursor drops a paragraph. I wish I could make it just drop a line just as ***+Enter does. How can I do it
3.The control appears to have some padding and the text starts abit lower and to the rig
-
- Thread doesnt die after Gui window Closed
by drychlik
- 2 Replies
- Last post
by drychlik
- As I have stated before I am a java programmer learning the c# and I have discovered a new and intresting problem. I have a thread that updates some components with dynamic data. The thread is a while(true) loop. Thats my whole problem but my thinking is that it should die if the thread is in the same namespace as the GUI program.
Obviously this is wrong and probably not best practice. Wha
-
- User input changing databindings, datatable, etc.
by frac
- 3 Replies
- Last post
by Rong-Chun Zhang - MSFT
- If I have already had the designer create a datatable, dataset, and bindingsource - is it possible to use a variable to change the datasource used for those If so, what do I need to set or change
Thanks ahead.
-
- Option to cancel changes when moving to next record
by jaspercat
- 1 Replies
- Last post
by jaspercat
- I have a form that shows one record at a time, with a navigator to move between them. The navigator and the fields on the form are bound to a BindingSource, which has a DataSet as its data source.
I also have a DataGridView on the form, which displays related records for the current 'master' record.
I would like the user to be able to make whatever changes they liked on the form and the deta
-
- Tool Tip Control
by Balagangadharan
- 6 Replies
- Last post
by Yu Guo ¨C MSFT
- Hello All
I have a tool tip control
i need to show the tool tip text when the Controls get focussed (not focussing the mouse to control), the tool tip should visible when the cursor in Controls.(txtbox,combo box,datagridcells etc)
Please help me
Thanks in Advance
Balagangadharan.R
-
- onclick deploy question changing the folder location that is created on setup
by Ljhopkins
- 1 Replies
- Last post
by Kunal Mahajan
- How do I change the install folder location using a one click deployment.
I want to have a folder call production and all .net apps relating to production I want in that folder when i click start/programs/production/someappfolder
then the same for Operations
start/programs/operations/someappfolder
-
- Multiline Textbox scrolling
by Owen37
- 6 Replies
- Last post
by Owen37
- I'm using VB.Net in VS2005:
Is there any way to capture when a user scrolls a multi-line textbox (and find out how far they scrolled) I have two multi-line textboxes side-by-side on the screen and I want them to vertically scroll together (so that the top line is always the same number of lines from the top in both textboxes).
TIA, Owen
-
- Inherited TreeView adding/displaying double nodes
by spanky4_3
- 5 Replies
- Last post
by spanky4_3
- Hi everyone,
I have a control that inherits from TreeView. During some initialization code the control adds some nodes to its Nodes collection (as well as some dummy nodes under each root node to force the '+' sign to show). What I find is that when the treeview is displayed I get the root node list twice (everything is duplicated!). If I check myControl.Nodes.Count before and after being d
-
- Crazy checkbox issue
by shill1
- 10 Replies
- Last post
by shill1
- I have a windows form with a panel that contains a checkbox with the tab index set to zero. When the form loads the checkbox has the focus, but the outline of the checkbox text is not there until you tab away from the first checkbox then back.
Any ideas
-
- RowHeaderCell Change Selected Row Image
by CookingMonster
- 2 Replies
- Last post
by Bob zhu - MSFT
- Many thanks for the explanation for overriding the RowHeaderCell provided in this thread . Does anybody know how do I then change the Image for the selected Row Thanks, Mike
-
- how to restart machine ?
by Gopal Hatekar
- 3 Replies
- Last post
by Gopal Hatekar
- Hi, how to restart the machine after setup is completed
-
- Click Once Deployment
by Rahul Moray
- 1 Replies
- Last post
by Kunal Mahajan MS
- I am working on a Desktop application (Client - Server).
We have to maintain 3 versions of the published application. One for Development, the other for QA Testing and the third for UAT. All these 3 version are deployed on 2 different Servers.
Now, Can I install the application from all these 3 servers and have them exisiting simultaneously on my desktop. That way I can log into any version
-
- ClickOnce: Problem with COM object and Manifest
by Richard Guion
- 6 Replies
- Last post
by Bruce Lee
- I'm setting up my first project with ClickOnce. Everything was installing fine until I added a COM dll in the package. I clicked on the COM object in the references, set Isolated=True, and it made it into the publish folder.
When it is installed, I received the Manifest parse error below about the enumeration constant failing for the apartment value in the threading model. According to MSDN thi
-
- Theme support for Windows Forms Application
by &#169&
- 5 Replies
- Last post
by Timo S
- I'm willing to try out some themeing in my C# application. I know that it's possible to create own "theme" by putting some code into draw event of the form but on the other hand it's not what I want. When I use it, the form is not so clear and beautiful because of flickering and other problems (Yes, I use double buffering). So is there any other way to create my own theme and use it in m
-
- Multi-line (merged) datagridview header
by Leon Tayson
- 3 Replies
- Last post
by Leon Tayson
- Hi All, How can I have a multi-line header with the top header row merged (see illustration below) ------------------------------------------------- | January | February | March | | Win | Loss | Win | Loss | Win | Loss | ------------------------------------------------- Team1 | | | | | | | Team2 | | | | | | | TeamN | | | | | | | ---------
-
- Problem with combobox and databound datagridview
by Lawrence Sutton
- 14 Replies
- Last post
by mafc
- Hi I have a datagridview that is databound to a table via a bindingsource and a DataGridViewComboBox column that is bound to a second table (both in the same dataset). I am dynamically adding the column to the grid. Dim viewcol As New DataGridViewComboBoxColumnviewcol.DataSource = _dsEquivalents.Tables(1) viewcol.DataPropertyName = "ViewName" viewcol.ValueMember =
-
- Make a cell unreachable in DataGridView
by bullpit
- 8 Replies
- Last post
by bullpit
- Hi,
I have a datagridview control in my application which is databound. One of the columns is DataGridViewComboBoxColumn. Since the datagridview is populated from the database, I get comboboxes for rows which are just blank (blank rows are a requirement). It doesn't look nice to have comboboxes in rows where all other cells are empty or irrelevant. I have only a few rows which are like this
-
- Can the BindingSource handle multiple branches of DataRelations?
by Thomas Corcoran
- 5 Replies
- Last post
by Thomas Corcoran
- .Net 2.0, SQLServer 2005, Visual Studio 2005, C#:
I have a DataSet containing more than one branch relating to the parent table, Company. Chaining BindingSources works admirably on the first branch:
this .m_bsCompany.DataSource = this .m_ds;
t his .m_bsCompany.DataMember = "Company" ;
this .m_bsCompanyPhone.DataSource = this .m_bsCompany;
t his .m_bsCompany
-
- OneClick Doesn't Work with Citrix?
by
- 2 Replies
- Last post
by Goose
- I've got an app coded in VS2005.
My intention was to have one central spot to OneClick deploy. Then, on each of our citrix servers, install the app. From there, anyone who has access to citrix will be sent to one of those servers and run the app on that server. The intent here is to have only the citrix boxes needing to be updated and not every user's PC. We have a situation where some us
-
- Adding non-text objects to a ListBox.... how ?
by ToddGibbs
- 4 Replies
- Last post
by ToddGibbs
- Hi Guys, Im trying to add a new userControl Ive created to a Listbox but it doesn't work. Im getting that feeling that Listboxes can only display text.. .is that right If so, whats the best way to display a vertical list (or stack) of objects These objects are rectangles with a label and 3 buttons in. (I want it to look similar to the layers window in Photoshop if you are familiar with that). An
-
- Problem finding the SourceDir with ClickOnce
by Marc Allard
- 3 Replies
- Last post
by Marc Allard
- Hello,
I have made a small application in VB.NET2005. This application will allow the user to select the modules and the parameters he want so the application cas install differents msi files.
So, for example, in the begining of my application, the user must choose if he want to install the Server part of my application. If he want to, he can choose if he want to install SQL Server Expr
-
- Rendering a form into an image
by nivanov
- 2 Replies
- Last post
by nivanov
- Hey everyone,
I'm trying to write a window switcher, similar to Mac's Expose or Vista's Flip 3D. I don't need any special 3d effects or smooth transitions.
My main task it to capture a form into a Bitmap object.
The only way I found to do that in .NET is to use Interop commands like GetDC, CreateCompatibleDC and CreateCompatibleBitmap. Then i do bit-copy and create a bitmap from handle, u
-
- Ensuring that all text in a button is visible.
by Itachi18
- 1 Replies
- Last post
by wjousts
- I'm looking to make sure that all (or a reasonable amount of) text in a button is visible. Does anybody have any way to detect how much of the text is visible, or how to code a relationship between text size and text amount In the worst case scenario, I would have to hard code it in - 0 to 10 characters do font size x, 11 to 20 characters do font size y, but I would rather have a more flexible wa
-
- Generics and constructor in an abstract class
by EvilPenguin
- 1 Replies
- Last post
by Evan H
- Hi, I'm creating an object-based configuration library using generics. I use an object (which extends the abstract class SettingsContainer) to pass the settings back to the application. My ConfigurationManager class takes a generic type of the SettingsContainer-derived class so it can create and return the object. In my SettingsContainer class constructor, I would like to take a reference back to
-
- Hidden Folder on Desktop...Where is it????
by Suzan2
- 1 Replies
- Last post
by Livery
- I hid a folder on my desktop (right click, properties, hidden). The folder did disappear, but now I don't know where to find it or how to put it back on my desktop. Any assistance is greatly appreciated!