Gerry,
But if you wanted to do things like rotate the shapes once they were in an array, at some point you would want to put them back in the document. And that is just the point we're stuck at. I don't like the copy and paste approach either, but it seems to be the only thing that works.
I'll...
Gerry,
I tried every way I could think of to make it work with the array today and failed. It pisses me off, too, because what else would be the purpose in a Word document of putting shapes into an array if you didn't want to use them again in the document? Anyway, I tried the copy and paste...
Gerry,
Thanks so much for your reply. To answer your questions, the document I'm working with contains a survey form that I'm seeking to populate with the task descriptions to be rated that are listed in another part of the document. As the survey form gets progressively longer, I need to keep...
I'm trying to copy two sets of 3 lines that form arrows from one part of an MS Word document to another using a VBA macro. As the code below shows, I have declared an array (Arrows) as "shape". In the code I define a range that subsumes the six shapes. Then I try to assign each of the shapes to...
Thanks to Tsuji and especially Targol for putting me on the right track with the hidden div. However, I have one remaining problem with the hidden div: Whenever it is made visible or closed (i.e., made hidden again), the main window scrolls to the top. I've tried all the windows.scrollTo() and...
I'm trying to use the createPopup command to get around eBay's prohibition of the use of window.open in its seller html displays. I want to use it to display supersized versions of my pictures. Here's my code for the function that is supposed to execute the popup:
function ShowPopup()
{
var...
Let me understand what exactly you are trying to do. You run the control from within the browser, which is typically done by opening another browser window which has the <object>...</object> tags containing the .ocx control
specification. Now, are you asking how you can close the
the browser...
Foada,
Despite ensuring the accuracy of my spelling, for some reason when I used the Intellisense dropdown to insert "MyCtrlfrm" in the As clause of the "Private WithEvents" statement, it WORKED! How can I thank you enough? You are one hell of a resource and a great asset to...
Foada, thanks so much for spending the time to come up with a proposed solution. I followed your instructions exactly, but immediately ran into a problem when I tried to compile the OCX to prepare to drop it into the container program. I got the error message "User type not defined"...
Thanks for responding, Foada. I agree that it is no problem to change variable values between forms and the usercontrol using properties. However, what I am unable to do is call a sub procedure in the usercontrol from a form
(that is also within the OCX). I need to do this in order to update the...
Dazlogan, I noticed you never did get an answer to your question. I just posted a new version of the same question. Did you ever figure out how to communicate from the forms back to the usercontrol? If so, please share the trick with me.
After 3 days of trying every permutation, I give up. I need help. I have an ActiveX control consisting of a usercontrol interface and several forms, created using VB6. The usercontrol has a number of command buttons which, when clicked, load and display the respective forms they are linked to...
I'm an experienced programmer but new to VBScript. I've spent two days on this puzzle and finally have to admit I'm at a loss. Would someone be so kind as to tell me what I'm doing wrong?
In a separate HTML file I set up a page with two frames: Navigator and Main. Then, in the page below I try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.