Click here to Skip to main content
15,881,882 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to check internet connection is there or not in vb 6.0?? Pin
JC.KaNNaN4-Jan-10 22:36
JC.KaNNaN4-Jan-10 22:36 
AnswerRe: How to check internet connection is there or not in vb 6.0?? Pin
Aric Wang4-Jan-10 23:05
Aric Wang4-Jan-10 23:05 
GeneralRe: How to check internet connection is there or not in vb 6.0?? Pin
JC.KaNNaN5-Jan-10 0:57
JC.KaNNaN5-Jan-10 0:57 
AnswerRe: How to check internet connection is there or not in vb 6.0?? Pin
Dave Kreskowiak5-Jan-10 3:44
mveDave Kreskowiak5-Jan-10 3:44 
QuestionNewbie Question Regarding Internet Communication Pin
BubbaMN4-Jan-10 17:26
BubbaMN4-Jan-10 17:26 
AnswerRe: Newbie Question Regarding Internet Communication Pin
Abhinav S4-Jan-10 18:58
Abhinav S4-Jan-10 18:58 
Questionhow to use wintrust.dll Pin
Anubhava Dimri4-Jan-10 0:14
Anubhava Dimri4-Jan-10 0:14 
AnswerRe: how to use wintrust.dll Pin
Dave Kreskowiak4-Jan-10 8:53
mveDave Kreskowiak4-Jan-10 8:53 
The machine has to be told to trust the application. The best your app can do is to request FullTrust permissions. You cannot use wintrust.dll to force your code to run as "FullTrust". Telling the system to trust your code is normally done at installation time, not runtime. All code the user launches executes AS the user and cannot grant itself more permissions than it already has when launched.

Code can be run from various sources, either local, network, or whever. Each of these sources falls into several categories, called Zones, like MyComputer, LocalIntranet, Internet, Restricted, and Trusted. In a default configuration, if your code was installed on the local drive, it would be running from the MyComputer Zone and have more permissions to access machine resources than if the very same app was running from the LocalIntranet or Internet Zones.

I highly recommend reading up on Code Access Security so yuo understand what's going on and how to apply it to what you really want to accomplish. BTW: You never said why you want to do this.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




QuestionHw to give folder permission using vb6.0 ? Pin
JC.KaNNaN3-Jan-10 23:22
JC.KaNNaN3-Jan-10 23:22 
AnswerRe: Hw to give folder permission using vb6.0 ? Pin
Eddy Vluggen4-Jan-10 1:20
professionalEddy Vluggen4-Jan-10 1:20 
QuestionText 2 Speach Pin
JR2123-Jan-10 21:48
JR2123-Jan-10 21:48 
AnswerRe: Text 2 Speach Pin
DaveAuld3-Jan-10 23:26
professionalDaveAuld3-Jan-10 23:26 
GeneralRe: Text 2 Speach Pin
JR2124-Jan-10 23:22
JR2124-Jan-10 23:22 
QuestionScanner Interface Pin
WinCrs3-Jan-10 18:42
WinCrs3-Jan-10 18:42 
AnswerRe: Scanner Interface Pin
DaveAuld3-Jan-10 19:41
professionalDaveAuld3-Jan-10 19:41 
AnswerRe: Scanner Interface Pin
tosch3-Jan-10 23:27
tosch3-Jan-10 23:27 
QuestionHow do i open an excel file in a Richtextbox in vb.net 2008? Pin
r_mohd2-Jan-10 15:36
r_mohd2-Jan-10 15:36 
AnswerRe: How do i open an excel file in a Richtextbox in vb.net 2008? Pin
Naji El Kotob2-Jan-10 17:28
Naji El Kotob2-Jan-10 17:28 
AnswerRe: How do i open an excel file in a Richtextbox in vb.net 2008? Pin
Rod Kemp2-Jan-10 17:35
Rod Kemp2-Jan-10 17:35 
QuestionHow to read/extract data from a web page? Pin
jadothebest2-Jan-10 15:06
jadothebest2-Jan-10 15:06 
AnswerRe: How to read/extract data from a web page? Pin
nlarson112-Jan-10 16:43
nlarson112-Jan-10 16:43 
GeneralMessage Removed Pin
3-Jan-10 9:39
jadothebest3-Jan-10 9:39 
GeneralRe: How to read/extract data from a web page? Pin
Dave Kreskowiak3-Jan-10 15:12
mveDave Kreskowiak3-Jan-10 15:12 
GeneralMessage Removed Pin
3-Jan-10 15:17
jadothebest3-Jan-10 15:17 
GeneralRe: How to read/extract data from a web page? Pin
Dave Kreskowiak3-Jan-10 17:34
mveDave Kreskowiak3-Jan-10 17:34 

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.