Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 145339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:24:22+00:00 2026-05-11T08:24:22+00:00

My goal is to create an eBook that I can read with the Mobipocket

  • 0

My goal is to create an eBook that I can read with the Mobipocket reader on my Blackberry. The problem is that my text includes UTF-8 characters which are not supported on the Blackberry, and therefore display as black boxes.

The eBook will contain a list of English and Punjabi words for reference, such as:

bait          ਦਾਣਾ baked       ਭੁੰਨਿਆ balance     ਵਿਚਾਰ 

One thought I had was to write the list to an HTML table with the Punjabi converted into a GIF or PNG file. Then include this HTML file in the eBook. All of the words currently exist in an access database, but could easily be exported to another form for input to the generation routines.

QUESTION: Using VB, VBA or C#, how hard would it be to write a routine create the images and then output an HTML file containing the English words and images in a table

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:24:23+00:00Added an answer on May 11, 2026 at 8:24 am

    Using VB

    Sub createPNG(ByVal pngString As String, ByVal pngName As String)  ' Set up Font Dim pngFont As New Font('Raavi', 14)  ' Create a bitmap so we can create the Grapics object  Dim bm As Bitmap = New Bitmap(1, 1) Dim gs As Graphics = Graphics.FromImage(bm)  ' Measure string. Dim pngSize As SizeF = gs.MeasureString(pngString, pngFont)  ' Resize the bitmap so the width and height of the text  bm = New Bitmap(Convert.ToInt32(pngSize.Width), Convert.ToInt32(pngSize.Height))  ' Render the bitmap  gs = Graphics.FromImage(bm) gs.Clear(Color.White) gs.TextRenderingHint = TextRenderingHint.AntiAlias gs.DrawString(pngString, pngFont, Brushes.Firebrick, 0, 0) gs.Flush()   'Saving this as a PNG file Dim myFileOut As FileStream = New FileStream(pngName + '.png', FileMode.Create) bm.Save(myFileOut, ImageFormat.Png) myFileOut.Close() End Sub 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 77k
  • Answers 77k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I had a problem like this with a hardware device… May 11, 2026 at 3:22 pm
  • added an answer I saw a few hacks, like saving data on a… May 11, 2026 at 3:22 pm
  • added an answer This might not answer your question directly: if you want… May 11, 2026 at 3:22 pm

Related Questions

I've been reading about TDD, and would like to use it for my next
I'm looking to create XML Document objects in Java and serialize them to a
I have a .NET webforms front end that allows admin users to upload two
I wrote a quick program in python to add a gtk GUI to a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.