Help

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Help
muttley1968
Re post right i need to make an app launcher i need it to creat a shortcut to the .exe on the dekstop of any program draged into a listview i need this for a special feture that it has so anyone able to help
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: Help
Filip
Hello

I hope this helps;

show.php
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: Help
muttley1968
umm sorry but it dont really look i am using this code
here to start the app that you click on in the bar
Code: Select all
    Private Sub lwDesktop_ItemSelectionChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.ListViewItemSelectionChangedEventArgs) Handles lwDesktop.ItemSelectionChanged
        fileName = My.Computer.FileSystem.SpecialDirectories.Desktop + "\" + e.Item.Text
    End Sub
    Private Sub lwDesktop_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles lwDesktop.DoubleClick
        Process.Start(fileName)
    End Sub
    Dim fileName As String = ""
    Dim folderLocation As String = My.Computer.FileSystem.SpecialDirectories.Desktop
then i am using this to get the apps and icons into the bar
Code: Select all
 For Each I In My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.Desktop)
            Dim Desktop_Icon_add As System.Drawing.Icon = Icon.ExtractAssociatedIcon(I)
            DesktopImages.Images.Add(Desktop_Icon_add.ToBitmap)
            I = I.Replace(My.Computer.FileSystem.SpecialDirectories.Desktop & "\", "")
            lwDesktop.Items.Add(I, DesktopImages.Images.Count - 1)
        Next

soo really all i need to know is on the drag drop even how can i make it create a shortcut in desktop and then i will be done i can run and do the rest by my self but that tut allthough it works would mean changing the above code and doing this would make some fetures of the program not work because this is a little moer then just an app bar and this is the last thing to be before release soo
3 posts Page 1 of 1
Return to “Coding Help & Support”