Click here to Skip to main content
14,451,732 members

.NET Framework

 
GeneralRe: .NET 4.7.1 Pin
Member 1361680410-Jan-18 13:05
MemberMember 1361680410-Jan-18 13:05 
GeneralRe: .NET 4.7.1 Pin
Pete O'Hanlon10-Jan-18 13:16
communityengineerPete O'Hanlon10-Jan-18 13:16 
QuestionHow to update all document number listed in datagridview using VB.net Pin
Fbanz121-Jan-18 15:48
MemberFbanz121-Jan-18 15:48 
SuggestionRe: How to update all document number listed in datagridview using VB.net Pin
Richard MacCutchan2-Jan-18 0:04
communityengineerRichard MacCutchan2-Jan-18 0:04 
GeneralRe: How to update all document number listed in datagridview using VB.net Pin
Fbanz122-Jan-18 15:25
MemberFbanz122-Jan-18 15:25 
GeneralRe: How to update all document number listed in datagridview using VB.net Pin
Richard MacCutchan3-Jan-18 0:29
communityengineerRichard MacCutchan3-Jan-18 0:29 
AnswerRe: How to update all document number listed in datagridview using VB.net Pin
Dave Kreskowiak2-Jan-18 4:05
mveDave Kreskowiak2-Jan-18 4:05 
QuestionLanguage independent shell32.GetDetailsOf (extended file system attributes) Pin
Member 798912227-Dec-17 2:31
MemberMember 798912227-Dec-17 2:31 
(I am sorry if this is an old question - the search mechanism doesn't work today: If I click a hit list entry, it doesn't show that message, but goes to the top of the forum; I don't get to read the question/answer.)

I started out in Win7 using constants for identifying extended file system attributes (such as "Link target"). Then came Win8, and I learned the truth of "Constants ain't; variables won't": I had to check the OS version and select the attribute number from one of several tables. Win10 came with yet another set of "constants" to select the attributes - yet another table.

Then came a Win10 update that changed the constants again - but still the OS identifies itself as Win10. Rather than adding another table for (potentially) each OS update (they were compiled into the code, so a new revision meant I had to distribute a new version of my code), I changed the strategy to dynamically build a table of attribute names, their index in the array being the attribute number. (You get the attribute name by calling GetDetailsOf with 0 as the first argument.) This has worked for some time.

Then comes this guy from our development group in Poland, complaining that my code doesn't work. After an extensive search, it turns out that it fails when he is running the code on a machine with a Polish Windows version: GetDetailsOf(0, AttrNo) returns the Polish attribute name. When my code looks for, say, "Link target" in the table, it won't find it.

I could make those guys provide a list of the Polish names, so that I search for either "Link target" or whatever Link target is in Poland. I will have to compile a new version, then the Polish guys will be happy. Maybe our Finish office will come three months later and tell that they have switched to Finish Windows versions (currently they use an English/US version), and I have to make a new version looking for either the English, the Polish or the Finish attribute name.

Is there no way to identify a given extended attribute in a general way, independent of language version, independent of OS version? A way that works in Polish Windows even of I don't know the Polish attribute names, in Finish Windows even if I don't know the Finish names, or in any other languge where I don't know the terms?

I am NOT going to translate the entire UI to umpteen languages - I am making programmer's tools, and a programmer can use an English language UI. What I need is to get the information from the file system in a language independent way!
AnswerRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Richard MacCutchan27-Dec-17 4:01
communityengineerRichard MacCutchan27-Dec-17 4:01 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Member 798912227-Dec-17 4:57
MemberMember 798912227-Dec-17 4:57 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Richard MacCutchan27-Dec-17 5:07
communityengineerRichard MacCutchan27-Dec-17 5:07 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Member 798912227-Dec-17 5:46
MemberMember 798912227-Dec-17 5:46 
AnswerRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Gerry Schmitz28-Dec-17 8:28
mveGerry Schmitz28-Dec-17 8:28 
QuestionHow Good is Doing Programming Inverview Practice Online? Pin
CodeFights12-Dec-17 21:27
professionalCodeFights12-Dec-17 21:27 
AnswerRe: How Good is Doing Programming Inverview Practice Online? Pin
Richard MacCutchan12-Dec-17 23:07
communityengineerRichard MacCutchan12-Dec-17 23:07 
GeneralRe: How Good is Doing Programming Inverview Practice Online? Pin
Anup Singh10-Jan-18 3:29
MemberAnup Singh10-Jan-18 3:29 
AnswerRe: How Good is Doing Programming Inverview Practice Online? Pin
jschell14-Dec-17 9:38
Memberjschell14-Dec-17 9:38 
Questionneed tutor online for .net core and sql server with msbi and azure deployment Pin
vinothsrivi12-Dec-17 16:51
Membervinothsrivi12-Dec-17 16:51 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Richard MacCutchan12-Dec-17 23:06
communityengineerRichard MacCutchan12-Dec-17 23:06 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Pete O'Hanlon13-Dec-17 0:13
communityengineerPete O'Hanlon13-Dec-17 0:13 
GeneralRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
vinothsrivi13-Dec-17 0:55
Membervinothsrivi13-Dec-17 0:55 
GeneralRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Dave Kreskowiak13-Dec-17 3:12
mveDave Kreskowiak13-Dec-17 3:12 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Dave Kreskowiak13-Dec-17 3:14
mveDave Kreskowiak13-Dec-17 3:14 
Questionreverse a function Pin
cootechgy11-Dec-17 12:24
Membercootechgy11-Dec-17 12:24 
AnswerRe: reverse a function Pin
Eddy Vluggen11-Dec-17 12:56
professionalEddy Vluggen11-Dec-17 12:56 

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.