Tryin2Bgood's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Terrain Generator Questions...
Ok folks! I'm almost there with converting my terrain generator out of the book I'm working with. I had some trouble around some things missing in XNA, however even though they were missing, they were replaced with EASIER techniques. The loss of the mesh object is definitely NO BIG DEAL. So basically I have a Windows App with two panels. One displays a heightmap and one displays the terrain. I'd like to be able to move the camera around inside the panel with the terrain, but the performance is yukky. I think this is because I have to invalidate the form to get the redraw to occur. Since this is the first time I've mixed Windows Forms with DirectX, anyone have any advice on how I can make the performance better in my one viewport I'm thin ...Show All
Windows Forms Overriding behaviour of control box buttons
Hi there, I have a dialog that I basically want to stay "open" all the time - though its visibility can be toggled through an option in the "Windows" menu of my main form. The problem I'm having is that clicking the X in the control box at the top right of the dialog causes it to be closed and disposed. Is there any way to override this behaviour I've tried overriding the OnClosing, OnClosed, OnFormClosing and OnFormClosed methods, but to no avail. I don't really want to hide the control box. ...Show All
Visual Basic Can not run asp.net on Visual Studio 2005
I created aspx pages in a web site using Visual Studio 2005 on Windows XP Home Ed. I think I got it to work before. One time when ask if I want to block internet, and I answer yes, then it stop working. I got 2 error messages. First dialog box message: ASP.NBET Development Server failed to start listering on port 1455. Error message: An invalid argument was supplied second dialog box message: Unable to connect to Visual Studio's localhost Web Server How can I fix this problem, please help. Thanks ahmedilyas is correct, you must have the professional version of XP. In order to recieve quicker and better answers to your ASP questions please use the following forum: http:// ...Show All
Visual Studio Team System Building 1 Soln with multiple web projects in Team Build
Hi, I have a solution with mutiple projects. There are 3 web projects in the solution and a few other library projects. WHen using a web deployment project (wdproj) for the main website, how come Team Build skips compiling of the 2 other web projects I need these two web projects within my solution. What can be done to oversome this I have created two new configurations DEV & QA within configuration managere and set those release types. I am only building in DEV & QA modes not Debug & Release. My DEV & QA modes are essentially release modes. Skipping because the "$(AspNetConfiguration)" configuration is not supported for this web project. You can use the AspNetConfiguration property ...Show All
Windows Forms Runtime loaded controls
Hi everybody, I created a usercontrol witch contains a richtextbox (not only) where the height of that control Depends on the content of the richtextbox, bind to a table of a dataset. So each usercontol displays a row from the table as list in a groupbox with a vertical-scrollbar And I’m fine with that. But my problem is now, because the table could be a really big one – so I can’t bind them all at once, how to get the information when the usercontrol leaves the visible area of the groupbox. (I don’t want to use a 2. scrollbar to skip may be 10 usercontrols like pages at the time) Thanx a lot for hints ...Show All
.NET Development how to jscript in vb.net
hi , i my dot net application vb.net i have add web browser control at the time of loading the application can it automatically open a html file and can anybody tell how i write code for the html file using java script in vb.net Hello Narasiman, I have a question to ask first. What is it that you want to do in the html file using JavaScript ...Show All
Windows Forms Help with listview
How would I go about getting my listview like this http://channellist.aresunlimited.net/listview.png Check out the ListView.OwnerDraw property ... ...Show All
Windows Search Technologies API for finding IID_IGatherNotify for WDS
Hi All, is there any API i can use for finding the IID_IGatherNotify for WDS2.6.5 or 3.0 Hello Akshay, I hope this information helps. The following is a method that will initialize the Gatherer interface and specify the index to notify and the application store to monitor. Syntax void Init( BSTR bstrApplication , BSTR bstrProject , variant varScopesBstrArray ); Parameters bstrApplication [in] This string specifies the application. bstrProject [in] This string contains the name of the indexer to pass gatherer information to. varScopesBstrArray [in] This optional variable allows you to pass an array of scopes to be initialized. Return Value No ret ...Show All
SQL Server SSAS Poor resource usage
Our users use Excel 2003 pivot table to analyze data on our SSAS 2005 database. They experience poor performance as soon as the products dimension is involved (800.000 leaf members), query performance is worse than with AS2000. At the same time, we notice that msmdsrv.exe only occupies 350 Mb of memory at the peak, and only 25% of processor time (bursts above 25% of processor time do occur, but are extremely rare). This is on a dual-core x64 Opteron, effectively a 4-way processor, with 16 Gig of memory. Why is msmdsrv waisting time constantly allocating and freeing-up memory at the 100 to 400 Mb level, where we have about 12 Gig of memory on that server sitting idle How can we make msmdsrv aware of those available 12 Gig and 7 ...Show All
.NET Development ResourcePool problem
Not sure what has changed, but I'm getting this exception. I have registered oledb32.dll and comsvcs.dll but no dice. Please advise. ************** Exception Text ************** System.PlatformNotSupportedException: 'ResourcePool' is not supported on the current platform. at System.EnterpriseServices.Platform.Assert(Boolean fSuccess, String function) at System.EnterpriseServices.Platform.Assert(Version platform, String function) at System.EnterpriseServices.ResourcePool..ctor(TransactionEndDelegate cb) at System.Data.SqlClient.ConnectionPool..ctor(DefaultPoolControl ctrl) at System.Data.SqlClient.PoolManager.FindOrCreatePool(DefaultPoolControl ctrl, IntPtr SID) at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConne ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need Path-Finding
I am currently working on an RPG using XNA and I was wondering if anyone has implemented a shortest path algorithm on XNA. I need some shortest-path collision-avoiding code that I can use on a grid. I have looked at A* and Dijkstra's algorithm, but I think both may be outside my capabilities as a programmer. Any help is greatly appreciated. A-star is usually better than Dijkstra, even for "guaranteed shortest path." That's because it won't examine nodes that can't possibly be part of the shortest path. Dijkstra calculates global costs (examine all nodes). A-star is really simple, though. It looks something like: Pos p = startPos; Pos g = theGoal; PriorityQueue<Pos, Cost> open = new Prior ...Show All
SQL Server How many drives can be mapped to 2 SQLServer on cluster
Dear all, We have just configured a SAN system and 2 SQLServer clustered(A/P). The vendor has mapped 2 logical drives each one is accessed by each SQLServer ex: Logical Drives on SAN :- H: and G: Server S1 have accesses to H: and Server S2 have accesses to G: but at a time we can see both logical drive on each system but can access there mapped drives. Is this possible to have 2 logical drives on each server mapped with each other on the cluster server. Server 1 having drive H: and G: Server 2 having drive H: and G: Note : Vendor told us that there is a BUG in SQLServer 2005 that only one drive can be mapped with each sqlserver in a cluster. Please help Is there can Document Released from Micros ...Show All
Visual Studio Team System Cannot pass a GCHandle across AppDomains while using unit testing.
Got a manage C++ class in a class library that uses unmanaged C++ lib. The managed C++ class handles callbacks from the unmanage C++ lib by a delegate "gcroot<MessageDelegate^> m_MessageDelegate". To invoke the delegate I use the call "m_MessageDelegate->Invoke(nMsgId);". This works without any problem when running applications using this class library but when testing the class library using unit testing I got the error "Cannot pass a GCHandle across AppDomains" when I invoke the delegate. Please take a look at this (duplicated ) post that can be helpful. Thanks, Michael ...Show All
Smart Device Development modified The queue does not exist or you do not have sufficient permissions to perform the operation.
hi i have taken this example at http://msdn2.microsoft.com/en-us/library/ms180970.aspx this is used to transfer messages between device and desktop queues this application run ok but it doesn't send the messages to desktop queue i am using vs2005 and and emulator pocket pc-wm5.0 please suggest thanks arvind Yes, that's how MSMQ works - your application sends a message and MSMQ service delivers is whenever it could. You won't get an error even if message is undeliverable, e.g. sent to none existing host or even if device has no network at all. You can configure timeouts and get notified of expired messaged, but there’s no error right away. As to no messages been delivered, do you ha ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left Mark we have run into the same issue with our IT group trying to use some of the labs for studio 2005. No connection - we are also waiting for a solution or at least what chcnges in the firewall we can test. Thanks ...Show All
