Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Visual Basic
Query computer type
Query computer type
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
hapnendad
New Member
Join Date:
Jun 2007
Posts:
7
#1
Query computer type
Oct 25 '07, 12:14 AM
Can anyone tell me if there is a way using vba directly or via an API function to determine if a computer is a laptop?
Thanks in advance for your help.
J
Killer42
Recognized Expert
Expert
Join Date:
Oct 2006
Posts:
8429
#2
Oct 25 '07, 01:41 AM
Originally posted by
hapnendad
Can anyone tell me if there is a way using vba directly or via an API function to determine if a computer is a laptop?
I doubt there's even any way for Windows to tell that. The line between different "classes" of PC is largely just a matter of perception.
I could be wrong, of course.
Comment
Post
Cancel
9815402440
New Member
Join Date:
Oct 2007
Posts:
180
#3
Oct 25 '07, 12:45 PM
hi
i dont know how to do it by code. but you can know it as follows
1. right click on my computer and open properties
2. select hardware tab
3. Click on Hardware Profiles
4. Click on Profile(1)'s Properties
if you can find api way to do this, then best of luck
regards
manpreet singh dhillon hoshiarpur
Comment
Post
Cancel
Killer42
Recognized Expert
Expert
Join Date:
Oct 2006
Posts:
8429
#4
Oct 25 '07, 10:41 PM
Originally posted by
9815402440
... 4. Click on Profile(1)'s Properties
if you can find api way to do this, then best of luck
What, you mean the "This is a portable computer" checkbox? Yes, I imagine that info could be quite handy.
So, it seems as though a bit of searching for topics along the lines of "API access to hardware profiles" might be fruitful.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment