davidw's Q&A profile
Community Chat Dynamic Semantics of Document
Hi, Few days ago, I read some articles about MSOffice 2007, and I was puzzled with the term: Dynamic Semantics of Document. Can anybody explain the term: Dynamic Semantics of Document in MSOffice. Is there any tutorial or material about this topic Thank you in advance! ...Show All
SQL Server Error 18456 Severity: 14 State 11 problem
I am installing diskeeper administrator on one server with at database on our sql2005 server. When I am trying to connect to the database the diskeeper software says verify username and password. I try to connect using windows authentication .And in the serverlog this error occurs 2006-11-27 15:04:56.01 Logon Login failed for user 'NB\Servername$'. [CLIENT: "Ipadress"] 2006-11-27 15:04:56.01 Logon Error: 18456, Severity: 14, State: 11. When i try to connect with Sql server authentication, this error occurs in the log: 2006-11-27 15:48:35.46 Logon Login failed for user 'NB\SERVERNAME$'. [CLIENT: ipadress ]2006-11-27 16:04:22.94 Logon Error: 18456, Severity: 14, State: 16. I have tried to disable files ...Show All
Visual C++ C++/CLI managed code calling methods on unmanaged C++ classes call incorrect functions
Hi, We are doing a transition project where we are wrapping unmanaged C++ code with C++/CLI managed classes. The various methods and properties on a given managed wrapper class are mostly just pass-through calls to the wrapped C++ class. Mostly this works fine. Sometimes, however, the call from the managed code ends up in the wrong C++ function. IOW: void ManagedMethod1( void ) { m_pUnmanagedObject->Func1(); } actually calls pUnmanagedObject->Func20(). So far, it seems that every time this happens, the called method on the UNmanaged C++ class is declared "virtual"; it also seems that the incorrect method that is actually called is also declared virtual. I have tried in one or two situations to change the leg ...Show All
Software Development for Windows Vista AutomationID Best Practices
I am trying to find out whether or not it is a best practice to set Automation properties (AutomationId, HelpText, Name) for WPF controls as a standard development procedure. It doesnt appear that you need to define these properties unless you are creating a custom control, and that in their absence UI Automation would be based on the Name of the control. We are just getting started with UI Automation in WPF and our main focus today is UI Automation for QA Testing. However, other accessibility features are also on the horizon. Are there other benefits to setting automation properties Thanks in advance. JAtkins It should not be necessary for an app to set UI Automation properties on a c ...Show All
.NET Development ADO Equivalent for Oracle cursor array fetch (GetRows or CacheSize)
This forum topic is for ADO. I am working in Pro*C to ADO equivalent conversion. In my Pro*C file, Oracle cursor is declared that fetches in a loop, 10 rows to a array . I want to convert this to ADO equivalent. I have 3 differtent options. 1. Open Recordset for the sql query, read each field, movenext recordset until eof of recordset reaches. I think this method of retrieving the data may reduce the performance. 2. Set CacheSize for recordset as 10 and open recordset for the sql query, read the fields and the movenext recordset until eof of recordset reaches. 3. Open Recordset for the sql query without setting CacheSize, get 10 rows to the array using GetRows method of Recordset and get next 10 rows in the loop until eof o ...Show All
SQL Server Data added before publication created does not replicate - why?
Hello, I have a small three server development environment where I am getting my feet wet with replication. I have set up peer-to-peer transactional replication and it works fine for data added to the publication's table after the publication was created. However, rows in the table that existed prior to the publication's creation have never replicated. If any of the "old" rows are edited they cause an error on the subscribing servers when the replicator attempts to apply updates to rows that do not exist. How can I get the old rows that predate the publication to replicate Thanks, BCB I believe to setup peer-to-peer replication, you'll need to initialize the data at each node throu ...Show All
Visual Studio Express Editions Receiving WMI configuration error. SQL Server System Configuration cannot be executed due to that
Hello PPl, I am getting this error again and again. The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749896 (0x80041008). I uninstall all version of Visual Studio 2005 just kept Microsoft .NET Framework 2.0. Still I am getting this error when I am running SQLEXPR.exe to install the SQL Server 2005 Express. PLEASE HELP! Thank you. Tried it. Worked just as you said. thanks ...Show All
Visual C# Need DataGridView to display rows chronologically
Hi I've got various events happening at certain times and want to display them in a DataGridView. Time Event Type 00:00:12 Event0 … 00:00:58 Event3 … 00:01:23 Event1 … 00:01:58 Event0 … That's how it should look like in the DataGridView however the events are from a Xml file and not in the right order. Is it possible to use DataGridView to order rows (chronologically) Thank you First you have to read xml file. Use Dataset for that operation, if you have schema for xml file it will be great, but if not use InferSchema. Then set DataSource to the filled DataTable in Dataset. DataGridView has sort method, so use it to sort by your specific column after you se ...Show All
Visual C# Compare 2 Strings of Diff Length
I am looking for the fastest comparison which will start from the left of one string, and return true if ALL the characters of the first string match the first x characters of the 2nd string where x is the length of the first string. For example: String s1 = "YI" ; String s2 = "YIPES" ; String s3 = "Y" ; s1 = s2 would return true s1 = s3 would return false This would be part of a larger loop, so I am looking for the fastest comparision method. Regex maybe Many thaks Mike Thomas ...Show All
Windows Live Developer Forums Add "Drive To" and "Drive From" To Pushpin Menu
I was wondering if it was possible to add "Drive To" and "Drive From" to a custom pushpin menu on a map I am creating Thanks (if so could someone please show me a code to do so ) Thanks again Hey! Thanks. That would be great if I could get a code (only if you have the time of coarse) because I am new at coding and dont really understand unless the code is in front of me. If you have time.. Thanks ...Show All
SQL Server "Do not replicate DELETE statement" feature problem
I am testing SQL Server 2005. I need a replication where "DELETE delivery format" field in Table Articles Properties is set to "Do not replicate DELETE statement". Unfortunately nothing I set in this dialog is saved and used. Doesn matter what I change the replication behaves the same and the next time I open "Table Articles Properties", every value is still default. Am I doing something wrong or is it an issue (bug) in 2005 replication I googled about the issue and also searched in the SQL Server Replication threads on this site, both with no success. The thread named "Selective replication of DELETE transactions" doesn't provide enough information about SWL Server 2005 replication ...Show All
SQL Server continuous merge replication - event log
Hi I have set up merge replication and it works nicely. I have set it up to work continuously, because I thought that if it can't find the subscriber or is offline then that's fine it will just sync again when it's back on line. This is true BUT it keeps throwing lots of messages into the event log to tell me the merge has failed. SO a. Can i just turn off the error reporting or b. How can I get it to sync this way automatically on connection without the error messages thanks ICW Unfortunately there's nothing built in to suppress these messages. Maybe instead of running continuously, you can schedule it to run frequently, like every 10 minutes ...Show All
SQL Server Another Major Flaw with Reporting Services!
Where is the text (.txt) export functionality I don't see any ascii text export mechanism without the .csv extension. Where is actual .TXT file of the reports. How do I get a .txt conversion out of the reports without messing with the .csv files. I would've wanted direct .txt export from the generation mechanism. This seems extremely basic form of reporting generation. I can't believe you can't get txt report out of reporting services. Enkh. The thing I'm saying about "text" generation is this 1. The generated file should be in ".txt" format like "Some report.txt". So it should be downloadable ".txt" file. That's why I suggested that there should be another field in the export ...Show All
SQL Server SSIS and deleted records
I am trying to use SSIS to upsize Visual FoxPro data. The data is in free tables. I'm using the VFP OLE DB provider in a connection pointed at a folder. When I click on preview, I see the right data--deleted records are not included. However, when I run the package, the deleted records are sent to SQL Server 2005. I can pack all the tables prior to executing the package as a work around, but I would think I shouldn't have to. I don't see any way to detect which records are marked for deletion in the data flow. I've tried to specify in the connection string Deleted=Yes, but to no good effect. Also, as I mentioned, when I preview the data, the deleted records are not included, so the connection seems to work properly . Steps to reproduc ...Show All
SharePoint Products and Technologies Separate Association and Initiation forms - 2 solutions
Hi, I have a workflow that uses three forms, one for association, one for initiation, and one for edit task. When I first associate the workflow with a list, the association form opens correctly with the pre-defined association data that I passed to it. The problem is, when I try to instantiate the workflow on a particular document in the list all I get is the message, "The form has been closed." When I looked in the logs it looks like the Initiation form is looking for the association schema and not finding it. I know the association data is passed to the initiation form, but if the schema is available for opening the association form why isn't it available to open the initiation form Is there something I'm not specifying in ...Show All
