Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Position Of Image


Hi, Now i have the form called form1. And i want to create my own status bar. I know there is one under common controls but i rather make my own. Now is there a way where i can have a image stick at the bottom of the form? Where if i resize the image just resizes and it stays in the same place just like the Microsoft status bar?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Find Relative Position Of Inner-image Within Outer-image
Hi,

I have an assignment, here are the details.

Platform : Excel/VB Macro

Task : 1st. Put a Map of location, e.g. road-map, take 2nd image of vehicle and put it on road, vehicle should not go out of road.

anybody have idea how to do it.

i am new to graphics programming.

abc

Position The Image
Hi
I have a label centered at the center- Bottom of the form,I want to place an imageBox slightly above this label and at the center position of the label,I want to do by code,How?
To place the Label at the center bottom I use the following code

Label2.Move (Me.ScaleWidth / 2) - (Label2.Width / 2), (Me.ScaleHeight - Label2.Height)

Lock The Position Of An Image
hi there,

i'm inserting a picture and it's replacing a piece of text in a table on cell 2,2
The inserting goes okay but when i change the properties of the image, Wrapformat.type and ZOrder, the cell returns to it's orginal format, that's what i want it to do, but here comes the problem. The image is then outside (below) the table, is there someway that i can lock the place of the image so that it stay at its first position?

Position An Image On Picturebox
Hey,

This is probably simple but I can't figure it out, and I was hoping someone could explain it to me. I have an image and I want to, at
run time, decide where I want it to appear on a picture box. It might end up in the middle of the picbox, or in the bottom corner, or ....
Any help would be greatly appreciated!

Thanks

Matching Image Position?
How can I produce I collision? I have two img files. One file is set anywhere, and other one is just controlled by .top or left +150. How can I make it, like as soon as I hit other object something to occur something?

Position Image In MSWORD
I am using the word object to create word document.

But when i try to insert image, it didn't place it to where i want it.


I am using:
Document.activedocument.AddPicture("E:figure 01.jpg")
to add picture.

anyone know how to position it?

How Do You Position In Image In VB INSTALLER?
I would like to be able to position an image in the installer for my VB6 app so that it customizes the installation screen a little.  How do you introduce and position an image (logo) so that it shows during the installation?

Thanks for any help,     David Abineri



Image Position Inside Picturebox
hi there
how can i determine the currentX and currentY of an image inside a picturebox?
i need to find the position of the image related to picturebox and not the screen.
thanks

Need Help With Mouse Position And How To Capture An Image
I am trying to write a program that takes a snapshot of a selected area then find the position of a part of the area then clicks on it

thanks

Select Image, Insert And Position
Hello. I am very new to VB. I need a function to open the insert picture dialog box for the user,in Excel, then position the image in the correct cell, and then "paste" that image to 4 other worksheets with in the one workbook. I basically have all the parts seperately, but the function that positions the image takes the image name, which I don't know how to get after the image has been inserted. Can anyone help?

THANKS..

Cassy

Move An Image/Picture Box To A Different Position.
Hi, I have a picturebox on a form, when i click a button, i want the box to move to a different position on the page. I have read you can do this with "Move" but i cannot get it to work.

Can any one help.

Thanks


Chris Davis

X Marks The Spot / Position An Image Exactly Outside A Picturebox
Hello everybody,

Please look at the attached image to understand my question.

I have 1 Main PictureBox. Inside that PictureBox is a second PictureBox (picCircle) with a Circle and a Line Object (LQ) from the Center to the edge of the circle. In the First PictureBox I also have an Image (imgDirection) (the Yellow X) and a black circle.

Here is my question. The line (LQ) in the center of the circle can move to any degree between 0 and 360. I want to position the Image (imgDirection) exactly to where the line is pointing AND remain outside the black circle. Currently I am doing this by trial and error and this is what I came up with which seems Ok but is there a better and exact way? Thanks for any assistance.


Code:
Select Case dblDirection
Case -180 To -150
imgDirection.Left = (picCircle.ScaleWidth / 2) + LQ.X2
imgDirection.Top = (picCircle.ScaleHeight / 2) + 1.3 * LQ.Y2
Case -150 To -110
imgDirection.Left = (picCircle.ScaleWidth / 2) + 1.3 * LQ.X2
imgDirection.Top = (picCircle.ScaleHeight / 2) + 1.2 * LQ.Y2
Case -110 To -30
imgDirection.Left = (picCircle.ScaleWidth / 2) + 1.3 * LQ.X2
imgDirection.Top = 1.5 * LQ.Y2
Case -30 To -10
imgDirection.Left = (picCircle.ScaleWidth / 2) + 1.1 * LQ.X2
imgDirection.Top = 1.5 * LQ.Y2
Case -10 To 45
imgDirection.Left = 1.5 * LQ.X2
imgDirection.Top = 1.2 * LQ.Y2
Case 45 To 100
imgDirection.Left = LQ.X2
imgDirection.Top = 1.5 * LQ.Y2
Case 100 To 165
imgDirection.Left = 1.1 * LQ.X2
imgDirection.Top = (picCircle.ScaleHeight / 2) + 1.3 * LQ.Y2
Case 165 To 190
imgDirection.Left = (picCircle.ScaleWidth / 2) + LQ.X2
imgDirection.Top = (picCircle.ScaleHeight / 2) + 1.3 * LQ.Y2
End Select

Resetting Image Position When It Reaches End Of The Screen?
I was wondering how I would reset the images position to 0 when it reaches the edge of the screen. I tried this:

VB Code:
If bomb_yellow.Left = 3480 Thenbomb_yellow.Left = 0End If

3840 is the furthest position on the screen. Am I on the right track even?

Mouse Position Inside A Picture Box Or Image Control
I need help on retrieving the mouse position inside a picture box or image control. I can do it for the entire screen but I want to be able to do this in relation to the picture box. (Example: top left of picture box would be 0,0) If anyone can help me please post. I am using VB 5, but about to upgrade to 6 pretty soon. Thank you.

How Would I Position My Form At The Current Caret Position (like The Menu For Inserting Stuff In Msv
How would i position my form at the current caret position (like the menu for inserting stuff in msvb6)

How Can I Position ChildMDI In Centre Position Of ParentMDI
How can I position my ChildMDI form in the centre of my ParentMDI form.
And further more, how can I pass form variable (eg. text box entry, radio button selection) from one MDI form to another. Or one form to another. like one shown in picture attached. The sample output is derived from the previously filled form. How to pass these variable?

Row Position, Column Position Of Cursor In RichTextBox
I am trying to create a text editor with some enhanced specific features for my application. One of these features which is a MUST is that I need to know which row and column my cursor is on at any given time. Therefore if I use the arrow keys, or click on the RichText Box, I can update the statusbar to tell me which line number (row) and character position within the line I am on.

I am not totally sold on using the rich text box, but the files can be somewhat large, and I need the text to be editable.

How Can I Position ChildMDI In Centre Position Of ParentMDI
How can I position my ChildMDI form in the centre of my ParentMDI form.
And further more, how can I pass form variable (eg. text box entry, radio button selection) from one MDI form to another. Or one form to another. like one shown in picture attached. The sample output is derived from the previously filled form. How to pass these variable?

Can't Get Image Admin, Image Edit, Image Scan To Work
Hi Guys,

Every time I go to add components and add the Kodak IMG components it tells me each one cannot be loaded.

I did have it working and then when I re-loaded my project it told me that 'ImgAdmin could not be loaded' and the same with ImgEdit.....'Do you wish to continue loading project anyway'.

Please can you help?...I am in real nead for them to work.

Much thanks,

Peter.

 

Image Control Generates Error If Image's Path Is Assigned To Picture Property
hi...
I m storing .jpg file path in a field 'ImagePath' which is of type 'Text' of say table A. Now i want to display that .jpg file whose path is stored in the table A into an Image Control. the picture property of the image control doesn't takes the path string... and prompts an error message that object is required.. ! how to display the image in the Image control.

thanx n regards
IPS

How Can I Auto Save Image To Certain Folder After Scanner Scan My Image Into My FORM?
How can I auto save my image to certain folder after scanner scan my image into my FORM?

How to delete the image from the folder when I unload the FORM??


Code:

My command button to perform scan function...

Private Sub CmdSCan1_Click()
On Error GoTo ScanErr
'Scan an Image
If ImgScan1.ScannerAvailable = True Then
With ImgScan1
.OpenScanner
.StartScan
End With

ImgEdit1.Image = ImgScan1.Image 'sets imgedit1 to show scanned image

ImgScan1.CloseScanner 'close scanner
Else
MsgBox "Scanner Not available!", vbExclamation, "Error!"
End If
ScanErr:
If Err.Number = 1002 Then 'Exited without scanning
Exit Sub
Else
Exit Sub
End If
End Sub


I want auto save the scanned imange to example

Code:
Dim a As String
a = "ScanPic"
MkDir a
Dim b As String
b = "ScanPic" & strTempNo
MkDir b


how can I make sure if the folder I create is exist don't create it again?
because if the folder already exist I will get a error msg "Path and Access error"... duplicate folder created...

Adding Employee Image Files Useing Image Dataype In Sql Server
HI ALL
I NEED TO UPDATE THE EMPLOYEES PHOTOS ON A SQL SERVER TABLES. CAN ANYONE PLEASE HELP ME , HOW TO ADD,DELETE, EDIT IMAGE FILES IN SQL TABLE.
thanks
Parthi

Zooming Various Size Image To Fixed PictureBox Without Changing The Image Ratio
Yup!I need to scale different size image into a fixed picturebox. Without changing the image height vs width ratio.any of you can help me? thanks.
1)scale the image as big as possible depending the fixed picture box height or width.


I use the loadpicture function in loading picture.
If I use the image control, I found the stretch function will cause the image height and width ratio change.

thanks

VB6 Linking Picturebox/image To OLE Object Field To Show Image
I think I have set the parameters correctly on the image properties to view the database via the data control but the error report "cannot bind with field picxxx" returns. A text box linked to the next field works OK

I Need To STOP Image FLICKERING! The Regular Image Control Flickers
So heres the problem....

I'm working on a skinning module for my software and i have menu pages,, on each page i move image controls around so that I can have multiple pages of buttons....

When I click the different menu buttons the images flicker, its not so bad on a fast computer, but on slower computers it really shows.

Does anyone have ANY idea of how to stop this flickering? Ive tried putting the controls on a picturebox / frame, and making the frame invisible/moving it off the screen, but that doesnt work... no matter what I do the images always flicker.

I would use the picturebox because that doesnt flicker,, but it doesnt support transparencies and theres always a box around the image.


Any ideas would be greatly appreciated.

Thanks!

Capture A Control And Send The Image To A Clipboard Or Image File
hi,
there is any way to capture a control and send the image of that control to a clipboard or image file?
thanks a lot for your help

(Image Size, Image Adrress, And Creation Time) Of A Process ?
how can I get (Image size, Image Adrress, and Creation time) of a process if I knpw the ID or the handle ?!

thanx,

Image Capture && Then Draw Line In Coordinates On Captured Image In Vb
Hi
I know how to store the image in database but i want to know how to for example :

First Capture an image then allow the user to draw a line as in GRAPH x co ordinate & Y co ordinate on the image
and store this image in the database

Pls help me.

Regards

How To Show The Image That Store As BLOB Type On Image Object?
I want to show the picture that be stored in BLOB data type. How can I do?

Inserting Image In Vb Project As Per Database(as Data Changes Image Should Also Change)
i am making front end in vb6 and backend in ms access
i want as my data changes on movenext
concerned photo should also change
i am using data environments

please help

Storing Image In Access Database From Image Control /Picture Box
I am trying to store/retrieve pictures (bmp,jpeg) as fields in a
database record. Other than GetChunk/AppendChunk is there a way to directly
assign the picture to/from a picture control to a database field?
this is b' cos i hv n image in a picturebox/ image control from where i m unable to have the filepath to assign the appendchunk method ..


Pl Help,

upendra

Need Help - Disabling Image Resizing Of An Image Inside Of A Rich Text Box
any of you know a way to preventing an image that has been loaded in to a richtextbox to be resized (e.g once the image is loaded its current size / position is locked)


im using
VB 6.0 with SP6

Ms richtext controll 6.0



iv been looking for an answer to this for about a month now

any help would be most apreciated


thanx

reguards

Lee

[How To] If I Change A Forms' Position All Forms Change To That Position(left&&top)
Hi all, I'm building a proggie with an-installer-like-interface.
I need all forms to be in the same position when I press "next"...
Anyway, I tried smthng, not success...

*position=.left & .top properties for every form



THX IN ADVANCE

BitBlt Rendered Image TO Image Control's .Picture
Hi! Is there a way to set an image rendered using BitBlt to an Image control's .Picture property? I've been trying many ways for a while and I can't seem to make it work...

Thanks in advance

How To Convert A Monochrome Image To A Pseudo Colored Image?
Hi Guys,

I need some help here. I have some monochrome (grayscale) images (.bmp format) here and i need to convert them into pseudo colored images making use of a lookup table (LUT).

What's going on here is:
I have some images that have just been captured by an IR Camera. To make these hotspots more visible to the user, I need to match certain temperature higher than a certain threshold to a color say Red.

Question:
Since the image is monochrome, the image will consists of the pixel values and not temperature information right? (or is it that this pixel values/intensities of the thermal image are the temperature information?)

So now, how do I create a LUT to match the temperature to a certain pixel value? I am rather confused with this temperature, pixel value and color concept. Can someone help me with this?

Can someone guide me with this conversion of monochrome image to a pseudo colored image? I am stucked here for quite a while now. Your help will be greatly appreciated

Thanks alot guys.....

Regards,
Justin

Save Image From Clipboard To Resized New File Image
Hi,

I'm trying to make screen captures from Acrobat pages, to create thumbnails with.

I'm doing this by:
1. opening the PDDoc of Acrobat
2. Copy the first page to the clipboard
3. Putting the clipboard image in a Picture variable
4. Stretching it with StretchBlt to a new picture
5. Trying to save the new picture

With the code below, the resulting value for retstretch is 0, thus the stretching didn't work. I don't understand my error. The savepicture method results in nothing. I've found several examples of the StretchBlt method, but all with Pictureboxes. I want to do this without a Picturebox. Is this possible? If not, how can I integrate the pictureboxes in my example?

Thanks in advance! Any help is really appreciated.


Code:
Public Sub CreateThumbnail(strFileName As String, Xpixels As Long, Ypixels As Long)
'strFilename = PDF document
'Xpixels = pixel size width
Ypixels = pixel size height

Dim pdfDoc As Acrobat.AcroPDDoc
Dim pdfPage As Acrobat.AcroPDPage
Dim ret As Boolean
Dim pageCount As Long
Dim pdfRectTemp As Object
Dim pdfRect As Acrobat.AcroRect
Dim ClipBoardPic As Picture
Dim pdfPic As New StdPicture
Dim pdfPicWidth As Long
Dim pdfPicHeight As Long
Dim retstretch As Long

' Create the document (Can only create the AcroExch.PDDoc object using late-binding)
Set pdfDoc = CreateObject("AcroExch.PDDoc")

' Open the document
ret = pdfDoc.Open(strFileName)
If ret = False Then
MsgBox "File not found!", vbCritical, "Error"
Exit Sub
End If

' Get the number of pages
pageCount = pdfDoc.GetNumPages()

' Get the first page
Set pdfPage = pdfDoc.AcquirePage(0)

' Get the size of the page
' This is really strange bug/documentation problem
' The PDFRect you get back from GetSize has properties
' x and y, but the PDFRect you have to supply CopyToClipboard
' has left, right, top, bottom
'Set pdfRectTemp = CreateObject("AcroExch.Rect")
Set pdfRectTemp = pdfPage.GetSize

' Create PDFRect to hold dimensions of the page
Set pdfRect = CreateObject("AcroExch.Rect")
pdfRect.Left = 0
pdfRect.Right = pdfRectTemp.x
pdfRect.Top = 0
pdfRect.Bottom = pdfRectTemp.y

' Render to clipboard, scaled by 100 percent (ie. original size)
' Even though we want a smaller image, better for us to scale in VB
' than Acrobat as it would greek out small text
' see http://www.adobe.com/support/techdocs/1dd72.htm

Call pdfPage.CopyToClipboard(pdfRect, 0, 0, 100)

Set ClipBoardPic = Clipboard.GetData(vbCFBitmap)

pdfPicWidth = PixelsToHimetricX(Xpixels) 'Function to convert pixels in HiMetric. Code is not included here
pdfPicHeight = PixelsToHimetricX(Ypixels)

retstretch = StretchBlt(pdfPic.Handle, 0, 0, pdfPicWidth, pdfPicHeight, _
ClipBoardPic.Handle, 0, 0, ClipBoardPic.Width, ClipBoardPic.Height, vbSrcCopy)

SavePicture pdfPic, "c:Temp est.png"

End Sub

Image To A String Im My Application?, And Tell The Width / Height Of An Image?
hi,

I wanna do the following in my application

Load a picture into a string,
Tell how wide / tall the image in a PIXELS it is, and if it is less then 150 px's each way load it into my pct box

is this easy or?

[Main problem for now is: i am using:


VB Code:
On Error GoTo ErrorSub:    Me.CommDia1.Filter = "Avatar Image Files (*.gif)|*.gif"    Me.CommDia1.InitDir = App.Path & "Avatars"    Me.CommDia1.ShowOpen    Dim aFileName As String, strAvatar As String    aFileName = Me.CommDia1.FileName    If Len(aFileName) > 0 Then        strAvatar = LoadPicture(aFileName)        imgAV(0).Picture = strAvatar    End IfExit SubErrorSub:    If Err.Number = "32755" Then        ' It's a Cancel Error, Just Ignore it        ' And Exit the SubRoutine        Exit Sub    ElseIf Err.Number = "76" Then        ' Avatar Directory Doesn't Exsist, Lets Make It        MkDir App.Path & "Avatars"        Err.Clear        Resume Next    Else        MsgBox "Error: " & Err.Description, vbOKOnly, "Error # " & Err.Number        Err.Clear    End If


And strAvatar isn't dimmed as the correct type,,, whats the correct type for the Picture?

Scroll An Image Inside Image Control Or PictureBox?
How do I scroll a picture horizontally inside Image Control or PictureBox Control? Thanks

How To Pass Image Name To Image Control In Data Reports
Hi,
I want to set the image to image control in Data reports.
Here the thing is, i don''t want to set image through properties window.I want to change the image based on condition in view code. I am not able set the name in view code of datareport
I would like to set the image name as

if productid="app101" then
image. ="apple.jpg"
elseif.......
end if

here my intention is, i want to display image for each product which are stored in a folder and whose name are kept in databse...

Since there is no option to bind image control to databse field, we have to select image to imagecontrol dynamically...

How Can I Figure Out The Size Of An Image File Without Loading The Image?
There might a control or two on the market that do that, but i think they require that the image be loaded as well, so i don't think you'll be able to do that.

Load, Resize And Center Image In Image Control?
I would like to create thumbnails quickly. I have used the method of loading an image into an image control, getting it's size to determine the ratio, and resize it but it's too slow.

I understand you can acheive much faster results using the StretchBlt api. However, I don't have the slightest clue on how to do it.

Here's what I would like to accomplish:

Load an image at run-time into an image control and have it resize and center quickly, maintaining the correct aspect ratio of the original image.

I would appreciate it if you could post some sample code or point me in the right direction..

Thanks,

Dan

Drag And Drop Image From Webbrowser To Picture/image Box?
Does anyone know if this is possable, and how to set it up? this would also help alot

thanks

While I DOUBLE CLICK ON ANY IMAGE, IT'LL USE MY PROGRAM TO SHOW IMAGE~
While I DOUBLE CLICK ON ANY IMAGE, IT'LL USE MY PROGRAM TO SHOW IMAGE~

I HAVE MAKE A SIMPLE PICTURE VIEWER,AND I WOULD LIKE TO KNOW HOW TO DO LIKE ACDSEE DO, WHEN I DLB CLICK ANY PICTURE(*.JPG,*.BMP AND ETC IMAGE FILE) IT WILL AUTOMATIC USE MY PRGRAM TO BROSWER, NO NEED EVRY TIME OPEN MY PROGRAM TO VIEW PICTURE.

HOW TO DO IT?

How Do I Erase A Part From An Image Box(like An Eraser) && How Do I Print Image Box
As the title implies, making an eraser to erase a particular area from an image box, and how to send the image box's picture to printer.

Would you gurus tell me how to do that?

Use An Image Control Or A Picture Box And Resize Image Smaller
I've read numerous posts here about what i'm trying to do, but this being the first time I've tried this I could use a little kick start!  Or you can just beat me up and abuse me, but help me please!

I'm trying to make a little preview area on the form or in a picture box or image control whatever works best ( or easiest).

ALL of my images are larger than my display area.  I need to make them smaller.  My current image control has a height of 1935 and a width of 3015.  So far I've loaded the picture but with a picture box the image is way to big for the amount of space and the image control stretches to make the image fit even with stretch set to false. TIA

CODEPrivate Sub File1_Click()


Image1.Picture = LoadPicture(g_PicPath & File1.FileName)

End Sub

How To Load Image On Image Control On Datareport From.....??[Not Resolved Yet]
-I have one image control (pic) in main form
-I have one command button (cmdReport) in main form
-I have one data report which contains one image control (imgRpt)
-All I want to do is when I click cmdReport, image control(imgRpt) on datareport takes image from the imagecontrol (pic) from main form.

Will you tell me how to do that?

Sabin Kumar Chhetri

Edited by - saracjl on 4/27/2005 8:18:14 PM

Linking An Image From A DB To A Image/picture Control And Back
I'd like to store images in an access database and retrieve them using a program in VB.

I try to set the picture property as a OLE field of an access database but it has no effect.

Any suggestions?

Save Image From Clipboard To Resized New File Image
Hi,

I'm trying to make screen captures from Acrobat pages, to create thumbnails with.

I'm doing this by:
1. opening the PDDoc of Acrobat
2. Copy the first page to the clipboard
3. Putting the clipboard image in a Picture variable
4. Stretching it with StretchBlt to a new picture
5. Trying to save the new picture

With the code below, the resulting value for retstretch is 0, thus the stretching didn't work. I don't understand my error. The savepicture method results in nothing. I've found several examples of the StretchBlt method, but all with Pictureboxes. I want to do this without a Picturebox. Is this possible? If not, how can I integrate the pictureboxes in my example?

Thanks in advance! Any help is really appreciated.

Code:Public Sub CreateThumbnail(strFileName As String, Xpixels As Long, Ypixels As Long)
'strFilename = PDF document
'Xpixels = pixel size width
Ypixels = pixel size height

Dim pdfDoc As Acrobat.AcroPDDoc
Dim pdfPage As Acrobat.AcroPDPage
Dim ret As Boolean
Dim pageCount As Long
Dim pdfRectTemp As Object
Dim pdfRect As Acrobat.AcroRect
Dim ClipBoardPic As Picture
Dim pdfPic As New StdPicture
Dim pdfPicWidth As Long
Dim pdfPicHeight As Long
Dim retstretch As Long

' Create the document (Can only create the AcroExch.PDDoc object using late-binding)
    Set pdfDoc = CreateObject("AcroExch.PDDoc")

' Open the document
    ret = pdfDoc.Open(strFileName)
    If ret = False Then
        MsgBox "File not found!", vbCritical, "Error"
        Exit Sub
    End If

' Get the number of pages
    pageCount = pdfDoc.GetNumPages()

' Get the first page
    Set pdfPage = pdfDoc.AcquirePage(0)

' Get the size of the page
' This is really strange bug/documentation problem
' The PDFRect you get back from GetSize has properties
' x and y, but the PDFRect you have to supply CopyToClipboard
' has left, right, top, bottom
'Set pdfRectTemp = CreateObject("AcroExch.Rect")
    Set pdfRectTemp = pdfPage.GetSize

' Create PDFRect to hold dimensions of the page
    Set pdfRect = CreateObject("AcroExch.Rect")
    pdfRect.Left = 0
    pdfRect.Right = pdfRectTemp.x
    pdfRect.Top = 0
    pdfRect.Bottom = pdfRectTemp.y

' Render to clipboard, scaled by 100 percent (ie. original size)
' Even though we want a smaller image, better for us to scale in VB
' than Acrobat as it would greek out small text
' see http://www.adobe.com/support/techdocs/1dd72.htm

    Call pdfPage.CopyToClipboard(pdfRect, 0, 0, 100)

    Set ClipBoardPic = Clipboard.GetData(vbCFBitmap)
    
    pdfPicWidth = PixelsToHimetricX(Xpixels) 'Function to convert pixels in HiMetric. Code is not included here
    pdfPicHeight = PixelsToHimetricX(Ypixels)
    
    retstretch = StretchBlt(pdfPic.Handle, 0, 0, pdfPicWidth, pdfPicHeight, _
                ClipBoardPic.Handle, 0, 0, ClipBoardPic.Width, ClipBoardPic.Height, vbSrcCopy)
    
    SavePicture pdfPic, "c:Temp est.png"

End Sub

 

Edited by - DoLoop on 5/30/2008 6:07:25 AM

Inserting PDF File Image Into A Image Field In SQL Server
I need to insert the pdf binary file into a field in a SQL Server 2000 table. The field is an image type. I currently use the Atalasoft Image OCX to upload tif and jpg images to the table, but it does not support PDF formats. I need a 3rd party OCX that will allow me to load the image via AppendChunk and then also read it with GetChunk. I am also looking for the control to possibly get me thumbnails of the pages.

Copyright 2005-08 www.BigResource.com, All rights reserved