Senin, 05 Desember 2016

[MS_AccessPros] Re: Display Scanners and Printers in dropdownlist

 

Windows in newer versions jumps through hoops in order to let older software still work. In this respect the old list of printer devices in WIN.INI is mimiced.


You can therefore read the "Devices" Section from "WIN.INI" in code and generate a list of printers.

Private Declare Function GetProfileSection Lib "kernel32" Alias "GetProfileSectionA" (ByVal sAppName As String, ByVal sReturnedString As String, ByVal lSize As Long) As Long

I'm not sure if you can use a similar trick for Scanners.

There is a sample code and form out there somewhere but I can't find a link to it anymore :'(

Yours,
Andrew

P.S. just watched the second Fargo series... I assume the only thing "true" about the stories is the snow.


__._,_.___

Posted by: yahoo@craven.de
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar