Click here to Skip to main content
15,885,309 members
Home / Discussions / C#
   

C#

 
AnswerRe: Challenge manipulating combobox selectedvalue and selectedvaluechanged Pin
Xmen Real 25-Feb-09 3:14
professional Xmen Real 25-Feb-09 3:14 
AnswerRe: Challenge manipulating combobox selectedvalue and selectedvaluechanged Pin
highjo25-Feb-09 7:39
highjo25-Feb-09 7:39 
GeneralRe: Challenge manipulating combobox selectedvalue and selectedvaluechanged Pin
Cracked-Down25-Feb-09 17:55
Cracked-Down25-Feb-09 17:55 
QuestionHow to populate a CheckBox list from a based on a table in a database? Pin
Balagurunathan S25-Feb-09 2:33
Balagurunathan S25-Feb-09 2:33 
AnswerRe: How to populate a CheckBox list from a based on a table in a database? Pin
Wendelius25-Feb-09 8:16
mentorWendelius25-Feb-09 8:16 
QuestionMake pdf from cristal report, How ? Pin
E_Gold25-Feb-09 2:13
E_Gold25-Feb-09 2:13 
AnswerRe: Make pdf from cristal report, How ? Pin
Wendelius25-Feb-09 8:12
mentorWendelius25-Feb-09 8:12 
QuestionDisplaying a very long folder path Pin
Dewald25-Feb-09 1:59
Dewald25-Feb-09 1:59 
Hi all. I'm sure there are loads of articles and examples on the net for what I'm trying to do but I don't know what you would call it and consequently I'm not sure what to Google for.

I'm trying to simplify a file path to something that will fit into a certain number of characters. I think I can best explain by using an example.

Let's say I have a file path as follows:
C:\Documents and Settings\My Name\My Documents\Work Documents\Business Plan.doc

but I have only limited space to display this path. I'm not overly concerned that the user should be able to read the full path (although I can do that by providing a ToolTip or putting the full path in the StatusStrip or whatever) but I would like for the user to get a general impression of where the path points.

I am in other words looking for a result along the lines of:
C:\Docum...\...\Business Plan.doc

If you have any suggestions for articles or examples on the net that deal with this I'd be happy to hear. Also, the above sample result is what I quickly came up with but there may be more sensible ways of stripping down long paths to something shorter. Please let me know if you have any advice.
AnswerRe: Displaying a very long folder path Pin
benjymous25-Feb-09 2:15
benjymous25-Feb-09 2:15 
AnswerRe: Displaying a very long folder path Pin
moon_stick25-Feb-09 3:32
moon_stick25-Feb-09 3:32 
GeneralRe: Displaying a very long folder path Pin
Dewald26-Feb-09 0:36
Dewald26-Feb-09 0:36 
QuestionMicrosoft Report Viewer Pin
mehrdadc4825-Feb-09 1:22
mehrdadc4825-Feb-09 1:22 
QuestionWhat do I need? Pin
staticv25-Feb-09 1:03
staticv25-Feb-09 1:03 
AnswerRe: What do I need? Pin
Xmen Real 25-Feb-09 1:21
professional Xmen Real 25-Feb-09 1:21 
GeneralRe: What do I need? [modified] Pin
staticv25-Feb-09 1:36
staticv25-Feb-09 1:36 
GeneralRe: What do I need? Pin
Xmen Real 25-Feb-09 1:49
professional Xmen Real 25-Feb-09 1:49 
GeneralRe: What do I need? Pin
staticv25-Feb-09 1:51
staticv25-Feb-09 1:51 
GeneralRe: What do I need? Pin
Xmen Real 25-Feb-09 2:33
professional Xmen Real 25-Feb-09 2:33 
AnswerRe: What do I need? Pin
ABitSmart25-Feb-09 3:15
ABitSmart25-Feb-09 3:15 
GeneralRe: What do I need? Pin
staticv25-Feb-09 3:35
staticv25-Feb-09 3:35 
GeneralRe: What do I need? Pin
ABitSmart25-Feb-09 3:52
ABitSmart25-Feb-09 3:52 
Question[Message Deleted] Pin
Ramkithepower25-Feb-09 0:57
Ramkithepower25-Feb-09 0:57 
AnswerRe: DTS Package and C# Pin
Xmen Real 25-Feb-09 1:02
professional Xmen Real 25-Feb-09 1:02 
GeneralRe: DTS Package and C# Pin
Ramkithepower25-Feb-09 1:18
Ramkithepower25-Feb-09 1:18 
QuestionUltraWinGrid Grouping Pin
Zeyad Jalil25-Feb-09 0:18
professionalZeyad Jalil25-Feb-09 0:18 

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.