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

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

skrajmohan

Member List

dgcl
Honey!
marthew
arashikage
Morrissey99
Raffaele Rialdi
Orchid2006
bharathi_tunes
Dennie-DeTi
Santhoo
Heng-yi Liu
gfheiche
moorpipe
beefeater
dealwi8me
Phillip Williams
cesarin
McGeeky
Baji Prasad
Sean Reilly
Only Title

skrajmohan's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. texture coordinates

    The stupidest question..whats worse, Ive had the answer somewhere, but just cannot remember the link or how to do it. Ok, so here's the problem. I have a tileset - basically isometrci tiles of size 45px wide and 46px high. Now, having a gazzillion of textures with one sprite each is just stupid(talking 3D here), so I'm packing lots of tiles into one texture. No problem here, theyre made to fit together nicely, and its all going well. Now, say i have a 64x64 textre(im oversimplyfying it, just for the sake of the example), and one 45x46 tile on it, located in the left corner. Now, im trying to draw an isometric map..How well, basically defining tilted squares and mappig the texture to them. THe problem comes up when the texture is drawn - it ...Show All

  • Software Development for Windows Vista LogonUser returns ERROR_PASSWORD_MUST_CHANGE

    Hello I use Logon user to get logon token and run some code with specified user rights (impersonate). If account password is expired, LogonUser returns flase and GetLastError returns ERROR_PASSWORD_MUST_CHANGE. Help me please - is it possible to change Windows user password from my code using some Windows API functions Thank you. I don't think that there is a workaraound. I'd expect that changing an expired password must not work without administrative privileges. If this would work, the entire password expiry thing would be useless. ...Show All

  • Visual C# DateTimePicker.ValueChanged event

    I am trying to build some code in this event. The idea is to open an ODBC table and populate a DataGridView with a limited subset. All records in the table are dated and the grid will contain records (schedule) for one date only. The problem I have is that if I go back a few months then every time I change the month with the tool button on the top (the left one) the event fires and the date I get is not the one I need. E.g. today is 10/06/2006 and I need to select 01/25/2006. Then on my first click it will fire with the date 09/06/2006, then 08/06/2006 etc... then finally on 1/06/2006 and after I selected 01/25/2006 in January I will get my date. In the meantime the gridView will get updated needlessly. MouseDown event does not fire ...Show All

  • SQL Server Single source, multiple lookups against same table

    Let's say I have 4 columns coming from my OLE DB source. Column1 Column2 Column3 Column4 I also have a table that I'll be using in a lookup, LUPTable. In LUPTable, I have two fields, LUPField, ReplaceField. In my data flow, I need to take columns, 2-4, and look them up against LUPField in LUPTable. I then need to add the value of ReplaceField (when a match is found) into the data flow. The problem that I'm running into is that I don't want to sequentially do the lookups in the dataflow, because that's just a waste of time/memory. I only need to build the in-memory lookup table once, because that exact same data (it is static, for the most part) will be used for the remaining lookups. What is the best way to achieve this The goal is to hav ...Show All

  • Visual Studio Team System Random string for UserName.

    I would like to generate a random string for every new registration transaction on the site. After I record the test, I am able to generate code and add a random string function. But, is there a way I can do it with the .webtest file We really like the GUI part of the .webtest file. Unfortunately, you cannot sync up the .webtest with the generated code file. Any help will be appreciated. Thanks in advance. e.WebTest.UserName only setup the username for authentication to the site, correct I need to set the random UserName for one of the form field during registration. Will I be able to use e.WebTest.UserName for one of my form value If the context "UserName" only load during runtime, how do I access it while the test is r ...Show All

  • SQL Server Property AnsiNullsStatus is not available for UserDefinedFunction

    I created a table valued function in SQL Server 2000 SP3 using SQL 2005 Management Studio, but when I try to edit it (Right-Click, Modify or Script Function As...) I get the following error: Property AnsiNullsStatus is not available for UserDefinedFunction '[dbo].[fnMyTDF]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo) I can edit it in other tools (Sql Query Analyzer) just fine. I'm in the sysadmin role. Versions: Microsoft SQL Server Management Studio 9.00.2047.00 Microsoft Analysis Services Client Tools 2005.090.2047.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 (xpsp_sp2_rtm.040803-2158) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Grouping units like in a RTS game

    hello all.. is it possible to group units (drawing a rectancle) while holding down the mouse button with XNA i am planning to do a 2D game where i would need this.. if yes, please give me a hint how to do it... thanks in advance greg I would've gone with a nice trig function which would calculate the triangle and display just the outside lines....your way is much easier! :) ...Show All

  • Visual C# parsing the news websites

    how should i parse only the news from the html contents of any news websites using C#. Please give me the coding or algo. it should be generalize for all websites Such code does not exist. Please, write it and share it. I would be extremely interested to see how it is done. I'm sure there will be quite a bit of AI in there, and that's always been an interest of mine. However, you could try to parse a lot of RSS feeds to get the news. That's really your only option, unless you want to write separate code for each news site. ...Show All

  • SQL Server Selling my software and SQL server 2000 as part of the package

    Hi everyone, I have developed a VB6 application that works with SQL server 2000. My client does not have a SQL server installed on their machine. I wonder do I have to purchase a copy of SQL server 2000 and install it to client's computer How much would a basic version of SQL server 2000 cost I am new to the softwarel world. Please give me some advise. Thanks ONE MORE THING...SQLExpress is the 2005 successor to MSDE2000. http://www.microsoft.com/sql/express ...Show All

  • Visual Studio No Font Selection in sterter edition

    no solution for that ...Show All

  • SQL Server Deploy Report projects at client end.

    Hi, We are using Microsoft Reporting Service 2005 to develop reports. The reports are pointing to the Analysis Services database. We want to move the report project developed to another machine. Basically we want to deploy the reports at the client end. I have found the below url that mentions the steps for SQL Server 2005 http://support.microsoft.com/kb/842425 Is this the only way to acheive the needed functionality or is there any command line utility available that does this or any other simple procedure to do this We want to give the client, simple instructions to deploy the report project. Any help would be appreciated. Thanks in advance, RSScripter should do the trick (deploy to a test server, ...Show All

  • Visual C++ Why can't this compile?

    #include <map> #include <algorithm> #include <iostream> using namespace std; typedef pair<double,pair<double,int> > PQueuePairType; typedef map<double,pair<double,int> > PQueueType; typedef PQueueType::iterator PQueueIterType; bool pQ_lesser ( PQueuePairType elem1, PQueuePairType elem2 ) { return (elem1.second.first < elem2.second.first); }; bool operator == ( PQueuePairType elem1, PQueuePairType elem2 ) { return (elem1.second.first == elem2.second.first); }; int main() { PQueuePairType p1(0,pair<double,int>(1.2,0)); PQueuePairType p2(1,pair<double,int>(1.2,0)); cout<< (p1 == p2); PQueueType q; q.insert(p1); q.insert(p2); cout<<( find(q.begin(), q.end ...Show All

  • .NET Development Google Search Webservice

    Hi.. I have visual studio 2003 and I am trying to use Google Search Web Service(C#).But I got the error: DataBinder.Eval: 'EProjects.googleapi.ResultElement' does not contain a property with the name title. The source code of the Web Form that should display the Google Search Results: using googleapi; /// <summary> /// Summary description for GoogleResults. /// </summary> public class GoogleResults : System.Web.UI.UserControl { protected System.Web.UI.WebControls.ImageButton imgPrev; protected System.Web.UI.WebControls.ImageButton imgNext; protected System.Web.UI.WebControls.DataList lGoogle; public EProjects.googleapi.GoogleSearchResult gsR; public EProjects.googleapi.GoogleSearchService gcs; private void Page_Load(object ...Show All

  • SQL Server Where is Query Analyzer in SQL Express?

    I know that SQL Express includes a similar tool like Query Analyzer in the SQL Management Tool but I just can't find it. Would anyone kindly point it out please When you open Management Studio Express you can create a New Query a number of different ways. New Query is akin to Query Analyzer. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All

  • Visual C++ This may sound insain, but I am going to make as web browser from scratch.

     For the longest time, I have been programing usless junk, and I want to take my programing to a new levle by creating a whole web browser from scratch. I have downloaded the microsoft SDK, and Visual c++ and, and I am wondering what other tools I need to create a web browser (from scratch). Does anyone know any websites, tutorials, and any other things that can help me create this web browser Does anyone have some tips PS. Please do not tell me to go and download Mozilla Firefox's source code, or anything like that. I already understand that making a web browser from scratch is very time consuming, and I realy don't care, because I love to program. I applaud you for making a big goal for yourself out of ...Show All

©2008 Software Development Network