-
- read image from picturebox and store it in byte array
by rookie_rockie
- 10 Replies
- Last post
by rookie_rockie
- hi suppose i want to read the image from a picturebox into a byte array .how do i do it thanks in advance
-
- DataGridView ComboBox filtering
by Prince of Dhump
- 4 Replies
- Last post
by Prince of Dhump
- Hi,
I have a datagridview which have some columns. The first column is account no. When the account no is entered based on differenet accounts i need to display different values in DatagridView Combo box and filter them.
The combobox is already bind using binding source control at design mode.
Is there any way i could do this
I'm really struggling with this. Please someone help me. I'm
-
- Distribute Row & Column evenly
by Han Qiao
- 2 Replies
- Last post
by Han Qiao
- Hi,
Is it possible for TableLayoutPanel to be auto distribute the row & column evenly each and everytime we increase or decrease the number of row or column dynamically
Thanks in advance
-
- Coloring TabControl.
by AlexBB
- 14 Replies
- Last post
by Mick Doherty
- As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object
Another question:
TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors
Many thanks.
-
- TableLayoutPanel
by oystagoymp
- 1 Replies
- Last post
by Rashmi Gopinath
- I would like to make a table of Labels and textboxes similar to ms Access' table construction GUI where you designate Field Name and data types (string, number, etc) How would I best do that, it seems obvious that I would use some kindof table like the datagrid but I do not neccesarily wish to do anything with a databasse at the moment. So my questions are: 1) How would I access individual cells o
-
- properties set in the designer depend on each other
by omgtifbs
- 2 Replies
- Last post
by theblueeyz
- We have a control that exposes some public accessors which appear as properties of the control in the designer. Two of these properties have a dependency - if one is set then the other is turned off. What we'd like is for the designer not to generate any code for the property which turns the other property off, but there doesn't seem to be any way of doing that. The designer generates code for pro
-
- FormBorderStyle question
by AlexBB
- 3 Replies
- Last post
by AlexBB
- I wanted to get rid of any frame around the form and set this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
Unfortunately, it made the form immobile as I can see. How to make it moving across the screen if I want to do it
Thanks.
-
- Select the Design Surface
by al12345582762
- 2 Replies
- Last post
by al12345
- Hi All,
I am having difficulty selecting the actual design surface when my custom forms designer loads. I would like it selected by default so that the associated property grid will populate. My design surface is a UserControl.
This is where I am currently stuck:
Dim selectionService As ISelectionService = CType (HostControl.DesignerHost.GetService( GetType (ISelectionSer
-
- Menustrip reading XML
by artificer
- 4 Replies
- Last post
by steveareno
- Is there any way to bind the menustrip control to a XML file so it loads its items on runtime similar to the TreeView on ASP.NET
-
- checkedlistbox font
by ozgunique
- 1 Replies
- Last post
by Suprotim Agarwal
- hi, I have a checkedlistbox and 10 strings in it. I want to change the font of those that are checked. How can I do this I thought I could use checkedboxlist.checkeditems for this but I couldn't do anything
-
- windows secure shell
by jijo12343
- 0 Replies
- Last post
by jijo12343
- I am trying to see if there is anyway to do the following.
1. Create a shell (like a windows based shell / container)
2. Run executable (windows application) inside the shell.
3. mask/redact some textbox in the application that is running indside the secure shell.
-
- Embeding the image in html editor
by sameer_khanjit
- 1 Replies
- Last post
by nobugz
-
FileStream fs = null; fs = new FileStream(filepath, FileMode.Open); StreamReader sr = new StreamReader(fs); str
-
- Adding a next record function to a textbox
by Zara28
- 8 Replies
- Last post
by Zara28
- Hello
i am trying to add a next record button to my form. here is what i am trying to do. I have a database with orders in and i select the order that i wish to see and then display the items of the order in my textboxes however it only returns the first results as that is what i have it set at, but i wish to be able to click on a next button to display the next item that has been returned from
-
- MDIChild - Create only once an instance of same formchild
by Moita
- 2 Replies
- Last post
by Moita
- Sorry, my english is very poor, but will try. I have an MDI application with C#. To create the forms child i have a button with statements in click event: Forms.frmBanco formChild = new Forms.frmBanco(); formChild.MdiParent = this; formChild.Show(); Every time button is clicked, another frmBanco form instance is created, staying several opened forms. How to create the instance of frmBanco only
-
- TabControl Not Counting Inserts
by bmains
- 5 Replies
- Last post
by nobugz
- Hello,
I am using a TabControl in code, and when I add a TabPage to the tab pages collection, the count increases. When I use the Insert method, the TabPage count does not increase, either in the TabControl.TabCount property or the TabControl.TabPages.Count properties.
That seems really strange; anybody know the fix to this I'm trying to unit test my application, and I can't get pas
-
- Delete File after MSI Install
by honestbob
- 1 Replies
- Last post
by Ghaznavi
- I have a Visual Studio 2005 Setup project for a Windows Form Application. The project installs two vbscript files along with the application files. The first, "CreateUser.vbs" runs as a Install Custom Action and creates a Local User along with the rights I require for that user. The second is "DeleteScript.vbs" which I wish to run as a Commit Custom Action. All I want it to do
-
- ClickOnce Application Files
by BabyGBear
- 4 Replies
- Last post
by ChitownDotNet
- Hiya
Is there a way to get ClickOnce to deploy some of the application files in a specified location
I currently write out data files in a folder a bit like C:\Documents and Settings\username\Application Data\Company\appName\myDataFoldername and want to keep all the data files in the same place.
I have a number of data files that are "required" in the ClickOnce
-
- disabling ToolTip
by bucz
- 4 Replies
- Last post
by Eli Gazit
- I want to implement an option that will disable tooltip from appearing. How to disable that, but other way than setting timing, because I dont know why but this timing does not work at all
-
- Terminating Installation
by Vivekananda
- 1 Replies
- Last post
by Matt Smith MSFT
- Hi!
I am checking for the installed OS version in a custom action. If I dont find the required OS Version I want to terminate the installation process. How can I do that Else, what is the launch condition to check for version of OS on client machine
-
- Event related issue
by Reenaz
- 3 Replies
- Last post
by JohnWein
- Hello,
I have made a custom control which consists of a Parent Panel containing 2 panels (containg more controls).
The 2 panels that is Panel1 and Panel2 fully spread on the Parent Panel. Now I want to generate a mouse click event for the Parent Panel (which should trigger at run time when the user clicks it).
The hierarchy is shown below...
Parent Panel
Panel1
butt
-
- Refresh data in grid from another form
by Want to learn C#
- 5 Replies
- Last post
by boban.s
- Hi,
I am very beginer of C#. I have a problem which could be a very simple matter for others. I have a great hope to get help.
I have a form "Form1" which contains one datagridview and displays data from one table (Using query).
I have another form "From2" which is open by clicking "edit" button if form "Form1" and consists of text boxex and
-
- Install Issue, please read.
by PaganKrush
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- Evening All,
Here is my issue: I have an project that consists of a service (installer works just fine) and a front end that displays some information to a user and provides an Admin a method of editing certain settings. Technically both sides of the app install and run correctly, but the front end insists on running 'per user'. This isn't a huge issue, because I am actually carrying config
-
- How do I get a true idle loop with c# in .NET?
by Velius
- 5 Replies
- Last post
by Ðãv? S. Â??????
- I've figured out how to use the Application.Idle event handler. The only problem I am having is that the application is by default *waiting* for messages before going to idle like usual. When I used the Win32 API i alwasy made my program bypass to idle time if there was no message by using PeekMessage(). How do I get my C# application to behave this way. I can't hope to make a game function proper
-
- How can i place windows textbox on taskbar like desktop search
by vennag
- 2 Replies
- Last post
by nobugz
- Hi
How can i place windows textbox on taskbar like desktop search
thanks
-
- Bug? ComboBox raises PropertyChanged event when property hasn't changed
by Robert Rossney
- 4 Replies
- Last post
by Robert Rossney
- This sure looks like a bug to me. Create a form with a ComboBox and a TextBox on it, and add this code:
Code Snippet
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load( object sender, EventArgs e)
{
comboBox1.DropDownStyle = ComboBoxStyle .DropDownList;
comboBox1.Items.Add( &quo