Click here to Skip to main content
15,887,585 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: await can't find GetAwaitor method Pin
__John_23-Feb-16 22:07
__John_23-Feb-16 22:07 
QuestionMail messages are stuck in outgoing queue in IIS SMTP server with windows authentication? Pin
Member 1138787716-Feb-16 1:53
Member 1138787716-Feb-16 1:53 
AnswerRe: Mail messages are stuck in outgoing queue in IIS SMTP server with windows authentication? Pin
Eddy Vluggen18-Feb-16 3:24
professionalEddy Vluggen18-Feb-16 3:24 
QuestionC# library for implementing graphic editor's functions Pin
Mikhail Zemlyanukhin15-Feb-16 21:59
Mikhail Zemlyanukhin15-Feb-16 21:59 
AnswerRe: C# library for implementing graphic editor's functions Pin
Pete O'Hanlon15-Feb-16 22:41
mvePete O'Hanlon15-Feb-16 22:41 
AnswerRe: C# library for implementing graphic editor's functions Pin
Gerry Schmitz16-Feb-16 5:59
mveGerry Schmitz16-Feb-16 5:59 
AnswerRe: C# library for implementing graphic editor's functions Pin
Brisingr Aerowing17-Feb-16 23:05
professionalBrisingr Aerowing17-Feb-16 23:05 
QuestionCreateProcessAsUser or LogonUser Pin
byka10-Feb-16 5:34
byka10-Feb-16 5:34 
How can I use the CreateProcessAsUser or LogonUser when staring the process:

VB
Dim ps As New System.Diagnostics.Process
           ps.StartInfo.UseShellExecute = False
           ps.StartInfo.Domain = Domain
           ps.StartInfo.UserName = UserName

           Dim pword As New System.Security.SecureString()
           For Each c As Char In Password
               pword.AppendChar(c)
           Next
           ps.StartInfo.Password = pword
           ps.StartInfo.LoadUserProfile = False


           'This Works:
           ps.StartInfo.WorkingDirectory = ApplicationWorkingDir
           ps.StartInfo.FileName = "cmd.exe"

           'Win2012 run as admin
            ps.StartInfo.Verb = "runas"


           If BatchSize = String.Empty Then
               ps.StartInfo.Arguments = "/c  bcp " + DbTable + " in " + SourceFile + " -m " + MaxErrors + " -f " & FMTFile & " -e " & ErrorFile & " -o " & LogFile & " -S " & ServerName & " -T "
           Else
               ps.StartInfo.Arguments = "/c bcp " + DbTable + " in " + SourceFile + " -m " + MaxErrors + " -f " & FMTFile & " -b" & BatchSize & " -e " & ErrorFile & " -o " & LogFile & " -S " & ServerName & " -T"
           End If

           ps.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
           ps.Start()

           ps.WaitForExit()

AnswerRe: CreateProcessAsUser or LogonUser Pin
Dave Kreskowiak10-Feb-16 6:33
mveDave Kreskowiak10-Feb-16 6:33 
AnswerRe: CreateProcessAsUser or LogonUser Pin
Eddy Vluggen10-Feb-16 6:38
professionalEddy Vluggen10-Feb-16 6:38 
GeneralRe: CreateProcessAsUser or LogonUser Pin
byka10-Feb-16 6:54
byka10-Feb-16 6:54 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Eddy Vluggen10-Feb-16 7:08
professionalEddy Vluggen10-Feb-16 7:08 
GeneralRe: CreateProcessAsUser or LogonUser Pin
byka10-Feb-16 7:27
byka10-Feb-16 7:27 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Dave Kreskowiak10-Feb-16 9:58
mveDave Kreskowiak10-Feb-16 9:58 
GeneralRe: CreateProcessAsUser or LogonUser Pin
byka11-Feb-16 3:04
byka11-Feb-16 3:04 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Dave Kreskowiak11-Feb-16 10:03
mveDave Kreskowiak11-Feb-16 10:03 
GeneralRe: CreateProcessAsUser or LogonUser Pin
byka12-Feb-16 2:09
byka12-Feb-16 2:09 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Dave Kreskowiak12-Feb-16 2:48
mveDave Kreskowiak12-Feb-16 2:48 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Eddy Vluggen10-Feb-16 10:39
professionalEddy Vluggen10-Feb-16 10:39 
GeneralRe: CreateProcessAsUser or LogonUser Pin
Nathan Minier11-Feb-16 2:16
professionalNathan Minier11-Feb-16 2:16 
QuestionI can not setup AvalonEdit (WPF Text Editor) in SharpDevelop 4.4 Pin
Member 118559909-Feb-16 21:33
Member 118559909-Feb-16 21:33 
SuggestionRe: I can not setup AvalonEdit (WPF Text Editor) in SharpDevelop 4.4 Pin
Richard MacCutchan9-Feb-16 21:40
mveRichard MacCutchan9-Feb-16 21:40 
QuestionMESSAGE: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine Pin
byka2-Feb-16 5:11
byka2-Feb-16 5:11 
AnswerRe: MESSAGE: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine Pin
Richard MacCutchan2-Feb-16 5:29
mveRichard MacCutchan2-Feb-16 5:29 
GeneralRe: MESSAGE: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine Pin
byka3-Feb-16 2:45
byka3-Feb-16 2:45 

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.