D111's Q&A profile
Windows Forms Delete selected listview item
Hi all, newbie here I was trying to implement a delete button for deleting selected item(s) in a listview. First I tried SomeListView.SelectedItems.Clear() , but nothing happens Then I tried iterating through SomeListView.SelectedItems with foreach, and remove it, but later found that might cause unexpected result (although it succeeded in some cases) Since I did not allow multiselect, so I used a more direct way: SomeListView.SelectedItems[0 ...Show All
Software Development for Windows Vista Custom serializing of activity properties
Hi, how may i have an impact on how my properties in an activity are serialized I've tried using the DesignerSerializer attribute: [DesignerSerializer(typeof(ProcessUnitActivitySerializer), typeof(WorkflowMarkupSerializer))] but only the OnBeforeSerialize method of the ProcessUnitActivitySerializer was called. I would like to have my properties be XML serialized in a completely different way as the default. Implementing IXmlSerializable or usin ...Show All
Visual Basic Database for Visual Studio Standard Edition?
This is a "novice" question. I am normally a Delphi developer but I am thinking of using Visual Basic for some projects including Pocket PC applications. If I buy Visual Studio 2005 Standard Edition (which apparently does not include SQL server), what simple database engine would I use (that would run on PCs and Pocket PCs If it normally is ADO, is the appropriate engine included with VS Standard or is it something that I already h ...Show All
Visual Studio Team System How to change check-in action for pending changes pr. workitem
In the pending changes window you can associate an workitem with the checkin. Is it possible to change the actions here At least I want to change the default value from resolved to Associate.. Thanks for any help borg3000 Did you ever find a resolution to this I'm looking to do the same thing. ...Show All
Visual Studio Team System Actions and fields of work items
1. When I try to associate work item with a check-in I get the list of all work items . But I want to change work item template so that only specific work items in specific states can be associated with check-in. How to achieve this 2. While changing the work item type template can I add more fields and refnames What should I do to make these appear on work item list 'Associate' is ...Show All
Visual C# Diff Between Web and Window Application
Hi All, Please explain me in details, What are all the limitations of windows and web applications Awaiting for your reply! Thanks in advance Regards, Sriram I'm afraid that this question is far to broad and detailed to answer reasonably on the forums. Please refer to the MSDN documentation for .NET instead. MSDN provides recommendations, warnings and guidelines about chosing the type of application to write (web, ...Show All
SQL Server Date Formats In Analysis Services 2005
Hello, I've been having an issue trying to display anything other then a Long Date in Analysis Services. I've used the Server based Time Dimension and I've also tried creating a dimension for a User Created Date Table. It seems no matter what I do the date attribute always displays as a long date. Any Ideas If you need more flexibility (and most applications), what I typically recommend is to create a ...Show All
Visual C# Searching Directories?
Im trying to search specific directories by file name (and maybe content), but have no idea hwo to do this be a little more specific so i can help you.. You want something like the windows search when it comes to files and directories the System.IO namespace has all the classes that u need! ...Show All
Smart Device Development CeRunAppAtTime
hello ppl, I badly need to know this.. This CeRunAppAtTime event will set a notification queque to runn an application at the set time.. But i don't know how to do this in VB.net.. I search whole msdn but it gave me only C# codes, can somebody pls help me how to access the notification queue and add or edit them.. I would be so greatfull to ya, pleeassse help me soon.. Tanx in advance.. Regards Carty.. This forum is in ...Show All
Visual Studio Settings to access printer '\\hercules\prtmark01' are not valid
We recently upgraded our web application to VS.Net 2005 and CR XIr2 from VS.Net 2003 & CR 9.2. We load a report using the ReportDoument class from a UNC path and call the PrintToPrinter method. It works fine on .Net 1.1 & CR 9.2 but with the .Net 2.0 web app & CR XIr2 we get the following error: Exception Details: System.Drawing.Printing.InvalidPrinterException: Settings to access printer '\\hercules\prtmark01' are not valid. Here is ...Show All
Windows Forms Data binding to a datagrid
I have an object with two properties ("Proof" and "Queue") that I am binding to a datagrid. When I bind the data "Queue" is bound to column one and "Proof" is bound to column two. I would like the first column to be bound to "Proof" and the second column to be bound to "Queue". Is there a method or a property that would allow me to accomplish this Thanks Mark Baird ...Show All
Windows Forms horizontal separator between MenuItem-s
Hi, I created (without the designer) a menu, and the items show nicely one below the other. But I would like a horizontal separator something like File New Open -------- Exit I tried with properties like Break and BarBreak, but that is not what I want. There is a frequently used Windows standard, which i ...Show All
Visual C++ Resource Editor: Add/Remove Operation impossible code read only - Release VS2005
I've seen this bug discussed frequently with regard to the beta release of VS2005, but not often in the release version. I've tried former resolutions suggested. I'm running the release version of VS2005, Professional Edition, XP Pro, all latest service releases. Source Safe 6.0b We only recently moved to VS2005 from VS 6.0 and project was upgraded from a 6.0 project. Symptoms: - Dialog control event handlers do not appear in the proper ...Show All
.NET Development Connecting to a database
Hi I am using VS2005, when I am connecting to a database to my web page I add a datagrid and then use the wizards to connect to the database which is on the server. That works fine! Then I tryed to add a parameter using the sqlparameter function: SqlParameter UserID = new SqlParameter ( "@UserID" , SqlDbType .Int); So then I added the Parameter to my sql command: SqlDataSource1.SelectCommand = "SELECT * FROM Users WHER ...Show All
.NET Development Validating a Client
Can anyone tell me if it is possible (and if so, how do I do it) for a remote server object to validate that the client making a remote call is a specific application or component I am trying to create a remote server that will provide potentially sensitive information (such as encryption keys) to applications. The application would use the information internally without revealing it to the end user. However, I want to ensure that a ...Show All
