M Sivakumar's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. MDX(apr2006) tutorials?
Hello all, I was wondering if anyone knew any good C# + MDX tutorials for a beginner. There are plenty of them out there but all of them seem to use an earlier version of DX9 than the april 2006 release. I had purchased a book (by Tom Miller) that seemed promising but I couldn't compile any of his code because of relatively big syntax changes. Should I just give up trying to use the newest release and go back to the summer 2003* release to actually use the book. I find it unfortunate that I'd have to use an older version to learn only to be forced to move forward later and have to relearn the correct classes/functions all over again. edit: * ...Show All
Windows Forms Drag & Drop File From Explorer
Does anyone have an example of draging & droping a file from Windoew Explorer onto a DataGrid -- all I want to do from there is capture the file name into one of the grid cells Yipppppeeeee it finaly works -- I was confident after seing your second post that you would help me get this right (thank you) You were very righ ...Show All
.NET Development Error message TCPClient
Hi I am creating an web application that connects to an tcp server. When i give the command to connect to the server, he gives an response from the server and an textbox and Commandbutton are visible for command`s to the server. When i am sending an command to the server then i get this error: "The operation is not allowed on non-connected sockets." This is my full cource: Imports System.Net.Sockets Class _Default Inherits System.Web.UI.Page Public client As New System.Net.Sockets.TcpClient() Public NetworkStream As NetworkStream Public bytes(client.ReceiveBufferSize) As ...Show All
Windows Forms get session value from no-touch deploy winform
hi everyone. this is my first message. i want to get session values from no-touch deploy winform. could it be real to do that Has anyone made some winform which have same function thank you ...Show All
SQL Server Generate Scripts -> Script Behaviour -- Missing an option
When I bring up the Generate Script wizard from Management Studio, in the options screen there is an option for Script Behaviour. The description displayed for this option is: "Generate the script as DROP statements, CREATE statements, or DROP statements followed by CREATE statements". I wish to use the 3rd option (DROP followed by CREATE), however in the dropdown there are only 2 options available: Generate DROP statements only, Generate CREATE statements only. Where is the 3rd option I really need this.. ...Show All
Visual C++ VS.NET 200 Beta 2: BadImageFormatException
Hi there, I get the BadImageFormatException on a function call in my code. How can this be, the msdn says that this exception is raised when loading invalid unmanaged code. But i am calling a member function from inside that same class. Im using C++.Net 2.0. When i step through the code the exception is raised on the moment the function is called. This is the call: String^ s = GetFileNrList(";"); All the function does is returning a ; seperated string of filenumbers. I tried reducing the code in the function to return nullptr but it didn't matter. Hope someone can point out what could be wrong. Thanks Ro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which software to use, to author .x files?
I've come to the point in my 3D application where, I have created all basic 3D stuff and rendering 3D primitives with textures. It is time to import .x files and render them. I used the tiger.x and tiger.bmp and the code from the Meshes tutorial and it worked fine. But what I want to do is create my own .x files - textures applied. Also, the Meshes tutorial says that D3DX can only handle the geometry and we have to setup the textures and materials for the mesh. What software should I use to author .x files and apply textures to them Any freeware or shareware will be helpful because I don't have money to buy commercial softw ...Show All
Visual Studio Team System tfs and active directory
does tfs have to run in an active directory domain or can it run in an nt4 domain that does help :) that said, my lab server was nuked for some web server problems i'm dealing with. once the web server problem has been solved, i'll reinstall the w2k3 standard server but this time connect to the domain instead of start a new workgroup. i'll still run it as a single server install. ...Show All
Visual Studio Report Designer - how to add ObjectDatasource?
I am trying to add a local report to my ASP.NET 2.0 app. When I create new datasource in VS report designer it always creates SQL Datasource (it doesn't even ask me about the name of the dataset). I am going to use my business objects as a source of data, so it would help to be able to use them when I design the report. I don't need that DataSet1.xsd in my project. I just want to use my own objects. Is there any way to do that in the report designer Is there a way to access the session from this object to retrieve session stored info System.Web.Httphandler.Current is nothing w ...Show All
Windows Forms Optimizing simple stuff
I have made a testanimation of the good ol`bouncing ball. Its background is a solid color. Its placed on a pbox. Question: Is it any point in optimizing the painting of this setup Does it matter whether the background is filled with a single color or with something else like a gradient or pattern Does the effect of optimization vary according to what is p ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All
Visual Studio Team System SQL Server collation: Latin1_General
The installation guide states: For U.S. English, the recommended collation is Latin1_General . When I check, I see server collation as Latin1_General_CI_AI. Yet, TFS setup tells me: SQL Server collation is not set to one supported by Team Foundation Server. What gives Anyone seeking to correct this situation should read this article in Books Online: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/instsql9/html/df40c888-691c-4962-a420-78a57852364d.htm Look for this heading: " To rebuild system databases and specify a new system collation" I used this command line successfully: start /wait <Drive Letter>:\Servers\Setup /qn INSTANC ...Show All
Visual Basic How do you keep an VB app in the foreground
I have an app(1) that uses Runasdll to call another app(2). How cn I keep app(2) in the foreground while is is running Or use AppActivate method to reactivate the App1. If your trying to write a multi-threaded application you may want to check out the backgroundworker control in 2005 ...Show All
Visual C++ Unlinking the CRT...
Here's a fun question: how do I get the CRT out of a project, utterly and completely The project in question is a mixed-mode C++ DLL. /NODEFAULTLIB leaves me with dozens of link errors to CRT functions that I'm not calling from my code so I'm assuming the compiler is sneaking stuff in on my behalf (how very kind of it). What functions do I need to implement on my own and how do I do that Some of the more obvious ones like atexit I've already tackled but the DllMain functions responsible for calling constructors and destructors (I'm guessing atexit came from destructors) on global variables are a mystery to me. I've gone hunting through ...Show All
Visual Studio Team System TFS Beta 3: Files and folders converted to lower case
We have run a test conversion of our VSS database into TFS Beta 3. During this process, the conversion has renamed nearly all of our files and folders to lower case names. This is a problem as we have cafefully used PascalCasedNames for all of these items for better readability, and to match the casing of the class names that many of them contain. For example, in VSS we had \SolutionName \FirstProject \FirstFolder FirstFile SecondFile \SecondProject FirstFile SecondFile etc... ...Show All
