Cav22's Q&A profile
Windows Forms Using ListView SelectedIndexChanged Event to Show Forms
I have a ListView called TrainingListView that has a collection of 12 items. Each item represents another form that I would like to show if the user clicks on it. My problem is that the items in the collection don't appear to have a click event, so I need to use the SelectedIndexChanged event as workaround to get the same functionality. I've been struggling for the last several days on the code to get the SelectedIndexChanged event to open the appropriate form based on the user's choice. I listed the code below for the first two items in the collection. My problem seems to be in the syntax for the index value of the item in the collectio ...Show All
.NET Development Saving User Preferences
I am writing a piece of software in VB .NET 2002 and I need to save user settings. I want the settings to be accessible (read) by any account (Administrator -> Guest). I do not need all accounts to be able to modify the preferences. I have tried the Registry but only certain users can access the variables. I have used .txt/.dat/.xml files in the C:\Documents and Settings\All Users\Application Data\MYCOMPANY\MYSOFTWARE\ folder but the files cannot be read by all users. I can make it so that each users has their own preferences but I do not want to do that. Any advice would be great. Thanks I’d wager that ...Show All
Visual Studio Express Editions Visual C# Express with CE
Does Visual C# Express support the development of Microsoft Windows Mobile 2003 2nd Edition Is there a windows mobile SDK that integerates with Visual C# Express The express editions do not support mobile development, you will have to look at one of the full visual studio systems. http://msdn.microsoft.com/vstudio/products/compare/default.aspx ...Show All
Microsoft ISV Community Center Forums what SRTP crypto algorithm used?
When audio/video conferencing between Office Communicator clients, what crypto algorithm is used for the SRTP I logged the SIP INVTE messages in the LCS and took a look at the SDP. I was hoping to see an "a=crypto..." line, but I see only a d-line in the with a key("d=Base64:..."). I believe that a d-line means that the SRTP crypto algorithm is defined elsewhere. Can anyone tell me what that algorithm is AES DES Thanks in advance, Kevin Packard Hi Kevin, Here's some info from our support engineer: Thanks for using Microsoft ISV Community Forum, according to ...Show All
Visual Studio Team System error creating project
everything works fine after installation of TFS. I can connect etc. But i cannot create a new project. (see error log below). Who has a solution for this 08/18/2005 02:14:22.952 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://yom-dev01:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 08/18/2005 02:14:22.952 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 08/18/2005 02:14:22.999 | Module: ELeadServiceMediator | Template Information for domain "yom-dev01" retrieved from eLead web service | Completion time: 0.04687 ...Show All
Visual C# Why is Generic.List<T> not ICloneable?
I'm definitely missing here something. What was the reason not to implement ICloneable on the generic list Is it supposed to use ToArray() if I need a List with the same elements (value or reference types) Are there any other "bad" features of ICloneable except type unsafety (returns an object that must be downcasted). Can anybody, please, provide some material concerning this Yes the major problem with IClonable is that that it does not specify whether a deep or shallow copy should be made and as such can cause alot of confusion. ...Show All
Windows Forms MDIContainer
I have MDI Form, I want to add Panel control to the MDIParent. The problem is when I open MDI child, it always come behind the Panel in the MDIParent. so if the panel is docked FILL then I never see the MDIChild Any Solution I am also having doubts about the Splitter control being replaced by the SplitContainer control. While it is so much easier to use the container in a regular form, when you're talking about a scenario like above (docked panels in an MDI container) the splitter does come in handy, since the SplitContainer would negate the MDI functionality. Theoretically, you can still access the splitter control ...Show All
Visual Studio Team System Failed to determine if database already exists
With SQL Server installed and everything looking proper through SQL Management Studio, I get the following error trying to install the Database tier only (using the TFS RC). Any suggestions Thanks! ConfigureSql: Error 0x80004005: Failed to determine if database already exists ConfigureSql: Error 0x80004005: Failed to ensure database CurrituckDB.D19110DD_8531_4670_8844_A399C45690FF exists ConfigureSql: Error 0x80004005: failed to install databases This is a 64-bit server, by the way. Recently, SharePoint installed a copy of MSDE that was later uninstalled with a tremendous amount of hand-removal ...Show All
.NET Development Typed datasets with multiple database vendors (or not)
As I post this so that others might benefit too, I'm hoping to hear from wise ADO/database people in general, but in particular from the ADO.NET program manager. I'm writing a new application using C# and ADO 2.0, and am getting lost in all the possible options from this list: using typed datasets (or not) using PK constraints in my datasets (or not) using FK constraints in my datasets (or not) getting PK/FK into my datasets using the Dataset Designer (or not) writing methods to manually add PK/FK constraints, so I can invoke them when I want cluttering up my screens (100 of them) with 100 xxxtableadapters, etc (or not) I w ...Show All
Windows Forms Permission Issue With Smart Client
I have a exception handler assembly I wrote that sends error information via email to specific users and it worked fine while I developed it and used it in my application that I am developing. But once I put the application on the web server and I ran into a error that was trapped and should have gone through my exception handler I recei ...Show All
Windows Forms DataGridView: Location of a HeaderCell
I've seen the posts about getting the rectangle for any particular cell using DataGridView.GetCellDisplayRectangle(). For a HeaderCell, I can get the size, but not the location (without computing it based on column widths, which is painful as they resize in any order.) I can compute the location based on the rectangle for the cell in the first row, but not if there isn't one. I want to add a row of blank cells just below the header to allow the user to type in filter text for each column (this is a bound DGView.) If I align the headertext to the top and increase the header height, positioning my little textbox classes in the header ...Show All
Visual Studio Express Editions how to generate 5 sets of 7numbers?
I just cant get going with this little trick. I need to create 5 sets, each contains 7 non repeating random numbers appreciate your help Hi, System.Random class will help http://msdn2.microsoft.com/en-us/library/system.random(VS.80).aspx . Best regards, ...Show All
Windows Forms .Net Passport
I have two computers both network together. Now my problem is if I use hers as adm. and mine as client on my msn upper right where you click to sign in on .NET passport button is not "there"but you can see the high lite of it. I can sufer but anything that I want to do in the windows update or other major programs it& ...Show All
Visual Studio Crystal Reports XI and Visual Studio Beta 2
Can I test Visual Studio 2005 Beta with the XI version I already own Hello Tim, You can not use Crystal Reports XI and Visual Studio 2005 Beta together. This was discussed in another thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=15581 Keith - Business Objects ...Show All
Visual Studio Team System Anyone Have Success Installing Visual Studio 2005 Beta 2 Team Foundation Server?
I've read through many of the postings here, but haven't seen a single posting from someone who has successfully installed this thing. Regular pre-req thing, Windows 2003 Server SP1 32-bit, using VMware with 1Gig RAM assigned to this VM, attempting single-tier install. Everything is done as specified in the instructions and everything works (and verified) until the last step -- the TFS itself. Same problems as others, at the very end (according to the progress bar), it fails on two different places (sometimes I can overcome the first): Error 32000: ServiceDefinition.aspx I thought I remedied this by allowing Active Server Pages i ...Show All
