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

.NET (Core and Framework)

 
GeneralRe: .NET 4.7.1 Pin
Member 1361680410-Jan-18 12:05
Member 1361680410-Jan-18 12:05 
GeneralRe: .NET 4.7.1 Pin
Pete O'Hanlon10-Jan-18 12:16
mvePete O'Hanlon10-Jan-18 12:16 
QuestionHow to update all document number listed in datagridview using VB.net Pin
Fbanz121-Jan-18 14:48
Fbanz121-Jan-18 14:48 
SuggestionRe: How to update all document number listed in datagridview using VB.net Pin
Richard MacCutchan1-Jan-18 23:04
mveRichard MacCutchan1-Jan-18 23:04 
GeneralRe: How to update all document number listed in datagridview using VB.net Pin
Fbanz122-Jan-18 14:25
Fbanz122-Jan-18 14:25 
GeneralRe: How to update all document number listed in datagridview using VB.net Pin
Richard MacCutchan2-Jan-18 23:29
mveRichard MacCutchan2-Jan-18 23:29 
AnswerRe: How to update all document number listed in datagridview using VB.net Pin
Dave Kreskowiak2-Jan-18 3:05
mveDave Kreskowiak2-Jan-18 3:05 
QuestionLanguage independent shell32.GetDetailsOf (extended file system attributes) Pin
kalberts27-Dec-17 1:31
kalberts27-Dec-17 1: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 3:01
mveRichard MacCutchan27-Dec-17 3:01 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
kalberts27-Dec-17 3:57
kalberts27-Dec-17 3:57 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Richard MacCutchan27-Dec-17 4:07
mveRichard MacCutchan27-Dec-17 4:07 
GeneralRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
kalberts27-Dec-17 4:46
kalberts27-Dec-17 4:46 
AnswerRe: Language independent shell32.GetDetailsOf (extended file system attributes) Pin
Gerry Schmitz28-Dec-17 7:28
mveGerry Schmitz28-Dec-17 7:28 
QuestionHow Good is Doing Programming Inverview Practice Online? Pin
CodeFights12-Dec-17 20:27
professionalCodeFights12-Dec-17 20:27 
AnswerRe: How Good is Doing Programming Inverview Practice Online? Pin
Richard MacCutchan12-Dec-17 22:07
mveRichard MacCutchan12-Dec-17 22:07 
GeneralRe: How Good is Doing Programming Inverview Practice Online? Pin
Anup Singh10-Jan-18 2:29
Anup Singh10-Jan-18 2:29 
AnswerRe: How Good is Doing Programming Inverview Practice Online? Pin
jschell14-Dec-17 8:38
jschell14-Dec-17 8:38 
Questionneed tutor online for .net core and sql server with msbi and azure deployment Pin
vinothsrivi12-Dec-17 15:51
vinothsrivi12-Dec-17 15:51 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Richard MacCutchan12-Dec-17 22:06
mveRichard MacCutchan12-Dec-17 22:06 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Pete O'Hanlon12-Dec-17 23:13
mvePete O'Hanlon12-Dec-17 23:13 
GeneralRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
vinothsrivi12-Dec-17 23:55
vinothsrivi12-Dec-17 23:55 
GeneralRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Dave Kreskowiak13-Dec-17 2:12
mveDave Kreskowiak13-Dec-17 2:12 
AnswerRe: need tutor online for .net core and sql server with msbi and azure deployment Pin
Dave Kreskowiak13-Dec-17 2:14
mveDave Kreskowiak13-Dec-17 2:14 
Questionreverse a function Pin
cootechgy11-Dec-17 11:24
cootechgy11-Dec-17 11:24 
AnswerRe: reverse a function Pin
Eddy Vluggen11-Dec-17 11:56
professionalEddy Vluggen11-Dec-17 11: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.