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

Software Development Network >> Prashant jain's Q&A profile

Prashant jain

Member List

VoiceOfExperience
Programm3r
sic0198
CPP_Standard
TA123
enric vives
NipplesAndLicks
da Vinci
Wolvenshade
CsNetworks
Demona273
logtorahul
Borshika
F.Costa
Aleniko29139
Uri Kluk
Oleg Ignatov
Merryhu
robertje
Mark 2334
Only Title

Prashant jain's Q&A profile

  • Visual Studio Express Editions array of data

    How to create an array of data that i read fr the serial port so that i can manipulate the data later Hi, You can also try the following link too...it has sample code to read from COM port and get data into byte array. http://msdn.microsoft.com/coding4fun/someassemblyrequired/whereami/default.aspx Thank you, bhanu. ...Show All

  • Visual Studio Team System ASP.NET Unit Test Error _web request _ completed without running test_

    I am often getting errors like this one: The web request 'http://localhost:1850/Tests/Default2.aspx' completed successfully without running the test. This can occur when configuring the web application for testing fails (an ASP.NET server error occurs when processing the request), or when no ASP.NET page is executed (the URL may point to an HTML page, a web service, or a directory listing). Running tests in ASP.NET requires the URL to resolve to an ASP.NET page and for the page to execute properly up to the Load event. The response from the request is stored in the file 'WebRequestResponse_recordClickTest.html' with the test results; typically this file can be opened with a web browser to view its contents. Now the th ...Show All

  • Visual Basic Unsigned Arithmetic and overflows

    I've had this discussion before with unint64s. Setting what would normally be the sign bit causes an overflow. Now I'm seeing this in unint32s. Dim a As UInt32 = System.Drawing.Color.Black.ToArgb will cause and overflow. Dim a as Uint32 = now.ticks and &hFFFFFFFF will cause an overflow depending in the time. This should not be. What it means effectively is the UInt32 is actually UInt31. Hey Mike, I'll find the link for you in just a moment. Here's THE Problem: Dim a As UInt32 = &H80000000 is not legal Dim a As UInt32 = &H80000000L is legal. So as you say the ISSUE is with the constant. However I'm going to call it a problem because a CONSTANT should be CONSTANT. I am an enginner th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating .tga UVwrap for XNA?

    Hi, I am new to this, but I have 3ds max and the DirectX SDK along with XNA GSE. In the tutorial they have a model (.fbx) and its texture wrap (.tga). I want to use a different model. I import one into 3ds max and it loads and the textures/materials are wrapped on it. I export the model to .x (which XNA can use too I believe) and now need to create a .tga that XNA can wrap it with. Thanks for the tip to this. Darren You have to assign the material to the object in 3D Studio MAX. I would search around for some tutorials on the subject that would help you get started. http://search.live.com/results.aspx q=3D+Studio+MAX+Texture+Tutorial ...Show All

  • Visual Basic Open default email program (Outlook, for example) when pressing a link

    Hello all, iu have a question: My app has some labels with email adresses, what i want to do is some kind of linklabel but instad of oppening an internet adress, i want it to open, for example, outlook, with the adress in the destination field (many programs does so), also, it would be fine if i can personalize a default email subject and text, but if i can open the program and put the adress i am already happy enough :) Thanks Sorry i didnt specify, i am programming in Visual .NET I dont know what i am doing wrong, before i asked you how to import because i thought i was doing something wrong.. from the begginning i was importing it like that, in the top of the code typing imports System.Text.StringBuil ...Show All

  • Windows Forms System.IO.FileNotFoundException In Windows Application

    Hello! I have developed a windows Application using VS2003 (VB.NET) to enable my client to export Crystal Reports 8.0 to PDF,HTML and Excel formats. Since the Excel export that comes with VS.NET is not very user friendly, I used Interop.CRAXDRT.dll reference to export the reports to Excel. The application workes fine on my workstation, but when the client installed it, he is getting *** System.IO.FileNotFoundException: File or assembly name Interop.CRAXDRT, or one of its dependencies, was not found**** error. I have tried everything I can think of to resolve this in vain. The interop.craxdrt.dll is in the application bin folder. I made the client copy the file to his system32 folder. Gave the application folder full control permissio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Parameters for content processor

    Is there currently any way of providing parameters to the content pipeline For instance, if I had a huge terrain that I want to convert into blocks within the pipeline, it would be nice to set a parameter for the block size within the IDE's properties panel for the asset, alongside the ContentImporter/ContentProcessor settings. If not I guess I'm going to have to create an XML file to describe the terrain, and import that instead. Not half as nice. Shawn Hargreaves - MSFT wrote: Resolved just means that we've moved the bug across to our internal database. The two aren't terribly well integrated, unfortunately. Does that mean the votes for it will still be looked at at a later date, or not ...Show All

  • SQL Server Populate values for a parameter in a drop down list

    How to Populate multiple values for Parameters in reporting services.i am talking about the Default values for a parameter As i am a fresher in this field , i would like to know much about it I am working on SQl server 2000 Will it work on 2000 or i need to use 2005 Plz reply ASAP ...Show All

  • Visual Studio Team System File Explorer in VS2005 incredibly slow

    When I try to navigate down the directory structure using the file/open drop down in VS2005, it takes about 30 seconds to navigate down each level of the directory structure. If the level I want is 6 levels down it wastes 3 minutes getting there. Thank you for the suggestions. In fact I am running VS2005 locally and not using the Source Code Explorer at all. The File/Open/File drop down was what I was referring to. A few random remarks made me think of mapped drives, and it turns out that I had one connecting through a VPN. There was no problem when the VPN was connected, but when it is disconnected that's where the 30 seconds delay happens. It doesn't affect the windows file explorer in the same way howeve ...Show All

  • .NET Development Allocating large array -> out of memory

    Heya, I tried to allocate a large byte array in C#, like this: byte [] buf = new byte [len]; (where len = 1gb) But I get an out of memory exception. I have 2gb of memory in my machine, so it should work Are there alternative/better ways to allocate large amounts of memory /Bo Salvador, I am very much a novice at this. Are there step by step instructions anywhere for: 1. Changing the boot.ini 2. Putting in a post build event Any clues appreciated! Moon ...Show All

  • Visual Studio Express Editions How to using COM in C++ appliaction?

    I generate COM in the following way: Create an ATL project called ATLTransmitAs. Add an IDL file named ATLTransmitAs.idl and paste the following code into it. // ATLTransmitAs.idl : IDL source for ATLTransmitAs // This file will be processed by the MIDL tool to produce // the type library (ATLTransmitAs.tlb) and marshalling code. import "oaidl.idl"; import "ocidl.idl"; typedef long DATEXMIT; typedef [transmit_as(DATEXMIT)] struct CUSTOM_DATE { short day; short month; short year; } CUSTOM_DATE; [ object, uuid("AE23C15E-920D-4ffa-B662-7E77E231E951"), helpstring("ICustomDate Interface"), pointer_default(unique) ] interface ICustomDate : IUnknown { [helpstring("method GetDate&quo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source

    Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. Yeah let me know if you have any issues. I did d/l the zip, unzipped it to a new directory, compiled and did a test run so I think it should work. Also, I just remembered I forgot to hook in the game over voice clip. Oops. It's in the sound bank, I just forgot to trigger it so I'll probably update the zip tonight when I get home. It was a late night last night. Damn you Microsoft for making this time si ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Converting from a string to Texture2D

    I am new to XNA and have been playing around a little bit with a project. I am currently trying to call .Draw on a SpriteBatch object and dynamically set the paramater for the Texture2D. The line of code looks like this: spriteBatch.Draw(<Some String Here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); This piece of code would be in a loop and the name of the Texture2D paramater would change. I tried the following line of code: spriteBatch.Draw((Texture2D)<String here>, new Rectangle (currentMaze[0, 0].position.X, currentMaze[0, 0].position.Y, falseFalseFalseTrue.Width, falseFalseFalseTrue.Height), Color .White); ...Show All

  • Visual Studio Express Editions Can someome PLease help me!! i HAVE no idea how to use this!!!!

    I have no idea how to use C+. I would reall reall like to learn. I have looked at some sites allread but i did not find anthing helpfull. Can someon lead me threw the steps of making a game or how to get started Or if anyone knows a good site I could go to. Thank You - Ryan Hi I an using a book from wrox and it is a very very good book and lerns to make gams and the language as wall if you wnat more info about the book i will gladly help you : ...Show All

  • .NET Development Reading a DataReader from two places at the same time.

    I have a SqlDataReader which returns some data from a database. I would like to insert the data from this DataReader into two different tables on two different servers, using two SqlBulkCopy instances. Somehow my SqlBulkCopy objects should read the same DataReader in parallel, so I won't have to read my data twice from the source. The amount of data is quite large, so I wouldn't cache them, for example into a DataSet. How would you solve this problem The only idea I could think of is creating a wrapper over the DataReader, which implements the IDataReader interface, and which can be read in parallel from two different threads. However I don't know how this would perform, as each thread would block after each row of data, and th ...Show All

©2008 Software Development Network