Click here to Skip to main content
15,886,795 members
Home / Discussions / C#
   

C#

 
QuestionHow we get expected execution time of instance Pin
giresh_ep8-May-07 0:56
giresh_ep8-May-07 0:56 
QuestionProblem when reading DBF files Pin
vuthaianh8-May-07 0:53
vuthaianh8-May-07 0:53 
AnswerRe: Problem when reading DBF files Pin
lmoelleb8-May-07 1:17
lmoelleb8-May-07 1:17 
GeneralRe: Problem when reading DBF files Pin
Kiran Kumar Singani8-May-07 1:23
Kiran Kumar Singani8-May-07 1:23 
GeneralRe: Problem when reading DBF files Pin
vuthaianh8-May-07 15:35
vuthaianh8-May-07 15:35 
AnswerRe: Problem when reading DBF files Pin
Evan Stein8-May-07 6:23
Evan Stein8-May-07 6:23 
GeneralRe: Problem when reading DBF files Pin
vuthaianh8-May-07 15:44
vuthaianh8-May-07 15:44 
GeneralRe: Problem when reading DBF files Pin
Evan Stein8-May-07 16:26
Evan Stein8-May-07 16:26 
[DllImport("Kernel32", CharSet = CharSet.Auto)]
static extern Int32 GetShortPathName(
String path,                // input string
StringBuilder shortPath,    // output string
Int32 shortPathLength);     // StringBuilder.Capacity
public static string ConvertLongPathToShort(string longPathName)
{
    StringBuilder shortNameBuffer;
    int size;

    shortNameBuffer = new StringBuilder();
    size = GetShortPathName(longPathName, shortNameBuffer, shortNameBuffer.Capacity);

    if(size >= shortNameBuffer.Capacity)
    {
        shortNameBuffer.Capacity = size + 1;
        GetShortPathName(longPathName, shortNameBuffer, shortNameBuffer.Capacity);
    }

    return shortNameBuffer.ToString();
}

GeneralRe: Problem when reading DBF files Pin
Evan Stein8-May-07 16:28
Evan Stein8-May-07 16:28 
GeneralRe: Problem when reading DBF files Pin
vuthaianh8-May-07 22:15
vuthaianh8-May-07 22:15 
QuestionHow to Add Node in DataSet Pin
VenkataRamana.Gali8-May-07 0:20
VenkataRamana.Gali8-May-07 0:20 
QuestionHow to get input as comma and alphabet alone?? Pin
Dotnetkanna8-May-07 0:08
Dotnetkanna8-May-07 0:08 
AnswerRe: How to get input as comma and alphabet alone?? Pin
Nouman Bhatti8-May-07 0:25
Nouman Bhatti8-May-07 0:25 
GeneralRe: How to get input as comma and alphabet alone?? Pin
Dotnetkanna8-May-07 1:43
Dotnetkanna8-May-07 1:43 
QuestionDataGridViewComboBoxColumn use ENTER key as TAB key Pin
bvision7-May-07 23:56
bvision7-May-07 23:56 
QuestionConverting an MS Access Report to HTML in .Net [modified] Pin
Subrahmanyam K7-May-07 23:49
Subrahmanyam K7-May-07 23:49 
Questionhow to change color of my custom words in RichTextBox ? Pin
hdv2127-May-07 23:47
hdv2127-May-07 23:47 
AnswerRe: how to change color of my custom words in RichTextBox ? Pin
Giorgi Dalakishvili7-May-07 23:56
mentorGiorgi Dalakishvili7-May-07 23:56 
AnswerRe: how to change color of my custom words in RichTextBox ? Pin
andre_swnpl8-May-07 0:22
andre_swnpl8-May-07 0:22 
QuestionDataTable to Excel, row limit Pin
swjam7-May-07 23:42
swjam7-May-07 23:42 
AnswerRe: DataTable to Excel, row limit Pin
gauthee7-May-07 23:52
gauthee7-May-07 23:52 
GeneralRe: DataTable to Excel, row limit Pin
swjam7-May-07 23:56
swjam7-May-07 23:56 
GeneralRe: DataTable to Excel, row limit Pin
gauthee8-May-07 0:25
gauthee8-May-07 0:25 
QuestionCheck if open is already open Pin
soneliso7-May-07 23:22
soneliso7-May-07 23:22 
AnswerRe: Check if open is already open Pin
fang_eric7-May-07 23:34
fang_eric7-May-07 23:34 

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.