-
- Hyperlink in Datagrids
by jkm_22
- 1 Replies
- Last post
by Ken_L
- Hi I have a windows application coded using Visual C# in .NET 2005. The application queries data stored in an MS Access table. One of the field in the access table contains text which is hyperlinked to particular files on the local machine. Say, I have a field called TITLE and all each of the specific documents (pdf or word) are hyperlinked to the corresponding record in the TITLE field. I am able
-
- Where can I find a list of all the values of System.Windows.Forms.KeyEventArgs.KeyValue?
by Feng26
- 2 Replies
- Last post
by Feng26
- Hi,
I need to have the complete list of the encoded values of System.Windows.Forms. KeyEventArgs. KeyValue . Such as KeyValue of key "1" is 49, KeyValue of return key is 13, etc. Where can I find that list
Thanks
Feng
-
- DataGridView AutoFilter whitepaper and sample
by Karl Erickson
- 14 Replies
- Last post
by Maha Magdy
- Are you spoiled by the AutoFilter feature in Excel Do you want the same functionality in the DataGridView control Then my new whitepaper and sample are for you. See:
http://msdn.microsoft.com/netframework/windowsforms/default.aspx pull=/library/en-us/dnwinforms/html/DtGrdVwAF.asp
The DataGridViewAutoFilter library provides a custom DataGridViewColumnHeaderCell with a drop-down filter li
-
- EventHandler Problem
by Ryan Turney
- 8 Replies
- Last post
by Pink Splat
- Hello everyone, I'm pretty new to C# so for my first project I deceided to create a simple Notepad clone, except it will be much more powerful including tabbed files. It has been pretty easy until now...
I wanted to add Syntax Highlighting to my notepad, I am using Duncan Harris' code from http://www.c-sharpcorner.com/ to do this. I have two files right now, Main.cs - The main Form class and Ut
-
- ActiveDocumentHost
by Troy Howe
- 1 Replies
- Last post
by ahmedilyas
- Does AnyOne Know if the "ActiveDocumentHost" Control was added the Visual Studio "Sevice Pack1" or will be provided later or Will be a part of Visual Studio "Orcas"
Thanks, Troy
-
- how to insert graphics to database directly from the application
by sepehrsam
- 1 Replies
- Last post
by timvw
- Hi,
I have written an application that gets integer data and convert them to the points .
An instance of Graphics object create a simple shape in a PictureBox control by
using DrawLine & DrawCurve methods of Graphics object according to the points.
Now I want to insert the image of PictureBox in to a field of a table in a database
in the sql server directly from the application
-
- Animation
by Tri-Cobalt
- 3 Replies
- Last post
by IsshouFuuraibou
- How do I use animation on a form to slowly drain a rectangler shape that is filled with a aqua color
Tri
-
- Changing font colors etc at run time using hex input Microsoft Access 2007
by syvers
- 2 Replies
- Last post
by syvers
- Hi
I am trying to allow users to change font colors on forms at runtime whereby they enter a hex code in a textbox eg #FFFFFF and then this is applied via code i.e.
lblMyLabel.ForeColor = txtForeColor
I have tried various combinations such as
lblMyLabel.ForeColor = "" & "" & Me.txtForeColor & "" & ""
and man
-
- Updating SQL Table from a dynamically populated DataGridView
by micwazoo
- 1 Replies
- Last post
by mpswaim
- I'm using a DataGridView that I populate from a txt or csv file. On occasion I will add two more columns and populate them with date fields that the user chooses from a DateTime Picker. Once the grid is populated, and the user has edited the grid to their liking, the data from the grid will be inserted in to a table in SQL. I've tried to reverse the events that are used to load a DataGridView from
-
- FileDialog and Listbox
by Reeba
- 4 Replies
- Last post
by m_coomer146
- Hi
I have a button which opens a file dialog and allows the user to select multiple files. But instead of opening the files I need a list box to display the list of files selected. Is this possible if yes how do I get the list box to display the list of files.What objects should I be using . Thanks in advance.
-
- Embedded app.config
by YewMing
- 1 Replies
- Last post
by O.Miller aka phoboss
- I have seen that it is possible to embedded manifest files into assembly as described in http://blogs.msdn.com/cheller/archive/2006/08/24/how-to-embed-a-manifest-in-an-assembly-let-me-count-the-ways.aspx
So, I wonder if it is possible to embed app.config into the assembly. I understand that app.config is suppose to enable flexible configuration after compilation/deployment. I don't really n
-
- datagridview sorting
by Bibek
- 1 Replies
- Last post
by Zhi-Xin Ye - MSFT
- hello i am using automatic sorting property of datagridview containing datagridviewbuttoncolumn as one column.My problem is when i sort the particular column,the text on the button of the datagridviewbuttoncolumn is reset to blank.is there any idea please.
-
- Word document as Modal dialog
by teckfreak
- 5 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
I am opening a word document in a windows application. When the word document is opened, the application has to get frozen similar to an application that gets frozen when a modal dialog is launched. The user should not be able to play with the application until the word document is closed. How do I achieve this
Thanks in Advance
-
- HI!!! well is there any way to load a custormise bitmap on a form!!!!!!!!!!how to make its background transparent!!!
by syhzaidi
- 13 Replies
- Last post
by syhzaidi
- hi..
well it is a problem here that i have loaded a bitmap on a form ....now the problem is that my bitmap is a polygon type ....means it has a artistic look...which has not squared cornors....means that how and that cornor are white....and they are also coming on the screen..............now i make u undertand that by a direct x example in direct x we make a image a racing car but the racing ca
-
- how to allow a textbox to accept only alphanumeric values but not any special char's
by chaitu
- 2 Replies
- Last post
by Gavin Jin - MSFT
-
- how to make form dragable when FormBorderStyle is set to none
by ssfftt
- 4 Replies
- Last post
by JPS-Johannes
- how to make form dragable/movable when FormBorderStyle is set to none, please help
-
- Add individual rows one at a time to a DataGridView
by Flea#
- 2 Replies
- Last post
by Matthew Galligan
- Hello,
I am using C# with Visual Studio 2005. What I am trying to do and wondering if it is even possible, is add a row of data one at a time to a datagridview.
The application is pretty straight forward. The user needs to enter in a product code. Next, the program takes the product code and does a SQL query against the product table to find what the description and price of the product is.
-
- Can only Publish to web site root?
by Rob Ainscough
- 13 Replies
- Last post
by Rob Ainscough
- I've got Click Once working with my web site when I use the root of my web site.
https:// www.mysite.com /
but if I try to use:
https://www.mysite.com/published/
I get the following error:
Error: Failed to connect to 'https://www.mysite.com/Published/' with the following error: Unable to create the Web 'https://www.mysite.com/Published/'. Server error: The server extensions were una
-
- How to show the changed Text while loading?
by yem
- 3 Replies
- Last post
by yem
- Hi!
at time-consuming processing in reading data etc, how to show a Label such as loading into
the following codes, the character "Loading" cannot be seen.
private void loadDailyButton_Click(object sender, EventArgs e)
{
titleLabel.Text = "Loading";
da.Fill(ds);
titleLabel.Text = "Loaded!";
}
what code do I have to insert here
-
- Error Binding to Target
by HarryBedi
- 2 Replies
- Last post
by OmegaMan
- Hi Guys,
I am trying to run a timer which calls a function on my GUI thread, however I keep getting the error "Error Binding to Target"..
Does anyone know what this means
This is my code...
using System; using System.Timers; using System.Collections; using System.IO; using System.Threading; using System.Windows.Forms;
namespace W1._1 { /// <summary> /
-
- help with 'keydown' events
by dxdrummer
- 9 Replies
- Last post
by dxdrummer
- hey, i'm new to programming and have been learning c# at my own pace. i'm having problems however understanding the keydown/keypress events. the program i'm working on has a button labeled "1", and it works fine when clicked, but i'd like to add a keydown event so that when you clicked the number pad (or the numbers on top of the keyboard) on the key "1" that it would activate
-
- DataGridView and Background worker
by Kulvinder
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
I have a filled datasource assigned to a datagridview. Now, what i am actually doing is to do a "heavy" operation.
Each row of the datagridview corresponds to a heavy work being done by Backgroundworker. Before each heavy work is started, i am changing a status text to the user that the process has been started and after each heavy work is done, i am changing the text t
-
- Outlook Add-in : Unable to build assembly
by Skimmer
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi,
I'm building a really simple C# Add-in for Outlook 2003 using VS2003 (following a tutorial)
The Add-in itself builds ok, but the Setup project is now failing to build.
Does anyone know what could be causing the following error message
ERROR: Unable to build assembly named 'TestAddin03.dll', HRESULT == '8007065B'
Does the Register Property of the Primary Output (vsdrpCOM) pla
-
- How can you display a "disabled hyperlink" in a DVG?
by jerrykur
- 3 Replies
- Last post
by Gavin Jin - MSFT
- I have a column of names and want to hyperlink only some of them. Is there a way disable a hyperlink (that is visually) so the user does not click an row in the column
-
- argumentException--need help
by rookie_rockie
- 1 Replies
- Last post
by Mark Dawson
- hi
i'm developing smart device application in visual studio 2005 writing in c# ,for windows mobile 5.0 pocket pc
i'm encountered a error which i could not solved.
i'm trying to use those codes to call the camera and it is successful.however when the camera is launched,if i choose not to take an image and select 'cancel' instead,
i would get argumentException. can someone give me so