I'm attempting to write a little VB code to send an appointment. Here is what I have so far....

Private Sub CreateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateButton.Click

        Dim gwApplication As GroupwareTypeLibrary.Application2
        Dim gwAccount As GroupwareTypeLibrary.Account2
        Dim objAppointment As Appointment

        gwApplication = New GroupwareTypeLibrary.Application2

        'Use code below to give login prompt.  
        'gwAccount = gwApplication.Login

        objAppointment = gwAccount.WorkFolder.Messages.Add("GW.MESSAGE.APPOINTMENT")

        objAppointment.Subject = "A Test Place"

    End Sub
However, with objAppointment.Subject it is telling me that Subject is read-only and won't let me compile it in VB Express Edition. Why would subject be read only? I've seen other code on these boards and actually some of this code is borrowed from what I saw. However, those people don't mention this issue.

Also if I try another field that isn't supposed to be read-only like this...

objAppointment.Place = "A Test Place"
It gives me this error when running the code...(This is the full details of the error, so it's a lot of data.)

System.Runtime.InteropServices.COMException was unhandled
Message="Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))"
at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at GroupwareTypeLibrary.DIGWAppointment.set_Place(Str ing )
at WindowsApplication1.LabScheduler.CreateButton_Clic k(Object sender, EventArgs e) in C:\Documents and Settings\RCMcGuir\Desktop\VB Projects\LabScheduler\LabScheduler\LabScheduler.vb :line 39
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationCo ntext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[] commandLine)
at WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
I'm testing this for GW 8, but all I can find is guides from Novell on 7 or earlier. Is it the same or is there any GW 8 Object API help out there? As you can tell I'm not exactly a VB pro. Any help is greatly appreciated.