File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "project is stuck up - Help!!!" Watch "project is stuck up - Help!!!" New topic
Author

project is stuck up - Help!!!

sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
Hi!
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:\\192.168.9.70\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.
Thanx
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
Hi!
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:\\192.168.9.70\c:\New Folder\Inetpub\amit.jpg"
If not then what is the right way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: project is stuck up - Help!!!