Solved

Other 3 questions from newbie

Posted on 1999-01-22
7
189 Views
Last Modified: 2010-05-18
1. How to change 'Twip' to 'Pixel'? I'm rather difficult to
   program in 'twip'. I have change ScaleMode property to Pixel
   but the Height and Width of my form is still in Twip format.
2. How to make a transparent button?
3. I want to make a database which contains:
   * 1 field for the word -> type: character
   * 1 field for the voice -> type: Wave
   * 1 field for the picture -> type: BMP
   the questions are:
   a. What type should I choose in MDB format for Wave and BMP?
   b. How can I take the Wave and BMP data programmatically and
      show it (for BMP) or to play it on (for the Wave).

Thank you for the attention.
As usual, a stupid newbie needs a help...

Regards,

Stinger
   
0
Comment
Question by:stinger_60284
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 

Author Comment

by:stinger_60284
ID: 1470242
Adjusted points to 100
0
 
LVL 1

Accepted Solution

by:
RichardE earned 100 total points
ID: 1470243
1 - Learn to live with twips.

2 - Standard buttons don't allow transparent. Maybe a 3rd party control can.

3a - Don't store pictures in a DB. Instead store the file name string or whole path string if they are scattered. Then look up filename and keep your pictures in on disk - safer and easier to work with.

3b - Look up the Multi media control in the VB help - it's simple to use. It will do both waves and graphics.
0
 

Author Comment

by:stinger_60284
ID: 1470244
hmmm... okay then... nice suggestion
but do you know how to convert twip to pixel?
i mean 1 twip = ... pixel?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:stinger_60284
ID: 1470245
and also 1 more thing, how to change font color in Button?
it also black!!! :(
0
 

Author Comment

by:stinger_60284
ID: 1470246
and also 1 more thing, how to change font color in Button?
it always black!!! :(
0
 
LVL 1

Expert Comment

by:RichardE
ID: 1470247
Stinger: You cannot convert Twip to pixel because there are 1440 Twips per inch which ensures the same relative positioning on any screen resolution. Pixels are "fixed" so if you have a form (for example) that you set to 600 pixels wide, it will overlap in 640 x 480 screen mode. But using twips it will be easier to scale on any screen resolution.

Also the standard button does not allow setting font color. If you use another 3rd party button BEWARE : the nightmare of converting your project when a new version of VB comes out and you either have to buy an updated 3rd party control or worse : there is no update - you have a mess to "fix". I have suffered this too many times in the past. So : Unless absolutely necessary avoid them!
0
 

Author Comment

by:stinger_60284
ID: 1470248
Thanks Richard for your help!!!
:)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

756 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