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

Software Development Network >> D.Jones's Q&A profile

D.Jones

Member List

chris bax
Amy__
Alastair Q
Patrick.I
Roberto82
vijayan n
Nikita Mironov
NoEgo
Kris M.
Participant
CruzPedro
kshill
Basel Al-Khateeb
chrisb2
is98
fpizzolo
RichLeyshon
Kiler
JayaC
MarijnStevens
Only Title

D.Jones's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. loading textures "in game"

    Hi I know how to load a texture when the game starts, but how to load a texture when the game has already startede ex. 10 min in the game Losing the device happens when you switch over to another application, minimize the window, change monitor resolution, etc. XNA automatically handles these device resets with its content manager. You don't need to do anything special to reload the resources you've loaded with the content manager. I've tried all sorts of things, even locking the computer, and when I come back, it's always still there. However, with manual resources, you will need to dispose of them when you lose the device, under UnloadGraphicsContent i believe, and then reload them when you regain the de ...Show All

  • Visual C++ Creating an Avi file

    hello, I found some sample source code showing how to create an Avi file from a series of still images. What components, libraries, SKDs, must I download in order to compile and run functions such as CreateAvi() I'm running 2005 Express or VC 6.0. Thanks. check out msdn http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_video_for_windows.asp Kuphryn ...Show All

  • SQL Server Finding the last previous Non-null member (MDX)

    I have a problem, that at first I thought was a fun challenge, now its getting irritating as I haven't been able to figure out how to deal with. Its easiest to show by example - imagine the stock market.. for a stock MSFT, we have Date, Open, Close etc etc. What I would need is a calculated measure for "Previous Close". The problem is weekends and holidays etc have no data (of course). So for Monday you'd want the "Previous Close" measure to show the Friday close... unless of course Friday was a holiday (Good friday) then thursday etc. You get the idea - basically traverse up the Close measure until you get a not null value (unless its the very first date something appeared). If you use the NON EMPTY clause you ca ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Short video of Gamefest Keynote found

    Hello everyone, Found a highlight video from the Gamefest keynote, it is posted on Paul Mooney ’s blog direct links can also be found on my blog . Space Wars really looks good, nice work for 3 weeks.   I am hoping we can find video of some of the presentations or reports about them.   Update: The whole video is now up and is found here , thanks to Gamescore Blog  low bandwith here Arrggggghhhhh! Work....filter.....blocking! Guess I'll have to wait until I get home to check it out. ...Show All

  • SQL Server Error 1203

    I am running a script on a schedule and I get this error quite often: Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000] (Error 0) Process ID ## attempted to unlock a resource it does not own: OBJECT: ## . Retry the transaction, because this error may be caused by a timing condition. If the problem persists, contact the database administrator. [SQLSTATE HY000] (Error 1203) If I keep rerunning the transaction, it will eventually succeed. I am running SQL Server 2005 with SP1 installed. Does anyone know what this means and what would cause it to fail sometimes and succeed other times Thanks This often indicates some sort of corruption in yo ...Show All

  • Commerce Server Controls\ProductList.ascx

    I have added new columns to the data grid and am now adding new Template Fields to the code behind the page. My question is how do I reference a field I added to the ProductDefinition (so a custom field). All of the code snippets I tried don't seem to work. 1. Container.DataItem["xxyfield"] 2. (CatalogItem)Container.DataItem["xxyfield"] 3. ((CatalogItem)Container.DataItem)["xxyfield"] I also tried creating a function and used item["xxyfield"] Please Advise. Hi, Try using: <%# DataBinder.Eval(Container.DataItem, "DisplayName").ToString() %> Regards, Brad ...Show All

  • .NET Development Loop SelectSingleNode

    Hello, I need an example of how loop correctly in ASP.Net 2 to get each Xpath of ShippingAPIResponse/AddPacakgeResponse/PieceTrackNo PieceTrackNo will be from 1 to many depending on the number of packages shipped for each order, I would need to get each TrackingNo, PeiceNum etc for each PieceTrackNo Element(I guess it is called Element) < xml version="1.0" > <ShippingAPIResponse> <AddPackageResponse> <SONum>941823-1 </SONum> <Status>OK</Status> <StatusDesc>Transaction Successful</StatusDesc> <OrderProbill>36</OrderProbill> <Carrier>USPS </Carrier> <Service>5 </Service> <PieceTrackNo> <PieceNum&g ...Show All

  • Visual Studio Team System Licensing question - Trying to setup user up for CAL accounts

    Havent had any luck with this on Volumen Licensing website. How does one setup users to use the CAL accounts Thanks, staffan Purchasing a Team Foundation Server CAL gives you the right to install Team Explorer, which is the client interface for Team Foundation Server. For help with installing Team Explorer, see the Team Foundation Installation Guide . ...Show All

  • Windows Forms Stored Procedure Syntax Error

    Dear All, I tried following syntax to create Stored Procedure in Access db. But, it is not creating. is there anything wrong in the syntax CREATE Procedure ProductDetail ( @ProductID nvarchar (50) , @ModelNumber nvarchar (50) OUTPUT , @ProductName nvarchar (50) OUTPUT , @ProductImage nvarchar (50) OUTPUT , @UnitCost money OUTPUT , @Description nvarchar (4000) OUTPUT ) AS SELECT @ProductID = ProductID, @ModelNumber = ModelNumber, @ProductName = ProductName, @ProductImage = ProductImage, @UnitCost = UnitCost, @Description = Description FROM Products WHERE ProductID = @ProductID Thanks 'Create The Following Query in the MS Access DB File SELE ...Show All

  • Visual C++ Program just quits

    I'm am just running simple programs right now. For example the hello world code, but i never get to see if it works or not. After it compiles the black window comes up then it just quits. If i put in another command after like cin then the window stays up and i can see the hello world. What can I do to fix this. Hmm, let's compare our test apps. Mine is: #include <iostream> void main() { std::cout << "Hello World" << std::endl; std::cin.get(); } And that keeps the console until I press <return>. How does your app look like. Might it cause an exception that crashes the app so it never reaches cin.get() -- SvenC ...Show All

  • Visual Studio 2008 (Pre-release) Potential Bug: IPv6 + ServiceHost + NamedPipe

    I've noticed something unusual. When creating a ServiceHost and passing this for a base address: net.pipe://[::1]/servicebase It is expanded to the full IPv6 address: net.pipe://[0000:0000:0000:0000:0000:0000:0000:0001]/servicebase The named pipe transport then fails to identify this as a local address and authentication operations fail. Whether the abbreviated form is used or not, the expanded address or any intermediate variations should still be considered local. ::1 0::1 0:0:0::0:1 0000:0:0::0000:1 etc. Kenny, thanks for clearing that up. I didn't realize I had to specify an SPN for named pipes since they're all local. As I'm not that familiar with setting SPNs, I hope you'll indulge ...Show All

  • Visual Studio 2008 (Pre-release) FaultContractAttribute , May 22 Build With Go-Live

    Hi, We are using the May 22 build of Wcf. This is a version with a Go-Live license. I've noticed that the FaultContract attribute can only be aplied to methods in this build. http://windowssdk.msdn.microsoft.com/en-us/library/system.servicemodel.faultcontractattribute.aspx The documentation here ( http://windowssdk.msdn.microsoft.com/en-us/library/ms733721.aspx ) has a section "Faults for the Entire Contract" For convenience, it is possible to apply the FaultContractAttribute attribute to an entire service contract as opposed to an individual operation. In that case, every operation in the service contract is able to return that type of fault. For example, in the following contract, any operation can return a MathFault: ...Show All

  • SQL Server "OnGroupChange" event?

    I find that I regularly need to evaluate all the rows in "data groups" within the pipeline and execute script based transform logic for each grouping (aggregate transform does not provide script access to the data). I do this in script by sorting the pipelined data on some key columns to define the groupings, caching the key values as the rows pass through the ProcessInputRow procedure, and running logic that compares the current row's key values as each row passes through the transform with the previous row's key values. When they differ I know I have a new group (special casing for the very first row in the pipleine), so I perform my transforms with cached data from the previous group . This works but I am thinking this ...Show All

  • SQL Server Stored Procedures and C++

    I am using Visual Studio 2003 (C++) and have inherited a data acquisition app. The existing app has CAdoDatabase and CAdoRecordset classes, but they do not seem to be complete. The throughput is pretty high and we switched from using recordsets for adding new data to using SQL insert queries. These are better, but still not fast enough. Some of our installs are for SQL Server 2000 and some are for SQL Server 2005. I am fairly certain that I need to use stored procedures to increase the speed. Since the existing app is limited, is it possible to use the CAdoDatabase function that executes a SQL statement to execute the stored procedure All of the examples I have seen show a command class where all of the parameters have to be defined and an ...Show All

  • SQL Server x64-Bit Install of SQL Server 2005

    I have a AMD 64-bit multi-processor server that is currently running the 32-bit version of SQL Server 2005 without any problems and we are using it. (I followed the instructions on how to install the x64 version of the v2.0 of the .NET Framework and it is running properly.) Now I want to move forward with installing the 64-bit version of SQL Server 2005 and the associated services such as SSIS, SSRS, and SSAS. The plan is to basically uninstall the 32-bit version of SQL Server and then just install the x64 version, Are their any issues with the installation I didn't see any 'read-me' on the x64 DVD disk. While we have lots of experience with 32-bit installations...this is our first x64 box...so I thought I should ask. Thank you. ...Show All

©2008 Software Development Network