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

Software Development Network >> Danny Thorpe MSFT's Q&A profile

Danny Thorpe MSFT

Member List

Caioshin
cipher2079
Farrokh Moori
twaltz
Data Base
Sutha Thiru
xxxmpsxxx
Alatar
JayaC
Harald Binkle
Jan Byvaly
los1975
aybe
lebedinsky
vtb
Umesh_DB2
Kallex
martinabc
Ken98045
tyler2424
Only Title

Danny Thorpe MSFT's Q&A profile

  • Visual Basic Problems with WebBrowser objects...

    Hi there! Could someone please explain why the following three functions return the same value WebBrowser_instance.Document.Body.GetAttribute( "scrollHeight" ) WebBrowser_instance.Document.Body.GetAttribute( "clientHeight" ) WebBrowser_instance.Document.Body.GetAttribute( "offsetHeight" ) I really need the object to return the right scrollHeight values. Regards, O That's exactly my point!! The numbers should be there... I just don't get it .... if there's an object that has (has got to have) an event handler that sets the scroll bars dynamically to some value (relative to it's contents), there MUST be some throwback for the scrollbars. !!!!! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Audio hoax

    I was just wondering whether the XNA framework somewhat more than using its internal icky audio engine based on prefabbed XACT packages, like writing PCM data directly to a buffer I'm not very far into game programming as of yet, but to me the use of XACT seems like a superfluous step in the work flow of a creating a game, or just an additional level to a game. Correct if I'm wrong, I've just read the documentation. First of all, wave banks, cues etc. can only be created within the XACT authoring tool, hence no possibility for integration other than using what's created in the tool. Second, apparently no reflection or discovery can be made on XACT packages in your client code to discover cues. Scenario: A level editor in which you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How good is directx normal calculation

    Hi; I've created a small (5 vertex by 5 vertex) heightfield mesh with adjacency information. The mesh is flat in the x-z plane, with a single overhead light. I raise a single point in the cente of the mesh, thus creating a small four-sided pyramid. I then recalculate the normals using mesh.computenormals.But instead of getting a symettrically shaded pyramid, I get an asymmetrical mess. The pyramid is fine, but the shading is wrong. As far as I can tell, this is actually the directx normal calculation going wrong -- perhaps because it doesn't use weighted vertices I've attached a picture of the result here. Does anyone know why it looks like this Is the default normal calculation really that bad or did I mess something up ...Show All

  • Windows Forms Changes at InitializeComponent()

    Hi, How can i disable the auto changes of the InitializeComponent() while i edit the form at design time Thanks, Tamir. ...Show All

  • Internet Explorer Development How can I launch IE in protected mode from a high integrity process?

    Hi All, I need to launch IE in protected mode from a high integrity process. I could launch IE with low IL using samples provided on MSDN, but its protected mode status is off. How can I launch IE in protected mode from a high integrity process Thanks, Mojo Hi, Mojo If you don't need to control navigation via IWebBrowser2 or use a WebBrowserEvents sink, then IELaunchURL will create a Protected Mode IE for you. If you do need consistent property or event sink support while navigating, then you may be out of luck until Microsoft releases a service pack to address current problems with automating IE through IWebBrowser2 and the interference that occurs with this approach due to P ...Show All

  • .NET Development Binary Serialization of CollectionBase

    I have just hit a brick wall whilst building custom binary serialization for my object graph. The issue I am having relates to the Deserialization of a collection. The "Designs" collection inherits from CollectionBase. The items stored in the Collection of the type "Design" The class "Design" Inhertis "PhysicalJobEntity" which Inherits "JobEntity" I inherit the class "Design" to create any type of object whether it be a truck, house or can of drink. So to paint a clear picture I will use an example. I create three classes "Truck", "House" and "Drink". All of these inherit from design. I run the app and create 1 instance of each of these cl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PIX crash when attempting to set shader variable

    I've got some code that works fine when not running via pix, how ever when i run it through pix it crashes. I've found that the crash is caused when i call either: SetResource or SetMatrix here is my code: void DX10Effect::SetTexture(EffectParamHandle handle, Texture* texture) { HRESULT hr = ((ID3D10EffectShaderResourceVariable*)handle)->SetResource( static_cast <DX10Texture*>(texture)->GetTextureRV()); int nothing = 0; } void DX10Effect::SetMatrix4(EffectParamHandle handle, const Matrix4& matrix) { HRESULT hr = ((ID3D10EffectMatrixVariable*)handle)->SetMatrix(( float *)&matrix); int nothing = 0; } EffectParamHandle is typdef'ed as a void* so hr = S_OK when ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Levels with XNA

    Hello, I'm looking to make my levels in 3D Studio Max however I have no idea how to get it working as a level within XNA. For example if I made a Office Building with 3 Floors a lobby, middle floor and an upper floor how would I go about making movement with a camrea when you go up stairs for example Or if you run into a wall so you don't go through, I'm looking to work a 1st person game with nothing but an office building and movement to learn from. Any help would be great! Maybe you should start out with something a bit easier There's some examples in the Help that go over getting a 3D model displayed. You might also want to take a look at the Space War Starter Kit that comes with GSE. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Ann: A "Proper" Text Rendering Component

    Hi! I'm just in the process of writing a proper text rendering component for XNA. It fully integrates into the content pipeline and can import any TrueType font during compile time. Just like any other XNA framework content, an .xnb file is generated from the font which can at runtime be loaded by XNA's ContentManager, eg. BitmapFont myFont = this .content.load< BitmapFont >(   "Content/Fonts/Arial" ); // ... this . myFont.drawText(   new Vector2 (100.0f, 100.0f),   "Hello World" ,   Color .White ); The component is still in development and there will likely be some changes in its interface, but it's already fully usable. If you want to give it a go, you can find the component here: http://www.nuclex.org/fra ...Show All

  • Windows Forms How to make a ToolStrip Calender Item?

    How to make a ToolStrip Calender Item which use a datetimepicker as its content Thanks You could put a DTP on your form, close to the ToolStripButton and set it's Visible property to False. Let the button's Click event set it to True... ...Show All

  • Visual C# Help a newbie! Converting VB6 to C#

    Hi All, I've been given the unenviable task of converting someone's VB6 code for an upload form into C#. I'm not doing to bad at the minute but I'm struggling with some of the conversion. For example I have the following code (in C#): ====================== Hashtable strLang = new Hashtable(); Hashtable strAllowedExtensions = new Hashtable(); private bool SetLang() //*** SetLang() //* Add language strings to the array collection //*** { strLang.Add("INFO_FILE_SPEC", "- Is one of the following formats {0}, and is no bigger than {1}"); strLang.Add("ERROR_MAXSIZE_EXCEEDED", "The CV is bigger than the maximum size allowed."); strLang.Add("ERROR_INVALID_FILETYPE", & ...Show All

  • Visual Basic CType Question

    Hi Is it possible to change the type of an object by passing a variable as the type name By this I mean: dim sType as string = "Integer" CType(myObject,sType) CType doesn't appear to allow this, is there an alternative command I can use Any help much appreciated Cheers, Jon Cheers guys! I've got it working now with a combination of both your answers so thanks very much for your help Jon ...Show All

  • Smart Device Development Adding Custom Today Screen Item

    Actually I need to add a "cutom today screen Item" to Pocket PC automatically when message has been reached to my messenger. I am presently working on Visual Studio.Net 2003( Compact Framework1.1). Actually I have tried this link: C:\Documents and Settings\Administrator\Desktop\malleswar\adding image\Creating a Pocket PC Today Screen Plug-in with the _NET Compact Framework.htm but for building Embedded Visual C++ (eVC) has to be used. If u know better way than this plz guide me. Today screen plugin requires native C++ code and you can use VS2005 to do your coding. You can also use eVC++. However MS is moving away from providing support to eVC++ platform. Manav ...Show All

  • Visual Studio Express Editions Unknown Error !!!

    i have copied my project from one computer to other and deleted the original one, but when i run the project in new destinaion i get this error message:   unable to find manifest signing certificate in the certificate store. kindly help me in this i have to complete as early as possible.... Check this thread ... ...Show All

  • SQL Server pls help with query and package.

    Hi, iam telling u the entire scenario source database = sf_stagingoutbound table = ap_address SELECT AddressSeq, eFolderID, AddressLine1, AddressLine2, City, State, Country, Postcode, AddressLine3, AddressLine4, County, Email, AddressDescription, EffectiveDate, Status, DeleteStatus FROM sf_stagingoutbound..AP_Address these are the columns in sf_stagingoutbound database ( table is ap_address) corresponding destination table is SELECT setid, vendorid, address_seq_num, effdt, eff_status, name1, name2, emailid, country, address1, address2, address3, address4, city, num1, num2, housetype, addr_field1, addr_field2, addr_field3, county, state, postal, geo_code, in_city_limit FROM ...Show All

©2008 Software Development Network