Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating File Associations in c++ 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Creating File Associations in c++ 2011 how to create File Associations in c++ 2011

Code:
function File.SetAssociation(Ext, Exe, Icon, Long) local cKey = Long; Registry.SetValue(HKEY_CLASSES_ROOT, Ext, "", Key); Registry.SetValue(HKEY_CLASSES_ROOT, Key, "", Long); Registry.SetValue(HKEY_CLASSES_ROOT, Key.."\\DefaultIcon","",Icon..",0"); Registry.SetValue(HKEY_CLASSES_ROOT, Key.."\\shell\\open\\command", "", "\""..Exe.."\" \"%1\""); end

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  array project code c++ 2011 Vuhelper 0 1,287 12-10-2011, 06:32 PM
Last Post: Vuhelper
  factorial in C++ code 2011 Vuhelper 0 964 12-10-2011, 06:31 PM
Last Post: Vuhelper
  how to make .h file in c++ Vuhelper 0 3,627 11-05-2011, 05:20 PM
Last Post: Vuhelper
  stack during function call in C++ 2011 Vuhelper 0 2,038 11-05-2011, 05:05 PM
Last Post: Vuhelper
  What is the Thing Queue? in c++ 2011 Vuhelper 0 1,795 11-05-2011, 05:02 PM
Last Post: Vuhelper
  ASCII to char conversion code in C++ 2011 Vuhelper 0 1,735 11-05-2011, 05:01 PM
Last Post: Vuhelper
  In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from C:\Do sana.pari 2 3,562 11-02-2011, 03:02 AM
Last Post: baig66
  How to write a summation in a sequence? C++ 2011-12 Vuhelper 2 1,372 09-19-2011, 04:53 AM
Last Post: Xpert
  GetPixel problem in c++ 2011-12 Vuhelper 0 2,516 09-18-2011, 07:12 PM
Last Post: Vuhelper
  C++ with loop code 2011-12 Vuhelper 0 993 09-18-2011, 07:09 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support