Solved

Need help on directory of server

Posted on 2008-10-13
7
137 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
  • 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now