----- Original Message ----- 
From: "Marc" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, November 02, 2005 3:03 PM
Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl


> Thanks Mike
>
> You didn't have to go to all that trouble.

Took me longer to read the entire thread than to find what's happening!!


> Thanks again
> Marc
>
> ----- Original Message ----- 
> From: "MikeB" <[EMAIL PROTECTED]>
> To: "RBG7-L Mailing List" <[email protected]>
> Sent: Wednesday, November 02, 2005 8:28 AM
> Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>
>
>> OK.  I have figured out the snafu....
>>
>> If you replace the dotted variable for vCurrentDir with an Ampersand
> variable,
>> it works as expected.
>>
>> In my brief testing, I discovered that the only way to get the initial
>> directory value to work was to place a text literal in the argument in
> place of
>> the variable "Without" quotations.
>>
>> If I added quotes around it, it would still go to the last directory
> opened,
>> which in this case was the current directory.  I remembered I had some
>> difficulty with this phenomenon a year or so back with one of my own
> plugins.
>>
>> As A Rule, If you are experiencing difficulty like this, construct the
> _Entire_
>> argument string, including the command into a text/note variable and
> execute it
>> at the command/code line using an ampersand variable.
>>
>> In this instance, simply using an ampersand variable like in the following
>> example, seems to be acceptable:
>>
>> -- start
>>   CLEAR VAR vCurrentDir,vFileName
>>   SET VAR vCurrentDir TEXT = (ENVVAL('temp'))
>>  -- SET VAR vCurrentDir TEXT = (CVAL('CURRDIR'))
>>   SET VAR vFileName TEXT = NULL
>>   CLS
>>   PLUGINS LoadFileNamePlus.RBL vFileName +
>>   |FULLPATH OFF +
>>   |TITLE Select File +
>>   |VIEW_MODE DETAILS +
>>   |FILTER All Files (*.*)#*.* +
>>   |INITIAL_DIR &vCurrentDir +
>>   |MULTISELECT OFF +
>>   |SHOW_HIDDEN OFF +
>>   |NO_LONG_NAMES OFF +
>>   |OLD_STYLE OFF +
>>   |NO_NETWORK_BUTTON OFF +
>>   |HIDE_READ_ONLY ON'
>>
>>   Pause 2 using .vFileName
>>   CLEAR VAR vCurrentDir,vFileName
>>   RETURN
>>   -- end
>>
>>
>>
>> ----- Original Message ----- 
>> From: "Marc" <[EMAIL PROTECTED]>
>> To: "RBG7-L Mailing List" <[email protected]>
>> Sent: Wednesday, November 02, 2005 8:18 AM
>> Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>>
>>
>> > Mike
>> >
>> > I deleted the plugin from the cms75 dir.
>> > Still it starts in cms65.
>> >
>> > Marc
>> >
>> > ----- Original Message ----- 
>> > From: "MikeB" <[EMAIL PROTECTED]>
>> > To: "RBG7-L Mailing List" <[email protected]>
>> > Sent: Tuesday, November 01, 2005 4:48 PM
>> > Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>> >
>> >
>> >> I understood Marc to say he had installed the plugin in both the DB
>> > directory
>> >> and the RB75 directory.  It is acceptable to use the DB directory, but
>> > that is
>> >> the only place you can make a call to the plugin from, so the proper
>> >> "Universal" location is in the RB7x program directory.  Definitely not
>> > both
>> >> locations.
>> >>
>> >>
>> >> ----- Original Message ----- 
>> >> From: "Javier Valencia" <[EMAIL PROTECTED]>
>> >> To: "RBG7-L Mailing List" <[email protected]>
>> >> Sent: Tuesday, November 01, 2005 5:20 PM
>> >> Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>> >>
>> >>
>> >> > Marc:
>> >> > Try placing the plug-in in your database directory rather that RBG7
> or
>> > RBG75
>> >> > and see if that helps.
>> >> > Javier
>> >> >
>> >> > Javier Valencia, PE
>> >> > President
>> >> > Valencia Technology Group, L.L.C.
>> >> > 14315 S. Twilight Ln, Suite #14
>> >> > Olathe, Kansas 66062-4578
>> >> > Office (913)829-0888
>> >> > Fax (913)649-2904
>> >> > Cell (913)915-3137
>> >> > ================================================
>> >> > Attention:
>> >> > The information contained in this message and or attachments is
> intended
>> >> > only for the person or entity to which it is addressed and may
> contain
>> >> > confidential and/or privileged material.  Any review, retransmission,
>> >> > dissemination or other use of, or taking of any action in reliance
> upon,
>> >> > this information by persons or entities other than the intended
>> > recipient
>> >> > is prohibited. If you received this in error, please contact the
> sender
>> > and
>> >> > delete the material from all system and destroy all copies.
>> >> > ======================================================
>> >> >
>> >> > -----Original Message-----
>> >> > From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Marc
>> >> > Sent: Tuesday, November 01, 2005 3:54 PM
>> >> > To: RBG7-L Mailing List
>> >> > Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>> >> >
>> >> > Hi Razzak
>> >> >
>> >> > I used the code below and it still starts in cms65
>> >> > and I have started RBW 3 times in cms75.
>> >> >
>> >> > If I start RBW in RBTI\RBG75 and run the code
>> >> > it still shows cms65, very strange!  Then I browsed to
>> >> > cms7, ran the code, cms65 still comes up.
>> >> >
>> >> > I think my computer just likes the cms65 dir.
>> >> >
>> >> > This is not a big deal, please don't spend too
>> >> > much time on it.
>> >> >
>> >> > I want to use this do my users can check the date
>> >> > of the backup files, since most of them can't find
>> >> > My Computer.
>> >> >
>> >> > I can just set the initial dir and that will not be a
>> >> > problem unless they load my app on a drive other
>> >> > than C.
>> >> >
>> >> > If my monitor starts spinning I will call for help ASAP.<g>
>> >> >
>> >> > Thanks
>> >> > Marc
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "A. Razzak Memon" <[EMAIL PROTECTED]>
>> >> > To: "RBG7-L Mailing List" <[email protected]>
>> >> > Sent: Tuesday, November 01, 2005 2:34 PM
>> >> > Subject: [RBG7-L] - Re: plugin loadfilenameplus.rbl
>> >> >
>> >> >
>> >> >> At 02:58 PM 11/1/2005, Marc Schluter wrote:
>> >> >>
>> >> >>
>> >> >> >It seems that it is finding the first folder where
>> >> >> >the first 3 letters match. (I am in cms75 dir)
>> >> >> >
>> >> >> >Or I am going nuts.  I very real possibility!
>> >> >>
>> >> >>
>> >> >> Marc,
>> >> >>
>> >> >> Without knowing all details of your operating system,
>> >> >> your database character settings, etc., to move on,
>> >> >> in your specific situation, try the following code:
>> >> >>
>> >> >> -- start
>> >> >> CLEAR VAR vCurrentDir,vFileName
>> >> >> SET VAR vCurrentDir TEXT = (CVAL('CURRDIR'))
>> >> >> SET VAR vFileName TEXT = NULL
>> >> >> CLS
>> >> >> PLUGINS LoadFileNamePlus.RBL 'vFileName +
>> >> >> |FULLPATH OFF +
>> >> >> |TITLE Select File +
>> >> >> |VIEW_MODE DETAILS +
>> >> >> |FILTER All Files (*.*)#*.* +
>> >> >> |INITIAL_DIR .vCurrentDir +
>> >> >> |MULTISELECT OFF +
>> >> >> |SHOW_HIDDEN OFF +
>> >> >> |NO_LONG_NAMES OFF +
>> >> >> |OLD_STYLE OFF +
>> >> >> |NO_NETWORK_BUTTON OFF +
>> >> >> |HIDE_READ_ONLY ON'
>> >> >> CLEAR VAR vCurrentDir,vFileName
>> >> >> RETURN
>> >> >> -- end
>> >> >>
>> >> >> That way, you'll always start in the current directory.
>> >> >>
>> >> >> Enjoy!
>> >> >>
>> >> >> Very Best R:egards,
>> >> >>
>> >> >> Razzak.
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >
>> > --- RBG7-L
>> > ================================================
>> > TO POST A MESSAGE TO ALL MEMBERS:
>> > Send a plain text email to [email protected]
>> >
>> > (Don't use any of these words as your Subject:
>> > INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
>> > REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
>> > ================================================
>> > TO SEE MESSAGE POSTING GUIDELINES:
>> > Send a plain text email to [email protected]
>> > In the message SUBJECT, put just one word: INTRO
>> > ================================================
>> > TO UNSUBSCRIBE:
>> > Send a plain text email to [email protected]
>> > In the message SUBJECT, put just one word: UNSUBSCRIBE
>> > ================================================
>> > TO SEARCH ARCHIVES:
>> > Send a plain text email to [email protected]
>> > In the message SUBJECT, put just one word: SEARCH-n
>> > (where n is the number of days). In the message body,
>> > place any
>> > text to search for.
>> > ================================================
>> >
>>
>>
> 

Reply via email to