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

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

Prashant_Rai

Member List

A.F.B
Sandro Haupt
feby
haihtomy
The Samster
Bob Tease
Gohan222
Dave Citron
NeederOfVBHelp
Marcel Vroone
Evan Hennis
Joel Poiron
Bengt Gunne
Dylan Smith
DanAllenVt
PrashanthBlog
CAI-USA
AlanKohl
Arnuntar
Jan Kučera
Only Title

Prashant_Rai's Q&A profile

  • Visual C# Password Form

    hi, i wnat to make application which will ask for user for a password through a password form & then main application will start with main form if password entered by user is correct. I want password form to be independent of the main application form & if entered password in password form is correct , i'm making the PasswordForm.Visible = false; this will make the password invisible. but i'm not able to make my main form visible which is having many child form. So how i can make password form independent of my main application form & how can i shift from passord form to main form. thanks in adavance, Vinay Use this: Form[] openedForms = Application.OpenForms; for(int i = ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite is not transparent

    Ok I finally got the game to work but I have a new problem...my texture which I made transparent in DirectX, doesn't have the transparent background when I run it. Is this due to my graphics card & me adding that line of code to make the program work Sorry I can't remember the exact line but it's been floating around the forums, I think we all know what it is. This is how I got transparent textures to work... Use the DirectX Texture tool and create a new texture the same size as your sprite. Now import your sprite into that layer. Now create a new sprite that is black and white. White is what is visible and black is transparent. and load unto alpha layer. Save it into one dds file and load it.. ...Show All

  • Visual C# Test driven development with FitNesse: online Guide updated

    A new version of Getting Fit With .Net, an introductory guide to testing .Net applications with Fit/FitNesse, can be downloaded from http://gojko.net/fitnesse . Version 0.2 is updated to cover Fit.Net 1.1, and has a new chapter on DoFixture, working with arrays and business objects and writing better test scripts. Your comments are more than welcome. Gojko Adzic http://gojko.net ...Show All

  • SQL Server Regarding DataMining in SQL Server 2005 Analysis Services

    Hi to all I have a complex scenario , so first I want to ask out the feasibility of it . I think its better if I state the scenario and some one on this forum reply to it , I need to build an application (e.g credit card application , Loan Application etc ) that requires some approval from expert , what I firstly want is that I apply datamining on this data so that next time when I enter the data the result (approval or reject ) should be given by datamining tool , this I gather is poosible by using Analysis Services in SQL 2005 , but I also want the bases of that decision ( I mean the rules/some thing else  that the Datamining created agaisnt the data entered ) , So can any one do any ...Show All

  • Silverlight (formerly WPF/E) Custom Controls

    So how can we build custom controls and deploy with the application I don't see anything that hints about how to include a referenced assembly that contains custom controls. I don't see any installable modules, or anything in the architecture that hints that it can be extended with custom controls, data binding, or .net-based event handlers. Thank you for using WPF/E. I am sorry to say that in Current CTP release we don’t support referencing an external assembly and data binding. In-fact, current version of WPF/E is a subset of WPF and does not support all the features of WPF. If you can share us what you are trying to do, May be we can help you with alternative approaches ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Depth Testing (Z Buffer) not working, tried everything.. HELP !

    Reading pages and pages of documentation, and the only info i can find on getting depth testing to work correctly is not working ! I've tried everything, and am almost ready to give up, please oh please someone tell me / give me a decent link on how to work this. i have set the D3Dpp ( D3D present properties up as shown on msdn. [code] d3dpp.Windowed = TRUE; d3dpp.SwapEffect = D3DSWAPEFFECT_COPY; d3dpp.BackBufferFormat = displayMode.Format; d3dpp.EnableAutoDepthStencil = TRUE; d3dpp.AutoDepthStencilFormat = D3DFMT_D16; [/code] I have set the render states as descibed on MSDN [code] g_D3DDevice->SetRenderState(D3DRS_ZENABLE, TRUE); g_D3DDevice->SetRenderState(D3DRS_ZWRITEENABLE, TRUE); g_D3DDevice->SetRenderState( ...Show All

  • Visual C# How a derived class' SET method reuses base class' SET method?

    Hi All, I have two classes A and B: public class A<T> { T myData[100]; public T this[int theIndex] { get{ return myData[theIndex]; } set{ .... // Do something. myData[theIndex] = value; } } } public class B : A<double> { public new MyType this[int index] { get{ return new MyType(base[index])); } set{ // I simply want to reuse base class's implementation here. How } } } My question is how to reuse base class' SET method implementation in the derived class' SET method I failed to find any solution with Google. Please help me. Thanks in advance. Shu Hello All. Shu: U ...Show All

  • Visual C++ Question about const_cast

    Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int> (test1); return 0; } ---------------------------------- Error 1 error C2440: 'const_cast' : cannot convert from 'const int' to 'int' j:\test\main.cpp 4 ---------------------------------- I definitely have the latest version of VC++ Express Edition this time. To begin with the c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Engine Renderer

    I have been using an engine renderer that using DirectX 9.0c. It comes in a version that was developed in C Sharp, and I was wondering if that can be used with XNA Game Studio Express for the making of Windows and Xbox 360 games (assuming that XNA Creator's Club Subscription is purchased) I suspect that TorqueX will be a developer only licensing. So you buy one copy and then you can redistribute a run time or something. None of the other Torque products have any runtime licensing. So Developer (PC Only) - free XNA + TorqueX Friends to play (PC Only) - free XNA + free TorqueX redist Developer (360) - Creators Club + TorqueX Friends to play (360) - Creators club + free TorqueX redist Yes ...Show All

  • Visual Studio Express Editions Fooling the compiler...

    could I fool the compiler into accepting for((std::vector<player*>)::iterator (itr = _acct->players.begin();) itr != _acct->players.end(); ++itr) somehow Why What's wrong with the completely legal for (std::vector<player*>::iterator itr = _acct_players.begin(); itr != _acct->players.end(); ++itr) { } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .X features supported in XNA?

    Hi, I'm currently working on a .x exporter for XSI with shader support. However I have some questions regarding exactly what features are supported in XNA. Setting the technique in the .x file does not seem to work: EffectParamDWord { "technique"; 3; } XNA always renders using the first technique in the shader, unless you manually set it with Effect.CurrentTechnique :( Also what part and version of DXSAS is supported It would be nice if semantics used in e.g. FxComposer just worked with XNA, e.g things like: float4x4 WorldIT : WorldInverseTranspose; float4x4 WorldViewProj : WorldViewProjection; float4x4 World : World ; float4x4 ViewI : ViewInverse ; Or do you have to manually parse all effect param ...Show All

  • Smart Device Development .Net compact framework is not working on my O2 mini.

    .Net compact framework is not working on my O2 mini. I had tried installing .net compact framework version 2. and 2sp1 but both were having error on my phone. It shows "installation error. Stop all applications and process bla bla bla.to maximize storage space." Hey,but i had 20 Mb of free space left out to install the framework. somebody please help me.I just bought a software for my O2mini which requires .net compact framework. No. I have done the safemode on my O2mini and removed everything from startup in my O2mini.Yes,there is a safemode for O2mini. On the desktop,i'm not doing much thing.I'm using Activesyn 4.2. thanks for helping me all along :) ...Show All

  • SQL Server Convert Date

    Hi ! I think I need your help... to convert the date (2006-09-09) to weekday, weeknumber, month number, month, year in OLE DB source editor ... created following sql, which is not working. How about using derived Column transformation editor SELECT DATENAME (WEEKDAY, YYYYMMDD) AS weekday, DATEPART(WEEK,YYYYMMDD) AS weeknumber, MONTH(YYYYMMDD) AS month_number, DATENAME(MM,YYYYMMDD)AS Month, YEAR(YYYYMMDD) AS year, DAY(YYYYMMDD) AS date FROM Purchase thank you so much... Thank you so much! solved! How about dates... This command "convert(char(8),date,112)" converts to YYYYMMDD. Still wondering how to convert date to format YYYYMM(200612) and YYYYwk (year+week as "20073") ...Show All

  • SQL Server Accessing Report

    Hi, I am using IIS 5 and MS SQL Server 2005. My problem is I can deply the report in report server but unable to access.After deplyin g the report when I typed the url( http://localhost/reportserver/......) in internet exploer I am getting an internal error. How can I solve this problem..... Best Regards, Anupam. I installed SQL Server in mixed mode(windows,sql server authentication) and no additional installation was there. Thanks, Anupam. ...Show All

  • Visual Studio 2008 (Pre-release) Media Element Will Not Play.

    I tracked the error down with the on failed error, and I THINK this is ther error: Insufficient memory to continue the execution of the program. I can only say think so because the routed events confuse me somewhat. I'm beginning to think my installation is hosed somehow. I'm not sure how that is though. I restored my laptop to factory configuration yesterday, installed vs, .net 3.0, .net3.0 sdk, orcas in that order. Then I immediately began working on my project and experiencing ide crashes. The orcas designer changes i mentioned in another post have come back, expression crashes upon closing the welcome screen. I cant tell whether my media element not playing is my fault or related to my hosed installation. Can you give me any ins ...Show All

©2008 Software Development Network