Click here to Skip to main content
15,906,081 members
Home / Discussions / C#
   

C#

 
GeneralRe: how do i remove header and footer before i start to print the document Pin
Support12329-Jan-07 1:44
Support12329-Jan-07 1:44 
GeneralRe: how do i remove header and footer before i start to print the document Pin
andre_swnpl29-Jan-07 1:58
andre_swnpl29-Jan-07 1:58 
QuestionHow to change the backcolor of the columns in a Listview control Pin
anu8128-Jan-07 20:50
anu8128-Jan-07 20:50 
AnswerRe: How to change the backcolor of the columns in a Listview control Pin
Seishin#28-Jan-07 21:20
Seishin#28-Jan-07 21:20 
GeneralRe: How to change the backcolor of the columns in a Listview control Pin
anu8128-Jan-07 23:55
anu8128-Jan-07 23:55 
GeneralRe: How to change the backcolor of the columns in a Listview control Pin
Seishin#29-Jan-07 2:33
Seishin#29-Jan-07 2:33 
QuestionHow to get username of a user who have currently opened a shared Excel file for editing? Pin
Jyothi L28-Jan-07 20:49
Jyothi L28-Jan-07 20:49 
QuestionCosmetic problem Pin
Glen Harvy28-Jan-07 20:47
Glen Harvy28-Jan-07 20:47 
Hi,

I don't know which shade of lipstick to apply tonight - any suggestions Poke tongue | ;-P

Seriously though, I have the following code populate a multiline text box:

DateTime currentDateTime = DateTime.Now;<br />
string now = currentDateTime.ToString("MMM dd, yyy");<br />
textBoxMemberNotes.Text = now + Environment.NewLine + Environment.NewLine;


The problem I wish to overcome is that the resultant text is highlighted and if the user just starts typing then the text inserted by the above code is rightfully deleted.

How can I "move the cursor" (so to speak) programatically so that this doesn't happen?

Thanks in advance Smile | :)

Glen Harvy

AnswerRe: Cosmetic problem Pin
Stefan Troschuetz28-Jan-07 21:11
Stefan Troschuetz28-Jan-07 21:11 
Questionbinding windows user control in a windows Form dynamically Pin
Irshad Ahmed28-Jan-07 20:26
Irshad Ahmed28-Jan-07 20:26 
AnswerRe: binding windows user control in a windows Form dynamically Pin
quiteSmart28-Jan-07 20:59
quiteSmart28-Jan-07 20:59 
QuestionGet a table through Webbrowser object? Pin
TuanNH8528-Jan-07 20:06
TuanNH8528-Jan-07 20:06 
AnswerRe: Get a table through Webbrowser object? Pin
blue_arc28-Jan-07 20:15
blue_arc28-Jan-07 20:15 
GeneralRe: Get a table through Webbrowser object? Pin
TuanNH8528-Jan-07 20:22
TuanNH8528-Jan-07 20:22 
GeneralRe: Get a table through Webbrowser object? Pin
blue_arc28-Jan-07 22:51
blue_arc28-Jan-07 22:51 
QuestionHow to recieve/send mail through mail server in C# Pin
RoshanSrivastava28-Jan-07 20:00
RoshanSrivastava28-Jan-07 20:00 
AnswerRe: How to recieve/send mail through mail server in C# Pin
ShermansLagoon28-Jan-07 20:20
ShermansLagoon28-Jan-07 20:20 
Questionprotect RTF Pin
likefood28-Jan-07 19:29
likefood28-Jan-07 19:29 
AnswerRe: protect RTF Pin
ShishirVaidya8-Sep-10 2:18
ShishirVaidya8-Sep-10 2:18 
QuestionSave Event logs Pin
picasso228-Jan-07 14:26
picasso228-Jan-07 14:26 
AnswerRe: Save Event logs Pin
Luc Pattyn28-Jan-07 14:52
sitebuilderLuc Pattyn28-Jan-07 14:52 
GeneralRe: Save Event logs Pin
picasso228-Jan-07 15:19
picasso228-Jan-07 15:19 
QuestionCreate/Access NTFS Object Ids Pin
urbane.tiger28-Jan-07 14:10
urbane.tiger28-Jan-07 14:10 
QuestionNamespaces Pin
max2929728-Jan-07 13:30
max2929728-Jan-07 13:30 
AnswerRe: Namespaces Pin
Luc Pattyn28-Jan-07 13:44
sitebuilderLuc Pattyn28-Jan-07 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.