Solved

Need help on directory of server

Posted on 2008-10-13
7
141 Views
Last Modified: 2013-12-18
lotus Notes r5

I need to go to a specific sub directory on a server.


Dim uiws As New NotesUIWorkspace
	Dim uidoc As NotesUIDocument
	
	Set uidoc = uiws.CurrentDocument
	
	Dim sess As New NotesSession
	Dim oDb As NotesDatabase
	
	Dim doc As NotesDocument
	
	Set oDb = sess.GetDatabase("WWGCHILN6","Stockroom Services\GSS_Pipe.nsf",True)
///  Need  WWGCHILN6    but going to a sub directory  called  "Fastener"  Under WWGCHILN6
	If oDb Is Nothing Then 
		Msgbox "Cannot open database"
		Exit Sub

Open in new window

0
Comment
Question by:fordraiders
[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
  • 3
  • 2
  • 2
7 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 22708252
Are you talking about a folder inside the database, or in a separate directory on the server.

Please be more specific.



I hope this helps !
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 22708271
0
 
LVL 3

Author Comment

by:fordraiders
ID: 22708653
when I go to open the database in LN ..
it gives me

WWGCHILN6
I want to go to WWGCHILN6\FASTENER\STOCKROOM SERVICES\GSS_Pipe.nsf
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 46

Expert Comment

by:Sjef Bosman
ID: 22709632
Then try

Set oDb = sess.GetDatabase("WWGCHILN6","Stockroom Services/Fastener/GSS_Pipe.nsf",True)
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 500 total points
ID: 22711756

Sjef, maybe it is
 
Set oDb = sess.GetDatabase("WWGCHILN6","FASTENER\STOCKROOM SERVICES\GSS_Pipe.nsf",True)

it looks like your path is slightly wrong.
0
 
LVL 3

Author Comment

by:fordraiders
ID: 22711976
Thanks...seemed simple...just wanted to make sure...
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22713124
Oh blimey... Me clumsy... :-))
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

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

This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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