473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Defining network paths.

I have a statement that defines a network path"

ReportPath = "L:\Information Technology\Public\Report Procedures\"

When I run the program, it tells me that it can't recognize the argument:
'Technology\Public\Report'
Why does it not notice the "Information" and "Procedures" part of the path?
What do I need to put between the 2 words to recognize this path?
Jul 21 '05 #1
6 1134
On 11/6/2003 4:23 PM, Jasper Recto wrote:
I have a statement that defines a network path"

ReportPath = "L:\Information Technology\Public\Report Procedures\"

When I run the program, it tells me that it can't recognize the argument:
'Technology\Public\Report'
Why does it not notice the "Information" and "Procedures" part of the path?
What do I need to put between the 2 words to recognize this path?

try:
ReportPath = "\"L:\Information Technology\Public\Report Procedures\""
or
ReportPath = "\"L:\\Information Technology\\Public\\Report Procedures\\\""

Jul 21 '05 #2
Didn't work,
any other suggestions?

Thanks,
Jasper
"Bogdan Lachendro" <la***@no-spam.icslab.agh.edu.pl> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
On 11/6/2003 4:23 PM, Jasper Recto wrote:
I have a statement that defines a network path"

ReportPath = "L:\Information Technology\Public\Report Procedures\"

When I run the program, it tells me that it can't recognize the argument: 'Technology\Public\Report'
Why does it not notice the "Information" and "Procedures" part of the path? What do I need to put between the 2 words to recognize this path?

try:
ReportPath = "\"L:\Information Technology\Public\Report Procedures\""
or
ReportPath = "\"L:\\Information Technology\\Public\\Report Procedures\\\""

Jul 21 '05 #3
On 11/6/2003 5:04 PM, Jasper Recto wrote:
Didn't work,
any other suggestions?


Could you send some sample code showing the way you use that ReportPath ?

Jul 21 '05 #4
Here is an example. The report path is determined earlier in the program.
Then it is plugged into the big statement.

ReportPath = "L:\Information Technology\Public\Report Procedure\"

ReportName = "HolsetToolsQtyOnHand.p"

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Progress = "V:\PROGRESS\bin\prowin32.exe V:\VANTAGE\db\vantage.db -ininame
V:\VANTAGE\vantage.ini -pf V:\VANTAGE\db\Vantage.pf -N TCP -H loc-vntg -S
epic52 -ld vantage -p " & ReportPath & ReportName & " -rand 2 -q -basekey
ini"

Report = Shell(Progress, 1)

End Sub

Thanks,

jasper

"Bogdan Lachendro" <lachu@-no-spam.please.icslab.agh.edu.pl> wrote in
message news:u7**************@TK2MSFTNGP11.phx.gbl...
On 11/6/2003 5:04 PM, Jasper Recto wrote:
Didn't work,
any other suggestions?


Could you send some sample code showing the way you use that ReportPath ?

Jul 21 '05 #5
On 11/6/2003 8:34 PM, Jasper Recto wrote:
ReportPath = "L:\Information Technology\Public\Report Procedure\"
ReportName = "HolsetToolsQtyOnHand.p"
[cut] epic52 -ld vantage -p " & ReportPath & ReportName & " -rand 2 -q -basekey

[cut]
I think you should use:

[cut]
epic52 -ld vantage -p """ & ReportPath & ReportName & """ -rand (and so on)
[cut]

Hope this helps.
regards

Jul 21 '05 #6
Works great!!

Thanks for your help!
Jasper
"Bogdan Lachendro" <lachu@-no-spam.please.icslab.agh.edu.pl> wrote in
message news:un*************@tk2msftngp13.phx.gbl...
On 11/6/2003 8:34 PM, Jasper Recto wrote:
ReportPath = "L:\Information Technology\Public\Report Procedure\"
ReportName = "HolsetToolsQtyOnHand.p"
[cut]
epic52 -ld vantage -p " & ReportPath & ReportName & " -rand

2 -q -basekey [cut]
I think you should use:

[cut]
epic52 -ld vantage -p """ & ReportPath & ReportName & """ -rand (and so on) [cut]

Hope this helps.
regards

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tuure Laurinolli | last post by:
Some time ago I was playing with the idea of using an actual IDE to write my python code. I first played with IDLE, but noticed that it was kind of limited and for some reason it worked extremely...
3
by: Tommy.Vincent | last post by:
Hi, its newbie question. I have one production server(A) ,one backup server(B),additional server(C). my database backup are moved from A to C in regular basis. My problem is that when...
5
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a...
6
by: Jasper Recto | last post by:
I have a statement that defines a network path" ReportPath = "L:\Information Technology\Public\Report Procedures\" When I run the program, it tells me that it can't recognize the argument:...
1
by: Daniel | last post by:
How to access a network file path \\foo\bar.txt from an .aspx and from a custom IHttpHandler? How to specify which account that aspx application should use when doing file IO from network paths?...
2
by: Mike | last post by:
Can a vb program running as a serice not use network paths to do file/io? I can't seem to get my program to work with network paths and files. When I use local disk it works fine. When I run it...
5
by: ordy62 | last post by:
I split a database to a FE and BE but the issue is the network shares. I have several groups that need to view this database but the network paths to database are different for example. ...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
10
by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?= | last post by:
Sorry about that previous one. I pressed enter too early. How does one go about mapping a network drive in C#. i know you use MapNetworkDrive in scripting languages, but i'm not sure how to do it...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.