--- Ali Husain <[EMAIL PROTECTED]> wrote:
Use Dim Before every statment > structure LOGFONT > > dim lfHeight As Long > > dim lfWidth As Long > > dim lfEscapement As Long > > dim lfOrientation As Long > > dim lfWeight As Long > > dim lfItalic As Byte > > dim lfUnderline As Byte > > dim lfStrikeOut As Byte > > dim lfCharSet As Byte > > dim lfOutPrecision As Byte > > dim lfClipPrecision As Byte > > dim lfQuality As Byte > > dim lfPitchAndFamily As Byte > > dim lfFaceName(LF_FACESIZE) As Byte > end structure > > Thanks, > > When I convert it, it comes up with an error called > "DECLARATION > EXPECTED" on each variable within the structure. any > ideas > > Ali > > > -----Original Message----- > From: M.Krishna kumar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 01, 2005 10:14 PM > To: [email protected] > Subject: Re: [AspNetAnyQuestionIsOk] Help from some > more experienced VB > Gurus > > > Hai, > Convert like this > > Hear Type is known as STRUCTURE > > Hi, > > > > I am working on a project that involves a cash > > drawer, > > > > The only code sample is written in VB5 > > > > What is a TYPE and how can we convert it into > > something .net likes > > > > Example of some of the code: > > > > Type LOGFONT > > lfHeight As Long > > lfWidth As Long > > lfEscapement As Long > > lfOrientation As Long > > lfWeight As Long > > lfItalic As Byte > > lfUnderline As Byte > > lfStrikeOut As Byte > > lfCharSet As Byte > > lfOutPrecision As Byte > > lfClipPrecision As Byte > > lfQuality As Byte > > lfPitchAndFamily As Byte > > lfFaceName(LF_FACESIZE) As Byte > > End Type > > > > > > Thanks, > > > > Ali > > > > > > > > > > > > > > [Non-text portions of this message have been > > removed] > > > > > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - What will yours do? > http://my.yahoo.com > > > _____ > > Yahoo! Groups Links > * To visit your group on the web, go to: > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ > > * To unsubscribe from this group, send an > email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] > cribe> > > * Your use of Yahoo! Groups is subject to > the Yahoo! Terms of > <http://docs.yahoo.com/info/terms/> Service. > > > [Non-text portions of this message have been > removed] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
