leonide's Q&A profile
Software Development for Windows Vista UpdateDefaultTrackingProfile doesnt fire the event associated with update
Hi everyone, I am trying to get the profileUpdated event to fire. I have registered for the event, set the IsTransaction = false on the TrackingService, and checked the database to see that the insert is happening( which it is ). Why doesnt it fire, or a better way to get to the bottom of the problem, what needs to happen in order for the event to fire Thanks Rob Adrian The SqlTrackingService polls the database looking for profiles that have changed. When it finds one it fires this event. The default polling interval is 1 minute. You can change the polling interval using the ProfileChangeCheckInterval. The value is in milliseconds. ...Show All
Visual C++ How's diff between win32 and MFC dll
Dear all VC master i would like to asked one concept in VC develop , how's diff between MFC AppWizard(dll) and Dynamic-Link library does that both at function same or diff ================================= Thank's u reply , can i ask you one more question ... how about external dependencies when i rebuild someone dll file and it include a lot .h in external dependencies . how i just cannot understand it how's diff some .h in external dependencies ...Show All
Windows Search Technologies Windows XP startup issues
Hi, Does anyone have any idea on how to solve the following issue. I recently installed Macafee Internet Security Suite. But since I did that and ran virus scan which found a number of issues, which I cleaned up. But ever since, when I boot up my computer, it gets as far as the Welcome screen. When I click on either of the two user accounts, it initiates the login but then immediately logs out again. Any ideas on how to resolve this problem, will solve me a great deal of time. Thanks, Greg. Have you tried logging in via safe mode and checking your system/software event viewer http://poker. ...Show All
Visual Studio Team System Sort order on Iteration in work item view
Is it possible to define a sort order on iterations in the combo box that contains iterations As of now, if I create iterations and sort them like I want, the combo box is sorted in alphabetical order. Example: On the project, I create three iterations and sort them like so: - OneIteration - AnotherIteration - ThirdIteration In the combo box on the work items, the iterations are sorted like so: - AnotherIteration - OneIteration - ThirdIteration Is there some setting I haven't noticed I don't think you can define the sort order, but one solution may be to put a number prefix. For instance: 1. One ...Show All
Smart Device Development Can't change Label BackColor in designer (VS2005 Final)
Hello, The environment Visual Studio 2005 Final, Smart Device Application for Windows Mobile 2003, using .NET Compact Framework 2.0. The problem I have uninstalled VS2005 Beta 2 (using the automatic uninstall tool) and then installed VS2005 Final. When I add a Label control to a blank form in the designer, I can't set the Label BackColor to a Web or Custom Color. It seems that when the underlying Form has the System BackColor "Window", it affects the Label controls. If the underlying Form has a Web or Custom color - the BackColor of the Label can be changed - however the BackColor in the list of Properties  ...Show All
Visual Studio 2008 (Pre-release) How do I Develop a WCF Service on OS WinXP SP2 with VS 2005 Installed
Hi, I truied to develop a WCF service on Win XP SP2 with VS 2005. I had also installed the WinFX runtime prior to starting my development. Now I am stuck as I am not able to find System.ServiceModel.dll. What should I do I don't want to install Windows Vista. Is there any workaround Thanks, Akhil Hi You don't need Vista to use WinFX, windows xp is good enough. I'm unclear as to what "not able to find" means - can't you find the dll under c:\windows\winfx Or does VS complains it can't find it because it's not in the project reference If you can't find the file on your d ...Show All
Visual C# Splitting a string using multiple delimiter error
Hi guys, I am using C# express august edition, i get this error when trying to do this string t = "Once,Upon:A/Time\\In\'America" ; char[] seps = new char[]{ '/', '\'}; foreach ( string ss in t.Split(sep2)) Console.WriteLine(ss); it says too many character in character litral what do i do but i have a string that has \r\n\r at its end, and i want to remove that from the upper bound of the arraay, like This\r\n\r, how do i remove it, if i cant use '\' as delimiter ...Show All
Visual C# code
//</summary> public void openfile() { OpenFileDialog xmlfindfile = new OpenFileDialog (); PopPushXMLData makedataset = new PopPushXMLData (); DataSet xmldataset; DataTableReader t; string xmlfile = string .Empty; xmlfindfile.InitialDirectory = xmlfilepath; //xmlfindfile.Filter = "xml file (*.xml)| .xml "; xmlfindfile.FilterIndex = 2; //xmlfindfile.ShowDialog(); if (xmlfindfile.ShowDialog() == DialogResult .OK) { //start of if xmlfile = xmlfindfile.FileName; if (xmlfile != null ) { //start of if xmldataset = makedataset.gettallelemen ...Show All
Visual C# Covert String or Object to Hex
Hello Everyone, I have something like this .... object var = property.Value; I want to change var to hex, how can I do it.... In C or C++ we use to do something printf("%x, var)....does the trick.... I'm sure will be really simple, I'm not doing something correct..... Thanks, Harsimrat In C#, it's string.Format, and items to format are specified as {0}, {1}, etc. There are also format specifiers, including ones for hex. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconformattingtypes.asp ...Show All
Visual Studio Tools for Office Trouble installing VSTO with Word 2007 Beta
I'm trying to install VSTO, followed by the VSTO v3 CTP, on a PC with Office 2007 beta. The install is failing, telling me that I need to have Office 2003 Service Pack 1. Is there any workaround to this, or do I have to install Office 2003 SP1 temporarily in order to get VSTO on this machine, then uninstall it right afterwards I'm hesitant to put 2003 on this machine since I'm not sure what (if anything) it might do to my existing Office 2007 installation. Thanks I'm afraid there isn't any workarounds to get VSTO down on a machine without installing Office 2003 sp1. I have found that installing ...Show All
Windows Forms Communicating Between Forms
I have a Windows Forms Application Project ( Managed C++ ) where there are two forms. There is a parent form and a child form. The parent form creates an instance of the child form and calls Show (). I would like the child form to be able to communicate with the parent form, though I'm not sure how to go about doing this. The simplest example would be to have a parent form with a textbox and a child form with a button. When the child form's button is clicked, I would like it to set the text of the parent form's textbox. I've tried including headers between the two .H files under #pragma once and that didn't work. I'm going to tear my ha ...Show All
Visual Basic A few questions about VBExpress
1. How can I create a transparent background on labels If I use "Transparent" as web color, the label has the bg color of the Window, if I use the "Window Transparency Handle Color" (or how it's called) the window is invisible at the label's location. 2. How to request the current Time in VB6 it was time$() in the help is time.current or anything like this, but it isn't working 3. How to handle the System.drawing.bitmaps in menus I do not know how I can use one of those pictures for the menus 4. How can I add a text to a DropDownToolStripMenuItem If I change the Value of text nothing will be displayed. I hope you can help me. Sorry for my b ...Show All
.NET Development NameObjectCollectionBase: How are the elements stored?
Hi, currently, I am using the System.Collections.Specialized.NameObjectCollectionBase, and inherit it in one of my classes. But i got one question: in what way are the elements stored Are they stored based on their hashvalue, or stored in the order of storage, for example: foo.Add(cow, mooh); foo.Add(horse, IDontKnowTheSoundInEnglish); foo.Add(dog,bark); when i print it to screen, (for int i=0; i<foo.count; i++) Console.Write(foo .value; is it printed in order of the hashes, or mooh, IDontKnowTheSoundInEnglish, bark(the order of adding) The underlying structure for this class is a h ...Show All
Visual Studio Tools for Office VSTO Excel Binding a dataset from a webervice
Hello, Can someone point me to some sample code on how to get a dataset from a webservice and bind it to a sheet via the code If the dataset is quite large is there a way to parse it out onto different sheets Thanks in advance. John When you say "bind the dataset to a sheet", do you mean binding the dataset to a ListObject on the worksheet If yes, here are the steps to do this: 1. Create a new VSTO2005 Excel Workbook project 2. Add a web service reference to the project pointing to the web service that returns the dataset. 3. Using the Data Sources window, add the resultant dataset to your sheet as a ...Show All
Visual Studio Team System What to download?
On our MSDN Subscriber download page there are four entries for Team Foundation Server. Which one(s) do we need You will want to download the Visual Studio 2005 Team Foundation Server Release Candidate (English). There are also 3 DVD disks for the MSDN Library if you would like them as well. ...Show All
