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

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

anuradhabhat

Member List

Rob Rice
e. ogas
Dr. Pastor.
Bartosz
MetaKnight
jdr_42
Bandile
xavito
kevow
Alex Comanescu
Pit Dahl
mahima
eliewadi
NiklasECG2
VisualCSharp
Adamus Turner
Prashantlakhlani
TPeacock
sindhukumar_r
pcompassion
Only Title

anuradhabhat's Q&A profile

  • Smart Device Development Low memory error. (critical component)

    Hello, i got problem when i run multiple background application with my main application how i overcome that problem. it prompt like this "Cannot start Cat. A critical component is either missing or failing due to low memory." this prompt occur randomly no specific timings is there any mistake in the code or why this error occur at random interval. sometime not occur but some time its frequency increases to much. BOOL CatApp::IsProcessRunning( char * pname) { char * szExeFile = new char [MAX_PATH]; PROCESSENTRY32 proc; proc.dwSize = sizeof (PROCESSENTRY32); HANDLE lTlhlpHndl; lTlhlpHndl = CreateToolhelp32Snapshot(TH32CS_SNAPALL,0); if (INVALID_HANDLE_VALUE != lTlhlpHndl) { ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating VertexPositionTexture Arrays

    Just for fun I am creating a simple game of space combat. To draw the ships, I am simply applying a texture to a rectangle. The rectangle is a pair of triangles defined using an array of VertexPositionTexture objects. The problem comes in when I try to rotate the ships individually. Up unto recently, I only had one ship on the screen and I was using the following lines of code to draw the ship: Quaternion qRotation = Quaternion.CreateFromAxisAngle(new Vector3(0, 0, 1), fAngle); Matrix mShip = Matrix.CreateFromQuaternion(qRotation) *Matrix.CreateTranslation(fX, fY, 0f); effect.Parameters["xWorld"].SetValue(mShip); //rotate ship effect.Parameters["xTexture"].SetValue(txStarShip); dvOutput.Dr ...Show All

  • Visual Studio 2008 (Pre-release) Image and memory leak

    Hi, I'm using the Image class in an application that uses a Frame and navigation to load new pages. In one of the pages, I use an Image with a Source attribute that looks like "http://blah.com/blah.jpg". When I load the next page, the old page never gets garbage collected, unless I remove the Image element. Why is that To avoid the memory leak, I created a class like this: public class NoLeakImage : System.Windows.Controls.Image { public NoLeakImage() { this.Unloaded += OnUnloaded; } private void OnUnloaded(object sender, EventArgs args) { this.Source = null; } } And use it instead. It avoids the leak. Lot's of gotchas with WPF... - Imad By default images a ...Show All

  • SQL Server BUG: UPDATE updates not listed fields

    Hi Everybody, I am in this forum for a first time. Today, I think, I found a bug in SQL Server 2000. I tried it on SQL Server 2005 and it is alive yet. Before I explain exact the problem I have a stupid question. Is there any type of award if I have found a real bug. It is about a situation when I try to update some fields in a table and I get updated some other wrong fields. There aren't any triggers ot something else. Create a new table, insert one row, update some fields but other ones get changed too. Is there something known about this Thanks, Hristo. No, there's no award, except for bragging rights :) Post your code/sprocs, DDL etc. so someone can try to duplicate. If there's no triggers, ...Show All

  • Internet Explorer Development IE 7 opening to Run Once page with error on it.

    I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. I tried the solution I typed in gpedit.msc and the run box and windows error appeared that said that windows could not fine the file. I searched for the file and it was not located either. ...Show All

  • Architecture Architecting aggregation of data

    We have a group of very similar sql server databases running on our server. We are plannning to create an application which will need to get information from all these similar databases. What do you all think is the best way to go about doing it I am thinking about creating a realtime or periodically updated central database aggregating the info from all the others. How can I do this DTS Or create a data cache in memory A web application, web service and windows forms will be running off this database. Should be able to do a fast search. Is caching the database the only way to achieve this How about XML databases thanks a lot in advance. The best aggregation approach will depend on the data you are agg ...Show All

  • SQL Server vb or vb.net

    Hi....I just have two simple ( ) questions: The first: Is te following code written in vb.net or vb The second: Do I really need a redirection to "wrong.aspx" in the try-catch..because when will it be executed ...I think the code work... Here is the code: Sub Spara( ByVal obj As Object , ByVal e As EventArgs) Dim ConnectionString As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Databas1.mdf;Integrated Security=True;User Instance=True" Dim strSQL As String = ( "INSERT INTO MyTable ( City ) VALUES ( @City )" ) Dim Conn As New SqlConnection(ConnectionString) Dim Command As New SqlCommand( "" , Conn) Command.CommandText ...Show All

  • Visual Studio Team System Team Explorer - red cross on "documents"-folder

    Since installation of TFS I am unable to see the content of the documents-folder (teamexplorer) on a client-machine. There is always a red cross on the folder! If I start the team explorer on the server the documents folder is shown correctly. I tried to copy the http-url ( http://[servername]/sites/[Project ]) to an IE on a client and there the sharepoint site is shown without any problems. I did the changes required after installation of Sharepoint Portal Services SP2 ( http://blogs.msdn.com/robcaron/archive/2005/10/07/478336.aspx ). I think I also configured the users like mentioned in the install guide (TFSInstall-v50926.chm - Managing Security Roles for Team Foundation Server). Did anyone have a suggestion how to fix it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Performance questions

    I've created a small app that draws a cube on the screen and it slowly rotates. On each face of the cube is a texture. These 6 textures are changed between each frame by a RenderToSurface method. Just 8 verticies, 6 textures, & 12 draw calls per frame (6 to create the textures, 6 to draw each face on screen). That's all I've got going on. I have another app that I made that loads a mesh from a .x file and the mesh has 40000 plus verticies & about 20 subsets, no textures. In fullscreen the cube app runs about 900 FPS and the mesh app about 1200. in windowed mode, the mesh app about 60 & the cube app about 45. Question 1; Are working with textures really that costly I mean 40000+ verticies versus 8. What am I missing Question 2: ...Show All

  • Visual C# Getting applications Paths

    Does the System Namespace has something like system.path I need print out the current cs files path.. because for some reason I'm trying to load some images in a program that I'm creating.. but for some reason.. It only works when I add in the full path to it. What path are you really after It's not very clear from your question. You have: System.Environment.CurrentDirectory for the current directory System.Environment.GetFolderPath(SpecialFolder specialFolder) for various system folders like My Documents, Application Data etc. System.Windows.Forms.Application.StartupPath for the path where the app's executable resides in ...Show All

  • .NET Development Memory management for unsafe code

    Hi, It is known that Garbage collector does the memory management for managed code. i have a code that reads 1 billion rows of an event file (.evt). I m parsing each record of the evt file one by one using UNSAFE code. Due to a large no. of rows, my application used to crash, so i used GC .Collect(); & called it after some specific no. of rows have been read. My problem was resolved My question is who does the memory management for unsafe code Is it the garbage collector which i m calling. I m saying this because my memory mgmt problem was resolved after i added the GC.Collect statement.   Be sure to distinguish unmanaged code from unsafe code. Unmanaged code is automatically unsafe. B ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need a Graphics Card with Min XNA specs

    I just ran a tool and it appears my card is not complient. I was ready to give up Beta'ing this app but then saw some of the cool stuff people are doing, so I gotta get me a card. Do any of you guys have a link you can reccomend for the least expensive graphics card that should meet the requirements to develop with the express app If you know the specific brands/models likely to be the most resonably priced that would be usefull information as well. Thanks in advance for any reccomendations. I didn't say anything about "branded pc's", just 3D graphics cards you find on the shelf. I would like to see one current 3D card on the shelf that doesn't support XNA. Xna is built on Direct3D 9. A curre ...Show All

  • Software Development for Windows Vista Ask a question about IMediaSeeking(directshow)

    I public CSourceSeeking on video output pin.Most of the media files have audio and video streams.I can drag the trackbar correctly using graphedt,but when I use windows media player,if I drag the trackbar,the trackbar will go back to the old position itself.If the media file only have video stream,graphedt and windows media player can both work rightly when draging the trackbar.However,if the media files have both types of stream,windows player can't drag rightly but graphedt can.Why The graph's seeking methods forwards the calls to the renderers and they are then passed upstream to the source filters. The graph does not know which renderers come from which sources, so it treats each renderer separately. I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is the XNA Game Studio Express supposed to look exactly like Visual C# 2005 Express Edition?

    I just downloaded XNA Express 1.0 and I looks just like Visual C# Express Edition that I downloaded a week ago. It even says Visual C#.......... and I dont understand why. Also I could never start a new project because there were no templates to select. Does anyone know what my problems are and how I can fix them. matlock85 wrote: I just downloaded XNA Express 1.0 and I looks just like Visual C# Express Edition that I downloaded a week ago. It even says Visual C#.......... and I dont understand why. Also I could never start a new project because there were no templates to select. Does anyone know what my problems are and how I can fix them. I have this same issue. I am on XP, too. ...Show All

  • Visual C++ C++ OOP

    Hi there. Suppose I've learnt C++ syntax including all those polymorphism, inheritance and other stuff from Object Oriented Programming. So what now How to know the things about analizing.. designing.. implementing.. testing I mean I don't know how to use OOP in a concrete project. Can you give me some info about that It would be great if the info would be "compatible" with MFC (I'm really new to programming). As for learning software engineering practices, i.e. design, implement, test, etc, usually you learn these processes when there is a business need, and it usually isn't rocket science. For example, how do you strike a balance between time to ship and number of bugs You don't get this f ...Show All

©2008 Software Development Network