Solved

Other 3 questions from newbie

Posted on 1999-01-22
7
190 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
Industry Leaders: 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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