473,396 Members | 1,797 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,396 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 1137
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.