Hi I am trying to use a "from" schema and a "to" schema to transform an XML stream in unmanaged C++ using the MSXML3/MSXML4 DLLs. Does anyone know how to do this? Thanks, Royce
RFickling
Posts
-
Using XML Schemas in C++ Unmanaged Code -
Access table schemaHi, I am using the GetSchemaTable() method of the C# .NET OleDbDataReader class to read the schema of an Access table. The following columns always have the same wrong values: AllowDBNull = True IsUnique = False IsKey = False IsAutoIncrement = False Why do these schema columns show the opposite values of what they should be? Any help appreciated, Royce
-
Enumerate SQL data sourcesGidon, Thanks for your help. I am a newbie to SQL (as you might have guessed), so maybe I misstated my problem. I am equating "data source" to "server", as described in the help for the SqlConnection class: Data Source -or- Server -or- Address: The name or network address of the instance of SQL Server to which to connect. So I want to find all of the servers on the current domain. Royce
-
Enumerate SQL data sourcesHi, How can I enumerate SQL data sources in my domain using C#? I found MS KnowledgeBase article 310107, but I can't get the code to even compile. Thanks, Royce
-
Remote Desktop & Microsoft OutlookThere is no error message or diagnostic of any kind. After having Outlook open (it doesn't matter if it is still open or not), I log into my workplace workstation. After just a few seconds, I lose the connection. The connection is not open long enough for me to do any work. Any ideas? Thanks, Royce
-
Remote Desktop & Microsoft OutlookHi, I am having a problem with Remote Desktop. I cannot use Remote Desktop after having Microsoft Outlook open. Anyone ever hear of this problem? Any help appreciated, Royce
-
Use AssemblyInfo?Hi, The AssemblyInfo.cs file contains attributes, such as AssemblyVersion, which I want to use programatically, as in an About dialog. I have looked at the AssemblyVersionAttribute class, but I can't find any examples showing how to use it. Any help on this would be greatly appreciated. Thanks, Royce
-
Browse through list of databases on serverHi, I would like to allow users of my ADO.NET application to browse through a list of the available databases on a given SQL server. INFORMATION_SCHEMA in SQL Server Books Online doesn't describe how to do this. How can I do this? TIA, Royce
-
Circular Reference Hell!Thanks, Colin. Yes, I think you have given me some useful ideas.
-
Circular Reference Hell!Hi, I am trying to use a class in multiple projects. It is a simple class containing properties of a given database table. The class, DbTable, is defined in my main DbCompare project. I also want to use this class in a Control Library (UserControl) project which will itself be used in the DbCompare project. However, I am in circular reference hell! When I build the DbCompare project, I get the warning 'DbCompare.DbTable' is defined in multiple places; using definition from 'D:\Proj_net\DbCompare\DbTable.cs'. Does anyone know how to do this? TIA, Royce
-
Scrolling Two Datagrids SimultaneouslyHi, I have two datagrids on a WinForm. I want to keep them synchronized so that when the user scrolls one of them, I can programmatically scroll the other one an equal amount. The datagrid is new to me. How can I do that? Royce
-
Can't connect to or get interfaces of my COM serverMayur, Yes, please post your code. I have never tried what you are talking about. Thanks, Royce
-
Can't connect to or get interfaces of my COM serverNo, but it indirectly invokes CreateInstance() which throws.
-
Can't connect to or get interfaces of my COM serverVande, Thanks - I'll try your suggestion. Royce
-
Can't connect to or get interfaces of my COM serverHi, How do I connect to my COM server, written with VS C++ 7.1 (2003). I have been writing COM servers and clients for about 5 years now. For the past 3 or 4 years, I have used the #import statement and the __uuidof operator with smart pointers to connect to my servers with no problem. Now when I try to use __uuidof() in a VS 7.1 client, it throws an exception "Class not registered" when it clearly is registered. Anyone know what's going on? Thanks, Royce
-
Windows ServicesHi, Using Albert Pascual's article as a starting point, I have created a Windows Service. However, I can't get it to run. After building it, I opened the command window and ran the InstallUtil.EXE on it successfully, but it never shows up in the MMC/Services window and it never writes to the event log. What should my next step be to get this thing going? Thx, RFickling