Click here to Skip to main content
15,922,894 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Get Image Size using ByteArray Pin
Midnight Ahri19-Jun-12 15:02
Midnight Ahri19-Jun-12 15:02 
GeneralRe: Get Image Size using ByteArray Pin
Dave Kreskowiak20-Jun-12 2:13
mveDave Kreskowiak20-Jun-12 2:13 
GeneralRe: Get Image Size using ByteArray Pin
Midnight Ahri20-Jun-12 15:07
Midnight Ahri20-Jun-12 15:07 
QuestionStruggling to retrieve date from a table in adatapicker Pin
ilgrongo15-Jun-12 9:35
ilgrongo15-Jun-12 9:35 
AnswerRe: Struggling to retrieve date from a table in adatapicker Pin
Dave Kreskowiak15-Jun-12 19:00
mveDave Kreskowiak15-Jun-12 19:00 
QuestionVB 2008, forms and bindingsource Pin
Ivan Marijanovic15-Jun-12 5:03
Ivan Marijanovic15-Jun-12 5:03 
AnswerRe: VB 2008, forms and bindingsource Pin
javadadabi16-Jun-12 22:52
javadadabi16-Jun-12 22:52 
QuestionGetCommandLineArgs() fails for long directory name? Pin
biop.codeproject15-Jun-12 0:20
biop.codeproject15-Jun-12 0:20 
Dear all,

I am testing out a command line program written in VB.NET. Of course the first line would check if the number of parameters is right. I use
VB
Dim inputArg() As String = System.Environment.GetCommandLineArgs()


I find out the GetCommandLineArgs() fails if the input directory name is long! If I have input as:
"C:\abc123\456780\" "C:\long long long space\" "abc=def, 123=456, 81\23 33"
, I would get:
inputArg(1)"c:\abc123\456780" c:\long"
inputArg(2)"long"
inputArg(3)"long"
inputArg(4)"space"
inputArg(5)"abc=def, 123=456, 81\23 33"


Beside using a shorter path, any idea?
AnswerRe: GetCommandLineArgs() fails for long directory name? Pin
908236515-Jun-12 1:51
908236515-Jun-12 1:51 
AnswerRe: GetCommandLineArgs() fails for long directory name? Pin
Eddy Vluggen15-Jun-12 1:54
professionalEddy Vluggen15-Jun-12 1:54 
GeneralRe: GetCommandLineArgs() fails for long directory name? Pin
biop.codeproject15-Jun-12 21:38
biop.codeproject15-Jun-12 21:38 
GeneralRe: GetCommandLineArgs() fails for long directory name? Pin
Eddy Vluggen15-Jun-12 22:28
professionalEddy Vluggen15-Jun-12 22:28 
AnswerRe: GetCommandLineArgs() fails for long directory name? Pin
Dave Kreskowiak15-Jun-12 1:57
mveDave Kreskowiak15-Jun-12 1:57 
GeneralRe: GetCommandLineArgs() fails for long directory name? Pin
biop.codeproject15-Jun-12 21:39
biop.codeproject15-Jun-12 21:39 
AnswerRe: GetCommandLineArgs() fails for long directory name? Pin
Richard MacCutchan15-Jun-12 2:53
mveRichard MacCutchan15-Jun-12 2:53 
GeneralRe: GetCommandLineArgs() fails for long directory name? Pin
biop.codeproject15-Jun-12 21:40
biop.codeproject15-Jun-12 21:40 
Questionhow to create advanced browser like firefox with visual basic 2010? Pin
JOHNSAMI13-Jun-12 16:19
JOHNSAMI13-Jun-12 16:19 
AnswerRe: how to create advanced browser like firefox with visual basic 2010? Pin
Dave Kreskowiak13-Jun-12 18:22
mveDave Kreskowiak13-Jun-12 18:22 
Questionvb .net - Moving to a new computer Pin
No-e13-Jun-12 8:02
No-e13-Jun-12 8:02 
AnswerRe: vb .net - Moving to a new computer Pin
Dave Kreskowiak13-Jun-12 8:12
mveDave Kreskowiak13-Jun-12 8:12 
GeneralRe: vb .net - Moving to a new computer Pin
No-e13-Jun-12 9:48
No-e13-Jun-12 9:48 
GeneralRe: vb .net - Moving to a new computer Pin
Richard MacCutchan13-Jun-12 22:46
mveRichard MacCutchan13-Jun-12 22:46 
QuestionHow to Print this array in word?(VBA) Pin
godevg12-Jun-12 21:23
godevg12-Jun-12 21:23 
AnswerRe: How to Print this array in word?(VBA) Pin
Andy_L_J12-Jun-12 21:57
Andy_L_J12-Jun-12 21:57 
QuestionLimit picture size in picture box Pin
Midnight Ahri10-Jun-12 22:51
Midnight Ahri10-Jun-12 22:51 

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.