|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Possible values of DTE.ActiveDocument.Kind ?DTE.ActiveDocument.Kind returns a guid as a string. I couldn't find
any list of what pre-defined GUIDs would be returned and what document types they correspond to. Is there a list available? Thanks, Sam B-Line is now hiring one Washington D.C. area VB.NET developer for WinForms + WebServices position. Seaking mid to senior level developer. For information or to apply e-mail resume to sam_blinex_com. Hi
Based on my research, We did not have such an offical list. While here is my test result, we can get the GUID by a simple test. TextFile1.txt{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} App.config{C76D83F8-A489-11D0-8195-00A0C91BBEE3} Bitmap1.bmp VBScript1.vbs{C76D83F8-A489-11D0-8195-00A0C91BBEE3} AssemblyInfo.vb{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} Form1.vb{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} WebPart1.dwp{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} Form1.resx{C76D83F8-A489-11D0-8195-00A0C91BBEE3} XSLTFile1.xslt{C76D83F8-A489-11D0-8195-00A0C91BBEE3} HTMLPage1.htm{C76D83F8-A489-11D0-8195-00A0C91BBEE3} DataSet1.xsd{C76D83F8-A489-11D0-8195-00A0C91BBEE3} CrystalReport1.rpt{A5931DB3-E84B-4B03-BAAF-0183324FFB68} We will find that some solution items will have same GUID and some have no guid(e.g. *.bmp) What will you want to do? Maybe we have another solution for you. From the test result, it seems that it is hard to tell some from others. e.g.*.vbs, *.config,*.htm,*.resx and etc have the same GUID. If you still have any concern, please feel free to post here. Thanks! Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights. Thanks for the info.
What I was aiming at was adding an exit condition to my VS.NET macro so it won't run if someone accidentally runs it on the incorrect file type then I just won't run the macro. Looks like it would be best to just work off file extension intead of document kind. Best regards, Sam btw, macro is here if anyone interested--inserts try/catch or try/finally in vb.net: http://www.rewindlife.com/archives/000222.cfm On Sat, 09 Apr 2005 02:57:15 GMT, v-phu***@online.microsoft.com ("Peter Huang" [MSFT]) wrote: Show quoteHide quote >Hi B-Line is now hiring one Washington D.C. area VB.NET > >Based on my research, We did not have such an offical list. >While here is my test result, we can get the GUID by a simple test. > >TextFile1.txt{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} >App.config{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >Bitmap1.bmp >VBScript1.vbs{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >AssemblyInfo.vb{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} >Form1.vb{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} >WebPart1.dwp{8E7B96A8-E33D-11D0-A6D5-00C04FB67F6A} >Form1.resx{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >XSLTFile1.xslt{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >HTMLPage1.htm{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >DataSet1.xsd{C76D83F8-A489-11D0-8195-00A0C91BBEE3} >CrystalReport1.rpt{A5931DB3-E84B-4B03-BAAF-0183324FFB68} > >We will find that some solution items will have same GUID and some have no >guid(e.g. *.bmp) >What will you want to do? Maybe we have another solution for you. >From the test result, it seems that it is hard to tell some from others. >e.g.*.vbs, *.config,*.htm,*.resx and etc have the same GUID. > >If you still have any concern, please feel free to post here. >Thanks! > >Best regards, > >Peter Huang >Microsoft Online Partner Support > developer for WinForms + WebServices position. Seaking mid to senior level developer. For information or to apply e-mail resume to sam_blinex_com. Hi
Thanks for your quickly reply! If you still have any concern, please feel free to post here. Best regards, Peter Huang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "AS IS" with no warranties, and confers no rights.
arraylist copy
How to detect when items are added to Combobox/Listbox TextChanged Excel Reports in VB.NET Inheriting forms problem How do you force a thread to run on a specific processor? bin folder Opening and Closing a form error : Cannot access a disposed object named "frmImage". Validate User Change/assign a value to dataset |
|||||||||||||||||||||||