Click here to Skip to main content
15,920,513 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: security exception Pin
ibigpapa11-Dec-05 6:05
ibigpapa11-Dec-05 6:05 
QuestionVb.Net MDI Back Image Pin
FireOnMoon10-Dec-05 7:21
FireOnMoon10-Dec-05 7:21 
AnswerRe: Vb.Net MDI Back Image Pin
Dave Kreskowiak11-Dec-05 3:29
mveDave Kreskowiak11-Dec-05 3:29 
QuestionError icon in datagrid Pin
oakleaf10-Dec-05 4:21
oakleaf10-Dec-05 4:21 
QuestionMerging files Pin
elms10-Dec-05 3:01
elms10-Dec-05 3:01 
AnswerRe: Merging files Pin
Dave Kreskowiak10-Dec-05 4:54
mveDave Kreskowiak10-Dec-05 4:54 
QuestionGetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 2:53
professionalOmar Mallat10-Dec-05 2:53 
AnswerRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak10-Dec-05 4:45
mveDave Kreskowiak10-Dec-05 4:45 
You got the parameters in the Declare statement for GetLocaleInfo wrong. For example, a Long in VB6 is equivilent to an Integer in VB.NET, not a Long. This is probably where most people go wrong when converting their code.

But, since all the Locale API's in Win32 are wrapped in the .NET Framework Base Class Library, why are you even calling this?
Dim df As DateTimeFormatInfo = Thread.CurrentThread.CurrentCulture.DateTimeFormat

More on the DateTimeFormatInfo can be found here[^].


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 6:27
professionalOmar Mallat10-Dec-05 6:27 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 3:13
mveDave Kreskowiak11-Dec-05 3:13 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 5:44
professionalOmar Mallat11-Dec-05 5:44 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 6:28
mveDave Kreskowiak11-Dec-05 6:28 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 6:31
professionalOmar Mallat11-Dec-05 6:31 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 13:42
mveDave Kreskowiak11-Dec-05 13:42 
QuestionPrinting a form without the background. Pin
Samadara10-Dec-05 2:23
Samadara10-Dec-05 2:23 
QuestionCrystal Report Pin
tusar12310-Dec-05 0:57
tusar12310-Dec-05 0:57 
QuestionDataGrid Height . Pin
microuser_20009-Dec-05 23:52
microuser_20009-Dec-05 23:52 
AnswerRe: DataGrid Height . Pin
oakleaf10-Dec-05 4:14
oakleaf10-Dec-05 4:14 
QuestionTypeEditor for Extended Property Pin
xstoneheartx9-Dec-05 19:09
xstoneheartx9-Dec-05 19:09 
QuestionCapture image in VB.Net through Webcamera Pin
Pratap Chowdary9-Dec-05 17:50
Pratap Chowdary9-Dec-05 17:50 
Questionobject not set to instance Pin
ibigpapa9-Dec-05 15:36
ibigpapa9-Dec-05 15:36 
AnswerRe: object not set to instance Pin
Joshua Quick9-Dec-05 17:10
Joshua Quick9-Dec-05 17:10 
AnswerRe: object not set to instance Pin
ibigpapa9-Dec-05 21:07
ibigpapa9-Dec-05 21:07 
GeneralRe: object not set to instance Pin
Joshua Quick12-Dec-05 9:09
Joshua Quick12-Dec-05 9:09 
GeneralRe: object not set to instance Pin
ibigpapa12-Dec-05 13:20
ibigpapa12-Dec-05 13:20 

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.