TTE's Q&A profile
Windows Forms Design Time Events
How do I go about creating a control whereby I can drop it on a form and then find what other controls are on the form (at design time). I am trying to create a control which sits in the ComponentTray and when the user clicks it, it relects through the container form and shows all the controls on that form. Does that make sense Regards Si Thanks .... eaxctly what I needed! Regards Si ...Show All
Visual Studio Visual Studio 2005 Documentation Missing...??
I have installed Visual Studio 2005 standard edition. Every thing works ok except for the documentation item. When I choose the documentation item from the start menu I get a page that has links for "How to install help for Visual Studio" and "Visual Studio 2005 Combined Help Collection". When I click the first link it says to put the install CD in and choose to install product documentation but there is no such option on the install CD. When I click the second link there is a line at the bottom of the page like this...."Collections available for inclusion in VSCC:" but there is nothing there and the update VSCC button is disabled. I need to ...Show All
Windows Forms how to pick up item from combo box and display detail in data grid?
how to pick up item from combo box and display detail in data grid From example, from customer combo box, I select a customer "John", I like data grid display order detail about John's order. Data grid is a dataset which is query based on two tables: order and customer. In order table, there is only customer's ID in it. ...Show All
Windows Forms Class Event triggering a method on a Form...
Hi all, i have a Class that handles Barcode scanning functionality, and a Windows Form that contains an instance of this Barcode class. One of the Properties of the Barcode Class is an Event, which is triggered when the user executes a successful barcode scan. What I want is to be able to somehow call a method belonging to the Form from within the handled event that sits in Barcode class. How can I do this The extremely watered down code is below... // Barcode Class class clsBarcodeScanner { // Declare and initialise EventsHandlers. private System.EventHandler MyEventHandler = null; private bool InitReader() { ...Show All
Software Development for Windows Vista xoml specs or xsd?
Is there any specs or schema for xoml available for download Thanks Unfortunately the xoml spec in Beta1 is not finalized and there is no schema available for download. Is there any way I can help you with your solution in the meanwhile ...Show All
Windows Search Technologies How to kill a process that is not even listed in task manager?
Hi, I'm having a problem to kill a process. For your information, the process is not even listed in the task manager. I would like to delete that particular file, but it seems like there's a process of software currently associated with that file. When i try to rename, move or delete that file, an error came out saying: "Cannot delete filename: It being used by another person of program. Close any programs that might be using the file and try again." For your information later, i am remoting this computer from my site. I don't know wether by restarting the server would solve this problem, as if that the only one thing i wouldnt want to ...Show All
Visual Studio Team System Where is the reference about CommonStructureService.asmx?
Hello! I'm interested about using the method CreateProject() available under the CommonStructure web service but I can't find any reference about it. Can anyone help me about that Regards, Max As I have read, the recommendation from Microsoft is NOT using the webservices for integration, and use the object model instead of the web services, this object model, communicates also via this webservices, but you will find more documention, and it will be easier to use than this web services. ...Show All
Visual Studio Team System Diagram designer orders?
Hello I was trying a little about the new diagrams on vs 2005 but I just dont know which os the correct order to use them, application and logical and system designer all of them seems to be the same The only one different to my eyes was the deployment diagram Which should be the correct order of implementing each one of these diagrams Any links or recommended reading about each one of these diagrams What about if my Iis server is algo going to have sql 2005 express, Do I need to make 2 different logical servers I think the answer is yes. I am trying to make a generic product with vs 2005 and sql express, the idea is that when I fi ...Show All
Visual Basic Radio Check Options in Menu Strip?
First off, I'm completely new to the world of Visual Basic. I took a little break from programming for about 20 years :) What a change... and THANK GAWD! I'm trying to keep current in my studies and am using VB.NET 2005 beta 2 at the moment and training with App Dev's VB .NET course... I've got the basics down, nagivation, understanding of objects, properties, etc... but for the life of me, i can't find what i'm looking for... and what I THOUGHT may have been a slight change in naming of properties... was not the solution to my dilemna... at anyrate... My question is.... Does the 2005 version support the radio check boxes as it did in 2003 ...Show All
SQL Server Multithreaded run of SSIS packages
Is it safe to run several SSIS packages in parallel in a multithreaded application The package objects are not accessed from multiple threads: every thread is handling its own package (see below). void task_inside_thread() { System::String ^s = "..."; Microsoft::SqlServer::Dts::Runtime::Package p; p.LoadFromXML(s, nullptr); // callback handler MyEventsClass ^ eventsClass = gcnew MyEventsClass(); DTSExecResult result = p.Execute(nullptr, nullptr, eventsClass, nullptr, nullptr); return; } Is there any relevant documentation with respect to this issue Thanks, Bogdan I wor ...Show All
SQL Server Assigning the value of variables in a Subpackage
Hi, I have a parent SSIS package that executes various subpackages. Each of the subpackages contain variables that are required for their successful execution, e.g. one has a variable of datetime datatype and a variable of varchar datatype. This date will essentially change with every running of the package as it specifies the date that additional data has been added to the back-end SQL Server 2005 database. I can't find anything in the expressions of the Execute Package Task that would allow me to pass these variables into the package. Can anyone advise Thanks, Paul Look at the documentat ...Show All
Software Development for Windows Vista This workflow,how can I present it using WWF?
I am working with a document approval workflow,when a document is created,it will be submited to serveral departments,these department will always change,how shall I devise this workflow using WWF only after all these approvers have done the approve action,the document 's state can be changed to approved,if one of the approvers reject it,the document's state will be changed to rejected.If one of the approvers delay the action,the document's state will be changed to rejected too. anyone can help me,I have thought for a long time,but have no answer. ...Show All
SQL Server Service Broker Security Question
If I have a stored procedure that is reading data in one database and writing it to another database (same instance) are there any extra grants that I must do. I do have a user created in both databases with the same certificate (backup and create certificate from the file system) and I've done the GRANT AUTHENTICATE TO [SessionsServiceProcedureAudit] ; GRANT EXECUTE ON <the cross database stored procedure> Gary Are you talking abount an activated stored procedure trying to execute a stored proc on a different database In this case you are not dealing with Service Broker securit ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Collision Response Flaws
Hello, I'm trying to make a spaceships shooting game with view from the top. Anyway, I'm using spheres as bounding volumes, so my collision detection consists just from whether the distance between spheres' center is smaller than their radiuses together. As a collision response algorithm I used one from this webpage: http://www.gamasutra.com/features/20020118/vandenhuevel_03.htm However, there happens to be some incorrect reactions, specifically that there is no bounce, while they are overlapping. This happens mostly when one object is almost standing still.Moreover I am omitting Z-axis, because all of the objects are on the same - ...Show All
.NET Development System.IO.Compression not as good as compressed folder
I'm getting much better compression when I make a compressed folder (Windows XP) than I am using DeflateStream or GZipStream. I thought these were the same algorithms used in PKZIP and for compressing folders. Why such bad compression DeflateStream: 3544Kb -> 1261Kb GZipStream: 3544Kb -> 1261Kb Windows XP: 3544Kb -> 804Kb So how can I get the same compression ratio as Windows XP Thanks, Jeremy The problem does not exist in NetFX 3.0 because it didn't exist in version 2.0 either. The DeflateStream object applies the Deflate algorithm to data on a stream - the d ...Show All
