Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Adam Gritt

@Adam Gritt
About
Posts
39
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual Studio Add-In Compatability
    A Adam Gritt

    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?

    IT & Infrastructure csharp visual-studio question announcement

  • Process XML from inside XML
    A Adam Gritt

    I 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)

    XML / XSL xml help tutorial

  • Free disk-repair utility for XP?
    A Adam Gritt

    Check out http://www.nu2.nu and more specifically: http://www.nu2.nu/pebuilder/

    The Lounge c++ csharp com tools architecture

  • TabPage and ErrorProvider
    A Adam Gritt

    The 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# question

  • C# Partner Wanted
    A Adam Gritt

    I would be interested in this idea. Email me some time and lets talk.

    Collaboration / Beta Testing csharp business sales help announcement

  • XSL Transform and ASP question
    A Adam Gritt

    Does 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.

    Web Development xml csharp html asp-net database

  • XSL Transform to HTML
    A Adam Gritt

    Does 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.

    XML / XSL xml csharp html asp-net database

  • Display XML Data
    A Adam Gritt

    I 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.

    ASP.NET xml sysadmin

  • Connectionless recordset error
    A Adam Gritt

    Thank 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.

    Database csharp help c++ question

  • Connectionless recordset error
    A Adam Gritt

    In 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?

    Database csharp help c++ question

  • Extended MAPI GUID declaration problem
    A Adam Gritt

    I 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.

    C / C++ / MFC help question

  • Extended MAPI GUID declaration problem
    A Adam Gritt

    I included mapiguid.h mapix.h and #defined initguid and uses_iid_imapimessage and when I build I still get the error on the link.

    C / C++ / MFC help question

  • Extended MAPI GUID declaration problem
    A Adam Gritt

    Has 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?

    C / C++ / MFC help question

  • File Systems
    A Adam Gritt

    Looks 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.:)

    C / C++ / MFC lounge

  • File Systems
    A Adam Gritt

    Hi 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. )

    C / C++ / MFC lounge

  • Here's a new one...
    A Adam Gritt

    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.

    C / C++ / MFC csharp visual-studio question lounge

  • Problem with WriteFile
    A Adam Gritt

    It 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.

    C / C++ / MFC help question c++

  • CSV file into Excel Sheet
    A Adam Gritt

    Assuming through code, just use the Excel COM object and tell it to open the csv file. Then tell it to save as Excel file.

    C / C++ / MFC

  • Invalid Cache depth
    A Adam Gritt

    I 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.

    C / C++ / MFC c++ visual-studio debugging question announcement

  • COM compiler support
    A Adam Gritt

    I 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++.

    C / C++ / MFC question c++ com sysadmin business
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups