This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

project is stuck up - Help!!!

 
sunita shaw
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also posted in Other OPen Source Products :roll:
 
sunita shaw
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic