Click here to Skip to main content
15,913,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Quick question about classes in VB.NET Pin
Csharp™10-Aug-03 9:01
Csharp™10-Aug-03 9:01 
GeneralButton Sizes Pin
totig7-Aug-03 12:16
totig7-Aug-03 12:16 
GeneralRe: Button Sizes Pin
Hesham Amin8-Aug-03 4:03
Hesham Amin8-Aug-03 4:03 
GeneralOLE Databinding Pin
Milancie7-Aug-03 10:01
Milancie7-Aug-03 10:01 
GeneralRe: OLE Databinding Pin
pxw16-Aug-03 6:38
pxw16-Aug-03 6:38 
Generalaccess to outlook inbox Pin
pnpfriend7-Aug-03 9:45
pnpfriend7-Aug-03 9:45 
GeneralRe: access to outlook inbox Pin
Dave Kreskowiak8-Aug-03 4:20
mveDave Kreskowiak8-Aug-03 4:20 
GeneralRe: access to outlook inbox Pin
pnpfriend8-Aug-03 5:39
pnpfriend8-Aug-03 5:39 
I have following code, but folder.items is not a collection object so it gives me error. I'm using VB .Net not VB 6.0
<br />
Dim olApp As Outlook.Application<br />
        olApp = New Outlook.Application<br />
<br />
        Dim mail As Outlook.MailItem<br />
        Dim nSpace As Outlook.NameSpace<br />
        Dim folder As Outlook.MAPIFolder<br />
        Dim eInfo As emailInformation<br />
<br />
        nSpace = olApp.GetNamespace("MAPI")<br />
        folder = nSpace.GetDefaultFolder(OlDefaultFolders.olFolderInbox)<br />
<br />
        For Each mail In <font color = green>folder.Items</font><br />
            eInfo.theBody = mail.Body()<br />
            eInfo.theCC = mail.CC<br />
            eInfo.theFrom = mail.SenderName<br />
            eInfo.theTo = mail.ReceivedByName<br />
            eInfo.theDate = "12/13/4"<br />
            eInfo.theSubject = mail.Subject<br />
            eInfo.wayToPrint = 1<br />
            PrintEmail(eInfo)<br />
        Next<br />
<br />

GeneralRe: access to outlook inbox Pin
Dave Kreskowiak8-Aug-03 11:46
mveDave Kreskowiak8-Aug-03 11:46 
GeneralRe: access to outlook inbox Pin
pnpfriend10-Aug-03 4:18
pnpfriend10-Aug-03 4:18 
GeneralRe: access to outlook inbox Pin
pnpfriend10-Aug-03 4:57
pnpfriend10-Aug-03 4:57 
Generalprinting to the printer with vb.net Pin
yulyos7-Aug-03 6:04
yulyos7-Aug-03 6:04 
GeneralRe: printing to the printer with vb.net Pin
pnpfriend7-Aug-03 10:21
pnpfriend7-Aug-03 10:21 
GeneralRe: printing to the printer with vb.net Pin
yulyos7-Aug-03 20:57
yulyos7-Aug-03 20:57 
GeneralRe: printing to the printer with vb.net Pin
pnpfriend8-Aug-03 5:50
pnpfriend8-Aug-03 5:50 
GeneralRe: printing to the printer with vb.net Pin
yulyos8-Aug-03 6:06
yulyos8-Aug-03 6:06 
GeneralRe: printing to the printer with vb.net Pin
pnpfriend8-Aug-03 8:48
pnpfriend8-Aug-03 8:48 
GeneralRetreving an auto number field from Access Pin
GrGonzo6-Aug-03 13:50
GrGonzo6-Aug-03 13:50 
GeneralRe: Retreving an auto number field from Access Pin
Bo Hunter7-Aug-03 14:32
Bo Hunter7-Aug-03 14:32 
GeneralPossible Vb Question Pin
droesch6-Aug-03 7:06
droesch6-Aug-03 7:06 
GeneralRe: Possible Vb Question Pin
RichardGrimmer18-Aug-03 4:07
RichardGrimmer18-Aug-03 4:07 
GeneralExtremly stupid VBA question Pin
Harald Krause6-Aug-03 1:17
Harald Krause6-Aug-03 1:17 
GeneralRe: Extremly stupid VBA question Pin
MrGee6-Aug-03 14:00
MrGee6-Aug-03 14:00 
GeneralRe: Extremly stupid VBA question Pin
RichardGrimmer18-Aug-03 4:08
RichardGrimmer18-Aug-03 4:08 
GeneralRe: Extremly stupid VBA question Pin
Nick Seng6-Aug-03 15:49
Nick Seng6-Aug-03 15:49 

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.