Created
April 13, 2018 06:37
-
-
Save norman-bauer/8cef80861292c6ccd8356c10b3d3f057 to your computer and use it in GitHub Desktop.
UserAccountPicture.exe VB.Net version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System.Runtime.InteropServices | |
Module useraccountpicture | |
<DllImport("shell32.dll", EntryPoint:="#262", CharSet:=CharSet.Unicode, PreserveSig:=False)> _ | |
Private Sub SetUserTile(ByVal username As String, ByVal notneeded As Integer, ByVal picturefilename As String) | |
End Sub | |
Sub Main(ByVal args As String()) | |
If (args.Length = 2) Then | |
SetUserTile(args(0), 0, args(1)) | |
End If | |
End Sub | |
End Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment