Solved

Need "Zoom" feature for documents viewed using rich text box control

Posted on 2002-04-30
7
162 Views
Last Modified: 2010-05-02
I am writing a utility to view text files that have been downloaded from a mainframe. I need to be able to change the scale of the viewed document in a fashion that is simialr to the method available in MS Word (e.g. ActiveWindow.ActivePane.View.Zoom.Percentage = 75)

For now, I'm letting the users change the view by manipulating the font. However, this way seem cluggy.

Does anyone have any alternative ideas?

'**********additional details:
using WinNT 4.0
0
Comment
Question by:pcschmit
  • 4
  • 2
7 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6981813
hearing...
0
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 6982123
Hi PSchmit,

You can download an activeX control doing that here
http://www.vbdiamond.com/Sources/ViewSource.asp?ID=17880

HTH:O)Bruintje
0
 

Author Comment

by:pcschmit
ID: 6983868
Thanks for the tip bruintje...

I've been tring to get it to work and I've been having some problems. I think, and I didn't specify this in my question, that your suggestion won't work in WinNT 4.00. The ocx supplied by your link (http://www.vbdiamond.com/Sources/ViewSource.asp?ID=17880) uses RichEdit3.0/2.0 and that control's zoom method is limited to Win2000 (or better I assume).

Please see this link for futher details: http://vbaccelerator.com/codelib/richedit/richedit.htm

Any other suggestions? or am I incorrect in the above conclusion?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:pcschmit
ID: 6983897
upgraded points to 500. I hope this spurs interest! :-|
0
 

Author Comment

by:pcschmit
ID: 6986130
Thanks for the tip.

Even though it didn't really answer the question, I was able to use the information to convince my customer that the feature they wanted was costing more than they wanted to spend.

I guess I'll have to wait until they upgrade to XP until I can do something about it.
0
 
LVL 44

Expert Comment

by:bruintje
ID: 6986155
sorry for not getting back on this, pretty busy with real world problems now

thanks for the points, but you could've let this open a while longer
0
 

Author Comment

by:pcschmit
ID: 6986206
Not a problem with the points. If you have any other ideas, I'm totally open to them. Feel free to post a note, or send me an email pcschmit@hewitt.com. I just didn't want to keep the question open too long and keep people hanging.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now