Michael Aivaliotis Posted July 16, 2011 Report Share Posted July 16, 2011 The goal is to refresh the file associations in windows. I wrote a quick and dirty VI that is suppose to work but I don't think it does. Here are the docs: http://bit.ly/qCNw77 VI is attached (2009). Am I doing it right? Windows Refresh File Associations.vi Quote Link to comment
Rolf Kalbermatter Posted July 17, 2011 Report Share Posted July 17, 2011 The first parameter needs to be SHCNE_ASSOCCHANGED = 0x08000000 and the second SHCNF_IDLIST = 0x0000. The first parameter is a bitmask where the set bit defines the type of event and with no bit set, you simply invoke this function to post no event at all. Quote Link to comment
Michael Aivaliotis Posted July 17, 2011 Author Report Share Posted July 17, 2011 Thanks Rolf! That did it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.