Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Other 3 questions from newbie

Posted on 1999-01-22
7
Medium Priority
?
192 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 300 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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 …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Suggested Courses

722 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