Click here to Skip to main content
15,924,402 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: property and fucntion Pin
Iftikhar Ali4-Jan-06 5:38
Iftikhar Ali4-Jan-06 5:38 
QuestionHow to delete exe/dll file from itself? Pin
Iftikhar Ali30-Dec-05 19:10
Iftikhar Ali30-Dec-05 19:10 
AnswerRe: How to delete exe/dll file from itself? Pin
Jeeva Jose30-Dec-05 22:01
Jeeva Jose30-Dec-05 22:01 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:04
Iftikhar Ali2-Jan-06 3:04 
GeneralRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak2-Jan-06 11:50
mveDave Kreskowiak2-Jan-06 11:50 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:12
Iftikhar Ali2-Jan-06 19:12 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:21
Iftikhar Ali2-Jan-06 19:21 
AnswerRe: How to delete exe/dll file from itself? Pin
Steve Pullan30-Dec-05 23:56
Steve Pullan30-Dec-05 23:56 
Iftikhar Ali wrote:
Now if the user is not authorised to use this dll, i want to delete this dll from the code within this dll in runtime


A better method would simply be to not process any requests for methods/properties on your class. Self-destructing is not a very friendly way to do things, besides, your DLL will be in use and cannot be deleted. All locks must first be released.

...Steve

"Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life."

(Translation: I'll show you the way, but not write the code for you.)
I read that somewhere once Smile | :)
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:08
Iftikhar Ali2-Jan-06 3:08 
GeneralRe: How to delete exe/dll file from itself? Pin
Steve Pullan2-Jan-06 3:37
Steve Pullan2-Jan-06 3:37 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:44
Iftikhar Ali2-Jan-06 3:44 
GeneralRe: How to delete exe/dll file from itself? Pin
Steve Pullan2-Jan-06 11:29
Steve Pullan2-Jan-06 11:29 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:16
Iftikhar Ali2-Jan-06 19:16 
AnswerRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak31-Dec-05 5:03
mveDave Kreskowiak31-Dec-05 5:03 
GeneralRe: How to delete exe/dll file from itself? Pin
AndrewPeters31-Dec-05 15:27
AndrewPeters31-Dec-05 15:27 
GeneralRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak1-Jan-06 6:19
mveDave Kreskowiak1-Jan-06 6:19 
GeneralRe: How to delete exe/dll file from itself? Pin
AndrewPeters1-Jan-06 8:32
AndrewPeters1-Jan-06 8:32 
GeneralRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak1-Jan-06 11:37
mveDave Kreskowiak1-Jan-06 11:37 
GeneralRe: How to delete exe/dll file from itself? Pin
AndrewPeters1-Jan-06 14:35
AndrewPeters1-Jan-06 14:35 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:27
Iftikhar Ali2-Jan-06 3:27 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:22
Iftikhar Ali2-Jan-06 3:22 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:16
Iftikhar Ali2-Jan-06 3:16 
GeneralRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak2-Jan-06 7:08
mveDave Kreskowiak2-Jan-06 7:08 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:06
Iftikhar Ali2-Jan-06 19:06 
GeneralRe: How to delete exe/dll file from itself? Pin
Steve Pullan2-Jan-06 19:40
Steve Pullan2-Jan-06 19:40 

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.