-
- Propertygrid input validation - built in attribute?
by MedicineMan
- 3 Replies
- Last post
by MedicineMan
- I am using the propertygrid as normally. I would like to do some input validation so that if I have a property called "percent", I can validate that the user has input a value between 0 and 100. If the input is outside of that, I would like to display an error message, or coerce the value. Later on, I will experience a similar problem when validating the input of an ip address. I have be
-
- Installer Custom Action now makes any application start my selected application!
by mshvw
- 2 Replies
- Last post
by mshvw
- Help! I experimented around with Windows Installer 'Custom Actions' and applied a text-editor called 'ProgrammersNotepad2.exe' when Uninstalling the installation....just to see what happens.... Now whatever icon on my desktop or program behind my START button is clicked, that application does NOT start but INSTEAD always the application 'ProgrammersNotepad.exe' gets started up!!! Even selecting 'M
-
- How to skip Columns when Columns is ReadOnly ?
by ERP1
- 4 Replies
- Last post
by Tamirro
-
- How to get an invisible WebBrowser's content as an image?
by andriscs
- 8 Replies
- Last post
by andriscs
- Hi, I have a WebBrowser object on my form. I'd like to capture its content as an image (capturing its client area). I managed to do it when it is visible but how can I do it if the WebBrowser is invisible Can I somehow get it as an image To get the client area that is in the memory I hope it can be worked out.
-
- Docking Order
by Demitrius Wheelwright
- 2 Replies
- Last post
by Demitrius Wheelwright
- Ok. Heres my problem. I have a panel, and inside the panel, I have a toolbar docked at the top. There is a button on that toolbar that adds toolbars programmically. So when I create new instances of the toolbar, I set there Docking property to TOP, because I would like the newly created toolbars to dock under the toolbars that are already there. But they dock on top of my 1st toolbar, and all that
-
- how to develop a taskbar
by Jassim Rahma
- 14 Replies
- Last post
by Vikas Verma [MSFT]
- i want to develop an application which will be like a ticker above the windows taskbar and i need to reserve a space so the windows dekstop will be -taskbar -my ticker
-
- Adding a TableAdapter to DataSet
by bpeikes
- 2 Replies
- Last post
by bpeikes
- Several questions: 1) If I have a Typed Dataset as part of my project, is there anyway to add a Table Adapter to an existing DataTable in the visual designer It seems to be greyed out. 2) I would ideally like to separate my dataset and tableadapters in separate classes. It there any way to do that using the visual designer 3) I drag a stored procedure onto the dataset and it creates a table and a
-
- Button Images
by Tyrael117
- 4 Replies
- Last post
by Bob zhu - MSFT
- I am trying to make a form that has buttons with images on them, but I dont want the silver button with an image on top, I just want the image. How can I do this Thanks, Tyrael
-
- PictureBox's image padding with sizemode Zoom
by rauhanlinnake
- 4 Replies
- Last post
by rauhanlinnake
- Hi! I have a picturebox, and i have quite large image on it. I have set the SizeMode to Zoom. When I resize the form the picturebox is located, the image is zoomed. So now, there is some "empty" space between the borders, at the top&bottom or at the left&right. Is there any build in way to get the padding inside the picturebox, which appears as empty space around the image
-
- Databindings mastered by a textBox...
by Tehkaal
- 3 Replies
- Last post
by Tehkaal
- Hi!
I'll be very thankful to all who can help me in following regard!
I am developing an application having a few textBoxes binded with an Oracle Database using bindingsource and dataset etc. What I need to do is if the data in a textBox changes, rest of the textBoxes' data should change accordingly automatically.
Example: If text of textBox1 changes by user, texts of textBox2, textBox3,
-
- OnMouseMove problem
by Cminor
- 5 Replies
- Last post
by Calvin16
- Good evening,
I have a form with numerous controls on it. I am trying to set an OnMouseMove event so that when the mouse is moved anywhere in the form, regardless whether it is moved over a control or not i can tap into that event. At the moment when i set a MouseMove event for my form it only triggers when i put my mouse on the form itself and wont trigger when i move over an element in m
-
- i have lost my disk cleanup icon help me please!!! there is some 1 who knows
by disk clean up icon is gone
- 1 Replies
- Last post
by element109
- hello i have lost my disk clean up icon and i need help geting it back any 1 with a link or someting please message in
-
- cannot run any clickonce app
by bitbonk
- 3 Replies
- Last post
by bitbonk
- I have tried to run several clickonce deployed applications from my work machine that work on my home machine. A all of them failed to download. After downloading started at some point it always get interrupted with the message: " The application files could not be downloaded. The provided files are corrupted" (translated from german). When I look at the log I see:
[code = language="text"]
-
- Dataset
by Ajaidas
- 2 Replies
- Last post
by Gavin Jin - MSFT
- How to navigate through the relational dataset in vs 2003 and How to update and inserte into parent table from in the textbox there id did't bind in textbox (auto increment)
At the same time how to update and inserte into child table from in the datagrid there id didn't bind in datagrid
similarly how to delete both parant and child table corresponding datarows
Please help me.
-
- Is TreeNode threadsafe?
by viswaug
- 12 Replies
- Last post
by viswaug
- Hi all,
Is the TreeNode threadsafe I am seeing some weird behaviour with the Treeview and the treenodes. I was trying to add treenodes asynchronously to the TreeView and the TreeView wouldn't update unless i call TreeView.BeginUpdate() and TreeView.EndUpdate() before and after the add.
Thank You,
Vish
-
- TreeView: Can ToolTipText Appearance be Controlled?
by Allen Razdow
- 1 Replies
- Last post
by nobugz
- Is there a way to control how a tooltip is displayed For example, text wrapping, size of displayed box, style, etc.
-
- public IList GetItems()
by jitendra badkas
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- hi,
I wants to know the return type of the following is IList
public IList GetItems()
whats the use
explanation......
-
- VS Exception, DataSource, VS Crash
by Itzik Katzav
- 2 Replies
- Last post
by Itzik Katzav
- Hello all
Somewhere during the project development we lost databinding designer support.
Meaning that whenever we want to use the properties editor for data binding, whether it is from the properties pane or from the smart tag visual studio throw an internal exception and sometimes even crash.
Does any of you encountered that issue and can help us
Itzik
-
- ComboBox Settings Binding
by jwize1
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- This seems like it should be easy enough. I have bound my combobox to some values which I pull from a database.
SelectionTypes is the table. The combobox holds the following info once bound.
Display Values
Color 1 ComboBox 2
ListBox 3
-
- How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
by WilfridB
- 14 Replies
- Last post
by CEisen
- At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from
-
- Accessing Form Controls From Another Class
by JasonFx
- 2 Replies
- Last post
by Christian Liensberger - MSP
- Hi, This is something I have never been able to understand in C#, now I need to learn the correct way of doing it Basically I need to be able to access/update controls on my main form from a separate class that is not linked to the mainform class at all. I have heard various ways of how im supposed to approach this but ive never been able to successful implement it, so if someone could give me
-
- How to get a Screen's name?
by jtackabury
- 6 Replies
- Last post
by jtackabury
- I see that System.Windows.Forms.Screen has a "devicename" property, but it looks like this "\\.\DEVICE1". I want to get a Screen's nice name like "Generic PnP Monitor on ATI Radeon 9600 Pro", just like what is displayed in the Windows display properties. Does anyone know of a way to do this Thanks, Jon
-
- How to get the coordinates of the cursor in a RichTextBox
by Geethanga
- 4 Replies
- Last post
by Peter Ritchie
- I'm using a RichTextBox to build a simple text editor.
I need to pop up a context menu in the textbox "like the intellisence" in visual studio (in the point where i'm typing).
So i think i need to get the x,y coordinates of the cursor. Then i can pop the menu using those coordinates.
Can somebody please help.
regards...
-
- Conditional Setup Projects
by ronlahav
- 1 Replies
- Last post
by ronlahav
- Dear all
i wonser (the mile stones), how can i create a custom setup in which i can choose 3 setup options
1. server install
2. client install
3. other modules
while setup, the installer will have to choose those options by radiooptions and considering the installation which was chosen, the appropriate Setup will be installed on the target machine from the application folder, in whi
-
- blocking images similar to outlook in WebBrowser control using C#
by Jake.p
- 2 Replies
- Last post
by Jake.p
- I foung this article on the net showing how to accomplish this task: http://slingkid.blogsome.com/2006/05/26/blocking-images-similar-to-outlook/ it's a great article, and the code works, well, sorta works As the comment on that page pointed out, somehow this makes the webbrowser to ignore the ScriptErrorsSuppressed property, so I can¡¯t block the script error messages anymore. This is super annoyin