Simulacrum's Q&A profile
Windows Search Technologies WDS 3.x keyboard shortcut
The default keyboard shortcut to search for anything in WDS 3.X is Windows key - Shift-F Is it possible to customize this I can't see anything in the options. That sort of does what I want. However, it's not all the way there. That opens WDS in a window. I would like to type Ctrl. + Shift + F and have it go to the WDS toolbar. How can this be done ...Show All
Visual Studio Suggestion - Context Menu: Override Behavior or Rule
Whaty would be nice is to be able to 1) Select Domain Classes, Relationships or Properties in a DSL metamodel diagram 2) Have a Context Menu: "Override Shape/Connector behavior" 3) The Toolkit would Find the related shapes and connectors Generate double derivation classes with appropriate namespace and uses registration of appropriate P roperty changed handlers seed for Property changed handler method contents (including proiperty values, enumeration types etc...) Same could apply for rules Cheers Alain That's an interesting suggestion Alain, So far we haven't added ANY one-shot code generators. We only provide code that is always regenerable. ...Show All
Visual Basic Help Adding Datagridview cell values and diplaying them in a total column
Below is the code I am using to add Qty and UnitPrice I am then displaying the total in the Total column. The code below is working, however I only see the updated total value if I enter and exit the Total cell. Is there a better way to do what I am trying to accomplish or is there a way to force the total cell to refresh when changes are made to Qty or UnitPrice Private Sub DataGridView1_CellValidating(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellValidatingEventArgs) Handles DataGridView1.CellValidating Dim varQty As Integer Dim varPrice As Integer Dim varTotPrice As Integer varQty = CType(DataGridView1.Rows(e.RowIndex).Cells("QtyDataGridViewTextBoxColumn").Value, Integer) varPri ...Show All
Windows Forms Drag and Drop between my application and windows explorer
Hello Gurus, I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some suggestions or sample code that does similar thing BTW, I am using Visual Studio.NET 2003 version. Thanks, Sathish Kumar I would like to drag files from the external windoes explorer and drop them onto my application. I too am currently using visual studio 2003 and it seems the DataFormats class does not pr ...Show All
Visual Studio Team System MS Project: resource name appears as two separate resources
I have a problem with commas in resource names with MS project integration to TFS. The KB 919232 fixes the problem, FIX: A resource name appears as two separate resources in Microsoft Project when you assign the resource name in Visual Studio 2005 Team System. This fix is reported to be included in SP1 . I have installed SP1 on the client and on the server. I checked on the version of the critical dll: Microsoft.TeamFoundation.OfficeIntegration.Project.dll. KB 919232 Version: 8.0.50727.167 16-Jun-2006 09:37 143,360 bytes TFS and client version: 8.0.50727.147 10-Mar-2006 09:37 143,360 bytes Do I have to install KB 919232 on top of SP1 to resolve this problem Hi Edward__: The hot fix kb919232 is incl ...Show All
Visual Studio Team System Project Alerts for Work Items Assigned to you
Is there anyway we can create a project alert to alert users whenever a new work item has been assigned to them Thanks, Maggie See here to fix empty subject line problem: http://blogs.msdn.com/jefflu/archive/2006/08/02/686268.aspx ...Show All
Visual Studio Team System Index was outside the bounds of the array using WorkItemStore
I've got a major problem with VSTS and everything that interacts with the Work Item Store (including creating new projects, running work item queries, creating new work items, etc.) generates a: Index was outside the bounds of the array. message within Visual Studio 2005. This problem isn't restricted to Visual Studio and also occurs if you try and interact directly with the WorkItemStore API. Here are the details from WinDbg if they are of any help: 0:000> !pe Exception object: 01e540b0 Exception type: Microsoft.TeamFoundation.WorkItemTracking.Client.UnexpectedErrorException Message: Cannot complete the operation. An unexpected error occurred. InnerException: Microsoft.TeamFoundation.WorkItemTracking.Client.ClientE ...Show All
Visual Basic filesystemwatcher event, wait for file to be filled with data, do until loop
I am using filesystemwatcher to monitor a directory for files. Once a new file is created, my program converts the binary file to ascii and does some computations on the ascii file. What is happening is that the binary file is created but has a file size of 0 bytes for a while until it is filled by the sensor (that time will vary). I tried to put the following code into my eventhandler (a do until loop) for it to delay a little bit (until the file size is greater than 300 bytes), but it never fires. It is capturing the new file creation event, I just apparently can't update the length variable (sFilelength)...and the file is 356 bytes. My code is below, any help is appreciated: Dim inputarg As String = e.FullPath 'this is the name ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision
Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All
Smart Device Development IR Command...
Hello, I need to make a program that receives a command from an infrared device... like a remote controller... is there any way of accomplish this can someone show me the way thanks... Hi That depends on various aspects like the way the IR device transmits its data (Serial over IR, IrDA...), the Windows Mobile Device you're using. Windows Mobile (and the underlaying Windows CE OS) supports 3 ways to access the IR port: IrDA Sockets: a managed API is available in System.Net.Sockets. IrDAClient (System.Net.IrDA.dll) IrCOMM (COM emulation over IrDA): use the .NET CF 2.0 SerialPort class to use this techology More infos are available in the MSDN library under http://msdn2.microsoft.com/en-us ...Show All
Visual C# How can I get the length of a remote file??
How can I get the length of a remote file For example, the url is www.abc.com/abc.rar , I want to know the length(bytes) of the file abc.rar, how to do that You would say just download it, clearly I don't like that way. Any help will be appreciated! The Stream object returned by the WebClient.OpenRead() method doesn't support seeking and thus not the Length property. Download is all you can do. For example: WebClient wc = new WebClient(); Stream stm = wc.OpenRead("http://www.google.com/index.html"); byte[] buf = new byte[1024]; int len = 0; int cnt = buf.Length; while (cnt == buf.Length) { cnt = stm.Read(buf, 0, cnt); len += cnt; } stm.Close(); Console.WriteLine("{0}", le ...Show All
.NET Development SchemaImporterExtension - machine.config
Hi! I created the derived class like shown in the sample. Now I can't get the debugger to step into my class. My machine.config looks like this (in contrast to what the sample is assuming I guess): < configuration > < configSections > < sectionGroup name = " system.xml.serialization " type = " System.Xml.Serialization.Configuration.SerializationSectionGroup, System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " > < section name = " schemaImporterExtensions " type = " System.Xml.Serialization.Configuration.SchemaImporterExtensionsSection, System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " /> & ...Show All
Visual Studio Trapping Ascii keypress events.
Hi, I want to handle Ascii key press events in my .Net 2003 plug in. I am able to trap arrow key press events but could not trap the same for ascii keys. There is only one linechange event in text editor, but what if one insert data in the same line.This will not raise any event. Is there any other way to do this. Kindly help me out please. Thanks and regards, Ruhina Parveen. I would just find some other way to do it, which is better integrated with the environment. Sure, you can subclass to your heart's content, but that is a really ugly hack. There is probably an event like that somewhere, although I doubt it triggers between clicking on the "save" button and actually saving it. If you think a ...Show All
.NET Development Error in using Registry function in C#
Hi, I am a beginner for C# program I want to write a program that is read the data from registry I have added " using Microsoft.Win32;" at the begining but when I try to start my code " RegistryKey rk = Registry.CurrentUser;" I meet the error "The type or namespace name 'CurrentUser' does not exist in the class or namespace 'Registry' (are you missing an assembly reference ) " Where does this error comes from and how can I solve it Thank you so much~ I have fixed the problem close the delete the project then create a new project.......... I don't know it work fine now hahahaha ...Show All
Visual Studio Team System source control
does visual studio team system for database professionals incude source control if yes, is the source control at the database level meaning if someone goes into Management Studio will they "see" that a stored procedure is currently checked-out and then they cannot modify that sp. i am looking at it from a full source control solution, for a sql server database, via Visual Studio Team System for Database Pro. that's was one reason for me looking at this product. But like now, with our team using Visual Studio and VSS, there exists a hole in the source sontrol solution. I cannot guarantee that the most recent version of an sp is in VSS or in the database. And I surely don't ...Show All
