Thomas Ivarsson's Q&A profile
Smart Device Development regarding the issues in smartphone development
hi , i have been involved in smartphone game development . i had found out the following issues , for which i couldnt able to find the solution ., since i am new to Windows mobile . 1. regarding the usage of threads in application : i didnt find any methods to stop the thread .. since suspend is not supported in .Net Comppact Framework2 ... 2 . my application is running properly in the emulator i had even tried with WM5.0 emulator . it s working . but when i open the .EXE file inside the bin folder ., its showing OUT of memory Exception .. i have used 14 images , its total capacity is 14.5kb , and its size on disk is 72 kb . help me in reolving the above issues . these are very critical one , without solving dis i cannot proceed . thanxs ...Show All
Windows Forms Setting Row Height based on cell content
Hi I have a column in a datagridview that i need to custom paint. The column is a text column and the height of the text in this column when custom painted will determine the height of the row. I have handled the custom painting OK and the calculating of the row height from the text I am painting. Setting the row height in the custom cell painting event handler works ok but causes a display problem in that you see the row drawn at the default height then change to the new height when my cell is painted. This shows up badly when the grid is first drawn or the first time you page through the grid. How can I set the row height before ANY painting of the row has taken place but still get access to the CellPaintingEventArgs I ...Show All
Smart Device Development How to build a CE 6.0 Emulator image for VS2005?
Hello I have been trying to build a custom Windows CE 6.0 emulator image & SDK that will work with VS2005, just like the emulators that ship with VS2005 work. I have been able to connect to an image running in platform builder by following the steps in the Windows Embedded CE 6.0Writing MFC/Native Applications Virtual Lab, but have been unable to get a standalone image booting and connected. I removed KITL so the device boots, but have been unable to get VS2005 to connect to the emulator image using either TCP or DMA. I wrote a little app to startup the conmanclient2 and cmaccept applications, so these utilities are running Just wondering if anybody has tried to build an image like this, or if they have any ideas what to do to get this ...Show All
Visual Studio Express Editions Working with embedded resources
Hi, here's the recipe I found for using embedded resources: 1. Open your project resX (ex Form1.resX) and select from the tab the type of resource (ex Ausio, Images, etc) 2. Add by choosing your file (ex here "mysound.wav") 3. in the code, to use the res: String^ ressrc = "Project1.Form1" ; System::Reflection::Assembly^ execAssem = System::Reflection::Assembly::GetExecutingAssembly(); myres = gcnew Resources::ResourceManager(ressrc, execAssem); String^ sound = "mysound" ; Stream^ s = myres->GetStream(sound); SoundPlayer^ pl = gcnew SoundPlayer(s); pl->Play(); hello thanks for your sharing. but i don't see any questions he ...Show All
Visual Studio Team System Build errors after removing VS Team Suite and installing VS Team for Tester
Hi, I recently removed Visual Studio Team Suite Trial addition and installed Visual Studio for Testers. When I build I get the error: Error The "CodeAnalysis" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Build.Tasks.CodeAnalysis.GenerateFullPathToTool() at Microsoft.Build.Tasks.CodeAnalysis.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Not that it matters but I was using Visual Studio Team Foundation Server for my source code management but switched over to Visual Sour ...Show All
Smart Device Development How do I upgrade the OS on my SmartPhone?
Greetings, I got a Qtek 8010 SmartPhone running on Windows CE 4 and would like to update the OS to CE 5 to be able to develop Windows Mobile 5.0 apps. The problem is that I'm really new to smart device development and haven't got a clue as to how to upgrade the OS. How is it done Do I run the installation on my desktop PC and it upgrades the phone through ActiveSync or do I copy an entire image to the phone and run it from there Are there any other issues I should be aware of concerning the upgade of a SmartPhone OS Thanks! This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant for ...Show All
Visual Studio 2008 (Pre-release) FAQ WCF
Hello, As i see, you reply to everybody and often there are a link to an existing post ! Perhaps is it possible to have a FAQ on wcf.netfx.com Best regards and great job ! Hello, Thank you for the suggestion. I am told we are in the process of creating an FAQ and will make it known to the community once it's available. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Create tex2D with msaa and mipmap error reported by runtime
When I create a tex2D as render target view with SampleDesc.count=4 and MipLevels=4 at the same time, directx reports Directx runtime error"an invalid parameter was passed into the returning function" . What is the problem Thank you. I am working for nonatainment. We are only a small company so you probably never heard from us before. ...Show All
Gadgets Which browser will render a gagdet
Hi I was wondering which browser is rendering the gadget. Is it always IE , is it the Browser which is set as default Thanks for advice :) ...Show All
SQL Server need advice on Update statement
I have a simple update statement that set sthe student's password to their id number: update studemo set passwd = ident ident is not part of the primary key but there is a unique, non-clustered index using that column This has been running for over a hour on a table with 25K rows. Am I doing something basically wrong here The log and data are on separate drives. When I run the script from above: while(1=1) begin -- Update 500 rows at a time update top(500) studemo set passwd = ident if @@rowcount = 0 break end I would have expect to see approximately 50 rows indicating 500 rows had been updated since the table only has 25K rows. Before I cancelled the update, I had more t ...Show All
Visual Studio Team System Error while installing Team Foundation Server
Hello Friends I am trying to install Team Foundation Server. But the problem is that at the end of installation i am getting the following error: E rror 28100.Error loading Event web service Could anyone tell me what may be the possible reason and how to solve this error. As i am supposed to install TFS as soon as possible. mail reply to tejas.vakharwala@tcs.com I posted this sometime back. See if this will help you out. http://geekswithblogs.net/pjhacker/archive/2005/11/02/58977.aspx -paul ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Incorrect BoundingSphere Info On Mesh
Can I just ask anyone out there who has used the .x import and then rendered the mesh to check the boundingsphere information for me please. I have looked at the information for my mesh and it just doesnt look right. I have a quad that is 100x1x100 and the information for the bounding sphere says - d.Center {X:-16.51774 Y:0 Z:8.666386} d.Radius 88.6924744 Can someone confirm if their mesh has the correct boundingsphere info. Thanks guys, Dave. Surely most people calc bounding boxes/spheres up front, it should be 100% accurate, shouldnt it The center coords should be 50,0.5,50, why would that be incorrect To get a more accurate bounding sphere, do I need to write my own importer for th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pointer misunderstanding?
Sorry if this seems very basic... I have done all coding up to now in C, so playing with this GSE is quite a bit different than the embedded programming I do at work... I'm trying to manipulate a cube. Nothing special, I just want to update the x and y coordinates based on mouse movement. I have a VertexPositionColor[] nonIndexedCube set up so my cube is just chillin for now. Why can't I manipulate the members of that pointer with either of the following ways foreach (VertexPositionColor vpc in nonIndexedCube) vpc.Position.X += 1; // loop shortened... -- or -- for (int i = 0; i < 36; i++) nonIndexedCube .Position.X += 1; // loop shortened The errors are the same for both ways: Cannot modify the return value because it is not a v ...Show All
Microsoft ISV Community Center Forums Capture Hyperlink values on open MS Access VBA
Hi All, I've been doing some VBA stuff for a while and have run into a problem and I'm not sure if there is a simple answer, maybe I'm just going blind on this. I have a database system that logs a serires of quality assesments, and so far all is good, but the problem I have is with the automated link geraneration response capture. To explain; The system held in Access XP will automatically score each record on a set of rules, and is they fail the pass mark, the person checking the scoring will click the button to send an email to the person whom will need to deal with this. There are two disticnt way I can deal with this, the first is to create a shortcut, embed this in the email along with /CMD open arguments, though the cre ...Show All
.NET Development Always inherit from MarshalByRefObject?
When using .NET remoting, it's obvious you must have some way of passing object values and refrerences to the remote server; but should you apply one of these practices always as a matter of course public class Password : MarshalByRefObject { ... } [ Serializable ()] public class Password { ... } I have noticed that the .NET framework inherits most (if not all) of it's objects from MarshallByRefObject. I seem to find myself now doing the same. Also, when is it best to use Serializable() instead of MarshallByRefObject I'm curious about this as well. DispatcherObject, hence DependencyObject, hence UIElement, hence almost none of the WPF components inherit from MarshalByRefObject ...Show All
