Help Me Regading Picture Format
hey guys can you help me with this... I have been able to get a snap shot of the foremost window...
.. but the problem is i dont want ot save it has a .bmp file... i want to save it as a .gif...or a .jpg
any ideas??? please help me
how do i save a snapshot as a picture......but not as a .bmp???
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Regading Format Function
Hi,
I want to pass date as a parameter.
I have coded like
qrytxt = DataEnvironment1.Commands(10).CommandText & " and f.checkin_date between " & Format(txtFromDate.Text, "dd-mmm-yy") & " And " & Format(txtToDate.Text, "dd-mmm-yy") & ""
I am getting error. pl suggest me
regards
Hiran
Please Help Me Regading Cropping An Image
hi all Friends,
I am making an application called File Management System..in which i need to crop an image and save it as same image. I'm using the picture box control.
I'll appreciate if somebody will help me out regarding this topic.
Thanks & Regards
Manish
Regading Datediff Function
hi all
i want to know how we ll use datediff function
i have given like this but it is not working
i have placed 3 text boxes , 2 for inputting date and the 3 rd one is
to print along with a command box
i have declared two variables a nd b as date and assigned them to
first two text boxes
i have given text3.text = DateDiff(text1.text,text2.text) and
text3.text = DateDiff(a,b)
its not working
then i have given text3.text = DateDiff(d,text1.text,text2.text)
it is also not working
it is givivng invalid procedure call or argument
pl suggest me
have a nice day
regards
kamesharun
Regading Unicode.dll Problem For Windws 98
hi,
I have developed a program using VB6, Access 97 and crystal reports 9.
i have created Setup using Visual Studio installer
When I try to install the program on Windows 98 2nd addtion
unicows.dll is not registring and terminate the installation
project
pls anybody can help me out ....
regards
ajit
Picture Format....
What would be a good picture format that has at least a decent compression? And would be good to use in a game?
Picture Format
Hello!
I have a question. What kind of picture formats(.bmp.jpg.tiff.........) can i load to image and picturebox?
Thank's!
New Picture Format
I need a new picture format that only I and my program can use, Can I do this in VB or do I need to do it in C++ ?
Is there any one out there that can help me!?
//DoomBringer
Png Picture Format
I've looked at several articles describing the png picture format, and they went over my head. So does anyone have any code that can save and especialy load a .png picture format.
Thanks
Picture Resize And Format
hey all,
anyone know if it is possible to resize and format a picture e.g. wrap around text, after inserting it from clipart in VBA,
if so how?
cheers - Mark.
Save Picture In .gif Format?
Hello,
Is there a way of saving the picturebox.picture in .gif Format and load a .gif file into a picturebox.picture?
Chart Fill Format Picture
I am trying to add a picture to the background of my chart and I can get it to fill the whole page, i.e. stretch the picture, but what I really want is to just display the picture unscaled once at the top left of the chart.
For some reason the options are disabled through the normal Excel user interface so I thought I'd try and do it programatically, but I just get an error:
Code:
With ThisWorkbook.Charts(str_Chart1).ChartArea
.Fill.UserPicture _
PictureFile:= _
"Picture location and file name (.gif)", _
PictureFormat:=xlStackScale, _
PictureStackUnit:=1, _
PicturePlacement:=xlAllFaces
.Fill.Visible = True
End With
I'm not sure what the Stack Unit and Picture Placement parameters do as the help is slightly vauge.
Picture Export To Word In Rtf Format
Problem:
I got a jpeg picture saved and I export it to a word document (under rtf format )in a table using:
"{field{*fldinst { INCLUDEPICTURE " & pictname.jpg & " \* MERGEFORMAT \d }}}"
The picture is then linked to the document...
the thing is than the picture appears in the document but is too big...
Does anyone knows what i should write to reduce the size of the picture before exporting it ???
Thanks
How To Save The Picture Image In JPEG Format
Hi Everyone,
am developing a picture in the picture box while run time in Visual Basic.I need to save the picture in JPEG format,am not able to do it..It can be saved in BMP format,but not ion JPEG format..
Anyone knows ple let me know how to save the picture image in JPEG format or converting the BMP format to JPEG format
Thanks
Logeswari
How To Display PackedDIB Format Image To Picture Box
Hi,
How can we display the image which is in packedDIB format, in a picture box in VB6.
note: packedDIB contains a single pointer which points to a memory block containing a BITMAPINFO structure which is followed by the image data.
Basically I will get the image in packedDIB format(its a 6 or 8 digit number iam getting. i think, this is the memory address.). I need to dispay the image in picture box using this packedDIB.
Please Help!
Thanks in Advance,
IPS
Drawing Rectangles In Picture That Ist Stored In StdPicture Format
Hey guys!
I really don't like to ask you about some code, but I tried and tried and tried and I didn't get my code to work :-(
I'm working with VBA.
I receive a picture from an interface and this picture is stored in memory in the variable pic (defined as stdPicture).
Now i want to draw rectangles and circles into this picture and then display it. Unfortunately I don't have a PictureBox or Image Control. I have a special Control (ocx) to display the picture. So how can I draw the rectangles and circles into the image-data?
I tried to get it to work with createDC, SelectObject, MoveTo, LineTo,... but it didn't work, obviously because I don't know how to use these commands right. (ok, moveto and lineto are not the problem...)
You can believe me, I really tried several hours, but as time is nearly up I'm asking for your help...
Can anyone pleeeaaase give me some lines of code??
Thanks in advance
Daniel
Clipboard Picture -> Smaller Format && Number Of Bytes
First off, my problem doesn't deal with directx or winsock at all, so please dont move this
Long version: (scroll down to see the short version)
Hello. I wanted to make a small application where you can control another computer from far away.. So far I have a server and a client, and the server is on the computer I want to control, and the client is on the computer that is controlling it. I'm sending messages of what to do (move the mouse, etc.) to the server, which then executes them. One problem.. I can't see what I am doing! So, I figured I'd send images back to the client to show where everything is on the screen (based on the messages sent, I'll know where the mouse is)
So I have the server taking screenshots every second, but I have a bit of a problem.
I need to convert the image that I got from prtscrn, on the clipboard, and I need to convert that into something very small (I've been thinking jpg.) and then I need to get the size of that image (in bytes) so I can send it..
Please help me out.
Short version:
I have an image on the clipboard, I need to convert it into a small image type (jpg or something) and find the size of it in bytes. How can I do that please? Thanks.
~Adams555~
Oh, I forgot to mention. I'm using VB6. And I dont care that the quality of the picture will be worse if I use jpg.. I've gotta get it tiny or it will be horribly laggy.
Insert Picture Doesn't ALSO Convert File Format
I am using Excel 2003, and I am wanting to insert pictures from files using a macro. My image files are HPGL files, for which I had to install a special filter (which used to be included with Word previous to 97, apparently), and they have a ".fp" extension. When I do this manually, I have to specify the particular filename, and then deal with a pop-up window called "Convert File" which makes me pick the HP format out of a list of file formats to convert from (some of which are WMF, JPEG, GIF, TIFF, you get it). Recording this into a macro gives me the same ActiveSheet.Pictures.Insert("filename.fp").Select as usual, which works in the macro as long as I have loaded the image manually already. If I haven't, running that line gives a "Run-time error '1004': Unable to get the Insert property of the Pictures class".
I believe this happens because of the special file format, and the Pictures class isn't automatically invoking the file convert thing (or at least the correct file convert thing). I can't find an object for the file conversion. If anyone knows how to do this, please help! Thanks.
Size Increases When Picture Saved As JPG Format Using IJL11.dll
Thanks a lot to all VB Group members...
I have developed a software generating JPG format picture by using the IJL11.dll. But the picture size(height&width)highly increased and generating only in 72DPI.
How can i generate a picture in its original width, height & 300dpi.
Display Tabs (how To Format The Display Of A Picture Box)
Hi all,
Just a quick question on how i would go about making a blank line between each of my lines of array, so that the array data is in line with the label.
The current code i use is:
vb Code:
For driver = 1 To 5For time = 1 To 6picSort.Print Tab(time * 10); sorted(driver, time);Next timeNext driver
My data is stored in an array named sorted, it is 2d of type variant.
-Comacchio
Load Picture At Run Tme In Picture Property Of StatusBar_Panel(1).Picture
I am trying to load an picture at run time at every Form's
StatusBarPanelPicture property but it seems that it doesn't show up .
Any ideas?
Thanks Panayiotis.
Public Sub main_logo_load()
On Error GoTo Load_Other
'Connections.Arr(1) array field holds the driveletter to which I have
the folder located .
Set Forms.Controls("staMain").Panels.Item(1).Picture = _
Connections.Arr(1) & ":CharterManagerImagesLogo-Small.gif"
'Forms.Controls.staMain.Panels.Item(1).Picture = LoadResPicture(1, 1)
Load_Other:
If Err.Number = 53 Then
Set Forms.Controls("staMain").Panels.Item(1).Picture =
LoadResPicture(10, vbResBitmap)
End If
End Sub
Format Currency To Indian Format In Label/Textbox
Hi folks,
I am trying format the currency data in DB (Acs 2003) into Indian currency format 00,00,00,000 for which I used the below code
vbcode Code:
Me.lblAmt.Caption = Format(CCur(rsCurrent.Fields("suitAmount")), "##,##,##,##,##,##0")
but during display nothing happens i.e. the display continues to be the US format.
Can somebody show me how.
Thanks in advance.
How To Translate English Vb Projects Format In Another Language Format
hi!
i develop a program in vb...and now it is finished...now my problem
is...
how can i translate my vb project in to another language
for
example i want my english vb project format to translate it in ar
abic forma
t...
is there any DLL or component properties of vb that
allow this..
i did try to configure windows...and set the languague
of my computer bu
t it is not to good..
guys can you help me with
this....
tnx...
Converting Microsoft Binary Format To IEEE Format Using VB 6
I wrote an accounting package back in the late 80's, early 90's that began back with GWbasic and so on upto Professional Development System ver 7.10. All the Data that was saved to random accessed files using the old unsupported Microsoft Binary Format (MBF). 10 years later the firm now wants me to develop a windows version of the software. I've come to a snag in development right from the start where MS VB no longer supports the MBF format. There are 3 function I need, they are CVI (integer), CVS (single), CVD (Double), these convert MBF strings to thier respected ieee Decimal format. I've been searching the net for about a week trying to find a method to do this and have come up against a brick wall. if anyone is able to assist me in my problem please feel free to add your advice. Anything is better than what I've come up with so far.
Thanks
Russ
How Can I Load A Picture In A Picture Box To A Image's Picture
hi all!
i have a picture box, in that picture box, there is a picture asume it as "pic1.bmp".. now i have made some changes in that picture.
Now i want to load a picture to a image( my form consists of a picture box and a image also).
like image1.picture=loadPicture(picture1.picture) ...
but i know that this statement is invalid....
how can i do it? actually.. yesterday i learned how to make changes on a picture and how to save a picture as .bmp..
so i can do one thing like save the modified picture box as .bmp and can load that .bmp into my image....
suppose if i do.. like this.. i need to change my entire code... since in my real application my images are controll array.. and its better to load the pictures from picturebox control array to this image controll array....
is there any posibility of doing like this.... if so kindly help me...
Thanks in advance..
regards:
raghunadhs.
Making A Picture Fit The Picture Box Instead Of The Box Fitting The Picture.
Hello,
I was wondering if anyone could tell me how to make a picture fit the picture box instead of the box fitting the picture. So I would want the picture to get smaller like the image preview on windows xp, when you click once on a pic and it shows the details and a small form preview of the pic yet not disformed (i.e NOT STRECHED)
Can someone show me how to do this?
Thank you and have a great day!
Stilekid007
Converting Bitmap Images To AVI Format, Then To DVD Format
I found this website for converting a series of bitmap images into an AVI format video:
http://www.shrinkwrapvb.com/avihelp/avihelp.htm
I used it in my VB6 program, and it worked great. I can make AVI animations. Now I am interested in burning my AVI animations on DVD so I can watch them on my friend's television. Are there any similar code snippits that will do that for me without being a genius at programming?
Convert The General Format To Text Format
hi all ,
In excel sheet i want to convet the particular from general format to text.can we do in VBA macro?.
when I'm importing the data from xml to excel 0567899 field value is imported as 567899 as a general format in excel.but i need this value shud be 0567899 in text format can any one help this thing.
Thanks and regds,
noorjahan
Convert Tiff Format To Geotiff Format
Hi to all guru out there,
Currently i need to convert Tiff format to geotiff format. Could anyone suggest any tool and procedure that will assist me in converting my image file.
Is it truth that the resouation will not be affected after converting?
Thank you very much
Format A Number To Text Using Format()
I'd like to take a column of numbers in excel and format them to a fixed number of text carachters with leading zeros. Example:
1 to 001
25 to 025
131 to 131
I can do this with the =text(cell, "000") in the spreadsheet, but would like to use a macro to do it for me.
Here is what I have so far:
Do
data = ActiveCell
ActiveCell = Format(data, "000")
ActiveCell.Offset(1, 0).Select
Loop Until ActiveCell = ""
This script does not format any of the numbers, but I know it is going through the loop. Help Please!!
Format A Number To Time Format?
Hi there,
I'm trying to change a number so that it shows the correct time.
E.g. I know that 1.22287694... equals 5.20 am.
Overall, I need the formula to convert that decimal number into a time format.
Anyone have any info / links ?
Format String To Date Format And ....
Question one,
If a user types 4/5/03 into a textbox, how do I format this to this date style - 04/05/03?
They may type it as I want, or they may type it like the above, so I need to make sure before I do part two, below, that it is in the correct format.
Part two,
How can I compare the month part of the date (05) with a Month name (e.g. September) in a Flexgrid. I know I can use the textmatrix to get the name of the month. Would the best way be to use a select case to compare the months?
Convert 8.3 Format To Long Name Format?
Hi all,
I need to convert an 8.3 formatted path to the long name format.
I think the function GetFullPathName can do this, but i'm not sure how to use it. Anyone knows how??
Thanx...
|