Solved

Wordpad ruler

Posted on 2006-07-18
5
946 Views
Last Modified: 2012-05-05
Hi Experts,

In wordpad there is a ruler control. I would like this in my application. Is there one avaliable for vb.net 2002?

Cheers,

Tom
0
Comment
Question by:TommyTwoPints
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Nandakumar Sakthivel
ID: 17129899
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17140295
I know VB.NET, can I help ;)

Bob
0
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17140479
Of course you may.

The project posted above was in C# which I have minimal experience in.

Cheers,

Tom
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 17140505
Here is what I did (kinda of cheesy, but man it works for me):

1) Take screen shots of the Word ruler, up to like 14 inches.

2) Take those images and build one big long .png file

3) Add that image as an image for a PictureBox control

4) Et voila!  You have a Word ruler.

Bob
0
 
LVL 3

Author Comment

by:TommyTwoPints
ID: 17140543
Works for me :)

Thanks alot Bob
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Looping through datagridview and dataset ? 6 24
Open a link in vb.net 2 16
Name Space error VS2015 1 27
Data organization issue 7 20
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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