Click here to Skip to main content
15,886,077 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VS2015 - MsFlexgrid not displaying when building form Pin
Dave Kreskowiak28-Jan-16 16:02
mveDave Kreskowiak28-Jan-16 16:02 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Denis Oxon28-Jan-16 22:11
Denis Oxon28-Jan-16 22:11 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Mycroft Holmes28-Jan-16 22:56
professionalMycroft Holmes28-Jan-16 22:56 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Denis Oxon28-Jan-16 23:17
Denis Oxon28-Jan-16 23:17 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Mycroft Holmes28-Jan-16 23:20
professionalMycroft Holmes28-Jan-16 23:20 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Denis Oxon29-Jan-16 2:11
Denis Oxon29-Jan-16 2:11 
GeneralRe: VS2015 - MsFlexgrid not displaying when building form Pin
Dave Kreskowiak29-Jan-16 2:25
mveDave Kreskowiak29-Jan-16 2:25 
QuestionCalling BCP from .net on Windows 2012 Pin
byka28-Jan-16 7:15
byka28-Jan-16 7:15 
I am running into the issue:Access Denied when calling bcp from Windows 2012 server.
Any idea what it could be? Running in elevated mode.

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
            ps.StartInfo.WorkingDirectory = "E:\" 
            ps.StartInfo.FileName = "cmd.exe"  
            'Win2012 run as admin (elevated mode)
            ps.StartInfo.Verb = "runas"
            ps.StartInfo.Arguments = " bcp " + DbTable + " in " + SourceFile + " -m " + MaxErrors + " -f " & FMTFile & " -e " & ErrorFile & " -o " & LogFile & " -S " & ServerName & " -T"
           
             ps.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
            ps.Start()

            ps.WaitForExit()

AnswerRe: Calling BCP from .net on Windows 2012 Pin
Dave Kreskowiak29-Jan-16 14:56
mveDave Kreskowiak29-Jan-16 14:56 
QuestionHow to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni25-Jan-16 22:15
Dorsaf Ouersighni25-Jan-16 22:15 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre25-Jan-16 22:40
professionalSascha Lefèvre25-Jan-16 22:40 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni25-Jan-16 22:52
Dorsaf Ouersighni25-Jan-16 22:52 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre25-Jan-16 23:00
professionalSascha Lefèvre25-Jan-16 23:00 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni25-Jan-16 23:33
Dorsaf Ouersighni25-Jan-16 23:33 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre26-Jan-16 0:06
professionalSascha Lefèvre26-Jan-16 0:06 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni26-Jan-16 1:36
Dorsaf Ouersighni26-Jan-16 1:36 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre26-Jan-16 2:03
professionalSascha Lefèvre26-Jan-16 2:03 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni26-Jan-16 2:44
Dorsaf Ouersighni26-Jan-16 2:44 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre26-Jan-16 4:01
professionalSascha Lefèvre26-Jan-16 4:01 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni26-Jan-16 4:36
Dorsaf Ouersighni26-Jan-16 4:36 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre26-Jan-16 4:45
professionalSascha Lefèvre26-Jan-16 4:45 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Sascha Lefèvre26-Jan-16 5:05
professionalSascha Lefèvre26-Jan-16 5:05 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni26-Jan-16 21:04
Dorsaf Ouersighni26-Jan-16 21:04 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Jörgen Andersson26-Jan-16 22:52
professionalJörgen Andersson26-Jan-16 22:52 
GeneralRe: How to print a full DataGridView (Urgent) Pin
Dorsaf Ouersighni27-Jan-16 2:39
Dorsaf Ouersighni27-Jan-16 2:39 

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.