Minherz's Q&A profile
Windows Forms How to find the Area of a Region
Hi Everybody.. I try to develope an Application with using C# und GDI+. Do you know how to find the area of a Path (or polygon or region) wit GDI Thanks... hope this helps you.. http://www.codeproject.com/books/1861004990.asp ...Show All
Visual Basic vb6 open chm file
Hi, I am at an end and am almost disappointed in myself as I cant work this out. I am running vb6, and on a simple form, there is a button, I also have a chm file. All I want to do is press the button and the chm file opens up, how hard could this be Ive tried the help.showhelp example and it doesnt work, it says compile error, I tried running the file as a shell e.g. Shell "helpme.chm" that didnt work. Can someone please shed some light on this please and help me out here. Thank you. These forums are for VB.NET and there are better places to find answers for older versions of VB such as VB6. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.v ...Show All
Visual C# Calling Event Issues??? Help!
When my form closes I want to fire an event that will do somethings....but i think i may be calling it wrong...Here is my method signiture...and this is the error.... [code languge="C#"] public delegate void frmClosing ( object sender, FormClosingEventArgs e); public frmClosing ClosingVendorDetails; public static void DisplayVendorDetails(System.Windows.Forms. Form ParentForm, BHFreight.Tracking.BusinessObjects. VendorOrderLegDetail _VendorLeg, frmClosing ClosingForm) { BHFreight.Tracking.UI.MainWindows. VendorOrderLegDetailsForm frmVendorLeg = new VendorOrderLegDetailsForm (); frmVendorLeg._VendorDetail = _VendorLeg; frmVendorLeg.LoadVendorObjectToForm(); frmVendorLeg.ShowDi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Open Source Engines Or DirectX?
Do You Prefer To Use Graphics Engine Or Start From Zero With DirectX Like your other question - this depends on what you want to do. A lot of AAA games now use engines (usually million dollar ones) because writing a high performance modern engine is a huge multi year large team job. It usually means you can get your game or prototype up and running much quicker. Many beginners never ship anything becuase of this curve. If you want to learn about how to do the nitty gritty details or you think you have a requirement the engine can't deal with then write your own. Though if you have the source for the engine, starting with the engine and modifying it for your requirements is also an option. ...Show All
Visual Studio 2008 (Pre-release) SecurityAccessDeniedException was unhandled - Access is denied.
Hi All, I got the following error message when accessing my WCF service from a windows application. The WCF service call the datalayer to perform INSERT in my databse. I dont have any clue where i am going wrong. can nyone pls help me a way out System.ServiceModel.Security.SecurityAccessDeniedException was unhandled Message="Access is denied." Source="mscorlib" StackTrace: Server stack trace: at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel ...Show All
Visual Basic Setting Dataview Rowfilter or Sort has no effect
I have a really weird problem in my code. I have the following piece of code. Dim MyDS As DataSet = dsOrder.Copy Dim dvOrderJOT As New DataView dvOrderJOT = MyDS.Tables(1).DefaultView 'Point 1 dvOrderJOT.RowFilter = "ItemLogistics=2" dvOrderJOT.Sort = "ItemSupplier" After Point 1, the dvOrderJOT has 3 rows, two of them has ItemLogistics as 2, one has it as 1 (this is an integer field). After the RowFilter is executed on the following row, the dvOrderJOT still has the same 3 rows. How on earth is that possible I've used the same technique elsewhere in my App with great success, although then the dataview was bound to a Datagrid and the filter was set on a string field. How could I debug ...Show All
Visual Studio Team System TF26202: Validation failed. Field "Iteration Path' not supported.
Writing a piece of code that creates a new Bug. I have the iteration and area information and want to save the new workitem with the Iteration and Area. However, when the save (workItem.Save()) is done, I get the TF26202 error. Here's a piece of the code that I am trying to execute: workItem.Title = title; workItem.Description = description; workItem[ "Rank" ] = rank; workItem.State = "Active" ; workItem.Reason = "New" ; workItem.Fields[ "Assigned To" ].Value = assignedTo; workItem.Fields["Area Path"].Value = areaPath; workItem.Fields[ "Iteration Path" ].Value = iterationPath; if (! string .IsNullOrEmpty(attachmentFilename)) { string co ...Show All
Visual Studio Team System WorkItemChanged event handler throws exception!
I wrote a simple handler for the WorkItemChanged TFS event. The registration went fine and the handler is called when the event is triggered. So far so good. But, as soon as I try to get the WorkItemStore object inside the handler method, a ArgumentException is thrown: Error: Cannot pass a GCHandle across AppDomains. Parameter name: handle , at System.Runtime.InteropServices.GCHandle.InternalCheckDomain(IntPtr handle) at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value) at CProdStudioObjectRoot.{dtor}(CProdStudioObjectRoot* ) at ATL.CComObject<CCurrURILink>.{dtor}(CComObject<CCurrURILink>* ) at ...Show All
Software Development for Windows Vista Turn "public" StateActivityDesigner class. Please
There are many people writing classes from FreeFormDesigner because can't write different designer to StateActivity, so there are many people writing the same code. If MS turn "public" StateActivityDesigner would will help us a lot. thanks RL Ok, I already put there. But nobody vote. So, if more people think that is important, please vote on link: https://connect.microsoft.com/wf/feedback/ViewFeedback.aspx FeedbackID=172667 Thanks! ...Show All
SQL Server AS2005? PeriodsToDate - How to release hand break?
Hi Yukon Gurus! I have a simple query with periods to date --Sample 1 WITH member [Date].[Calendar].[Column 1] as AGGREGATE ({ PeriodsToDate ([Date].[Calendar].[Calendar Year], [Date].[Calendar].[Month].&[2004]& )}, [Measures]. CurrentMember ) SET [RowSet0] AS {[Customer].[Customer].[All Customers]. children } SET [RowSet1] AS topcount ([RowSet0],100,([Date].[Calendar].[Column 1],[Measures].[Internet Sales Amount])) SELECT {[Date].[Calendar].[Column 1]} ON COLUMNS , CROSSJOIN ({[Customer].[Customer].[All Customers],[RowSet1]},{[Measures].[Internet Sales Amount]}) ON ROWS FROM [Adventure Works] It takes almost 40 seconds on my 3,0 Ghz bo ...Show All
Windows Forms VS 2005 and Excel ClickOnce problem
Hi, I create simple excel project w/o any code. I deploy with success but when I try to install I can’t do it. I try to install in different location, changing the version number, adding some assembly information, sign it - and its’ always the same error. PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://localhost/test1/test1.application ERROR SUMMARY ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to import a 3d Model in XNA framework?
Can anyone explain me howto import a 3d model in an XNA project In which format I have to export my model from 3ds max 7 What would be great now is if somebody posted a tutorial for loading and using SWM files, methinks it's a bit simpler than it looks - I'm just going off extracting the code from Space Wars at the moment to write some helper methods for it... ...Show All
SQL Server Report Viewer webpart did not work in wss 3.0
Hi, I just installed a fresh lab machine with WSS 3.0 and SQL 2005. I registered the RS web parts. In the home page I added the Reports Explorer and the Report viewer web parts. I set up the Reports Explorer and the list of reports are showed. When I connect the Report Viewer Web part to get report from the Report Explorer web part I get the maintenance WSS page. I have to delete the Report Viewer web part to have the page working again. If I use only the Reports Viewer with a report (not connected to Reports Explorer) is working just fine. Any ideas what could be the problem Any hints on how to investigate this is also much appreciated. Thanks, Dan Take a look at this; ...Show All
SQL Server Viewing Reports in a C# application
I have been using Microsoft Business Intelligence for 1st time. This software has been able to create my reports based on a table I have. But note, this report is built using Business Intelligence (Visual Studio). Now, the Report pulls data from a database. I also have a C# application that interfaces with this same database. What I would like to do is to display the content of this report in my C# application. How do I go about doing this Hi, have a look at this site: http://www.gotreportviewer.com/ HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Modelling large databases
Your post confirming that modelling will not be included in the first release is noted. Is this high on the list for the 2nd release Would it be sometime next year 2007 I need to model a sql server database with 3000 tables and about 1TB data. Most modelling tools are unable to cope with this scale. Am very excited by this addition to team system, any comments on the above Thanks Jim I cannot comment on future timelines or exact feature sets, we know this is a huge requirement. However we wanted to build a schema management foundation first that enables change management, version and deployment of schema's. Since we belive this is a key foundation on top of which you want to be build ...Show All
