Software Development Network Logo
  • IE Development
  • VS Team System
  • SharePoint Products
  • Microsoft ISV
  • Smart Devicet
  • .NET Development
  • Visual C++
  • Visual Basic
  • Game Technologies
  • Audio and Video
  • SQL Server
  • Visual C#
  • Windows Vista
  • Visual Studio
  • Visual FoxPro

Software Development Network >> GrahamY's Q&A profile

GrahamY

Member List

Roy mm
Yuki Chen
spunky1a
Dennis Mulder - dennismulder.net
Joe Kurtz
Radim Hampel
Sascha Zeidler
1Dave
stallion_alpa
Speedy2171
Begemot
mortiz2112
ea1
Dror
RobDever
RichBar
killers
Michael Herman - Parallelspace
Bizzdreamer
COBOLBeginner
Only Title

GrahamY's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with: Detecting if a user clicked on a 3D object

    I'm rather new at working in 3d at this level but not exactly new to C# and definitely not new to 3D models... but I usually work with a tool such as Blender, 3DS or Maya. I have my simple mesh object and it displays just fine. When I use the sample code as a guide, I find that I need to make my own Bounding Box... and I understand the process in theory but applying it to the code is giving me fits. **************** Issue1: Using a Bounding Box with the dimentions of triangleBB in the sample causes this: Nullable < float > result = pickRay . Intersects(triangleBB); // Returns NaN regardless of where clicked. That's my shorthand... pasted code with what it results in after the comment.... Question... so why ...Show All

  • .NET Development How can I tell if I am being called from funceval

    Hello Mike, I have the same problem, but my situation does not involve multiple threads. I have written my own debug trace listener, so that I can display my own "Assert Failed" dialog. If I hit a breakpoint and examine a variable, the code being executed by the funceval sometimes fails an assert, and this tries to display my assert dialog. The dialog doesn't actually appear, but the funceval times out waiting for user input to the dialog. The funceval returns with "Function evaluation disabled because a previous function evaluation timed out", and then I can't continue and have to restart. How can my trace listener know not to display the Assert Failed dialog because a funceval is being run from a breakpoint Thanks i ...Show All

  • SQL Server Force client components using a commmand line installation to diffrent location

    Is it possible to force the SLQ 2005 Client Components to be installed into a diffrent location other than the default location What I'm trying to do is run the setup command though the command line to create an unattended client installation with all the client componets to a diffrent location that Thanks, Any information or examples would be great! There is a way to specify client component location is setup or on the command line but it can only be used for the first time SQL Server 2005 is installed on a machine. Once there is any product or instance of SQL Server 2005 on the machine this location cannot be changed. To specify the location on the command line you can use INSTALLSQLSHAREDDIR. ...Show All

  • Windows Forms Can I use UserControl as a TreeNode?

    Hi, I am trying to create a property window. The attribute in the property can be devided as several groups. So I decided to make use of TreeView. However I cannot find a way to use a userControl as a TreeNode. Can anyone help me As I said, the class needs to be a treenode, otherwise the tree class has no idea what to do with it. Once you create a class derived from treenode, you can draw anything you like in there. You need to override the classes paint event, and then draw as you please. There may be an ownerdraw property to set as well. ...Show All

  • Visual Studio Team System The "GenCheckinNotesUpdateWorkItems" task failed unexpectedly.

    Hi, I am testing out the team build features and I have come across this error. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning MSB4018: The "GenCheckinNotesUpdateWorkItems" task failed unexpectedly. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning MSB4018: Microsoft.TeamFoundation.WorkItemTracking.Client.UnexpectedErrorException: Cannot complete the operation. An unexpected error occurred. ---> Microsoft.TeamFoundation.WorkItemTracking.Client.ClientException: The process cannot access the file because it is being used by another process. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBu ...Show All

  • Visual Basic [OTP] vba access code entering break mode

    I have been running an application developed using VBA and Access 2000 for some time. It has a lot of querries, reports, forms etc. and it is scheduled to run early in the morning. From yesterday, probably half way through the execution it enters the break mode on its own. I know there hasn't been any code change and I regularly Compress and Repair the data as well. The size of the DB is now 806 MB. Any help on this will greatly appreciated. Thanks       This forum is for VB programming, not Access programming. You may be able to get some support from the Communities forums: http://www.microsoft.com/office/community/en-us/default.mspx dg=microsoft.public ...Show All

  • Visual Basic RectangleF.IntersectsWith - Precision?

    What precision does the IntersectsWith have regarding Rectangle vs. RectangleF I had assumed that since values for RectangleF were singles and not integers that this was also a factor in the IntersectsWith routine. However, consider the following example: Dim rect1 As New RectangleF(13.45, 5.15, 1.51, 1.51) Dim rect2 As New RectangleF(10.3, 5.15, 3.15, 3.15) Dim rect3 As New RectangleF(1345, 515, 151, 151) Dim rect4 As New RectangleF(1030, 515, 315, 315) MsgBox(rect1.IntersectsWith(rect2)) ' Returns True MsgBox(rect3.IntersectsWith(rect4)) ' Returns False This may be the expected behavior, but it created more than one problem with my current application. Thanks! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. When will the Content Pipeline be released?

    Can any XNA insider tell me the date the content pipeline released or when will the next version XNA GSE be released Although I'm really happy with GSE and Microsoft's free Express editions, I just want to add I agree with the previous poster. Begging in a forum usually doesn't work well but this time it's worth a shot: PLEASE don't let us wait until Christmas before we can unwrap this new great gift :) Even some additional preliminary documention would be nice. ...Show All

  • Software Development for Windows Vista Attaching to a file as it is being encoded

    Is it possible to attach a directshow AsyncSource to a file as it is being written I have a current application that allows for successful file playback when it can obtain an exclusive lock (using the attached source), but when I try to attach to a file as it is being encoded for preview, it is refused. HRESULT is 0x80070020, which translates to "The process cannot access the file because it is being accessed by another process." Thanks. HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **)&m_pGraph); ShowError("CoCreateInstance FilterGraph", hr); if ( SUCCEEDED(hr) ) { hr = CoCreateInstance(CLSID_AsyncFileSource,, NULL, CLSCTX_INPROC_SERV ...Show All

  • Visual C# Make characters into ASCII numbers

    Hi, I'm new to C# and I need help with some homework. I have this so far: using System; using System.Collections.Generic; using System.Text; namespace week3 { class Program { static void Main( string [] args) { char ch; int number; Console .Write( "Please enter a single character >" ); ch = char .Parse( Console .ReadLine()); Console .WriteLine( "The ASCII value of your character: " + ch + " is " + ( int )ch); } } } So how do I make to accept the character then output into a ascii value Hi everybody. To do simple conversions you need 'Convert' class and it's methods. Here is f ...Show All

  • Visual C++ Managed code compilation

    I know Native C++ makes a more resource efficent program than C#.NET or VB.NET; I also am pretty sure it makes a more efficent code than Managed C++ (correct me if I'm wrong) What I would like to know is if functionally equivalant managed C++ code is more efficent than C# code Thanks in advance. Not quite true. For Managed C++ and C++/CLI you have access to the same optimizer as native C++ and while the number of optimizations it can perform on managed code are limited, when compared to native code, it can in some cases produce better MSIL than the C# compiler (which has an extremely limited optimizer). Having said that we have seen some cases in which the C++ optimizer and the JIT compiler (this is ...Show All

  • .NET Development hashtable sorting weirdly

    Hi, I have an xml file that contains: < Project name ="A1"      value =" " />                   < Project name ="A2"      value ="K" />       < Project name ="A3"      value ="K2" />       < Project name ="A4"      value ="F"/>   and I am placing it in hashtable. one by one in a loop...   when I loop and view the hashtable it sorts them weirdly to:   Key: A3 Value: K2 Key: A2 Value: K Key: A1 Value: Key: A4 Value: F ...Show All

  • Visual Basic Run-Time error "5852' requested object not available

    We have been having a few issue with out test server and Microsoft patches.  Currently we have a production Win 2003 server machine running the application just fine, but after the test server received a patch from Microsoft we started getting a run-time error 5852 requested object not available.  Over the past three weeks of so we have rebuilt the server twice tried installing and uninstalling various things, only to get the same error.  So I am thinking that we need to find a way to code around this.  I get the same run-time error 5852 when we first ran on a new XP server, this was corrected via the following link in MS knowledgebase.  This other error we are not able to correct in the same manner.  Bot ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What are the recommended books and sites for learning C# so I can then make a game using XNA?

    XNA has made game development easy, but to use the XNA framework you still have to be able to develop with C#. You don't have to be an expert, but you do need to understand the basics of Object Oriented development and the general syntax for the C# language. That's great for those of us who are already developers, but there are a lot of people interested in XNA, that are not already developers (and some of them are developers who just haven't given C# a try yet). Every time a new game developer hopeful comes into the forums frustrated because they don't understand the code or where to start, we give them a generic answer about taking some development classes, find some books on C#, check out some C# tutorial sites or point them towards To ...Show All

  • SQL Server INSERT INTO Another table containing an automatically generate primary key won't work

    I am trying to insert record from one table to the other. The target table is empty. I want the primary key value to be generated automatically when the records are inserted. The primary key is a bigint = 0 increment by 1 Here is the transact code: BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON ; DECLARE @CodeOrganismeMEQ nvarchar ( 10 ); SET @CodeOrganismeMEQ = NULL; --DECLARE @Key bigint; INSERT INTO GVG_V1_Central . dbo . InstitutionScolaire ( InstitutionScolaire_UID , InstitutionScolaire_ID , Nom , Sigle , CodeInstitution , CodeSuccursale , CodeOrganismeMEQ ) SELECT NEWID (), WHAT DO I PUT H ...Show All

©2008 Software Development Network