Click here to Skip to main content
15,923,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProgrammatically copying a folder in MFC Pin
Ashman15-Feb-04 22:53
Ashman15-Feb-04 22:53 
GeneralRe: Programmatically copying a folder in MFC Pin
Prakash Nadar15-Feb-04 23:23
Prakash Nadar15-Feb-04 23:23 
GeneralRe: Programmatically copying a folder in MFC Pin
Ashman16-Feb-04 2:25
Ashman16-Feb-04 2:25 
GeneralRe: Programmatically copying a folder in MFC Pin
David Crow16-Feb-04 2:36
David Crow16-Feb-04 2:36 
GeneralRe: Programmatically copying a folder in MFC Pin
Ashman16-Feb-04 2:42
Ashman16-Feb-04 2:42 
GeneralRe: Programmatically copying a folder in MFC Pin
David Crow16-Feb-04 2:55
David Crow16-Feb-04 2:55 
QuestionAutoUpgrade Feature ? Pin
RaajaOfSelf15-Feb-04 21:57
RaajaOfSelf15-Feb-04 21:57 
AnswerRe: AutoUpgrade Feature ? Pin
Ashman16-Feb-04 2:36
Ashman16-Feb-04 2:36 
What I did, which was kind of slow maybe to create an autoupdater was to get my program to connect to the server, navigate to updates folder and open a file which was similar to an ini file. Get the current version of the program the user is running, set a variable for each new version like; Version 1.10a = 1 and Version 1.10b = 2 etc.

On the server say the new version is Version 1.10c which = 3, try like: Note this is using CIniEx as an example...
<br />
CString strVersion;<br />
ini.Open("Version.ini");<br />
strVersion=ini.GetValue("Program","Version");<br />
<br />
if(strVersion == "3") //Just an example, or just get the string value from a file on the webserver<br />
{<br />
//You have the current version<br />
}<br />
else {<br />
//Open another file to get the location of the new updated program and then download it and execute it<br />
}<br />
<br />


Just a suggestion....bit hard to explain considering Im a complete knob. For some reason things just work themselves out for me programmatically Confused | :confused: . Hope that helped. Unsure | :~ Eek! | :eek:

Ashman
QuestionHow do you get the functions exported by the dll and Pin
SamirSood15-Feb-04 21:17
SamirSood15-Feb-04 21:17 
AnswerRe: How do you get the functions exported by the dll and Pin
RaajaOfSelf15-Feb-04 22:01
RaajaOfSelf15-Feb-04 22:01 
AnswerRe: How do you get the functions exported by the dll and Pin
David Crow16-Feb-04 2:38
David Crow16-Feb-04 2:38 
GeneralRe: How do you get the functions exported by the dll and Pin
Steve S16-Feb-04 4:58
Steve S16-Feb-04 4:58 
Generalsimple database system Pin
LamLie`15-Feb-04 20:58
LamLie`15-Feb-04 20:58 
GeneralRe: simple database system Pin
David Crow16-Feb-04 2:41
David Crow16-Feb-04 2:41 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 13:41
LamLie`16-Feb-04 13:41 
GeneralRe: simple database system Pin
Toni7816-Feb-04 15:29
Toni7816-Feb-04 15:29 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 15:36
LamLie`16-Feb-04 15:36 
GeneralRe: simple database system Pin
Toni7816-Feb-04 15:41
Toni7816-Feb-04 15:41 
GeneralRe: simple database system Pin
LamLie`16-Feb-04 15:44
LamLie`16-Feb-04 15:44 
GeneralFile sharing problem Pin
spingkoy15-Feb-04 20:41
spingkoy15-Feb-04 20:41 
GeneralRe: File sharing problem Pin
David Crow16-Feb-04 2:54
David Crow16-Feb-04 2:54 
Generaltypecat varenum to string Pin
Inam15-Feb-04 20:33
Inam15-Feb-04 20:33 
GeneralAfxConnectionAdvise retuning false Pin
Abhi Lahare15-Feb-04 19:41
Abhi Lahare15-Feb-04 19:41 
GeneralRe: AfxConnectionAdvise retuning false Pin
Prakash Nadar15-Feb-04 19:51
Prakash Nadar15-Feb-04 19:51 
GeneralRe: AfxConnectionAdvise retuning false Pin
Abhi Lahare15-Feb-04 20:02
Abhi Lahare15-Feb-04 20:02 

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.