dana_lotus's Q&A profile
Software Development for Windows Vista how to:hook up wpd autoplay for audio program?
I also posted this on another dev board as well but... It appears the Vista does things a little differently for mp3 devices for the autoplay registry settings then XP did. I have looked for info on setting up autoplay for "WPD" and haven't found much. Anyone have a lead on this To sum up, when an mp3 type audio device is connected(usb) I need my program displayed in the autoplay choice listing. I am able to "manipulate" the registry, making this "work" but I'm really in the dark about the wpd device key. BTW, this feature worked for XP. Any info is appreciated. Thanks ...Show All
Smart Device Development Datagrid Highlight Row
When the user click on an individual cell - wanted to highlight the entire row - is that possible and if so, how Please consider subscribing to CurrentCellChanged event and selecting row from it by calling Select() method with desired row number as argument. ...Show All
.NET Development Update not writing default values to the database
Hello, I'm using a TableAdapter to update a table which has some default values set in SQL Server. However, every column that I leave blank gets inserted with a null value instead of the defined default value for the column. Is there anything I am missing or is this the default behaviour Thanks in advance for any help given. Regards, paulo The dataset designer does not import default values. Hopefully in the next release... Charles ...Show All
Visual Studio where can ? find info about DSL?
We are building an adaptive object model and making our framerwork does that mean we are creating a domain specific langugae when we define our metadata You can find specific information about our DSL tools at http://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx . For more general discussions about DSLs, I'd recommend following the blog links on that page. Steve Cook [MSFT] ...Show All
Smart Device Development Uhm, what?
I am trying to use a Custom Build Rule to build assembler files, much as described by Jeff Abraham and I am kind of running into the same problem. The rules files only differ on the extension used and some quoting practicalities. I don't agree with Jeff's analysis of what is going on however: An unfortunate side effect of this build rule is that you end up deploying the .obj produced, because it becomes a project output As far as I can see it's rather the case that a file called <projectname>.obj becomes a project output. I don't have any file by the same name as the project and so I will never have a .obj by that name, so d:\...\ ...Show All
Visual Studio Tools for Office Outlook: Make mail properties readonly
Is it possible to make Outlook MailItem properties (e.g. To, CC, Body) readonly so that the user cannot edit them after the add-in populates the fields Also, if the add-in inserts HTML into the body, is it possible to only allow the user to edit form fields in the HTML We are trying to build a system that allows you to submit structured form information via e-mail. Thanks! Josh Two things: 1) You can cancel the Write event on a MailItem so that it does not write. 2) Why not use Word as the email editor, use a schema behind the mail template and use this as your structuring framework It is a superior ...Show All
Software Development for Windows Vista Error Afetr installing Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2(EN).exe
Hi , After installing WWF beta 2.2 , am getting an Error msg like that , Method not found: 'Boolean System.Workflow.ComponentModel.Compiler.IWorkflowCompilerOptionsService.get_CheckTypes()'. Hide at Microsoft.Workflow.VSDesigner.VSWorkflowDesignerLoader.Initialize() at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) at System.ComponentModel.Design.DesignerHost.BeginLoad(DesignerLoader loader) Tool box also empty, Can any one help me regarding this issue, Am having Windows 2003 server with sp1& Winfx RC 3.0 insatalled. Thanks, sasi ...Show All
SQL Server How to remove ALL as a dimension member
Is there a way to remove the ALL member that Analysis Services adds to each dimension thanks. In Analysis Services 2000 you can change AllLevel property of the dimension from Yes to No. In AS2005 you to navigate to the highest level in the hierarchy in your dimension and for the corresponding attribute you change IsAggregatable property from True to False. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual C# Events And User Controls
Hi, I've got a user control inheriting from System.Windows.Forms.TextBox and I've added a ListBox as a child. I would like to expose an event when the ListBox changes visibility. Any help would be greatly appreciated. Code Snippet Follows==================================== public class TextBoxLookup : System.Windows.Forms.TextBox { private System.Windows.Forms.ListBox listBox1; private void OpenListBox() { Control ctlParent = this .Parent; ctlParent.Controls.Add( this .listBox1); this .Text = ""; this .BackColor = Color.GhostWhite; this .listBox1.Location = new System.Drawing.Point( this .Location.X, ...Show All
Visual C# Visual C# Express Edition: Toolbox Components Disappeared / Reset Doesn't Work
I have been using Visual C# Express Edition productively for a couple of months now - very impressed with the stability and only having to deal with a few minor quirks. Today unfortunately I am encountering issues with the Toolbox. Upon starting up the IDE today and loading my ongoing project, I found that several Toolbox categories had gone missing. For example the "Common Controls" category. So, I decided to try the Reset Toolbox option. When I did this (and it's happened twice now) I received the following error message (a dialog box): Microsoft Visual C# 2005 Express Edition Microsoft Visual C# has encountered a ...Show All
Windows Forms How to capture MoveDown event of ToolStrip
Dear everybody, I want to capture MoveDown event of ToolStrip. However, I only get ItemClick event of ToolStrip. My main idea is remove items of toolstrip by drag and drop action. So I need to catch MoveDown event to perform Drag and Drop action. Everybody solved my issue before please tell me your idea. Thanks for your help. Khiem Vo. ...Show All
SQL Server Problem about pass a big string (over 8000 characters) to a variable nvarchar(max) in stored procedure in SQL 2005!
Problem about pass a big string (over 8000 characters) to a variable nvarchar(max) in stored procedure in SQL 2005! I know that SQL 2005 define a new field nvarchar(max) which can stored 2G size string. I have made a stored procedure Hellocw_ImportBookmark, but when I pass a big string to @Insertcontent , the stored procedure can't be launch! why ----------------------13------------------------------------- create procedure Hellocw_ImportBookmark @userId varchar(80), @FolderId varchar( ...Show All
Windows Forms How do you trigger the ProgressChanged event of the BackgroundWorker???
I'm having problems with the BackgroundWorker I am trying to have the background worker refresh my RSS Feeds in the background and I want a progress bar to show its progress. I added the backgroundWorker object to the bar below the form in the form editor, setup the three message handlers and added the code below to my form's class. The first messagebox is displayed but the second isn't. As soon as my code hits the ReportProgress line it immediately jumps to the RunWorkerCompleted function. The downloadWorker_ProgressChanged function is never called. If I remove the ReportProgress line, both MessageBoxes are displayed before the RunWor ...Show All
Windows Forms displaying multiple lines in textfield in crystal report
hello i have made crystal report that displays a certain table but one of the fields contains more than 50 characters so how can i dispplay this field multiple line in crystal report thank you for the help and for the time hello thank you for the help and for the time ...Show All
Visual Studio Team System Making work items forms read-only for a particular state.
Hi, Does anyone know the simplest way to make work items read-only Let's take the bug work item for example. Suppose it has the following states: proposed, approved, ready for incorporation and incorporation complete. When the state moves to "read for incorporation", the bug form for that one record must not be modified. I endded up setting scoping rules for each field by state. (There must be an easier way!). I did not expect the rules would take into effect immediate once the state field changed. So, if the description field was changed, and then the state set to "ready for incororation", the contents of the de ...Show All
