|
|
Caption for picture box?
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 |
|
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 (102)
|
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 (1042)
|
2/27/2007 6:10:27 AM
|
|
|
3 Replies
29 Views
(page loaded in 0.081 seconds)
Similiar Articles: MONKEY PICTURES - comp.realtimefunny monkey caption pictures funny flying monkey pictures free coloring ... printable pictures of monkeys monkey playing x-box games pictures tropical monkey pictures Extracting a ROI from an image. - comp.soft-sys.matlab> the image is uploaded athttp://www.4shared.com/photo ... coordinates of the region, just find the bounding box ... in." subplot(2, 3, 3); imshow(burnedImage); caption ... regionprops problem.. - comp.soft-sys.matlab% Find the bounding box of each blob ... Display the image with informative caption ... use image processing algorithms to fix up a bad photo. Use WM_DRAWITEM to change a buttons colour - comp.os.ms-windows ...... control attribute CHOOSECOLOR cc; // common dialog box ... WS_EX_CLIENTEDGE, "Custom Class", "App Name", WS_CAPTION|WS ... display video in a GUI - comp.soft-sys.matlab... image(thisFrame); axis square; caption ... GUI open picture load to axis - comp.soft-sys.matlab ... displaying a Transfer Function in a static text box ..... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...> >> In this picture you | pic | >> see the cat | of | >> jump on the table ... E.g., "I have a two column-inch box that I want 'THIS BIT OF TEXT' to *fill ... How to add a caption to a picture that does not use the "In line ...In the document, draw the text box where you want to put the picture and the caption. Draw the text box large enough to hold both the picture and the caption. How to Make a Picture Caption | eHow.comAdding captions to your pictures can point out the humor in the images or provide background ... After the drawing the caption box, move the cursor over the center of the box ... 7/27/2012 6:08:14 AM
|
|
|
|
|
|
|
|
|