Click here to Skip to main content
15,891,204 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Encoding and decoding a text file Pin
Albert Holguin5-Jun-12 7:44
professionalAlbert Holguin5-Jun-12 7:44 
GeneralRe: Encoding and decoding a text file Pin
wizardzz5-Jun-12 7:44
wizardzz5-Jun-12 7:44 
QuestionWCF service based application design Pin
dan!sh 27-May-12 6:21
professional dan!sh 27-May-12 6:21 
AnswerRe: WCF service based application design Pin
Ed K6-Jun-12 3:47
Ed K6-Jun-12 3:47 
Question[algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien25-May-12 9:19
Maximilien25-May-12 9:19 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
GFRANTA25-May-12 11:22
GFRANTA25-May-12 11:22 
QuestionRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien25-May-12 12:34
Maximilien25-May-12 12:34 
AnswerRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Eddy Vluggen26-May-12 2:49
professionalEddy Vluggen26-May-12 2:49 
The way that Windows names files on clash depends on your Windows version. Easiest way to duplicate this is by getting the filename, and checking if there's an entry in the same directory with that constant attached;

SomeDocument.docx
OtherFile.txt
Dialogs.bin
SomeDocument - Copy.docx
Desktop.ini

Iterate the files, check for the constant - and add 1 to the value if appropriate. AFAIK, there's no existing API that does this for you. If there is, I definitely like to know Smile | :)
Bastard Programmer from Hell Suspicious | :suss:

GeneralRe: [algo] Algo for naming of duplicate/clone "objects" ? Pin
Maximilien26-May-12 8:06
Maximilien26-May-12 8:06 
QuestionCross cutting concerns Pin
Leslie Sanford25-May-12 3:43
Leslie Sanford25-May-12 3:43 
AnswerRe: Cross cutting concerns Pin
Eddy Vluggen25-May-12 3:52
professionalEddy Vluggen25-May-12 3:52 
GeneralRe: Cross cutting concerns Pin
jschell25-May-12 9:02
jschell25-May-12 9:02 
AnswerRe: Cross cutting concerns Pin
jschell25-May-12 9:12
jschell25-May-12 9:12 
AnswerRe: Cross cutting concerns Pin
Ed K6-Jun-12 3:49
Ed K6-Jun-12 3:49 
AnswerRe: Cross cutting concerns Pin
Keld Ølykke20-Jun-12 6:00
Keld Ølykke20-Jun-12 6:00 
QuestionScope For Hospital Management Pin
santosh_pathak22-May-12 21:57
santosh_pathak22-May-12 21:57 
AnswerRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:06
mvePete O'Hanlon22-May-12 22:06 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:14
santosh_pathak22-May-12 22:14 
GeneralRe: Scope For Hospital Management Pin
Pete O'Hanlon22-May-12 22:21
mvePete O'Hanlon22-May-12 22:21 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:25
santosh_pathak22-May-12 22:25 
GeneralRe: Scope For Hospital Management Pin
Vivi Chellappa27-May-12 21:51
professionalVivi Chellappa27-May-12 21:51 
AnswerRe: Scope For Hospital Management Pin
Bernhard Hiller22-May-12 22:30
Bernhard Hiller22-May-12 22:30 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak22-May-12 22:55
santosh_pathak22-May-12 22:55 
AnswerRe: Scope For Hospital Management Pin
jschell23-May-12 10:28
jschell23-May-12 10:28 
GeneralRe: Scope For Hospital Management Pin
santosh_pathak23-May-12 17:15
santosh_pathak23-May-12 17:15 

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.