StartOrbz - Start Orb Manager & Creator

Page 3 of 12 FirstFirst 12345 ... LastLast

  1. Posts : 1,289
       #21

    Blizarro said:
    I didnt want to make that public since im not sure it will work. Oh well.

    Tell me what you guys think.
    It really needs a 'Restore Defaults' button

    kinda ended up looking through the source code to find what it was doing and hopefully revert the changes after I tried it, luckily you create the backup of explorer.exe :)

    I dont think its using the right resource offset since it left my Start Icon like this:

    StartOrbz - Start Orb Manager & Creator-smenu.jpg

    I also noticed the KillsExplorer function doesn't cleanly exit explorer but merely kills it

    It looks like your using VB so heres the code you require to exit explorer cleanly.

    Code:
        Imports System.ComponentModel
        Imports System.Runtime.InteropServices
    
    
        Private Const WM_QUIT As UInt32 = &H12
    
        <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function PostMessage(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean
        End Function
    
        <DllImport("user32.dll", EntryPoint:="FindWindow", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function FindWindowByClass(ByVal lpClassName As String, ByVal zero As IntPtr) As IntPtr
        End Function
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
           
            Dim pExplorer As IntPtr = FindWindowByClass("Progman", IntPtr.Zero)
            If Not pExplorer = IntPtr.Zero Then
    
                Dim result = PostMessage(pExplorer, WM_QUIT, IntPtr.Zero, IntPtr.Zero)
                If result Then
                    'do something here, explorer has exited
                Else
                    Throw New Win32Exception(Marshal.GetLastWin32Error())
                End If
            Else
                Throw New Win32Exception(Marshal.GetLastWin32Error())
            End If
    
        End Sub
    If you need code for anything then let me know and ill be happy to help
      My Computer


  2. Posts : 2
    w7 ultimate
       #22

    please could i test this for you also ?
      My Computer


  3. Posts : 1,289
       #23

    The444 said:
    please could i test this for you also ?
    Link is above

    I forgot to say Im running Win7 x64.
      My Computer


  4. Posts : 95
    Windows 7 Ultimate x86
    Thread Starter
       #24

    dmex said:
    Blizarro said:
    I didnt want to make that public since im not sure it will work. Oh well.

    Tell me what you guys think.
    It really needs a 'Restore Defaults' button

    kinda ended up looking through the source code to find what it was doing and hopefully revert the changes after I tried it, luckily you create the backup of explorer.exe :)

    I dont think its using the right resource offset since it left my Start Icon like this:

    StartOrbz - Start Orb Manager &amp; Creator-smenu.jpg

    I also noticed the KillsExplorer function doesn't cleanly exit explorer but merely kills it

    It looks like your using VB so heres the code you require to exit explorer cleanly.

    Code:
        Imports System.ComponentModel
        Imports System.Runtime.InteropServices
     
     
        Private Const WM_QUIT As UInt32 = &H12
     
        <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function PostMessage(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Boolean
        End Function
     
        <DllImport("user32.dll", EntryPoint:="FindWindow", SetLastError:=True, CharSet:=CharSet.Auto)> _
        Private Shared Function FindWindowByClass(ByVal lpClassName As String, ByVal zero As IntPtr) As IntPtr
        End Function
     
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
     
            Dim pExplorer As IntPtr = FindWindowByClass("Progman", IntPtr.Zero)
            If Not pExplorer = IntPtr.Zero Then
     
                Dim result = PostMessage(pExplorer, WM_QUIT, IntPtr.Zero, IntPtr.Zero)
                If result Then
                    'do something here, explorer has exited
                Else
                    Throw New Win32Exception(Marshal.GetLastWin32Error())
                End If
            Else
                Throw New Win32Exception(Marshal.GetLastWin32Error())
            End If
     
        End Sub
    If you need code for anything then let me know and ill be happy to help

    Thanks for the code. I already coded a real restore button. I will release later. Im going to pull the file from DA
      My Computer


  5. Posts : 95
    Windows 7 Ultimate x86
    Thread Starter
       #25

    Ok, I updated the program. A lot of changes made.

    StartOrbz by ~Blizo on deviantART
      My Computer


  6. Posts : 49
    Windows 7 Ultimate 64-Bit
       #26

    Hmm... looks nice, Better then the other ones (e.g: Kishan's Start Orb Changer) from the looks of the screenshots. Could I be a tester too?
      My Computer


  7. Posts : 9
    Windows 7 Ultimate x64
       #27

    This looks like the perfect peice of software to fulfill everyone's need to customize the start orb with their own image!

    I'd love to test this software, please send me the link!
      My Computer


  8. Posts : 1,870
    MS Windows 7 Professional 64-bit SP1
       #28

    Link 2 posts above yours
      My Computer


  9. Posts : 1,470
    Windows 7 Ultimate Signature Edition
       #29

    very nice look forward to seeing this.
      My Computer


  10. Posts : 9
    Windows 7 Ultimate x64
       #30

    Anthony said:
    Link 2 posts above yours
    Thanks...
    It doesnt seem to work though, when i click apply startorb it just restarts explorer.exe, and then there is a blank space were it should be!

    Please someone help me?
      My Computer


 
Page 3 of 12 FirstFirst 12345 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:20.
Find Us