COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Caption for picture box?

• Email
• Follow

Hello, I'm still pretty new to vb.  I'm working on a program written
by someone else.  When I try to run the program, it gives the error:
"Compile error: Method or data member not found." and points to the
line where the picture box is assigned a caption.  As far as I can
tell, everything else is the same (same method worked in other
programs).  Am I missing something obvious, or is it something else
somewhere in the code?

Thanks.


 0
Reply toscalives (29) 2/26/2007 7:52:38 PM

See related articles to this posting

Never mind.  I redid the whole thing.  It works now.  Must have been
something else in the code.


 0
Reply toscalives (29) 2/26/2007 8:37:36 PM

In response to the post:
On 26 Feb 2007 12:37:36 -0800, "Floria_Tosca"
<toscalives@hotmail.com> stated...and I replied:

>Never mind.  I redid the whole thing.  It works now.  Must have been
>something else in the code.

I once spent an entire weekend rewriting a pseudo-conversational (*)
financial caclulator for government projects funding.  It had a
complex array and procedures to fill it...and it didn't work.  I
discovered, after rewriting the entire procedure division (Cobol of
course), the problem was in the size of the buffer of working data
(the passed data).  All I would have had to do is change the number
for the buffer size on one line and the entire program would have
worked...I know because I checked the backups by just changing that
number in the older copy.

The point I'm taking so long to make is, listen to the answers from
this group that are to follow.  You may find an easy way to find the
source of problems like your posted one.  The VB IDE (The development
environment) can help in that resolution, most of the time.  The
Object explorer, right-click menus, auto-complete coding (? whatever
it's called)) and lots of other functions of the IDE can be very
helpfull in discovering problems.  And, knowing these tricks you can
get away with fixing only what is broken, instead of rewriting the
whole thing.

Shell

* Pseudo-Conversational is a Time-Sharing system where a program will
execute for only a short amount of time (Between Transmit and when the
screen is repainted) for each type of program running, and working
data must be "passed" to the next itteration of the program's
"conversation".


 0
Reply drshell (107) 2/27/2007 3:58:42 AM

On 26 Feb 2007 11:52:38 -0800, "Floria_Tosca" <toscalives@hotmail.com>
wrote:

>Hello, I'm still pretty new to vb.  I'm working on a program written
>by someone else.  When I try to run the program, it gives the error:
>"Compile error: Method or data member not found." and points to the
>line where the picture box is assigned a caption.  As far as I can
>tell, everything else is the same (same method worked in other
>programs).  Am I missing something obvious, or is it something else
>somewhere in the code?

A Picturebox does not have a Caption Property in VB5 / 6


 0
Reply erewhon2 (1112) 2/27/2007 6:10:27 AM

3 Replies
53 Views

Similar Articles

12/12/2013 2:54:10 PM
[PageSpeed]

Similar Artilces:

pictures and captions
Dear list I have created a graphic in tex. I would like to put a framebox around the entire graphic as well as add a caption. However, all of my attempts have been unsuccessful. Any suggestions are appreciated. Below is a minimal example for replication. Harold \documentclass{article} \begin{document} \begin{center} \newcounter{cms} \setlength{\unitlength}{1mm} \begin{picture}(50,50) \put(5,40){\circle{10}} \put(5,20){\circle{10}} \put(5,0){\circle{10}} \put(3.5,-.5){$3_a$} \put(3.5,19.5){$4_a$} \put(3.5,39.5){$5_a$} \put(5,5){\vector(0,1){10}} \put(5,25){\vector(0,1){10}} \put(30,0){\...

Scoll box for pictures
HI How would i make a scroll box for pictures? Thanks Chris chrisdude911 said on 27/04/2006 5:24 AM AEST: > HI > How would i make a scroll box for pictures? There's one here a 5 year old can make: <URL:http://www.scholastic.com/earlylearner/timetogether/preschool/rollread.htm> -- Zif Sorry! I mean in JAVASCRIPT! Thanks Chris chrisdude911 wrote: > Sorry! > I mean in JAVASCRIPT! > Thanks > Chris Hi Chris, a friendly word of advise: What is EXCATLY what you are asking for? I don't know what a 'scrollbox for pictures' is suposed to be/supposed t...

include a box around a picture
I have the following: \begin{figure} \includegraphics[width=1.0\textwidth]{files/image.pdf} \caption{This is a test image} \end{BoxedPage} Now, sometimes I need to figures to be inside a box, and sometimes I do not need the box. However, I need all the figures to be under the "figure" float (so that they are listed in the same \listoffigures) How can I do that? ps: I am awared that I can define a new float type, with the boxed style. \floatstyle{boxed} \newfloat{BoxedPage}{htbp}{lobp} However, then the figures with and without a box would not be listed under the same \listoffigur...

Print form and multiple picture boxes
I have a form and 2 picture boxes. Autoredraw is true for all. I used the pset statement to draw lines on both Why is it that printform only prints one picture box's graphics what good is printform? ? ? What am iI doing wrong J Hoelcle "news" <jhoelcle@localnet.com> wrote in message news:1047o5k1njmca63@corp.supernews.com... > I have a form and 2 picture boxes. Autoredraw is true for > all. I used the pset statement to draw lines on both > Why is it that printform only prints one picture box's > graphics. > What good is printform? ? ? No good at all!...

Text around picture in framed box
Hi I use framed.sty to create a multipage gray frame around some text. Now in one of those frames I also want some text around a picture i.e. like below: ###### PAGE ##### Text above frame ------------------------------ Text Text | | Text Text | IMAGE | Text Text | | Text Text | | Text Text ---------------- Text Text Text Text | Text Text Text Text | Text Text Text Text | ------------------------------ Text below frame ################## I have tried wrapfig which does not place the image inside the frame at all. I had more luck with picins like shown...

Annoying IE options box on picture mouseover
Can I turn off that annoying little box with the save/print/send etc. icons in it that IE pops up whenever I mouseover a picture in my browser? I mean in my own web pages is there something I can add to the <img> tag to prevent this rather than turn it off in the browser (Though that would be good too! Same thing is available through right mouse click, who needs it???) Thanks! "Simon Wigzell" <simonwigzell@shaw.ca> writes: > Can I turn off that annoying little box with the save/print/send etc. icons > in it that IE pops up whenever I mouseover a picture in my br...

Click on a picture, insert text in a text box: how?
I'm trying to make a webpage do the following: I want a user to be able to click on a given image (there will be more than one image). Upon clicking a given image, characters specific to that image will be inserted into a textbox which is actually a text area. If the cursor is in the textbox/textarea then the characters are to be inserted at the cursor location. This means if the cursor is between some text then the characters need to be inserted in between the text exactly where the cursor is. If the cursor is not in the textbox/textarea then the characters need to be displaye...

change caption of DoCmd.OutputTo dialog box
I am using DoCmd.OutputTo to allow users to save Access reports in snapshot format or other desired formats. Once the user selects the desired format and clicks "OK", a dialog box appears that informs the user of the progress ("Now outputting page X of...to the file...") This is fine. However, the title of the dialog box is "Printing", which is misleading since the user isn't actually printing but rather is saving data to a file. Is there a way to manipulate the title of this dialog box? None of the available parameters for the DoCmd.OutputTo command seem to a...

FA: One Day Left: Box of CDROMs, Games, Photos, NASA, JPL, Pictures, mac and pc
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3686801763 ...

Picture in Picture hdtv only?
OK, here is my problem! I have a Panasonic 1080i HDTV which I'm trying to use as a monitor. I'm using a Geforce4 MX 420 with S-video out. When I am connected through the S-video, I get a picture in very poor quality with little color. However, when I switch the tv to Picture and picture mode and put the windows desktop as the secondary picture the color is fine and the picture looks good...until I swap back of course, then its the same problem all over again! Any help to get it working right would be greatly appreciated! Thanks in advance. On 28 Nov 2006 15:03:10 -0800, John Mich...

Combo Box and text box
I have a combo box and a text box. Text to be display will be contigent upon what is selected via the combo box. How do I do this? I put the following code in the text box object: var a = get thisField("combobox") If (a==1) { event.value = "Test1" } if (a==2) { event.value = "Test2" } What I am doing wrong? "Mike" <hhey2@lycos.com> writes: > I have a combo box and a text box. Browsers don't have combo boxes. Is it a select element and an input element? Or is it not a browser you are talking about? > Text to be display will...

check box clear select boxes
hi, i want to know how to clear select boxes if i unselect a check box. sample of form code <input type="checkbox" name="truk" value="5"> <select name="day"> <option value=""></option> <option value="1">1</option> <option value="2">2</option> </select> <select name="month"> <option value=""></option> <option value="1">1</option> <option value="2">2</option> </select> <select n...

Check box and text box disable
I have a text box and a check box, by default the page should load and the text box be disabled..I want it so that when you click the check box the text box diabled = false...but, when you uncheck the check box I want the disabled to = true again..heres what I have so far <input type="checkbox" name="chxrequest" onclick="javascript:enableField()" value="ON" style="float: "left" > <script language="javascript"> function enableField() { if (chxrequest.checked)= true { document.frmcallreport.txtrequest.disabled= ...

boxes are down
We have four Sun Fire V240 with Solaris 9 sharing one APC UPS Smart 3000. They have been running for 6+ months. On Jan 1st 2006, they were all down sometime between 1:00 am and 1:10 am, based on some cron jobs. There is no any related messages in /var/adm/messages. There were not power outage during that period of time because the UPS Powerchute for the Windows does not show power outage and other machines without UPS were still running. We are using Veritas Netbackup. We had a failed backup before, but it did not cause other things. I suspect the power surge. Maybe V240 is sensitive to the ...

Picture
On my page I have some links to ASP.NET generated pictures. I use this document.images.grapreportpic1.src = url2newimage to display the report picture. But the "problem" is that it may take some time to generate the picture. Is it possible (how) to first display a preloaded image and then switch it to the new image? function DisplayGrapPic(url2newimage) { document.images.grapreportpic1.src = preloadedImageVar; document.images.grapreportpic1.src = url2newimage; } GTi wrote: > On my page I have some links to ASP.NET generated pictures. > I use this > document.images.grapr...

Mechanize | trouble with select box (drop down box)
For the life of me, I can't seem to access the form '_ddlFilterFormat' in any other way than the below awkward code: initPage.forms.name("form1").fields.each{|f| if(f.name == "_ddlFilterFormat") f.options.each{|o| } end } initPage.forms.name("form1").fields("_ddlFilterFormat").options.each{|f| puts f.text #...yields nothing! Never loops! } -- Posted via http://www.ruby-forum.com/. ...

Text from required text box to read-only text box
Hello, I am fairly new to JavaScript and its use in Acrobat Professional. My situation is this: I have a form with a text box field which is required for the user to enter his/her name. I would like the required text box to display the name in all caps. I also need the user's name to appear in a read-only text box later in the form, which I would like to have the first letter of the user's first, middle initial, and last names to be capitalized. I would also like to have all required fields on the form highlighted in yellow, but the highlighting not printed. Lastly, I would like the...

[News] KDE 4 Runs Inside a Box on Your Box...
KDE 4 daily builds in a virtual machine ,----[ Quote ] | SSJ created a virtual machine containing a KDE 4 build an equipped with | scripts to update the machine on a daily rhythm. Equipped with that virtual | machine everyone can now easily follow the development of KDE 4 without | modifying a real system. `---- http://liquidat.wordpress.com/2007/11/23/kde-4-daily-builds-in-a-virtual-machine/ KDE 4 Plasmoid Fun ,----[ Quote ] | Well, it is almost bedtime, but before I went, I wanted to show off my KDE 4 | desktop as it stands right now. Note, I do not use all of those plasmoids, I ...

how to count number of check boxes in a check box list.
hi, i have a list of checkboxes, the number of checkboxes is dynamic. All the checkboxes have same name. i am trying to get the length of selected checkboxes. <input type=checkbox name=name1 value=1> <input type=checkbox name=name1 value=2> ........ get dynamically. when i try to get the length in javascript like document.form.name1.length, it works fine if number of checkboxes selected are more than 1, but not for 1. any idea. thanks. babu17 wrote: > hi, > > i have a list of checkboxes, the number of checkboxes is dynamic. All > the checkboxes have same name. >...

How to reference one combo box from another combo box
Hello, I have an HTML file that contains a form with 2 selection list (combo box). The first combobox 'onchange' function, addColor(),adds a new color to the second combobox. I have half of the function build, but im missing the how to reference one combobox from another combobox. I've tried using the getElementById with no success. This is how the form with the 2 combobox looks like: <form> <select name="cars" size="1" onchange="addColor(???)"> <option value="Volvo">Volvo</option> <option value="...