Click here to Skip to main content
13,003,589 members (61,009 online)

Visual Basic

 
QuestionLimit picture size in picture box Pin
Midnight Ahri10-Jun-12 22:51
memberMidnight Ahri10-Jun-12 22:51 
AnswerRe: Limit picture size in picture box Pin
Eddy Vluggen11-Jun-12 0:09
memberEddy Vluggen11-Jun-12 0:09 
QuestionVB.NET : Datagrid's scrolling giving error after selecting row Pin
Nitin Varshneya8-Jun-12 5:02
memberNitin Varshneya8-Jun-12 5:02 
AnswerRe: VB.NET : Datagrid's scrolling giving error after selecting row Pin
Dave Kreskowiak8-Jun-12 10:07
mvpDave Kreskowiak8-Jun-12 10:07 
QuestionHow do you right align using .ToString() Pin
David Mujica7-Jun-12 9:24
memberDavid Mujica7-Jun-12 9:24 
AnswerRe: How do you right align using .ToString() Pin
Luc Pattyn7-Jun-12 9:41
mvpLuc Pattyn7-Jun-12 9:41 
GeneralRe: How do you right align using .ToString() Pin
David Mujica7-Jun-12 10:07
memberDavid Mujica7-Jun-12 10:07 
AnswerRe: How do you right align using .ToString() Pin
Alan N7-Jun-12 9:53
memberAlan N7-Jun-12 9:53 
Composite formatting using indexed placeholders "{0}" allows for alignment but standard formatting with the ToString method does not.

Example of alignment in a fixed width field
Console.WriteLine("{0, -4}", 99);     // "99  "
Console.WriteLine("{0, 4}", 99);      // "  99"


Debug.Print has an overload for composite formatting so you can do the same trick.

Alan.
GeneralRe: How do you right align using .ToString() Pin
MicroVirus8-Jun-12 10:47
memberMicroVirus8-Jun-12 10:47 
AnswerRe: How do you right align using .ToString() Pin
Member 908236518-Jun-12 6:41
memberMember 908236518-Jun-12 6:41 
QuestionDocument Viewer Pin
D. Joe6-Jun-12 16:30
memberD. Joe6-Jun-12 16:30 
AnswerRe: Document Viewer Pin
Dave Kreskowiak7-Jun-12 4:49
mvpDave Kreskowiak7-Jun-12 4:49 
Questionfile not found: cs2.exe Pin
rizaky20115-Jun-12 19:12
memberrizaky20115-Jun-12 19:12 
AnswerRe: file not found: cs2.exe Pin
Richard MacCutchan5-Jun-12 21:13
mvpRichard MacCutchan5-Jun-12 21:13 
GeneralRe: file not found: cs2.exe Pin
rizaky20117-Jun-12 16:54
memberrizaky20117-Jun-12 16:54 
GeneralRe: file not found: cs2.exe Pin
Richard MacCutchan7-Jun-12 21:44
mvpRichard MacCutchan7-Jun-12 21:44 
GeneralRe: file not found: cs2.exe Pin
rizaky20118-Jun-12 18:26
memberrizaky20118-Jun-12 18:26 
QuestionDisabling external data connections when opening Excel. Pin
Aaron.Morrison5-Jun-12 14:27
memberAaron.Morrison5-Jun-12 14:27 
AnswerRe: Disabling external data connections when opening Excel. Pin
Aaron.Morrison6-Jun-12 13:16
memberAaron.Morrison6-Jun-12 13:16 
QuestionUse foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 3:21
memberJohan Hakkesteegt5-Jun-12 3:21 
AnswerRe: Use foreign key constraint with a loop ? Pin
Paul Conrad5-Jun-12 6:37
memberPaul Conrad5-Jun-12 6:37 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 21:04
memberJohan Hakkesteegt5-Jun-12 21:04 
AnswerRe: Use foreign key constraint with a loop ? Pin
Dave Kreskowiak5-Jun-12 7:48
mvpDave Kreskowiak5-Jun-12 7:48 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 20:38
memberJohan Hakkesteegt5-Jun-12 20:38 
AnswerRe: Use foreign key constraint with a loop ? Pin
woopsydoozy5-Jun-12 7:51
memberwoopsydoozy5-Jun-12 7: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.


Advertise | Privacy | Mobile
Web01 | 2.8.170626.1 | Last Updated 20 Jun 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid