File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes project is stuck up - Help!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "project is stuck up - Help!!!" Watch "project is stuck up - Help!!!" New topic

project is stuck up - Help!!!

sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
i'm facing problem regarding this VB coding since a number of days . I tried a lot , but now i'm tired so please someone help me .
Private Sub cmdURL1_Click()
CamImage1.URL = "http:\\\New Folder\Inetpub\amit.jpg"
CamImage1.Stretch = True
CamImage1.Display = True
MsgBox ("lk")
End Sub

what I want is to access an image on another pc placed in c: particularly.
From the above code , how will the compiler know in which drive to search for that particular image .
Do we mention the drive to on that machine . If so how.
Please help.
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
Try with PC name instead IP.
Ex.If PC name is Amit,
CamImage1.URL = "\\Amit\New Folder\Inetpub\amit.jpg"
If that does not work, than write simple HTML code and display that image.Than see in address bar, what path is referes to.

If you want to become a rich, do not work for others but make others to work for you.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Also posted in Other OPen Source Products :roll:

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
Actually I want to know , how do I write the code if i want to mention the particular drive in which the image lies.
is it this was :
CamImage1.URL = "http:\\\c:\New Folder\Inetpub\amit.jpg"
If not then what is the right way.
I agree. Here's the link:
subject: project is stuck up - Help!!!
It's not a secret anymore!