Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
MoustafaS16-Jun-05 7:50
MoustafaS16-Jun-05 7:50 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
Sasuko16-Jun-05 7:55
Sasuko16-Jun-05 7:55 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
MoustafaS16-Jun-05 7:58
MoustafaS16-Jun-05 7:58 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
Alomgir Miah16-Jun-05 7:56
Alomgir Miah16-Jun-05 7:56 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
Sasuko16-Jun-05 8:14
Sasuko16-Jun-05 8:14 
GeneralRe: Draw a rect of image inside a part of picturebox Pin
Sasuko16-Jun-05 9:18
Sasuko16-Jun-05 9:18 
GeneralAdvanced problem Pin
snouto16-Jun-05 7:18
snouto16-Jun-05 7:18 
GeneralRe: Advanced problem Pin
nemopeti16-Jun-05 7:55
nemopeti16-Jun-05 7:55 
When I wrote my firs (and only Big Grin | :-D ) "self updating" program, I use teh following method:
- I create a static string in teh code for the version number
- I create a folder in my website in the folder there is a textfile called version.txt contains only one line, the current version number, and int his folder also in the new verson of tehe .exe and a nother file called updater.exe
- when my app starts meka a web request, and read the version number from the version.txt and if it's not same as the number in the exe:
- download the updater.exe, and run it
- the updater.exe close the real app, and download the new app.exe from the web
- then start it, and close themselves
- now, the new version is on the machine, and run Big Grin | :-D

Perhapes the app delete the updater.exe from the computer, vhen finishing the update Wink | ;)

I know It's a crazy, nd maybe stupid way, but when I do this I haven't a better idea, and It's work fine Poke tongue | ;-P

But the exper CP aunthors shud tell you a better way :->
GeneralRe: Advanced problem Pin
DavidNohejl16-Jun-05 8:38
DavidNohejl16-Jun-05 8:38 
GeneralGeneric GDI+ error Pin
Alomgir Miah16-Jun-05 7:01
Alomgir Miah16-Jun-05 7:01 
GeneralRe: Generic GDI+ error Pin
Michael Potter16-Jun-05 8:45
Michael Potter16-Jun-05 8:45 
GeneralRe: Generic GDI+ error Pin
Alomgir Miah16-Jun-05 9:49
Alomgir Miah16-Jun-05 9:49 
GeneralValidating user login Pin
Guinness4Strength16-Jun-05 6:16
Guinness4Strength16-Jun-05 6:16 
GeneralRe: Validating user login Pin
nemopeti16-Jun-05 6:43
nemopeti16-Jun-05 6:43 
GeneralRe: Validating user login Pin
Guinness4Strength16-Jun-05 6:45
Guinness4Strength16-Jun-05 6:45 
GeneralRe: Validating user login Pin
nemopeti16-Jun-05 7:16
nemopeti16-Jun-05 7:16 
GeneralRe: Validating user login Pin
Guinness4Strength16-Jun-05 7:32
Guinness4Strength16-Jun-05 7:32 
GeneralRuntime cast down inheritance tree Pin
Gizz16-Jun-05 4:51
Gizz16-Jun-05 4:51 
GeneralRe: Runtime cast down inheritance tree Pin
S. Senthil Kumar16-Jun-05 5:10
S. Senthil Kumar16-Jun-05 5:10 
GeneralRe: Runtime cast down inheritance tree Pin
Colin Angus Mackay16-Jun-05 5:29
Colin Angus Mackay16-Jun-05 5:29 
QuestionIs it possible to store unicode as Ansi and convert back again? Pin
Member 9616-Jun-05 4:39
Member 9616-Jun-05 4:39 
AnswerRe: Is it possible to store unicode as Ansi and convert back again? Pin
Dave Kreskowiak16-Jun-05 5:08
mveDave Kreskowiak16-Jun-05 5:08 
GeneralRe: Is it possible to store unicode as Ansi and convert back again? Pin
Member 9616-Jun-05 5:11
Member 9616-Jun-05 5:11 
Answer*SOLVED* Pin
Member 9616-Jun-05 6:40
Member 9616-Jun-05 6:40 
GeneralRe: *SOLVED* Pin
Dave Kreskowiak16-Jun-05 8:09
mveDave Kreskowiak16-Jun-05 8:09 

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.