473,395 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

maybe weird question

For on or an other reason i couldnt find where a imag eor a picture object
stores the path to a picture (For exampe if i type in a text box c:\pic.jpg
where must i say that the pic box realy shows the pic)
hope this is understandable sinc ei am not english :)

aterlamia
Jul 17 '05 #1
3 1770
Do you mean where the picture is stored when the filename is typed into the
Picture property window at design time? It's stored in a .FRX file that has
the same name as the form.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"aterlamia" <mp********@planet.nl> wrote in message
news:bm**********@reader11.wxs.nl...
: For on or an other reason i couldnt find where a imag eor a picture object
: stores the path to a picture (For exampe if i type in a text box
c:\pic.jpg
: where must i say that the pic box realy shows the pic)
: hope this is understandable sinc ei am not english :)
:
: aterlamia
:
:
Jul 17 '05 #2

"aterlamia" <mp********@planet.nl> wrote in message
news:bm**********@reader11.wxs.nl...
For on or an other reason i couldnt find where a imag eor a picture object
stores the path to a picture (For exampe if i type in a text box c:\pic.jpg where must i say that the pic box realy shows the pic)
hope this is understandable sinc ei am not english :)

aterlamia

You can create a form with a picture box and a text box. When someone type
c:\pic.bmp in the text box, you can do a load picture on the picture box. If
it errs out then the name or path is bad.

For example:

f$ = trim(text1.text)
On Error GoTo errhan
Picture1.Picture = LoadPicture(f$)
loadpicout:
Exit Sub

errhan:
MsgBox ("Unable to read picture format")
Resume loadpicout
Jul 17 '05 #3
thanks raoul yes this whas what i searched for
me beeing use dto delphi searched it on an other place

aterlamia
"Raoul Watson" <Wa*****@IntelligenCIA.com> wrote in message
news:qk****************@nwrdny02.gnilink.net...

"aterlamia" <mp********@planet.nl> wrote in message
news:bm**********@reader11.wxs.nl...
For on or an other reason i couldnt find where a imag eor a picture object stores the path to a picture (For exampe if i type in a text box c:\pic.jpg
where must i say that the pic box realy shows the pic)
hope this is understandable sinc ei am not english :)

aterlamia

You can create a form with a picture box and a text box. When someone type
c:\pic.bmp in the text box, you can do a load picture on the picture box.

If it errs out then the name or path is bad.

For example:

f$ = trim(text1.text)
On Error GoTo errhan
Picture1.Picture = LoadPicture(f$)
loadpicout:
Exit Sub

errhan:
MsgBox ("Unable to read picture format")
Resume loadpicout

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jim Dawson | last post by:
I was writing a subroutine to extract fields from lines of text when I ran into an issue. I have reproduced this error on Perl 5.8 on AIX, 5.8 on Linux and 5.6 on Windows. ############### CUT...
2
by: holgeradelmann | last post by:
Can anyone help please: I found a nice article on the web how to write my dynamice information into an RSS-XML. But I cannot get the code to work. The problem is so simple but weird....
5
by: John Kiernan | last post by:
Hey JavaScript gurus! Here's a weird one: If I check (with an alert) this line: vStrDate2 = vDate.toLocaleString(); I get: Saturday, August 14, 2004 7:57:30 PM (as I should) but this...
0
by: Greenwich Support | last post by:
Hi All, I have a very weird problem which is occurring with a VB.Net app and PostgreSQL 7.3.1. There is a form that has a standard .Net datagrid on it that contains some data from a table in...
6
by: Mike | last post by:
Hi, This does sound like a bit of a weird thing to ask so I will state my question and then further down explain why I am trying to do it. So if you have the answer then reply! Or if you...
2
by: Fu Chen | last post by:
Hi! I have really weird break point. Look at my screen shoot http://www.mapsea.com/vs.jpg First break is normal and can stop when program run to that position. Second break show with a question...
5
by: marcmc | last post by:
Is it in any way possible to have a sProc called and executed within SQLServer return its return value to an open .Net Vb application? As a programmer I beleive this can be done and if I wreck my...
8
by: Joshua Moore | last post by:
/* Hi, I was hoping someone could help me with this problem. I did my work and worked my way through the usual compiler messages, but I have run against some problem I can't identify. The compiler...
2
by: carlos123 | last post by:
im pretty new to java. this might sound like a weird question but! how do i add this code class FileWrite { public static void main(String args) { try{ // Create file ...
2
by: Drupan c | last post by:
Hello everybody i have a weird question... if u guys have observed when we use ms sql .. on the query box when we take the mouse pointer to the corner of a single line...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.