Click here to Skip to main content
15,889,865 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Confused with viewing IL Pin
Rob Graham19-Feb-05 9:57
Rob Graham19-Feb-05 9:57 
GeneralRe: Confused with viewing IL Pin
Andres Coder19-Feb-05 10:28
Andres Coder19-Feb-05 10:28 
GeneralRe: Confused with viewing IL Pin
S. Senthil Kumar19-Feb-05 12:14
S. Senthil Kumar19-Feb-05 12:14 
Generaluser controls dissapear Pin
netsu19-Feb-05 1:16
netsu19-Feb-05 1:16 
GeneralDotNet Fx1.1 Sp1 Issue :- Need Urgent help !! Pin
jk chan17-Feb-05 20:06
jk chan17-Feb-05 20:06 
GeneralFax Componet for .Net Pin
Arvind200416-Feb-05 4:07
Arvind200416-Feb-05 4:07 
GeneralRegular Expression in vb Pin
Anonymous16-Feb-05 0:23
Anonymous16-Feb-05 0:23 
GeneralUnable to run the application on machine without VC++ installed Pin
sachin.kumar15-Feb-05 21:25
sachin.kumar15-Feb-05 21:25 
Confused | :confused: I have build an application in which I use file names from a directory.
to get these file names I used the following code from MSDN.this code requires mscorlib.dll
to be included in the application

#using <mscorlib.dll>

FILE * fp;
String *extension;

// Create a reference to the current directory.
DirectoryInfo* di = new DirectoryInfo("C:\Sachin");
// Create an array representing the files in the current directory.
FileInfo* fi[] = di->GetFiles();
// write the names of the files in the current directory.
Collections::IEnumerator* myEnum = fi->GetEnumerator();
fp = fopen("nest.lst","w+");
while (myEnum->MoveNext())
{
FileInfo* fiTemp =__try_cast<fileinfo*>(myEnum->Current);
//Console::WriteLine(fiTemp->Name);
extension = Path::GetExtension(fiTemp->Name);

fprintf(fp,"%s\t%s\n",fiTemp->Name,extension);
}

fclose(fp);

this code works using
#using <mscorlib.dll> with /clr option.
this is working fine on my machine.
but i fail to run this application on another machine that doesnt have visual studio installed. As i dont know how to specify path for this dll at run time.
thanks
sachin
GeneralRe: Unable to run the application on machine without VC++ installed Pin
Colin Angus Mackay16-Feb-05 0:07
Colin Angus Mackay16-Feb-05 0:07 
GeneralRe: Unable to run the application on machine without VC++ installed Pin
Anonymous17-Feb-05 17:08
Anonymous17-Feb-05 17:08 
GeneralRe: Unable to run the application on machine without VC++ installed Pin
yasinPL17-Feb-05 14:00
yasinPL17-Feb-05 14:00 
Generalcompress fonts at runtime Pin
tuanattech215-Feb-05 19:43
tuanattech215-Feb-05 19:43 
GeneralClick Events in .NET Pin
sarabjs15-Feb-05 9:30
sarabjs15-Feb-05 9:30 
GeneralRe: Click Events in .NET Pin
S. Senthil Kumar15-Feb-05 11:05
S. Senthil Kumar15-Feb-05 11:05 
GeneralRe: Click Events in .NET Pin
sarabjs15-Feb-05 11:58
sarabjs15-Feb-05 11:58 
GeneralRe: Click Events in .NET Pin
sarabjs15-Feb-05 13:03
sarabjs15-Feb-05 13:03 
GeneralRe: Click Events in .NET Pin
S. Senthil Kumar15-Feb-05 18:26
S. Senthil Kumar15-Feb-05 18:26 
GeneralRe: Click Events in .NET Pin
sarabjs22-Feb-05 10:22
sarabjs22-Feb-05 10:22 
GeneralDeserialization throws "No Top Object" exception. Pin
ganeshvijay14-Feb-05 20:55
ganeshvijay14-Feb-05 20:55 
Generalsuitability of .net for network servers Pin
kon_t14-Feb-05 8:25
kon_t14-Feb-05 8:25 
GeneralRe: suitability of .net for network servers Pin
Mike Dimmick15-Feb-05 2:20
Mike Dimmick15-Feb-05 2:20 
GeneralRe: suitability of .net for network servers Pin
kon_t16-Feb-05 15:42
kon_t16-Feb-05 15:42 
GeneralRe: suitability of .net for network servers Pin
Mike Dimmick17-Feb-05 2:57
Mike Dimmick17-Feb-05 2:57 
GeneralRe: suitability of .net for network servers Pin
kon_t17-Feb-05 11:46
kon_t17-Feb-05 11:46 
GeneralRe: suitability of .net for network servers Pin
Rei Miyasaka22-Feb-05 21:43
Rei Miyasaka22-Feb-05 21:43 

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.