technoTABLET's Q&A profile
Windows Forms multi select in grid
Hi friends i've dataviewgrid with data from sql server db. our select can multi select on the grid. my question is ,users may sometime forget to hold Ctrl key and they loose all previous selections. and they have to redo all those selections again. am just wondering is it possible to have checkbox for selection (like in listbox) in grid Thanks for ur ideas I'm no expert on that sort of thing, but the only (nice) way I can think of to do this would be to override the default functionality of the DataGrid by extending it with your own class, or by placing the DataGrid into a custom control and taking over handling mouse clicks with your own wrapper code. Not very specifically helpful I know, but maybe some ideas that will help ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA sprite behavior -- weird side effect
Hello, I'm new to XNA as well as DirectX and am experiencing some weird side effects when drawing a sprite that I can't account for. I have a 3D ship that I can fly around using the Xbox360 controller (completed the XNA tutorials 1-3) and decided to see if I could implement pausing. Well, i got everything working how I want it and even made a 2d sprite that loads a texture asset and draws it to the screen when the player pauses (just a blue rectangle with the word "Paused..." written on it). That works great too, except by drawing the sprite to the screen my 3d model suddenly becomes semi-transparent! Even when the sprite is no longer being drawn the model remains semi-transparent until I restart the game. I am developing i ...Show All
Windows Forms UserControl custom property and UndoEngine
Hello, I have a user control that has a custom property added to it. To make it simple the property is a bool. I have a basic implementation of UndoEngine that works fine. When I delete a control from the design surface, and then "Undo" that, the Control comes back just fine, but the custom property is back to its default state. I've done quite a bit of research on things but haven't come up with anything helpful yet, so I'm here for more assistance from the experts. I've played with the Localizable attribute for the property, but that doesn't work either. Thanks again for the help. Ken Sorry for the delayed response. I tried what you suggested and had the same results. However ...Show All
.NET Development Remoting event.
i have made a remote app. server generate event on client side. it's working well. Now i have redesign remote server under the window service. problem is that it's not generate event at client side by the server. without window service it's running well. we can generate event under the window service . Thanx RomanGuzi, You r right but problem is that ..... Find() method not directly find the result. It's also wait an event from the other server. After generate the event by the other then it's generate event for remote client. Plz Help. ...Show All
Visual Studio Tools for Office "Go live" with a share add in application
Hello. I've developed a shared add in application using Visual Studio 2005. Does anyone know how I install the addin on a computer that doesn't have Visual Studio installed... I'll be happy for any answers :) Thanks Yes of course. If you are writing a managed add-in then you need an eniv (.net 2.0) to execute it. You need to copy all the dlls that you reference, to the client m/c. Whether they are PIAs or any other dlls. You can choose to GAC all the dependent dlls. Hope this helps Regards, Pavan ...Show All
SQL Server linking tables from different databases
Hi.How could i link (join) the tables from different databases I couldn't bring the tables from different databases into a dataset.Could anyone help me Already answered in post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=541263&SiteID=1 HTH , Jens Suessmeyer . --- http :// www . sqlserver2005 . de --- ...Show All
Visual Studio Express Editions But
Is there a way not to install a net framework 2 on the computer where the published program will be installed. A need a way how tell the compiler the files that need like system or system.data etc... but not installing the net framework unfortunately not, you NEED to have the .NET Framework installed for your .NET Developed application. you cannot just copy over the files as not only will it violate the EULA but also it wont be correctly registered and installed in order for the application to use the .NET assemblies. you need to install the .NET Framework on the destination computer, regardless ...Show All
Visual C# Works in Debug but not Release.
Hi everyone, Today I came across this weird problem in a smart client applicatoin project. There is a function which saves information to the database using datasets (not the best solution! but in process of refactoring). Well, the problem is that the function works in debug mode and it saves the info but in release mode one of the values changes therefore wrong information is saved to the database. I've already checked the execution path for processor directives such as #if DEBUG #endif and... nothing's wrong. As far as I know the only thing which may change the application's behaviour in runtime can be processor directives. any idea your help is appreciated. Thanks I suggest you debug the release b ...Show All
Audio and Video Development Extending Classes in HDi - not working in Emulator
We're seeing some weird behavior on the Toshiba Emulator. Object oriented javascript runs well in HDi - you can have multiple extensions of a class and they act as expected. However when this script was run in the Emulator all extended classes act like the very last class loaded. So for example if a Food class is extended to veggie, fruit and grain; in they Emulator they all act like the grain class (assuming it was the last one loaded). Am I missing something in the ECMA spec that prohibits object oriented javascript You can read Part 1 and Part 2 of my series on my blog (I still haven't finished writing Part 3...): http://blogs.msdn.com/ptorr/archive/2006/06/13/630208.aspx http://blogs.msdn.com/ptorr/archive/2006/06/19/63819 ...Show All
Visual Studio Team System Error when creating new Tam Project
Team, I can connect to the TFS server and perform all activity except create a new team project. Here is the log file 2007-02-19 12:35:41Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.468699 seconds 2007-02-19 12:35:41Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0.5624388 seconds 2007-02-19 12:35:43Z | Module: Internal | The template information for Team Foundation Server "TeamFS" was retrieved from the Team Foundation Server. | Completion time: 2.1560154 seconds 2007-02-19 12:35:43Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 2.2028853 seconds 2007-02-19 12:35:49Z | Module: Engine | Thread: 8 | New project wil ...Show All
Visual C# BeginInvoke and resource leaks
From Jeffrey Richter's "CLR via C#": "You must call Endxxx or you will leak resources. CLR allocates some internal resources when you initiate asynchronous operation. If Endxxx is never called, these resources will be reclaimed only when the process terminates." This is written about functions like BeginRead and EndRead. Is this correct also for delegates For example: public delegate void SomeDelegate; ... SomeDelegate someDelegate; ... someDelegate += subscription; ... someDelegate->BeginInvoke(); If I never call someDelegate->EndInvoke, does this create resource leak, as written in the book According to Richter, the only Beginxxx function which doesn't require Endxxx is Control.BeginInvoke. I can use Control.BeginInvoke ...Show All
Visual Studio 2008 (Pre-release) WPF Beginner Question
our user base currently uses an ASP.NET web application. they are really happy with the 'look and feel' of the web pages. we want to move our users over to a .NET smart client application. however, my main concern is that our users will view the user interface as taking a step back from the existing web page layout. is it possible to build a .NET 3.0 application which has a friendly, scrollable user interface which looks closely akin to our existing web page layout, so that the users will not be put off or is this not recommended practice is this not standard practice where can i look at some demonstrations showing some recommended practice user interfaces for .NET 3.0 apps thanks These links ...Show All
Windows Forms Duplicating the contents of a treeView
Hello, I have 2 treeView controls on my form. Can you please tell me how can I copy all the nodes with the same structure from treeView1 to treeView2 Note: I'm using .NET 2005. Your help would be greatly appreciated. DMan1 wrote: tv . Nodes . CopyTo ( MyNodeArray , 0) tv1 . Nodes . AddRange ( MyNodeArray ) That will give you an exception with the message "Cannot add or insert the item 'somenodename' in more than one place. You must first remove it from its current location or clone it. As well, that only copies top-level nodes, it does not traverse the tree. ...Show All
SQL Server lookup task running very slow when deal w/big tables
I try to convert a Procedure that join 8 tables with INNER AND OUTER JOIN, my understanding is that the Lookup task is the one to use and I should break these joins into smaller block, it takes a long time to load when I do this, since each of these tables had 10-40mill. rows and I have 8 tables to go thru, currently this Stored Procedure took 3-4min to run, by converting this to 8 Lookup tasks, it ran for 20min. has anyone run into this issue before and know a work around for this. Thanks Are you aware of the different caching types of the Lookup Tranformation by default the lookup caches the whole data set from your lookup table/query; if you are not using a query to limit the number of columns/rows ...Show All
Visual Studio Team System forward Engineering - Can't locate the UML>code when in Visio
I am new to VSTS andVisio 2003 Pro - I have a current diagram created in Visio and I want to forward engineer into SQL - I am using Books online and it instructs to Select UML>Code from the menu - I see the UML but not the CODE in the menu - Why. I downloaded the trial version of Visual Studio Team System - is this something I should be able to do or am I doing something wrong. k When using Visio Enterprise Architect, for which Databases can you generate DDL Specifically, can you generate MySQL DDL Thank you, Claudia Zeiler Database Administrator SRA ...Show All
