Click here to Skip to main content
16,018,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalkeypress in datagrid Pin
makeko5-Jul-05 15:44
makeko5-Jul-05 15:44 
GeneralRe: keypress in datagrid Pin
kalyanforums@yahoo.com6-Jul-05 1:06
kalyanforums@yahoo.com6-Jul-05 1:06 
GeneralRe: keypress in datagrid Pin
makeko6-Jul-05 4:11
makeko6-Jul-05 4:11 
GeneralRetrieve data from an XML *.config file. Pin
Brad Fackrell5-Jul-05 15:00
Brad Fackrell5-Jul-05 15:00 
GeneralRe: Retrieve data from an XML *.config file. Pin
Brad Fackrell6-Jul-05 2:46
Brad Fackrell6-Jul-05 2:46 
GeneralCant get GetTitleBarInfo working properly... Pin
AndrewVos5-Jul-05 11:44
AndrewVos5-Jul-05 11:44 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
Anonymous5-Jul-05 14:38
Anonymous5-Jul-05 14:38 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
Anonymous5-Jul-05 15:39
Anonymous5-Jul-05 15:39 
Sorry AndrewVos,
I sent that last message to fast, I checked it again and I was still getting a error 87, sorry.

add this import:
Imports System.Runtime.InteropServices

and the structure should be more like this:

<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _
Private Structure TITLEBARINFO
Dim cbSize As Long
Dim rcTitleBar As RECT
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=CCHILDREN_TITLEBAR)> _
Dim rgstate() As Long
Public Sub Initialize()
ReDim rgstate(CCHILDREN_TITLEBAR)
End Sub
End Structure

It should return err code 0 now.

hope that helps


GeneralRe: Cant get GetTitleBarInfo working properly... Pin
AndrewVos6-Jul-05 2:07
AndrewVos6-Jul-05 2:07 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
AndrewVos6-Jul-05 2:12
AndrewVos6-Jul-05 2:12 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
AndrewVos6-Jul-05 3:13
AndrewVos6-Jul-05 3:13 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
Anonymous6-Jul-05 9:12
Anonymous6-Jul-05 9:12 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
Anonymous7-Jul-05 4:14
Anonymous7-Jul-05 4:14 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
AndrewVos7-Jul-05 4:40
AndrewVos7-Jul-05 4:40 
GeneralRe: Cant get GetTitleBarInfo working properly... Pin
Anonymous7-Jul-05 10:19
Anonymous7-Jul-05 10:19 
GeneralRegistry Entry (SaveSettings) Pin
Mtognetti5-Jul-05 10:35
Mtognetti5-Jul-05 10:35 
GeneralRe: Registry Entry (SaveSettings) Pin
Dave Kreskowiak6-Jul-05 2:59
mveDave Kreskowiak6-Jul-05 2:59 
GeneralRe: Registry Entry (SaveSettings) Pin
Anonymous6-Jul-05 8:24
Anonymous6-Jul-05 8:24 
GeneralSet folder permissions -- PLEASE HELP! Pin
spelltwister5-Jul-05 9:25
spelltwister5-Jul-05 9:25 
QuestionIs the IF statement the best choice for this? Pin
btoyer5-Jul-05 9:15
btoyer5-Jul-05 9:15 
AnswerRe: Is the IF statement the best choice for this? Pin
Anonymous5-Jul-05 9:29
Anonymous5-Jul-05 9:29 
GeneralErrorProvider: Clear ALL Pin
Brad Fackrell5-Jul-05 9:07
Brad Fackrell5-Jul-05 9:07 
GeneralRe: ErrorProvider: Clear ALL Pin
Anonymous5-Jul-05 11:26
Anonymous5-Jul-05 11:26 
QuestionStringFormat.Format16bppArgb1555 ? Pin
[Marc]5-Jul-05 8:36
[Marc]5-Jul-05 8:36 
AnswerI mean PixelFormat.Format16bppArgb1555 Pin
[Marc]5-Jul-05 16:23
[Marc]5-Jul-05 16:23 

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.