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
Solved

Need help on directory of server

Posted on 2008-10-13
7
140 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

Title # Comments Views Activity
LOtus Notes 6.5 low performance 13 38
Lotus Notes mail can not print out Full page 8 1,297
Scan to Email - HP 477 Printer and Lotus Notes 8 85
problem with deleted user 14 28
For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

837 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