Results 1 to 2 of 2

Thread: Files and registry

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120
    Ok, i have couple questions for ya.

    1) How can i add a file type (with api) so when i right click on the desktop, and select new, my file type will be in that list.

    2) How do i (using api) register file types.. with icons!! sofar, all have worked but the icon part has failed.

    3) If you look at a shortcut, it takes the icon of the file, and puts an arrow in the corner.. is there a way that i can do the same.. just make it a diff. file format?

    Thanx,
    -da404lewzer
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    Ok, here's the 411 for 404.

    Question 1)
    I'm not sure but I think the next answer covers this too...

    Question 2)
    A little while ago Aaron Young posted some code on this, you can find it here

    Question 3)
    For this I think you'll need to use the IShellLink interface, go to MSDN and search for that topic. There is also an example using it on the VB6 CDs, I can't remember which on at the moment, but I'm pretty sure the example was callled Shelllnk.
    Dan PM
    Analyst Programmer

    VB6 SP3 (also VB4 16-bit sometimes )

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