Click here to Skip to main content
14,303,603 members

.NET Framework

 
QuestionGet MAC address only from internal ethernet connection Pin
blueye8923-Mar-18 11:58
memberblueye8923-Mar-18 11:58 
AnswerRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak23-Mar-18 13:44
mveDave Kreskowiak23-Mar-18 13:44 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 7:32
memberblueye8924-Mar-18 7:32 
GeneralRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak24-Mar-18 7:41
mveDave Kreskowiak24-Mar-18 7:41 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 8:59
memberblueye8924-Mar-18 8:59 
GeneralRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak24-Mar-18 9:21
mveDave Kreskowiak24-Mar-18 9:21 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 9:29
memberblueye8924-Mar-18 9:29 
QuestionBest Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 5:24
memberAlan Burkhart22-Mar-18 5:24 
I'm creating a "Find In Files" application for my own use in VB.net. After seeing all the problems people have working around UnauthorizedAccess exceptions, I used a windowless call to cmd.exe to get a directory list and sent it to a text file like so:
sw.WriteLine("dir/s/b/ad >" & ChrW(34) & dataPath & ChrW(34))

This avoids directories to which I don't have access, and it's pretty fast. But since I didn't see this anywhere else, I have to assume either I'm a genius or this is a really bad idea (probably the latter).

I thought I might upload the project to CP when it's done, so my question is whether this is considered an acceptable practice or should I work on a different method of enumerating the directories?
Sometimes the true reward for completing a task is not the money, but instead the satisfaction of a job well done. But it's usually the money.

AnswerRe: Best Practice Question When Enumerating Directories Pin
Gerry Schmitz22-Mar-18 5:52
mveGerry Schmitz22-Mar-18 5:52 
SuggestionRe: Best Practice Question When Enumerating Directories Pin
Richard MacCutchan22-Mar-18 5:56
protectorRichard MacCutchan22-Mar-18 5:56 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 11:39
memberAlan Burkhart22-Mar-18 11:39 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Richard MacCutchan22-Mar-18 23:02
protectorRichard MacCutchan22-Mar-18 23:02 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart23-Mar-18 8:31
memberAlan Burkhart23-Mar-18 8:31 
AnswerRe: Best Practice Question When Enumerating Directories Pin
Eddy Vluggen22-Mar-18 6:55
mveEddy Vluggen22-Mar-18 6:55 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 11:40
memberAlan Burkhart22-Mar-18 11:40 
QuestionVb.net delete rows based on search criteria Pin
Andiko21-Mar-18 23:11
memberAndiko21-Mar-18 23:11 
AnswerRe: Vb.net delete rows based on search criteria Pin
Gerry Schmitz22-Mar-18 6:00
mveGerry Schmitz22-Mar-18 6:00 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko22-Mar-18 22:20
memberAndiko22-Mar-18 22:20 
GeneralRe: Vb.net delete rows based on search criteria Pin
Gerry Schmitz22-Mar-18 22:40
mveGerry Schmitz22-Mar-18 22:40 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko23-Mar-18 0:14
memberAndiko23-Mar-18 0:14 
AnswerRe: Vb.net delete rows based on search criteria Pin
Richard Deeming23-Mar-18 2:23
mveRichard Deeming23-Mar-18 2:23 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko23-Mar-18 2:51
memberAndiko23-Mar-18 2:51 
GeneralRe: Vb.net delete rows based on search criteria Pin
Richard Deeming23-Mar-18 2:59
mveRichard Deeming23-Mar-18 2:59 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko23-Mar-18 4:13
memberAndiko23-Mar-18 4:13 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko23-Mar-18 4:21
memberAndiko23-Mar-18 4:21 

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.