Code for display the images from drive using vb 6.0?
Answers were Sorted based on User's Feedback
Answer / subbu malepati
Joebin, r u giving the answer for that question or asking
another question?
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / Chandra Mauli Sharma
Displaying images from a drive using VB6 involves using the Microsoft Internet Transfer Control (BIT) component. Here's an example of how to load and display an image:
```vbnet
Dim objBit As Object
Set objBit = CreateObject("InternetExplorer.Application")
With objBit
.Visible = False
.Navigate "file://c:pathtoimage.jpg"
Do While .Busy
DoEvents
Loop
End With
' Get the image object from the HTML document
Dim objDoc As Object
Set objDoc = objBit.Document
Dim objImg As Object
Set objImg = objDoc.Images(0)
' Set image control properties and load the image
Dim objPicture As Object
Set objPicture = Form1.Controls("Image1")
objPicture.PicturedType = 2 ' PBJ (Picture)
objPicture.LoadPicture objImg
```
| Is This Answer Correct ? | 0 Yes | 0 No |
which of the following is efficient in terms of space a. insertion sort b. quick sort c. selection d. both a and c
Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod
differenc between visual studio 2005,2008 & 2010?
needs examples for black box testing and white box testing
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
How to set on/off a group of indicators in a single statement?
What parameters are used to run a JCL JOB on a perticular DAY and TIME and DATE
How to update a data for the views in the relational data base schema
how to convert infix expression to prefix expression?
What do you mean by text editor?
what is the current salary package in India for a lamp programmer
Difference between views and index in sas programming