Brian Siler's Q&A profile
SQL Server Can SSIS work in a Cluster
We have just installed a new SQL 2005 Clustered server and loaded integration services. However it appears that integrations services may not work properly in a clustered environment. So can integration services be setup on a clustered SQL 2005 server Funny, someone asked the same question earlier today. Is it clustering day :) Go here anyway: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=3663 ...Show All
.NET Development Check Wellformedness of a XML file
I want to check a XML file for wellformedness. it is possible like this: XmlTextReader r = new XmlTextReader (xmlfilelocation); try { while (r.Read()) { ; } } catch ( XmlException ex) { Console .WriteLine(ex.Message); } r.Close(); The problem is... I want to see all the messeges in one screen. Is there anyone here with a solution This is correct way to verify welformedness of XML fi ...Show All
Windows Forms Problem retriving value in Listbox
hi guys... i am trying to retrieve the value from a listbox using the <ListBox>.SelectedIndex.ToString() method. Supposely there is 4 items in the listbox, and i select the 3rd item, i should get index 2, however i keep getting the index 0. I'm working on a C# application using ASP.NET as the front end UI. I set the properties of the listbox's autopostback to false, i attempted to use a button to retrieve the value of the selected index ...Show All
Visual C# Urgent reply needed for C# mini project
Hi all, I had a problem in my mini project. Its a case of game of having many rooms and we need to move through the rooms. I can move through the rooms without any problem. But the problem is I have to put a condition for a room like, if I enter into that room, i will be transported to a random room in the game. I have a Room class with constructor below public Room( string description, string longDescription) { } I have created a method to ...Show All
Visual Studio VSS Automation - VSSItem.Add problems
Hey everyone, I'm sure this is a simple fix, but I just seem to missing something... I am using the C# COM wrapper with InteropServices. I have tried all the below calls, and they return the error below: tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", 0); tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", ( int )Flags.VSSFLAG_DELNO ); L07_Debug 7/25/2005 11:25:53 AM PC127782 SSEXP.EXE Testing Ciosor.GetItem ...Show All
Visual Studio Express Editions making a console application with MSVC++ Express 2005
since there is no project (that i could find) for making a console application i used general->empty project... but i can't seem to get it to work... i tried changing properties->linker->system->sub system to console but then it produces this error unresolved external symbol _main referenced in function ___tmainCRTStartup any help is appreciated i found out the problem was due to a a library ...Show All
Visual C# Interlink with libraries developed by other languages?
Hi, there, I am just peeking through the door of .net stuff and want to see if we can adapt to it. I have some questions to ask. We have some code developed in Embedded C++, libraries and executables. I wonder if it's possible for an Embedded c++ project link to a library created by .net, using visual basic or c# On the other hand, can a .net project using visual basic or c# link with libraries created by eMbedded c++ Thanks a lot in advance. ...Show All
.NET Development XPathNavigator, Attribute predicate evaluation
I have implemented a custom XPathNavigator for Xpath filtering on an object tree. So far it works. While analyzing the performance, I have noticed a lot of MoveToNextAttribute calls. A closer look has shown that there seems to be a none optimal evaluation of attribute predicates such as [@ID = '2']. It works as expected if there is a match of the attribute value, i.e. the XPathNavigator calls MoveToNextAttribute until it gets the ID attribute ...Show All
Visual Basic shutdown
how do i shut down the system when the time is entered to shut down using vb codes This is my code. Only pass the command as argument for the local system or pass systemname or ip and domain credentials for a network system. Public Enum WindowsShutdownCommand Logoff = 0 Logoff_Forced = 4 Shutdown = 1 Shutdown_Forced = 5 Reboot = 2 ...Show All
.NET Development Keyword not supported: 'provider'
An unhandled exception of type 'System.ArgumentException' occured in system.Data.dll Additional information: Keyword not supported: 'provider'. I get this error in my visual basic code using the new full version of 2005. The error is on form load for this line sqlConn.ConnectionString = SQLCnString The string variable is assigned in the declaration section. I dont know what the problem could be because the same sqlconnection str ...Show All
.NET Development Problem about ILMerge
I have a problem when I merge a assembly. I receive this error message : An exception occurred during merging: Index was outside the bounds of the array. If I exclude that assembly, everything is fine. What can I do with that Thanks. Hi, I want to merge serveral assemblies (named CompA, CompB, CompC...) into a single assembly (named CompX). If I merge CompA & CompB, everything is fine. But if I merge CompA, CompB & Co ...Show All
Visual Studio Team System Determine File Attachment Location
After you add a file attachment to a work item, how can you find out where that file is located (UNC) In release version the attachments are actually stored in DB so it is not possible to browse the attachments in a UNC path. Thanks Naren ...Show All
SQL Server SQL Mobile performance/size problems with WM5 device
I just upgraded our application from SSCE 2.0 to SQL Mobile. Our app is written in C++, and we use OLE DB for most of our queries, including the routine the downloads and inserts our lookup table data. This application is running on a Dell Axim X51. Using SSCE 2.0, this routine takes 236 seconds, with most time spent inserting data into various tables (using OLE DB). The resultant database size is 15.1 MB. Using SQL Mobile, this routine now take ...Show All
.NET Development How to get a free port ?
I would like to get a free port for an application. I do not care which port it is. Ingo Rammer in a 2001 post provided a hacky solution to this issue. I would like to know if there is cleaner (threadsafe etc.) solutions available Will .Net 2.0 provides a native helper to solve this issue Thanks in advance, Joannes what you describe is a discovery mechanism. remoting doesn't and will likely never have ...Show All
Windows Forms How to embed child datagrid into its parent in windows forms
Hi I want to embed a child datagrid into its parent grid in windows forms so that the user can select some rows in the child for processing. I tried adding a relationship between the two tables but the datagrid shows a + sign which takes me to a new datagrid. I want to display the child datagrid into the parent grid. I searched a lot in the net and could find one similar in Sync fusion. I don’t want to purchase the same ...Show All
