Click here to Skip to main content
15,898,902 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: C# user control in VB6.0 Pin
Eddy Vluggen18-Feb-10 1:37
professionalEddy Vluggen18-Feb-10 1:37 
GeneralRe: C# user control in VB6.0 Pin
Q2A18-Feb-10 7:52
Q2A18-Feb-10 7:52 
GeneralRe: C# user control in VB6.0 Pin
Eddy Vluggen18-Feb-10 9:25
professionalEddy Vluggen18-Feb-10 9:25 
GeneralRe: C# user control in VB6.0 Pin
Q2A18-Feb-10 19:18
Q2A18-Feb-10 19:18 
GeneralRe: C# user control in VB6.0 Pin
Eddy Vluggen19-Feb-10 0:57
professionalEddy Vluggen19-Feb-10 0:57 
QuestionRemove cached network username and password [Solved] Pin
andre de jong17-Feb-10 22:01
andre de jong17-Feb-10 22:01 
AnswerRe: Remove cached network username and password Pin
Dave Kreskowiak18-Feb-10 2:16
mveDave Kreskowiak18-Feb-10 2:16 
GeneralRe: Remove cached network username and password Pin
andre de jong18-Feb-10 6:03
andre de jong18-Feb-10 6:03 
When I,m mapping a network Share with the WNetAddConnection2 function and then remove the share again
I can add the share with the same function again but without providing a username and password.
Even after a reboot.


Private Declare Function WNetAddConnection2 Lib "mpr.dll" Alias "WNetAddConnection2A" _
(ByRef lpNetResource As NETRESOURCE, ByVal lpPassword As String, _
ByVal lpUserName As String, ByVal dwFlags As Integer) As Integer


dwFlags = CONNECT_TEMPORARY

''' The network resource connection should not be remembered.
''' If this flag is set, the operating system will not attempt to restore the connection
''' when the user logs on again.

Is there a way to remove the username and password when the mapped network share is removed?
Or am I using the wrong "dwFlags"
GeneralRe: Remove cached network username and password Pin
Dave Kreskowiak18-Feb-10 7:16
mveDave Kreskowiak18-Feb-10 7:16 
GeneralRe: Remove cached network username and password Pin
andre de jong18-Feb-10 9:50
andre de jong18-Feb-10 9:50 
GeneralRe: Remove cached network username and password Pin
andre de jong18-Feb-10 9:54
andre de jong18-Feb-10 9:54 
QuestionExcel verison problem Pin
D.Manivelan17-Feb-10 19:34
D.Manivelan17-Feb-10 19:34 
AnswerRe: Excel verison problem Pin
JustWorking17-Feb-10 20:52
JustWorking17-Feb-10 20:52 
QuestionUnicode text in vb 6.0 Pin
getnanda@gmail.com17-Feb-10 19:09
getnanda@gmail.com17-Feb-10 19:09 
AnswerRe: Unicode text in vb 6.0 Pin
Eddy Vluggen17-Feb-10 23:34
professionalEddy Vluggen17-Feb-10 23:34 
Questionusing Notifyicon Pin
vijaylumar17-Feb-10 18:00
vijaylumar17-Feb-10 18:00 
AnswerRe: using Notifyicon Pin
εїзεїзεїз17-Feb-10 18:31
εїзεїзεїз17-Feb-10 18:31 
GeneralRe: using Notifyicon Pin
vijaylumar17-Feb-10 18:39
vijaylumar17-Feb-10 18:39 
GeneralRe: using Notifyicon Pin
Dave Kreskowiak17-Feb-10 18:42
mveDave Kreskowiak17-Feb-10 18:42 
GeneralRe: using Notifyicon Pin
vijaylumar17-Feb-10 18:49
vijaylumar17-Feb-10 18:49 
GeneralRe: using Notifyicon Pin
Dave Kreskowiak17-Feb-10 18:54
mveDave Kreskowiak17-Feb-10 18:54 
QuestionIs it Possible Pin
Anubhava Dimri17-Feb-10 17:43
Anubhava Dimri17-Feb-10 17:43 
AnswerRe: Is it Possible Pin
εїзεїзεїз17-Feb-10 18:29
εїзεїзεїз17-Feb-10 18:29 
GeneralRe: Is it Possible Pin
Anubhava Dimri17-Feb-10 19:07
Anubhava Dimri17-Feb-10 19:07 
AnswerRe: Is it Possible Pin
Dave Kreskowiak17-Feb-10 18:40
mveDave Kreskowiak17-Feb-10 18: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.