Does anyone know if it is possible to create an add-in with Visual Studio 2003 that will work with both 2003 and 2005? Or do you have to create a separate add-in for each version?
Adam Gritt
Posts
-
Visual Studio Add-In Compatability -
Process XML from inside XMLI am having an issue. I need to perform an xslt on an xml document however the document contains xml encoded inside the xml (see sample below). I need to know how to pull out the inner xml so I can parse it from inside an xslt transform. Any help is greatly appreciated. (code) (/code)
-
Free disk-repair utility for XP?Check out http://www.nu2.nu and more specifically: http://www.nu2.nu/pebuilder/
-
TabPage and ErrorProviderThe default implementation of a tab page is to include the code for it in the form/class that contains the actual tab control. However I have subclassed the TabPage class and put my code into this class and then include this as a new tab page into the tab control. However, since tabpage does not inherit from ContainerControl I can not use the ErrorProvider control without making my controls public or exposed via a property and fire an event to the class containing the tab control. This class then calls SetError on the ErrorProvider with the information from the event. Has anyone done anything like this and found a better way to implement the ErrorProvider?
-
C# Partner WantedI would be interested in this idea. Email me some time and lets talk.
-
XSL Transform and ASP questionDoes anyone know where I can find a xslt file to transform xml into html or how to open a new browser window from asp.net to display the xml. I have a string that contains the xml that is generated from an object. I want to display the xml to the user in the browser. The format can change so writing a custom xsl is time consuming. I just want to display the xml as would be done if you open up an xml file in the web browser. However, must of the xsl files that exist on a windows pc for doing this are specifically designed to be run by the browser and don't use the standard schema that is required by XslTransform. I want the data to be displayed in a nicely color and formated XML format. If anyone has any help for me on this it would be greatly appreciated.
-
XSL Transform to HTMLDoes anyone know where I can find a xslt file to transform xml into html or how to open a new browser window from asp.net to display the xml. I have a string that contains the xml that is generated from an object. I want to display the xml to the user in the browser. The format can change so writing a custom xsl is time consuming. I just want to display the xml as would be done if you open up an xml file in the web browser. However, must of the xsl files that exist on a windows pc for doing this are specifically designed to be run by the browser and don't use the standard schema that is required by XslTransform. I want the data to be displayed in a nicely color and formated XML format. If anyone has any help for me on this it would be greatly appreciated.
-
Display XML DataI am trying to display XML with the XML server side control. I am not using an XSLT and the documentation says that the control should display the raw XML if a XSLT is not provided but it isn't. Is there something special that I have to do to get it to display the xml or a special format I need to get it to display because when I have a chunk of xml that has a tag in it then everything within that tage is displayed but not formatted in any readable way. The xml is generated at runtime based on the deserialization of different binary objects so it is hard to create any sort of XSLT that could be used unless someone knows of a generic XSLT that I can use just to display the data since I am not that familiar with XSLT.
-
Connectionless recordset errorThank you very much. I am still learning the intricisies of C# and haven't looked into the System.Reflection namespace much yet. Everything works fine now. Thanks for the help.
-
Connectionless recordset errorIn trying to create a recordset I keep getting an error when I open it under C#. I would use ADO.NET, but for backwards compliance with the application it talks too, I need ADO 2.6. Below is a snippet of the code I am using. If anyone has input as to what the problem may be, please let me know. [code] ADODB.Recordset rs = new ADODB.Recordset; Object obj1 = null; Object obj2 = null; rs.Fields.Append( "Name", adVarChar, 32, adFldMayBeNull, null ); rs.CursorLocation = adUseClient; rs.Open( obj1, obj2, adOpenForwardOnly, adLockReadOnly, -1 ); [/code] This code causes a COMException under C# that says: "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another." The same code works fine under regular c++ and VB6. Does anyone have any input to this?
-
Extended MAPI GUID declaration problemI included that as well and several other of the mapi includes. the error seems to be an issue of the lib files linked, but I included uuid.lib, mapi32.lib, ole32.lib, and oleaut32.lib.
-
Extended MAPI GUID declaration problemI included mapiguid.h mapix.h and #defined initguid and uses_iid_imapimessage and when I build I still get the error on the link.
-
Extended MAPI GUID declaration problemHas anyone here used the extended mapi interface? and if so do you know what has to be changed to use the GUID's that are declared in mapiguid.h? I have included everything the MSDN library specifies and have even defined the proper defines, but when I build I get the following error: EmailMessage.obj : error LNK2001: unresolved external symbol _IID_IMessage Can anyone help me?
-
File SystemsLooks like there is enough interest so I will do it. Don't expect it right away, it will take me a month or so to compile all my information into one document but I will do it.:)
-
File SystemsHi all. I am considering writing an article(s) on the NTFS and FAT file systems. No it is not a general file system theory article. I am thinking about writing something that will offer information and code for doing direct disk reads and writes with information on the file system structure for people who would like to try writing defrag programs, etc. However, before I do this, I want to make sure there is interest out there for such an article. If you would find such an article interesting please reply and let me know and if enough are interested I will create one (most likely a separate one for each FS type ie: ext2/ext3, FAT, FAT32, NTFS, UDF, CDFS, etc. )
-
Here's a new one...I have never seen it but it almost sounds like a virus or something similar if it is randomly changing data on the hard drive.
-
Problem with WriteFileIt depends on how you open the file. Do you open it as text or binary? If you open it as binary you would see strange characters because you would be seeing the ascii interpretation of what the numeric values are. For instantce if you output the number 32 as binary it would appear as a space in a text file.
-
CSV file into Excel SheetAssuming through code, just use the Excel COM object and tell it to open the csv file. Then tell it to save as Excel file.
-
Invalid Cache depthI don't know about the error, but you might want to take a look at XCrashReport - Exception Handling and Crash Reporting by Hans Dietrich. It covers debugging release mode applications.
-
COM compiler supportI think that your topic might be beyond the scope of the forums, but a good place to start is "Beginning ATL 3 COM" ISBN: 1861001207 and "Professional ATL COM Programming" ISBN: 1861001401 if you can still find them. They are a great start and cover using COM and developing COM objects in C++.