Solved

remote acess to get file.

Posted on 1998-09-18
6
156 Views
Last Modified: 2010-04-30
how am i to create a open dialog box where the files displayed are actually on other pc/ server.  

Actually i created an application embedding excel into vb using ole. Now i am trying to use commondialog to open the files in the main server.  i can open the local harddisk...


Syntax code...

commondialog.ShowOpen

.... displays the open dialog box where i choose the files. It only shows what files i have in my own pc. How is it to access to another pc...( i intend to access a server)
0
Comment
Question by:balaponnu
[X]
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
  • 3
  • 2
6 Comments
 

Author Comment

by:balaponnu
ID: 1435547
Edited text of question
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1435548
Are you using VB4?
0
 

Author Comment

by:balaponnu
ID: 1435549
i am using vb5
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:mark2150
ID: 1435550
You need to have established a link to the remote computer prior to firing your dialog. Once the connection is established you should be able to see the drives. Under My Computer click on the MAP Network Drive button and select the shared area on the other computer. Be sure to click on the Reconnect at Logon box so it will always automatically re-establish the letter association.


0
 

Author Comment

by:balaponnu
ID: 1435551
More explaination please...

I am actually suppose to connect to a remote server which can be a server (using IP address). I would like more clarification on this matter. If it is possible please provide me with the source code.

More details

I am using win95 and my database is in personal web server(my pc hard disk). I am using an embeded excel in my application. When my user choose to open files... it should straight point to the server location where it list out the files(excatly like when you open hard disk to choose files). I don't want my user to connect to the server manually. This application is running on the web browser. That means it is in Internet where my user can be any where...

p/s thanks i really appreciate ur help.
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 100 total points
ID: 1435552
Ok, I misunderstood. Thought you were on a Novell/NT/Peer-to-peer LAN.

You're not going to be able to use CommonDialog control for this. You need a FTP control to pull down the directory and populate a list of some type. You're going to have to write quite a bit of stuff to make your form look like CommonDialog except the data is comming in response to an LS command sent to the FTP session. CommonDialog is only going to work when you have LAN type connectivity to a drive and not WAN level connectivity.

M
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 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