Results 1 to 5 of 5

Thread: WIN 10 COntrol Panel

  1. #1

    Thread Starter
    Fanatic Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    794

    Question WIN 10 COntrol Panel

    Is it possible to access the WIN10 control panel and drill down using VB6?

  2. #2
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,119

    Re: WIN 10 COntrol Panel

    Quote Originally Posted by AccessShell View Post
    Is it possible to access the WIN10 control panel and drill down using VB6?
    Drill down? Usually you need to define exactly what you need to achieve.

  3. #3

    Thread Starter
    Fanatic Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    794

    Re: WIN 10 COntrol Panel

    Drilling down is just like on a directory.
    Control Panel/system....

    I have no specific project in mind. I just to learn.

  4. #4
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    5,891

    Re: WIN 10 COntrol Panel

    You can list the applets and some go deeper.

    It's a problem because 32bit, though.

    Grab my ucShellBrowse control and see where you can go; give the 64bit tB version a try to see the difference

    Some control panel things you can open directly like programs list, devices and printers, network connections... Again, see the ucShellBrowse thread


    Edit: Here's how it looks... in both 32bit and 64bit you can get the category view; but then in VB6/32bit you can only see the 32bit applets (suffixed with "(32 bit)" when viewed in Explorer); the one is the busted OBDC one MS has left broken for years. But in tB 64bit you can see all the normal ones. Note one of them there says "TBCplApplet" and has the twinBASIC icon-- that's my Control Panel Applet Demo of making one in tB. You can make one in VB6 too, but it would have the "(32 bit)" suffix. They're just standard DLLs that export a CplApplet function and have a .cpl extension (or .dll and registered).

    Name:  ucsbcpl.jpg
Views: 52
Size:  20.3 KB
    Last edited by fafalone; Apr 13th, 2024 at 10:33 AM.

  5. #5
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,186

    Re: WIN 10 COntrol Panel

    You could shell to specific areas, using command line arguments. For instance, the following goes straight to the power options:

    Code:
    
    Option Explicit
    
    Private Sub Form_Load()
        Shell "control.exe /name Microsoft.PowerOptions"
    End Sub
    
    
    Or, we can also go to areas in Settings. The following goes directly to the wallpaper area:

    Code:
    
    Option Explicit
    
    Private Sub Form_Load()
        Shell "control.exe /name Microsoft.Personalization /page pageWallpaper"
    End Sub
    
    
    Knowing the correct command line arguments, we can go pretty much anywhere we want.
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width