The import statement only works with .NET assemblies, not COM server DLLs. The equivalent of CreateObject to open a COM object in VBScript is new ActiveXObject in native JScript syntax, or Interaction.CreateObject using a method in the VisualBasic namespace of the Framework class library. You may find Interactive JScript useful in testing expressions and building your script functionality -- perhaps you are doing this already. Jamal --Original Message-- > Date: Mon, 11 Feb 2008 13:06:44 -0500 > From: james.homme@xxxxxxxxxxxx > Reply-To: programmingblind@xxxxxxxxxxxxx > To: programmingblind@xxxxxxxxxxxxx > Subject: JScript.Net - What To Do After Import > > > Hi, > I have started a JScript.Net file in EdSharp. I want to use it to call > Lotus Notes backend objects. All of the examples in Notes help use > VBScript. I'm having trouble translating the syntax and making it work. > > I think the basic question really is this. After I say > > import Lotus.NotesSession; > > Do I now have all the methods and properties available to me such that I > don't have to use dot notation to get at them? > > This is the example closest to what I want to do, but in VGScript. > > Private Sub InitializeCreateObject_Click() > Dim s As NotesSession > Set s = CreateObject("Lotus.NotesSession") > Call s.Initialize > MsgBox s.CommonUserName, , "Common user name" > End Sub > > Thanks. > > Jim > > > James D Homme, , Usability Engineering, Highmark Inc., > james.homme@xxxxxxxxxxxx, 412-544-1810 > > "it is only possible to live happily ever after on a day-to-day basis." -- > Margaret Bonnano > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind