-
- Get Outlook Message from Clipboard
by D. Mitrov
- 6 Replies
- Last post
by D. Mitrov
- Hi all
I'm trying to get the Oulook-message from the clipboard and save it as a *.msg file.
The following c# code gives me only the subject + '.msg' instead of the whole messge.
Any ideas
Code Snippet
private void button1_Click( object sender, EventArgs e)
{
IDataObject iData = Clipboard .GetDataObject();
if (iData.GetDataPresent( "FileGrou
-
- How to use multiple monitors in c#
by Langars
- 2 Replies
- Last post
by Langars
- Hi
How to use the multiple monitor in c#. i want to show the mulitple monitor in our application. so could you please help me.... about this any ideas....
Thanks,
Sankar.R
-
- How to get selected text from the editbox which is the part of the combobox?
by minosander
- 5 Replies
- Last post
by Dav? S. A???????
- Hi, I've got a windows form with the combobox (its DropDownStyle = DropDown). Because of certain needs, I need to get selected text from the editbox of that combobox but I'm failing. I do following C++ code (there are two different ways coded... neither first nor second does not work :-( ):
{
COMBOBOXINFO str;
int result; memset (&str, 0, sizeof(COMBOBOXINFO));
str.cbSize = sizeof(
-
- UserControl height not changing above 32767
by Am X
- 1 Replies
- Last post
by nobugz
- Hi,
I have created a usercontrol, and in a button click i am changing the height of the control. But it doesn't go beyond 32767. Even if i give 40000 as the height value, it takes 32767 only for the control. How can resolve this issue. Is there any way to change the control size Pl help me.
-
- How to open the txt file by using none-default editor, e.g. "WinEdit.exe"?
by Rush hour
- 2 Replies
- Last post
by Rush hour
- Dear all, Can you give me a hand with the following problem about, How to open the txt file by using none-default editor, e.g. "WinEdit.exe" I know the way to open txt file by using the default editor. However, in my application, I may need the other. Thanks in advance, Rush hour
-
- Help a newbie: how i can to do this?
by Ivan578873
- 1 Replies
- Last post
by LeeHorus
- Hi! A ShowDialog() in a form lock the parent form... all fine, but... i want to create the UAC shadow effect: http://img443.imageshack.us/img443/8248/uacprompthm0.jpg I dont want lock the window taskbar, i want to lock the parent form with this shadow... have any mean to do this All my dialog forms extends a frmDefaultDialog, i think it¡¯s help. Thanks and sorry my bad english
-
- ParameterizedThreadStart and the ProgressBar
by DeveloperJTM
- 7 Replies
- Last post
by DeveloperJTM
- Hi all,
I've seen a lot of articles on this topic and have created some code that works but doesn't seem to be asynchronous. I'm updating the progressbar as I'm pulling data from a DB and putting it into a local .txt file. The actually getting of the data and putting into a file is in the processPODownload function. I won't be including that code but I'll post my thread code so you can look
-
- Why odesn't my server name show in Data Source Wizard?
by SQLirrel
- 2 Replies
- Last post
by SQLirrel
- Not a great big deal, but the dropdown list of servers to act as data source only shows my old SQL 2000 server name, call it "FRED". My SQLEXPRESS server name is "FRED\SQLEXPRESS". The latter name does not show up in the dropdown list. Why Both servers show as 'Registered' in the SQL Server Management tool. I get around it by typing the "FRED\SQLEXPRESS" name in every
-
- Create Local Database From Existing Database
by Chris Molland
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hello, I am developing an application which currently accesses a remote SQL database which I created. This appears in the Server Explorer. All of my Data Sources are configured, the tables have been populated with data and it all runs fine. I have to deploy the application to a single user who has a standalone computer. I will be soon developing additional applications which will connect to the sa
-
- Creating an Editor
by Benin
- 2 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi,
I need to develop an editor(using .Net2.0) for my own script. which control shall i use for the editor area is it right option to go for a multiline textbox
I need to give some hints while typing on the editor, like what we get in VS2003/2005 when we press Ctrl+Space. how shall i implement
Thanks and Regards,
Benin.
-
- Drop down list in designer for string property
by andersmj
- 6 Replies
- Last post
by andersmj
- Let me first explain what my project is like.
I have a custom component, myComponent, that contains a collection of strings. This collection is a custom collection as I am programming a Windows CE device in C#. myComponent has a property, Strings, to allow read and write access to the string collection. For example:
public partial class myComponent : Component
{
private
-
- Grid is not sortable
by jerrykur
- 2 Replies
- Last post
by jerrykur
- Hi,
For some reason I cannot sort the data in my DataGridView. The data comes from a datatable which I created and populate. The datatable is passed to a BindingSource and the BindingSource is used as the datasource for the grid. Any thoughts on what else I can try
jerry
-
- ClickOnce ALWAYS downloads all the dlls!! havent changed or not
by creaturita
- 1 Replies
- Last post
by RVlem
- Hello everyone from Spain,
We are having troubles with clickonce, it always downloads all the dlls, haven't changed or not. I would like to know if it is normal, reading the docs i think not, and if you know how to avoid it.
Thanks in advance.
-
- I want to display the invoiceno in textbox ?
by pradeep234
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
-
- CheckBox in Datagridview, but bounded to a Datatable.
by Gohalien
- 4 Replies
- Last post
by Don008
- Hi, I am populating a Datagridview from a Datatable, the third column must be a Checkbox, any idea how to set that column to checkbox type DataTable DTable have: String Int Checkbox (0 unchecked, 1 checked) Bla 34 1 Glu 11 0 Pen 13 0 Heh 15 1 this.dataGridViewAtrib.DataSource= this.DTable this.dataGridViewAtrib.Columns[2]. = Checkbox Thanks ^^
-
- How do i retrieve the window ref from a handle?
by TheCoder577071
- 10 Replies
- Last post
by Peter Ritchie
- How would i get a control from a handle i need this because FindWindow returns the Handle of the window (which is almost stupid, since it has to access the window then do windowname.Handle to return it. I just want the window!) I have googled for like an hour straight on this and found nothing! how on earth do i get a direct reference to an already open window that i only have a handle for (i.e. '
-
- Windows Forms with Office 2007
by Vladam lux
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- EN :
I would like to use the corrector of orthography of Word 2007 from my C# or VB.NET project . I develop a Windows.forms software, and I must make a correction of orthography on a field. All the stations will be equipped with WORD 2007. it a possibility to use the corrector of WORD 2007
Original FR :
Je voudrais utiliser le correcteur d'orthographe de Word a partir de mon projet
-
- Designer looses settings for custom columns
by Bollwerk
- 5 Replies
- Last post
by Bollwerk
- I have derived a DataGridView control with various custom columns derived from the DataGridViewTextBoxColumn. I use the designer to add columns to the DataGridView¡¯s column collection and set the header text, column with, etc. using the designer. However, after I compile and run, the designer looses the settings for my custom columns column width and header text. It defaults to a width of 100 a
-
- Column header painting - text margins
by goPlayer
- 5 Replies
- Last post
by goPlayer
- Hi, By default, there seem to be 6 pixels between the column divider and the first letter of a column header. I'm trying to reproduce the exact look & feel of another application, which has 3 pixels in its grid headers. So I need 3 pixels, (left and right), not 6. Is there an easy way of setting this I looked at the FAQ, which had a section on "Row Pre Paint and Post Paint". I'm not familiar w
-
- Location of Control.ClientRectangle within Control.Bounds?
by Martin M&&
- 10 Replies
- Last post
by Martin Müller
- Hello,
I'm wondering whether there is a possibility to determine the location of the ClientRectangle of a control within its Bounds rectangle. Both Bounds and ClientRectangle have an upper left coordinate of (0, 0), and there does not seem to be a property giving the distance between those two rectangles.
This is especially a problem with forms: The title bar is within the rectangle
-
- Local click once installation fails
by JoeWirtley
- 3 Replies
- Last post
by weirer
- I'm attempting to test out a ClickOnce installation on my local machine. I am publishing it through the publishing wizard, which appears to work successfully. When I attempt to launch the application, I get a dialog box that pops up saying "Application download did not succeed. Check your network connection, or contact your system administrator or network service provider". When I click
-
- How to access a window application from a website?
by augustin
- 10 Replies
- Last post
by Yu Guo ¨C MSFT
- hi, i am able to access external programs such as barcode.exe from my computer. but i am not able to use the same method to access my newly created Windows Application. Anyone able to help me this time
-
- Why using 'new' when assigning an eventhandler?
by mshvw
- 1 Replies
- Last post
by nobugz
- Hello, If I want to assign an eventhandler to a button's mouse-enter event then I would run code like this: --> this.Button1.MouseEnter += --> new System.EventHandler(this.myMouseEnter); it works fine, but if I code this: --> this.Button1.MouseEnter += this.myMouseEnter; it also works fine, why do I need to use the 'new' keyword (according to some course example) Henk
-
- How to make a main menu to show a form in a main mdi form??
by erik216hk
- 1 Replies
- Last post
by .Binny
- Hello
I am a beginner of window based programming and C# development.
I want to know how to make a main menu to show a form in a main mdi form
-
- DataTable - DataType column format
by IamHuM
- 7 Replies
- Last post
by EliGazit
- Hi...
In my application i have a DataTable("myDataTable") in a DataSet. I am dynamically filling the data in this DataTable. One of the column in this DataTable is of DataType DateTime . But my actual data to be filled in this DataColumn is in time format (HH:MM S). So if i am adding only time to this column then current Date is automatically getting added to this time.