homerc44's Q&A profile
.NET Development Need Help: Suggest an approach!!
I have this typical data dump in the form of .CSV file I now need to generate an XML which conforms to a specified schema. The key highlight of the schema is that it has elements defined as complex and simple types consisting of either attributes or values or both . Some of these elements are repeating as well. For example within an xml you may have: < searchcriteria keypath = " UID " >XXXX-XXXX </ searchcriteria > < searchcriteria keypath = "contenttype " > "word document" </ searchcriteria > I tried a couple of approaches including looking at out of the box ...Show All
System Center where i can find it to download?
i'm looking for SCCP 2006..i'm msdn subscriber..but i can't find it for download... Any help .. SCCP now available to MSDN subscribers ...Show All
Windows Forms multiline datagridview cells?
In beta1, datagridview cells could contain display multiline data by default. In beta2, the data is shown on a single line with some control characters. (1) Can I set the cells to display multiline (2) Can I replace the control characters with something else (eg a double space) to make it look a little more professional Thanks For me it is the contrary case. I would like the datagridview to wrap not only for CRLF, but also for any text that is too long to fit in the cell., but it only wraps the CRLF. (I set the autosizecolumnmode is Fill and the autosizerowmode is All Cells) Anyone can help ...Show All
Visual Studio Team System Code Analysis Policy Problem
I added "Code Analysis" policy type in to check-in policy and removed some rule from Code Analysis Policy Editor. Then I open my solution and click "Migrate Code Analysis Policy Settings to Solution". I saw all rule is enabled in Code Analysis of Project. I don't understand why "Migrate Code Analysis Policy Settings to Solution" does not remove some rule in project Eagle Tsui wrote: No body can help me I want to know this is a bug or by design. I think it's by design, but I'm not a big fan of this design. The Migrate function will only turn on rules in your project, it will never turn rules ...Show All
Windows Forms The order of files returned by the OpenFileDialog
I have a question about the order of files returned by the OpenFileDialog. I have four files (File1.txt, File2.txt, File3.txt and File4.txt). In the OpenFileDialog I select them in the order of: File1, File2, File3, File4. However in the OpenFileDialog.FileNames array they are in the order File4, File1, File2, File3. If I select them in the order File4, File3, File2, File1, then in the array they are in the correct order (File1, File2, File3, File4). Why, and is there any way they can be forced to be returned in the order selected, or at least alphabetical order I’m using VB .NET v7.1 and .NET Frame ...Show All
Visual Studio MSBuild error: Failed to map the path
I’m trying to use MSBuild to build my web solution (asp.net 2.0). I’m using master page for structure consistency across the pages. I put the following codes on the master page: <!--#include virtual="/sites/nav/includes/header.inc"--> ). When I ran MSBuild.exe to build the solution, I got the following error: " Failed to map the path "/sites/nav/includes/header.inc" , this doesn’t make sense since the header.inc file is sitting under IIS virtual directory folder (c:\inetpub\wwwroot\sites\nav\includes\), for some reasons, the compiler just could not find it. Is this a bug in MSBuild or something rela ...Show All
Visual Basic How to use DataGridViewControlCollection in place of Control Array of MSFlexGrids
Hello, I am learning VB2005 by rewriting a large VB6 program. My VB6 program used loads of MSFlexGrids in a single Control Array. Control Arrays are out with VB2005 so I was looking at a way of using DataGridView controls in the form of a collection. The MSDN documentation points in the direction of DataGridViewControlCollection but I cannot decifer how to add DataGridViews to form a collection and then how to access each one in a similar fashion to my VB6 Control Array. My VB6 program loads the MSFlexGrid's in this simplified fashion: For I=0 to MaxFlexGrid With MSFlexGrid1(I) Code to load cells Next I Is the D ...Show All
Visual Studio Team System How can I know who's link to my WI??
Hi, If somebody add a link to his WI,both of the WI will update to see on their links tub that some link associated to their WI, The thing is that I want to know who is the one that added this WI, Now I cant get this information from the UI, Also, I couldnt find any other field on the DB that indicate me for this information. The only information that I get on the both of the WI is that field RelatedLinkCount is now grow up. Thanks in advance, Shmulik. You should be able to build a report that pulls this from the warehouse. See http://msdn2.microsoft.com/en-us/library/ms244715(VS.80 ...Show All
SQL Server Execute Package Task always Fail When ExecuteOutOfProcess = False
Why does the Execute Package Task in SSIS always fail when set to execute in-process Having ExecuteOutOfProcess = False always results in that the package fails when run from within BI Studio. I have also tried it from Command Line using dtexec., same results. The problem with setting ExecuteOutOfProcess = True all the the time and running from within Bi Studio is that an enourmous amount of processes is created, none of which die because SSIS runs in Debug mode, another problem which is there doesn't seem to be a way to run it in Release mode so as not to get so many Dtexec processes, which ultimately results in having the Ser ...Show All
Windows Forms BufferedGraphicsContext cannot be disposed of because a buffer operation is currently in progress.
Don't know if this is right group to post this question. My program is in .Net 2.0, It is data entry form that has no code related to graphic manupilation. But my clients sometimes get this error. and it will show some big red X over some controls. I've never seen it in my development machine though. "BufferedGraphicsContext cannot be disposed of because a buffer operation is currently in progress." What could cause this problem Thanks This generally happens when a BufferedGraphicsContext is disposed without been invalidated it. It looks like this app is using double-buffering, is it handling a previous exceptio ...Show All
Windows Forms Asynchronus WebService call Progress Bar
I have a WebMethod that I'd like to call asynchronusly and be able to display a Progress Bar. What's being sent to the WebMethod on the WebService is a byte array. I'm fairly new to asynchronus calls and was wondering if this is possible before I dive in looking. Thanx! :) Unless the database provides a callback mechanism&nbs ...Show All
Visual Studio Team System Attempting to auto assign to triage user
Under our AD we have a user called triage, created with the intent that this user will be logged in during the morning war-room meetings where dev and qa meet to discuss new bugs and what to do with them. I'm trying to set team system to auto-assign any bugs with status of New to this triage user, but whenever I try to verify the xml through the witimport tool, I keep getting the error: '[domain name]\triage' is not a valid user or group name. Now I know for a fact that the user is a valid username for this domain. It has been added to the project administrator group (I did this for the purposes of testing - it wouldn't normally have thi ...Show All
Smart Device Development Password.cpl Not Loading
Hi, As part of our application running on a CE Device, we needed to enable our device to prompt on a custom screen if it is power on. We have done it by using a customised Password.cpl file and it seems to work (mostly). However, every once in a while it just invokes the system's default password screen instead of our. I have checked & cross checked the registry settings and everything is in place. Any help would be most appreciated. Many Thanks H This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answe ...Show All
Windows Forms publish event / subscribe
Hi all. I've been reading a long time now. I can't seem to get this. I have defined an event in my class "NewCallForm". /// <summary> /// This method is executed when the user clicks in the activity listbox. The CustomerForm will change and display the events for the selected activity. /// </summary> public void ActivitySelected( string actno) { if (actno != "<New activity>" ) { this .ActNo = actno; } } How can i publish this event, and how can i get the class "CustomerForm" to subscribe to it I would like the CustomerForm to get the selected actno from NewCallForm ...Show All
Visual Basic I can't get my toolbox to open in VBExpress
Somehow I closed the toolbox window in a form designer. Now using any of the options it will not open again. I don't get an error message, but if I do View -> Toolbox, click on the Toolbox icon, or ctrl - alt - X, hourglass flashes then disappears and nothing ever happens. Have tried re-installing multiple times, both from the disc I had ,then directly off the MS web site. Same result. Any suggestions Wild guess: do you have a custom user control in your project First check if you also have this problem if you start with a new Windows Forms project from scratch. ...Show All
