-
- Applicatio name doesn't appear in the open with dialog
by roy_b
- 6 Replies
- Last post
by glenster
- Hello
I created a C# application that create my on file with my own extention.
When I associate the file extension to my program in Windows XP "Open with..." dialog, only the program icon appears in the association dialog but not the program name.
This is happening with all my c# programs.
Does any body know how to make the program name to show up
-
- TextBox and Control+H keys oddness
by JeroGrav
- 1 Replies
- Last post
by nobugz
- I have an application that needs to respond to a bunch of different <control + letter> combinations.
When in a TextBox with part (or all) of the text selected and I press Control+H then it blanks out the selected text.
But it doesn't do that for any of the other letters... eg Control+G is ok.
Can anyone give me an idea why Control+H is special
Regards
-
- ContextMenuStrip Event Handler question
by bassplayer
- 1 Replies
- Last post
by Amr Elsehemy
- I have a ContextMenuStrip that I dropped on my form (pcellmenustrip) and I dynamically add ToolStripMenuItems to it with this code: For counter As Integer = 0 To mylist.Count - 1 Dim tsmi As New ToolStripMenuItem() tsmi.Tag = _mylist.Item(counter).myId tsmi.Text = _mylist.Item(counter).myDescription AddHandler tsmi.Click, AddressOf pcellmenustrip_Click items.Add(t
-
- uninstall the application from the Start Menu in clickonce deployment
by kailashswain
- 10 Replies
- Last post
by kailashswain
- Hi,
I am using clickonce deployment for smart client application. I want to add uninstall the application from the Start Menu in clickonce deployment. Please help me . This is very urgent.
-
- Retrieve query result value programaticly?
by James_Steven
- 3 Replies
- Last post
by James_Steven
- This is a very stupid question, but here it goes:
If i do:
this .ordersTableAdapter.FillByID( this .dbDataSet.Orders, 12345 );
My controls, which are bound to ordersBindingSource, will populate. But how can i get the values from this result programaticly Let's say i have a field in the table called orderPrice, but i don't need any control on the form bound to that value. But i need tha
-
- ImageList does not load because of missing resource
by WinFormsUser13232
- 2 Replies
- Last post
by nobugz
- I have a WinForms application (under development), the application's main form has an image list on it. There are several images in the list. The application used to run fine till one moment when it started throwing an&n
-
- Inherited forms
by PradeepKV
- 2 Replies
- Last post
by brokenpoet
- Hi,
I have created a base form with a simple Menu control and have inherited that in to a separate form. I have set the menu control as public in the base form.
When I open the inherited form, I can see the items of the menu control only through "Document Outline". I do not have the permission to add a new item to that control. From the list of menu item from the base form,
-
- problems dynamically moving a control
by w0lfshad3
- 6 Replies
- Last post
by w0lfshad3
- EDIT: added whole project:
http://www.filefactory.com/file/2e3287/
http://files.filefront.com/MyMoOrar/;8536933;/file
I have this array of picture boxes that hold bitmaps representings stars. I made a textbox that resizes itself as i type text in it or delete it(representing the name of the star). I need the custom textbox control to dynamically dock beneath the star. Logically this wasn'
-
- Data entry box and site navigation
by Juliedc
- 2 Replies
- Last post
by Bob zhu-MSFT
- hello,
I'm wondering if it is possible to have a dialog box that allows data entry when you open the document; the data entered would populate parts of the form...
also, would like to have navigation for the form but I understand this doesn't work in Word forms (Word 2003). Is there any way around this (such as having this available with the above mentioned entry dialog), short of having to
-
- How to change visualization of WMP?
by Le Quoc Do
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Hi all! I am developing a application use WMP I embed WMP in my application I can't setting visualization will appear, how to change visualization of WMP in C# Please help me! Thanks
-
- Getting Different Column Value from ComboBox SelectedIndexChanged
by rchrismor013
- 3 Replies
- Last post
by DennisV
- This is a newbie question but I can't seem to frame a query that finds an answer...
I've a ComboBox bound to a DataTable. The ComboBox displays the "Title" column for each row. When the user selects a given particular title, I want to store the "Body" column in a string variable. So:
ComboBox myComboBox = new ComboBox();
myComboBox.DataSource = myDataTable;
-
- Change language without using globalization
by Peter_lin
- 4 Replies
- Last post
by Peter_lin
- Hi, I'm wondering how may I change language (for example english->polish), while program is running. I know that there is one solution to use System.Globalization and compiled resources with translated text from all form (but not only). I haven't even try that opportunity - text is compiled, and users can't change it and I think that solution is simply hard to introduce ;/ Is there any other wa
-
- Accessing form controls in a class file
by needtechhelp
- 6 Replies
- Last post
by needtechhelp
- I am a newbie in .net. I have a windows form with a few controls on it. In the same namespace, I have a class file in which i am trying to access a label in the form to update its text, but the intellisense does not bring up the form controls when i type the form name in the class file. I also changed the access modifier of the label from private to public, but that did not help. How do i access t
-
- Populating Textbox from Combo Box Selection
by J.H. Chrysler
- 14 Replies
- Last post
by Adamus Turner
- Friends,
Looking for suggestions on how to populate a textbox based on a combo box selection. My instinct tells me that I will need to have two seperate data tables...One to populate the combo box with values from a data table and another against the same data with a query parameter.
For example, my combo box contains values from data table called Departments. In the combo box I would like t
-
- Loading VB.NET Code Into A Designer
by Anonymous5400
- 14 Replies
- Last post
by Malacki
- Does anybody know how to load VB.NET/C# code into a designer I've been trying to do so for weeks with no success. I know that Visual Studio and SharpDevelop do it, but I can't seem to replicate the functionality in my own app. Thanks very much for all your help!
-
- 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
-
- Writing to console in batch mode
by CoderD
- 4 Replies
- Last post
by CoderD
- Hi so I have enabled batch mode for my application and it seems to work fine. However I am unable to write to the cmd window. For Example
Console.Writeline("My Text Here")
won't do anything in the console but if I do something winform based such as
MessageBox.Show("My text here")
the dialog pops up. So my question is how do I write to the command window
-
- Arrow in top left of controls [not the special menu arrow in top right]
by scottech
- 7 Replies
- Last post
by scottech
- I realize this may be an odd question, but I was wondering if someone could help me with understanding what the arrow [inside of the square] in the top left of controls are for, such as in a text box, for example.
I understand the controls that have a menu display when there are arrows in the top right of the control, but this is for the other one, smaller, I think, and is inside of the con
-
- Windows Service and License file deployment problems
by RWDavis
- 1 Replies
- Last post
by RWDavis
- I am using a .NET component that requires a license file (.lic) to operate. When I deploy my program as a console application using a setup project the component works fine, but when I deploy the same program as a Windows Service the component throws an exception indicating it cannot find the license file. If I manually look in the install directory, however, the license file is their plain as day
-
- RichTextBox shaped as polygon
by nomad&#35;1
- 1 Replies
- Last post
by nobugz
- Is there a way to reshape a richtextbox control into a shape other than a rectangle (i.e. polygon, etc.) If I create a custom control which inherits from richtextbox and manually configure the paint method, will I lose the functionality of the richtextbox (such as text fitting nicely into the borders of the control)
-
- DataGridView
by Gonza981
- 9 Replies
- Last post
by Gonza981
- Is rhere anybody can explane how can I manipulate with data in datagridview I have 4 textbox and when i press number iin text box1 must show me same data in textbox1,2,3 and in datagridview!!!
-
- Protecting application with key. Help please
by lordali
- 2 Replies
- Last post
by H. Tony
- Hi,
I have made a windows application that I want to sale different people. Now problem is that if I give one exe to them than everyone will use it without buying it. So is there a way that I can use to protect my application (any key or something required to activate application). Any one please
thanks
-
- A problem about Framework install process control
by JerryZhang
- 2 Replies
- Last post
by JerryZG
- Hi everyone
I created a .MSI file, made framework2.0 in my install package. But when I run it on a computer(no framework), after finish installing framework, the installation process stoped, and I have to reclick the msi file icon to start installation process installing my own application. How can I make the application install pop up automatically after the framework install process
-
- RichTextBox Disable Autoscroll
by A.Russell
- 10 Replies
- Last post
by nobugz
- Is there a way to disable autoscroll on an RTB control I have been highlighting text by using the find command and changing the backfround colour. The annoying thing is, this can make the screen scroll:
//Remember the cursor position and selection length
int temp_pos = richTextBox1->SelectionStart; int temp_select = richTextBox1->SelectionLength; richTextBox1->BeginUpdate();
/
-
- C#: How to get the window title from window(form) name
by GopX
- 8 Replies
- Last post
by octocypher
- Hi
I have problem in getting the window caption for C# application, tried using FindWindow api, but not able to solve the problem. Is it possible retriving the Caption of a window using form name.
Thanks
Gopx