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

Software Development Network >> M Kenyon's Q&A profile

M Kenyon

Member List

mcland
asalcedo
bilsa
Dirk Haest
BIG S
Zooz
scottmonte
Bakerboy60
Jeff Blake
killerless
ones81
Amar-001
Cammyr
theycallhimtom
feiyu
Anand Raman - MSFT
Kat99
corolar
Jerry Hung
mike11d11
Only Title

M Kenyon'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

  • Microsoft ISV Community Center Forums Mac Pc compatibility with Excel VB

    I have a program I wrote in Excel VB that I want to be able to run on a Mac. However when ever I open the workbook on a Mac many of the user forms come up blank, and most of the string functions are undefined. specifically mid() and chr() functions. When I start a new program from scratch on the Mac the mid() functions work just fine. Is it possible to resolve these issues or are these lower level functions not compatible between both systems. PC excel vertion = Microsoft Excell 2002 (10.2614.2625) Mac vertion = Office X for mac There was a reference listed as missing on the Mac, it was "Microsoft Help Visuals 1.0". I removed it other pc and the methods seemed to still work fine. I ...Show All

  • Visual Studio Express Editions Cant compile directx or win32

    Hello, i am posting this because i have been reading a directxtutorial at riemers.net, and i cant proceed because i cant get code to compile. I followed the instructions on how to setup the windows sdk, and everything worked fine. I even got the code from the win32 template to work (when u select new project, win32 console, windows form application) But however, when it comes to compiling my own basic win32 api code, like showing a messagebox, i get annoying errors. This is the project code. #include <windows.h> #include <d3d9.h> #include <d3dx9.h> int int_AppRunning = 1; LRESULT CALLBACK OurWindowProcedure(HWND han_Wind,UINT uint_Message,WPARAM parameter1,LPARAM parameter2) { swit ...Show All

  • Visual Studio Team System Submit bugs or suggestions on Microsoft Connect

    These steps explain how you can file bugs and suggestions specifically for Team Edition for Architects and the documentation. We review these on a regular basis, so if you find a bug or have a suggestion, please submit them. Thanks! 1) Go to Microsoft Connect at http://connect.microsoft.com/default.aspx . 2) Sign up or log in to the site. 3) On the left menu, click Available Connections . 4) On the next page, click Visual Studio and .NET Framework . 5) On the next page, click Submit a Bug or Suggestion . 6) On the next page, click Submit Feedback . 7) In the Search Feedback box, search for the bug or suggestion. You need to search only once before you can continue. 8) If a duplicate does not exist, s ...Show All

  • Visual Studio Team System integration of 2 database

    im working on an online project. i have got 2 datbases. 1. bookings and 2. accounts. i want to insert the updated details of 2 tables of bookings to accounts.Accounts already have those tables.by using a class i hope to perform this operation.. could you suggest how to or any other idea to perform this operation VS TS for database professionals does not directly offer any such feature to integrate two databases, but by editing the scripts manually, it may be achieved, although not sure if it is a practical solution for you. Using schema compare feature, you may generate the schema update script, and alter it. Schema compare also facilitates skipping some schema objects which do not need t ...Show All

  • Gadgets Missing or Invisible Sidebar Gadgets

    Not exactly sure when or why but now my Sidebar is completely empty. When I add new gadgets to the SIdebar they simply do not show up. Is this due to some update I received that had an adverse effect on the sidebar area thanks Carline D. Long Jr. It could be a corrupt settings.ini file (%USERPROFILE%\AppData\Local\Microsoft\Windows Sidebar\settings.ini). It gradually corrupts over time and ends up with partial stubs of Gadgets in it. Since Vista went RTM, I've had to recreate mine 3 times. Looking at mine now, I have 5 corrupt entries in it. Try exiting Sidebar and rename settings.ini, Sidebar should recreate it when you load it again. So you know what the corrupt entries look like, here' ...Show All

  • SQL Server Newbie question RS API

    Functions... lines that start with = Is there a list of these functions (switch, Iif, etc..) that are for RS online somewhere Something like a Java API for example You can any use any VB.NET function (or C# if you use a custom .NET assembly). There are RS-specific functions . ...Show All

  • Visual C# What is Reflection ?

    This is not a coding question, but I want to know what exactly reflection is. If someone can give a code sample the way to do same thing with and without Reflection. Thanks, Harsimrat Hi I just do some coed with this part, as we can add controls by input its type name: for ( int i = 0; i < al.Count; i++)   {   string a= "System.Windows.Forms.Button" ;   //this can be stored in XML file                  System.Reflection. Assembly  ASS = Assembly .GetAssembly( typeof ( Form ));                 Typ ...Show All

  • Windows Forms Multi Option Installer

    I did a search but found nothing relating. I have VS2005 Pro, I am looking to create an install package that gives an option to install one of a number of ways. Example. Package has a control panel, setup app, and interface installed when complete is chosen, but I also want the ability to just install the Interface as one choice, and the control panel & setup app as another install. The components are all the same, but I want to have the ability to install the interface on a seperate PC than the setup app without having to install the complete install every time. This would allow 1 installer for my package no matter what the configuration instead of a minimum 3 different installers. Anyone Or so I have to bite the bullet and get ...Show All

  • SQL Server control flow of execution of statement

    is there a way to check to see if the previous sql statement has completely executed before executing the next statement I have a stored procedure that basically has several insert statements. At the end of the insert statements I call bcp to write the table to a text file. The first insert will write a header record into the table. Then it will insert a bunch of records that are selected from other tables and then lastly will write the footer record. My dilemna is that for some reason the first insert of the header record isn't actually happening until the middle of the second set of inserts where it inserts several records from another table. so basically my file ends up looking like this payment record payment record payment r ...Show All

  • SQL Server Query issues

    Hello! I am having a problem with a query a co-worker wrote for me amd now hes on vacaton and I need to use it! I have no experience writing queries. this is what he left for me : EXEC FmtOnly ON spReport132 @AsOfDate, @Position and for some reason I keep getting errors when trying to create a report. I am not sure if it is the query itself,or if I am doing something wrong.....ANY ideas Thank you in advance! Sheidee Look for the passed in (or out) SQL_Variant and cast the value to the appropiate data type first. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Keeping game graphics the same size over different resolutions

    I implemented a virtual pixel system in Buttermilk to try and keep all the graphics of a game the same size no matter what the preferred back buffer resolution was. Unfortunately, due to accuracy problems with SpriteBatch.Draw's int-based coordinate parameters, cracks keep appearing between my tiles, and tiles sizes shrink / grow depending on how the float coordinate value of the tile translates to the int-based coordinate parameters. I've tried all different kinds of Math routines (Floor on the pos, Ceiling on the Size, Round on everything, etc etc etc) but nothing work as well as it needs to. So, I'm probably going to completely abandon the virtual pixel system. It's just not working at all. But, I still need some way to keep game ...Show All

  • Visual Studio Express Editions incremental linking is impossible, help please

    hi, I have been struggling with this problem for over 2 weeks, and i was told in one of the forums to try here. so here is my problem: I installed visual c++ 2005 express edition, and it works fine except the fact that it seems it has not incremental linking, it seems that for some reasons, it can't access the .obj files and update them (when I check their modification date, it shows the one from the last REbuild). I even disabled Norton antivirus and Zonealarm, thinking that they might have something to do. I have no clue what to do, and the size of my project makes impossible for me to live with this problem anymore. I can't wait for the whole source to REbulild after each modification !!! please, do you have any suggestions. I g ...Show All

  • .NET Development Passing a Form handle to a class constructor

    I'm just starting to use Managed C++ and .NET. I'm still in the early learning stages. Basically, I have a Window Form that has a value for MyClass to use. I thought I could use the following code to pass the Form1 handle to the Myclass constructor. First, the compiler says MyProgram is not a namespace. I've placed the using namespace into the MyClass.h, but this dosesn't help I think it may be a chicked before the egg kind of thing, but want to make sure I'm not missing something. Currently, I have a private member method within the Form1 class called setMyClass( ^Form1 ) which works but this doesn't seem very OOP to me. //---MyClass.h--- #pragma once public ref class CMyClass { public: CMyClass( MyProgram::Form1 ^hFor ...Show All

  • .NET Development Field2 in "Order By Field1, Field2" clause ignored

    Greetings, I use the Microsoft.Jet.OLEDB.4.0 provider in a C# app to perform a query like the following on a Microsoft Access 2002 db: SELECT Items.PartNumber AS PartNumber, Items.Type AS Type, Items.Serviceable AS Serviceable, Items.ChangeLevel AS ChangeLevel, Items.IllustrationPath AS IllustrationPath, Items.IllustrationVolume AS IllustrationVolume, ItemDescriptions.LanguageCode AS LanguageCode, ItemDescriptions.Description AS Description, Nodes.NodeID, Nodes.ItemID, Nodes.ParentNodeID, Nodes.DefaultQuantity, Nodes.Depth, Nodes.NodePath FROM Items, ItemDescriptions, Nodes WHERE Nodes.ItemID = Items.ItemID AND Nodes.ItemID = ItemDescriptions.ItemID AND Nodes.Depth < 5 ORDER BY Nodes.Depth, Nodes.NodePath Except in the orderin ...Show All

©2008 Software Development Network