Click here to Skip to main content
       

Visual Basic

 
QuestionLimit picture size in picture box PinmemberMidnight Ahri10-Jun-12 22:51 
AnswerRe: Limit picture size in picture box PinmemberEddy Vluggen11-Jun-12 0:09 
QuestionVB.NET : Datagrid's scrolling giving error after selecting row PinmemberNitin Varshneya8-Jun-12 5:02 
AnswerRe: VB.NET : Datagrid's scrolling giving error after selecting row PinmvpDave Kreskowiak8-Jun-12 10:07 
QuestionHow do you right align using .ToString() PinmemberDavid Mujica7-Jun-12 9:24 
AnswerRe: How do you right align using .ToString() PinmvpLuc Pattyn7-Jun-12 9:41 
GeneralRe: How do you right align using .ToString() PinmemberDavid Mujica7-Jun-12 10:07 
AnswerRe: How do you right align using .ToString() PinmemberAlan 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() PinmemberMicroVirus8-Jun-12 10:47 
AnswerRe: How do you right align using .ToString() PinmemberMember 908236518-Jun-12 6:41 
QuestionDocument Viewer PinmemberD. Joe6-Jun-12 16:30 
AnswerRe: Document Viewer PinmvpDave Kreskowiak7-Jun-12 4:49 
Questionfile not found: cs2.exe Pinmemberrizaky20115-Jun-12 19:12 
AnswerRe: file not found: cs2.exe PinmvpRichard MacCutchan5-Jun-12 21:13 
GeneralRe: file not found: cs2.exe Pinmemberrizaky20117-Jun-12 16:54 
GeneralRe: file not found: cs2.exe PinmvpRichard MacCutchan7-Jun-12 21:44 
GeneralRe: file not found: cs2.exe Pinmemberrizaky20118-Jun-12 18:26 
QuestionDisabling external data connections when opening Excel. PinmemberAaron.Morrison5-Jun-12 14:27 
AnswerRe: Disabling external data connections when opening Excel. PinmemberAaron.Morrison6-Jun-12 13:16 
QuestionUse foreign key constraint with a loop ? PinmemberJohan Hakkesteegt5-Jun-12 3:21 
AnswerRe: Use foreign key constraint with a loop ? PinmemberPaul Conrad5-Jun-12 6:37 
GeneralRe: Use foreign key constraint with a loop ? PinmemberJohan Hakkesteegt5-Jun-12 21:04 
AnswerRe: Use foreign key constraint with a loop ? PinmvpDave Kreskowiak5-Jun-12 7:48 
GeneralRe: Use foreign key constraint with a loop ? [modified] PinmemberJohan Hakkesteegt5-Jun-12 20:38 
AnswerRe: Use foreign key constraint with a loop ? Pinmemberwoopsydoozy5-Jun-12 7:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.140415.2 | Last Updated 16 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid