I use VB6.I use Notes Version 6.5.1
I use Windows XP.
I try to use Notes functions from inside my VB applications and it used to work fine until we upgraded to version 6.5.1
For the love of me, I can’t figure out why I get the error message : “RUN-TIME ERROR 53 FILE NOT FOUND NNOTES”
I declare the functions as before. I haven’t even touched the source. here’s an example of what I do :
Private Declare Function W32_NSFDbOpen Lib “nnotes” Alias “NSFDbOpen” (ByVal PathName As String, rethDB As Long) As Integer
The “nnotes.dll” file is the Lotus Notes Directory where it belongs. I just can’t understand why VB can’t find it. Or maybe the error is misleading and it means something else entirely ? Any suggestion would be appreciated.
Thanks.
Subject: File Not Found nnotes in VB6
Where do you have the VB app (i.e., presumably the exe) stored? Are you running it from the Notes program directory? dgg
Subject: Try this
Unfortunately, there is an error in the Lotus install in that it does not completely register the Notes/Domino components that are required for COM etc. which can lead to errors with VB apps.
There is a simple solution to this problem which is:
Run “regsvr32 nlsxbe.dll” from inside your Notes/Domino R6 program directory, this will ensure the library is correctly registered and available to VB etc.
Subject: RE: Try this
I tried that and it still doesn’t work. I’m running the program from the VB IDE to test it so the code isn’t residing in the Notes directory but it wasn’t before and I never had a problem. Well, it looks like I’m … Thanks for your help guys.
Subject: RE: Try this
Add the notes program directory to your path – bet it’ll work.dgg
Subject: Update on my problem
Hello,
I’ve tried quite a few things since my last post. I reinstalled Notes, reinstalled VB6 and now, whenever I run NOTESINITEXTENDED, I get the error 4103.
I tried to run the same program on another PC and it works fine. So I figure something is really screwed up with my laptop. But what ? Anybody has a clue ?
Thanks for your help.
Subject: RE: Update on my problem
If Notes is returning 4103, that’s “Invalid Notes id”. (Check lserr.lss and lsxbeer.lss for number/name correlations for Notes error numbers.)
Subject: RE: Update on my problem
Hi Stan,
I should have mentionned earlier that I had found out what the error meant but the thing is, I don’t event get a prompt to enter a password for my id file whenever I run NotesInitExtended contrary to the behavior I experience on my other PC. It just return the code 4103 immediatly. I can log on to my Notes Client without any problem with my id file so it can’t be because the file is corrupt. I am at a loss.
Subject: RE: Update on my problem
Could there be another Notes-based dealie running on your laptop? Is there a valid entry for Keyfile in your notes.ini? Are there any more wild-a**ed guesses I can throw out there?