Omar Damiani's Q&A profile
.NET Development Windows Registries: C# :Need Help Urgent
Hy, Can any body tell me how to remove or repair invalid registries in windows using C# , what is the logic behind all this (means scanning the registries, APIs and others). if any body knows please tell me i'll be very thankful. Bye I have to admit that I didn't get your question, but in case you want to work with the Windows Registry, check Microsoft.Win32 namespace, you can find Registry class in there where you can get yourself started in working with the registry. For more information, see here: http://msdn2.microsoft.com/en-us/8bf3xkta.aspx Regards, -chri ...Show All
Software Development for Windows Vista WF Designer Host Example
Because on the WF web the download of Designer host don't compile with January CTP i have fixed it and make it available on my site at http://dotwinfx.net/modules/wfdownloads/viewcat.php cid=3 ...Show All
.NET Development How to implement Digital Certificate/SSL in Web Application Developed in Asp.Net?
Hi Friends I have a question regarding Digital Certificate/SSL. How digital certificate actualy implemented in application. Suppose i want to secure my application with digital certificate/SSL I had purchased digital certificate from verified Certificate Authority (CA) Now do i need to make changes in my web application developed in Asp.Net Give me detail idea about it Thanking you in advance David No ,end user will not required any extra password in case of SSL. SSL certificate is a class of certificate which is used for client/server or both type of authentication. ...Show All
Visual Basic Dimensions
Could someone tell me what the dimensions for a full sized program would be. Thanks Um, you will need to be a little bit more specific in what you want. The question you are posting is like asking 'how long should a piece of string be '. (so the answer is 'big enough' ) ...Show All
Visual C# How do I tell when all threads in a pool are complete
I have an app that uses a thread pool to ping all hosts on the local network. Each thread updates a listview with the status of that IP - alive or dead. When all the threads are done, I want to remove all the dead links from the list view. How can I tell when all the threads have done their job What is the best way to loop over the listview backwards (I assume backwards is best since the items are indexed...), removing each dead link (text in column 1 = "dead") Thanks in advance. Create an integer that stores how many threads are running. At the beginning of the threads that need to be ...Show All
Visual Studio Express Editions I can't find where to download the registration benefits.
I have gone through the registration process for Visual Web Developer 2005 Express Edition and I have attempted to find the registration benefits (the electronic books, the stock images, etc.) but I can't find them. Any thoughts Thanks! I am having the same problem. I got the confirmation email, and clicked through, but I never got the benefits email. I can't figure out what I'm doing wrong. ...Show All
Visual Studio Team System ADFS web test
Hi all, I am new to Visual Studio Web Test. Does anyone have any experience with ADFS web testing I encounter a problem when the test case (recorded test case) expected result is different from what is being produced by the system. I setup my ADFS system based on "Step-by-Step Guide for Active Directory Federation Services" . It works well via manual testing. When I recorded the test case using Visual Studio Team Edition and run it, the expected result is always different from the actual result. (I set pre-authentication to "true", and put in the correct username and password). What might be the possible mistake that I ...Show All
Windows Forms Approaches to getting selected items (so that I can maintain Object Oriented code ) ?
I'm wondering on the best approach to take to capturing selected items from ComboBoxes, ListViews, etc. Lets say we have a "Company" object which has a property List<Employee> employees; Now we want the user of the application to be able to select Employees from the ComboBox (or ListView) options and have this List<Employees> populated with Employees. What is the best way to populate your ComboBox(or ListView) Ultimately we want a List of selected "Employee" objects, but we can't simply use a List of Employees to populate the ComboBox items since the ToString() method might be displaying all the properties of ...Show All
Visual Basic How to Read, Write, Modify & Remove Application Settings From Config File Using VB 2005?
.NET Framework 1.1 provides System.Configuration Namespace which exposes methods for reading information from the config file, but there are no methods for modifying the contents. Is there anyway this can be done using Visual Basic 2005, without implementing a custom class I have already set it up to use this sort of settings setup and I have used the My.Settings.Save() command after having made a series of changes. I set it up so that there are 18 button name and link settings and 5 user name, password and limits (eg is admin sort of things). I get the user name things to work perfectly, which can be changed by an admin. ...Show All
Visual Studio Team System Unable to add users to Team Project if using VPN.
Hi Folks, when i'm at work, i can succesfully add users to the team projects using the Team Explorer in VS2005. Kewl. At home, i use VPN to connect to work, and i can then connect to TFS, etc. When i try to add users to the team project, it fails to find domain\username. This is becuase my home computer is in a workground and not part of the domain (i assume). So, is there any way i can 'register' with the domain, so i can see the work AD, and therefore add the AD users to the team project hmmm..... You could make your home machine part of the domain, or remote desktop into a machine that is on the domain and add the use ...Show All
Visual C# how can i know the size of a string?
The subject say's it all. I need to know the size of a string, in order to access the individual chars without going out of the string. I tried with a while(string [ i ] !='\0') but if the string have 3 char (eg. aaa) when i=4 i recive a error becouse i’ve gone out the string. Can Anyone help me You can use the Length property string myString = " this is a test string "; int stringLenght = myString.Lenght; ...Show All
Visual Studio Express Editions No macros in express edition?
Hello, I'd like to know if it's possible to record, edit, debug and run macros in VC++ Express 2005. I installed the Beta 2 version, but I found no macros management around. Am I missing something Thanks, Piero. Piero - No, as you have noticed, Macros are not supported in the Express products. This is one aspect of the goal of building a streamlined tool targetted at hobbyist developers. The Standard and above versions of Visual Studio support Macros as well as a host of other extensibility features such as addins and VSIP packages. Thanks, Luke Hoban Visual C# IDE Program Manag ...Show All
Visual C# concurrency violation
Why public void MoveUp( int ID) { OpenConnection(); DataAdapter da = connection.GetDataAdapter(); string SQL = string .Empty; SQL += "Select..." DataTable tbl = connection.GetDataTable(da, SQL); //my lib, no problem executes SQL and return result in datatable // 2 righe di risultato if (tbl.Rows.Count == 2) { // swapping int temp = Convert .ToInt32(tbl.Rows[0][ "Ordine" ]); tbl.Rows[0][ "Ordine" ] = tbl.Rows[1][ "Ordine" ]; tbl.Rows[1][ "Ordine" ] = temp; } da.Update(tbl); <-- Error sometimes CloseConnection(); ...Show All
Windows Forms DatagirdComboBoxColumn+binding source problem
Friends, I have my Datagridview bind to single table binding source. Which has two columns "Option domain" and "Default Option Value", This columns are Dropdown Combos and the datasource is from Lookup dataset having two tables "Option domains" and "Option Domains Value" (Parent-child). Based on the value of "Option domain" 1st column, "Default Option Value" combo will have filter list by that value. I tried the following: (A) I tried to bind "Default Option value" to Parent-child relation of lookup dataset (OptionDomainOptionDefaultValueBindingSource). PROBLEM: Here when displaying grid, ...Show All
Visual C++ How to compile without .net?
Hi everyone. My problem is that if I write an application, it doesn't run on other computers. I've already read other threads about this problem, and there were solutions too: install redistributable packages and/or the .NET framework on the other computer. But I don't want to. I just want to run my program on any computer without installing anything. Like in the old times. Thank you for your support. Attila If it is a CLR application then you need the CRT as well since you are linking dynamically to the CRT when using /CLR. Thanks, Ayman Shoukry VC++ Team ...Show All
