• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

project is stuck up - Help!!!

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also posted in Other OPen Source Products :roll:
 
sunita shaw
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic