473,398 Members | 2,088 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,398 software developers and data experts.

Refresh an ImageBox from a CommandButton, plus an AcceleratorKey ‘combination-key’ ch

Hi
I’m preparing a more detailed data resource (voluntary unpaid)
as an independent evidence base, to a UK government agency,
as to roof orientations (SsE-S-SsW) for energy capture.
And the capability for transition from high Gas %
to a required high Autonomy % for water heating,
over a new builds enduring ‘stand-time’.
(1/4 primary residential energy demand, ‘fixed’ beyond fabric efficiency)

One data interpretation, I’d like to present as CommandButtons (captioned)
to trigger graph images for a ‘comparison of visual change’, in an image box
by mouse, (or ideally AcceleratorKeys (Q-U, A-J, Z-M), whose combination
(Alt or Tab?) is activated by a button on the ActiveDocument page).

My aim is to place a simple image app in a Word97 doc.
to present a user choice ‘flick-book’, one image per click.
In Word97 I’ve managed to simply Image1.Picture = LoadPicture (“path”)
in 3 CommandButtons. But haven’t found a way to get the Image1 (Box)
to refresh, which it does on re-clicking the Control Box Design Button.

The pictures are all the same dimension (I can just over size Image1).
But I’d also like to ?call or copy? the image files from an embedded place
in the same ActiveDocument. Luckily, about 2/3rds of the letters on a
standard keyboard would represent the maximum / arrangement needed.
But as a base case, a mouse Click + [Entrer}Click event would do.
Can anyone help with a simple CommandButton code to; Clear Image1(box), Copy Embedded path, Image1.Picture = LoadPicture(”path”), Enter _Click Refresh Image1; Please help! As 5 days of intense web searching
and other refresh methods haven’t had the desired effect. Cheers.

Simple but urgent ‘ish.
Aug 8 '13 #1
0 893

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: AJ | last post by:
Hi, I have a materialized view in oracle which is a complex view of 4 tables which belongs to different schemas.. create materialized view materialized_sum refresh complete start with...
6
by: Bernd Smits | last post by:
Hi, I would like to delete a record (with commandbutton) of a table associated to a combobox, when I select a certain value in the combobox (the value I select is associated with the record that I...
2
by: cyshao | last post by:
I opened an image and want to change its size, then display it in a ImageBox. How can I do that ? Thanks Charles Shao
1
by: ppatel | last post by:
Problem I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine). When click...
6
by: Sakharam Phapale | last post by:
Hi All, How to move the CommandButton control using mouse from one position to other? Is it possible using Drag, Drop events or I have to write my own code for that? I have set the...
0
by: kar3n.chandra | last post by:
Hey, i have a c# program opening and creating powerpoint slides and i created a commandbutton on the slide. the problem i'm having is changing the caption of the button. i've placed the code...
1
by: ApexData | last post by:
I have an ImageBox with PictureType set to LINK. I have a string with a path strPicFolderPath = "C:\Pictures" In the OnCurrent event of the form I have this code: If...
5
by: Ben | last post by:
Hi! I need to refresh an entire database. I can recompile SPs with sp_recompile (or DBCC FLUSHPROCINDB), and refresh views with sp_refreshView, but I cannot find any way to refresh my...
1
by: Sumamadhavanitpark | last post by:
1.loading image in to imagebox using http 2. help for ADrotator
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.