?
Solved

VB session freeze

Posted on 2002-06-03
11
Medium Priority
?
214 Views
Last Modified: 2013-12-18
Notes client & server v5.0.8 running on W2000.
Im using notes-api thru Domino COM object.
I have 2 programs running, first is a NT service running as other NT user, all ok.
Second - with problem - is run in foreground as me (remote login), ran thru VB's IDE environment.
Then all notes-services (even server) freeze on this line:
Set sess = New NotesSession

- Any idea ?
0
Comment
Question by:Gunsen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 5

Expert Comment

by:snocross
ID: 7050943
I'm not a VB expert but should it not be 'DIM sess as New NotesSession' instead of SET?
0
 
LVL 3

Author Comment

by:Gunsen
ID: 7050963
Dim sess = New NotesSession
...is same as the one i use....
Dim sess As NotesSession
Set sess = New NotesSession
0
 
LVL 5

Expert Comment

by:snocross
ID: 7050969
Hmmm... never done it that way.  Can you try without the extra step and see if the same thing happens or is that something you do regularly with no problems?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:Gunsen
ID: 7050995
Actually its the same code as i did with the NT service program.  And i tried late binding as from lotus KB:
Dim session
Set session = CreateObject("Lotus.NotesSession")
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 7051133
Hi Gunsen,

The way you access the Domino object via com is mentioned in Lotus help. It should be the one you just commented.

New NotesSession means nothing in vb, it will check for its library for a class called NotesSession. Since it doesn't have it fails. So proper use would be

Dim session
Set session = CreateObject("Lotus.NotesSession")

~Hemanth
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 7051141
More info on Domino com objects can be found in this document
ftp://ftp.lotus.com/pub/lotusweb/devtools/comdoc.chm

0
 
LVL 3

Author Comment

by:Gunsen
ID: 7053348
Still doesnt work.  Is there any limitations on instanciation and use of this COM object, with several differt NT/AD accounts ?
0
 
LVL 3

Author Comment

by:Gunsen
ID: 7053825
Ok, found the problem.
The user profile for this W2000-user was corrupted...
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 7054096
Good !
0
 
LVL 10

Expert Comment

by:zvonko
ID: 7099558
Hello Gunsen,

be so kind and delete this question or ask here to refund your points and let the question be viewed for reference:
http://www.experts-exchange.com/commspt

Otherwise it blows our abandoned questions count :-)

Thanks,
zvonko

0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 7113567
300 points refunded and item moved to our PAQ at zero points rather than deleting it so that others may benefit from the help given here.
Thanks to all,
Moondancer - EE Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question