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

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

Gizmox

Member List

Steve Whitley
J Jakubik
ALFKI
tornin2
Ambalavanar
justme2005
Pockey
Ross Watson
duoshock
Rups11
c_shah
GregMaxey
roger5089
Liebethal
progames25
ivods
Keith Chapman
Mitch Wardrop
ImagineNation
Jim Shan
Only Title

Gizmox's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Creating a GraphicsDevice from WindowHandle in XNA

    The XNA Framework does all of the creating graphicsdevice work for you, which always takes up the entire surface of the form. In DirectX you can design your form anyway you like. Lets say, buttons at the top, a status panel at the bottom, and a nice sized panel in the middle. You could then create a DirectX device by passing that window handle to proper method. Does XNA expose method(s) for creating a graphics device manually ...Show All

  • Windows Search Technologies WDS 3b2 - file type list is truncated

    On one of the machines where I have installed the second beta of WDS 3, the list of file types on the advanced page stops at "mda". No extensions below that in the alphabet even appear, nor can I add them manually (when I do so, it seems to work but the the added extensions doesn't stick - the next time I open the file types setting page, it is again truncated). Running on XP home SP2 - and by the way, all the registered file types show up properly when viewed from the menu in an Explorer window. Thanks for any help Thank you Edward. Indexing Options CPL expects that all subkeys under HKCR give Administrators either read/write (default) or read permission. I wonder what could have stopmed on default permissions Tha ...Show All

  • SQL Server Query VS Stored Procedure problem

    Hello. I am having a strange problem with SQL Server 2005. I have written a SELECT query that contains unions, joins and group functions. when the sql query is run using t-sql statements, the query completed execution in about 10-12 seconds. When the same query is written in a stored procedure without making any changes in the SELECT query (only adding a date parameter), it does not generate any result. I waited for about 1 hour for the stored procedure to give me the result but it did not. Can anyone help me out with this problem Thanks in advance. Raza: Please provide a listing of your stored procedure. Dave ...Show All

  • SQL Server Problems Creating Database on SQL Srvr. 2005 Ent. Edtn.

    Posted - 12/17/2006 : 07:23:22 Someone found the problem with the above SQL query, and it was line 5 missing the \ after E: E: \ Sales_Data\SalesPrimary . mdf I have corrected that, however, now getting the message: Msg 5133, Level 16, State 1, Line 1 Directory lookup for the file "E:\Sales_Data\SalesPrimary.mdf" failed with the operating system error 3(error not found). Msg 1802, Level 16, State 1, Line 1 CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Anyone have any ideas ...Show All

  • Smart Device Development Type of file problem

    hi all, this might a simple question for u all, but i m not getting any way to find the solution. Actually i want to make it out whether the file is video file, audio file or simple image file. I dnt how i can get the type of the files. plz help needed. thanx in advance thanx for the reply. I asked for the solution coz i came to the function names GetContentType from the help, but its not available in .net cf. so any alternative for this or can i pinvoke it thanx in advance. ...Show All

  • .NET Development SQL LIKE QUERY WITH A PARAMETER

    I have a problem with a LIKE query in vb.net. I want to run a query which will output all of the usernames that end with a certain character. I need to use a LIKE query but I am not sure how to use a parameter. I have tried this: SELECT Username FROM TblUsers WHERE (Username LIKE '%= ') ORDER BY Username This does not work because it does not allow me to enter the value I want. If anyone can help I will be grateful. Thanks Hi there VMazur. Thanks for posting some help. The following error appears after the cn.open() part of the code: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can't get PIX to start any applications

    When I try to use PIX to get information on a D3d app, I always get a message box like this one: OptimizedMesh.exe - Application Error The application failed to initialize properly (0xc0000005). I assumed at first that it was caused by some error in my program (which runs fine on its own) or caused by the fact that I'm using VC++ Express 2005. But when I try it with the prebuilt exes in C:\Program Files\Microsoft DirectX SDK (April 2006)\Samples\C++\Direct3D\Bin\x86 I get the same results. No matter what kind of experiment I specify the application fails to open. Yet, they all run fine on their own. As shown, I have the April 2006 DX SDK and the Platform SDK for Windows Server 2003 R2. Windows XP SP2, ATI Radeon 9800 XT. Any help ...Show All

  • Internet Explorer Development GET data affecting margins

    Hi all, I have an utterly bizarre ie bug for you that i have never seen before... I'm currently creating http://dev.nano2hybrids.net and when viewing the site in internet explorer there is a ~5px gap at the top of the page. This isn't so strange in itself, but when any rubbish get data is added to the page url, it dissapears! Even a single does the job (see http://dev.nano2hybrids.net/ ) I initially put a negative margin in an internet explorer only stylesheet, but when there is get data, the page moves up and the top is hidden. All css padding and margins and the rest are set to 0, and the page displays fine in every other browser that i have tried. I have personally never seen this before, and can't find anything on the web about ...Show All

  • Windows Forms Insert product key to setup(.exe) file

    Hi, Does anyone knows how to insert product key to setup file. For example, whenever user want to install the product, product key is required to enter, just like installing VS2005. A couple of related threads: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=727749&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=733554&SiteID=1 and search (include this forum) for SerialnumberTemplate. ...Show All

  • SQL Server SQL Account lockout

    Hi Champs, Is there a way to recover from a account lockout in SQL2005 I cannot connect to "Database Engine" in "SQL Server Management Studio", error: login failed...18456. Access denied with windows auth. and also with SQL auth.. And I also cannot start the "SQL Server agent service" Any possebility to recover without reinstall /Many thanks The SQL agent service has nothing to do with SQL Server logon. Please check if the SQL Server service - SQL Server (MSSQLServer) windows service is running under LocalSystem account and try logging to the SQL Server as 'SA'. THT, Loonysan ...Show All

  • Visual Studio can't installing

    I am follow " Extensibility Guided Tour" article to make my msi file. But, when setup it then have messagebox " This is a VsPackage and Requires Visual Studio to be installed". Please help me.. thanks.. PS: I have PLK. What is the value evaluated for these conditions - DEVENV_COMP_2003 OR DEVENV_COMP_2005 I guess both conditions are pointing to registry entry. Am I right ...Show All

  • .NET Development Impersonation problem.

    Hi, I was hoping someone could help with a problem I'm having... The scenario is as follows. I have an appliation (VB.NET) running as a service on a machine and the service is running under the local system account. The service will fire of numerous threads at different times, each one relating to a specific job the end user has set up (it is a file archiving solution). When the user sets up a job they enter the details of the account they want the job to run as (eg."domain\username" and password). Once each thread is created it then impersonates the account chosen by the user for that job and goes about its work. However there is a problem... Although the logon call to "advapi32.dll" goes through ok, and ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. InvalidCallException in 3D primitives code attempt

    Hello, Lacking full examples in the docs, I threw together some of the sample code in the How to: Draw 3D Primitives section, probably incorrectly, and am getting an InvalidCallException on the following line: graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(PrimitiveType.TriangleList, 12, nonIndexedCube); The details of the exception are not helpful. They say "External component has thrown an exception." My code is below, hopefully this forum formats it ok, without smiley faces etc. Any suggestions appreciated. By the way, I am using an ATI Radeon Mobility X600 and had no problems compiling and running the Spacewar demo. - Matteus using System; using System.Collections.Generic; using Microsoft.Xna.Framework ...Show All

  • SQL Server Quick SQL Question?

    Hi Everyone: I am trying to create the following SP, but get an Error stating "Must Declare the scalar variable "@LoanApplicationID" eventhough I think I am declaring it. I am not sure what am I doing incorrect here, but a prompt solution would be appreciated. Thanks. Here is the code: CREATE PROCEDURE [LAFProcess] . [uspUpdateProcessList] AS DECLARE @LoanApplicationID int SET NOCOUNT ON SET TRANSACTION ISOLATION LEVEL READ COMMITTED SET @LoanApplicationID = ( SELECT TOP 1 LoanApplicationID FROM LAFPRocess . WorkList WHERE Status = 2 ) INSERT INTO LAFProcess . ProcessList ( WorkListID , CreatedOn , ProcessStartedOn , Status ) SELECT TOP 1 WorkListID ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Differences between Texture- and Texture2D-Class?

    what are the differences between the Texture-class and the Texture2D-class in xna thx Texture is an abstract base class for Texture2D, TextureCube and Texture3D. Texture contains the common data and methods that all the concrete texture classes share. Cheers, Leaf. ...Show All

©2008 Software Development Network