progames25's Q&A profile
Smart Device Development Where is the stand alone emulator now?
The link that used to point to the stand alone emulator has been replaced by the "Windows Mobile Emulator Images" page. http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/default.aspx It lists the Microsoft Device Emulator as being available, and links further down the page to " >> Coming Soon! Download Microsoft Device Emulator 1.0 " The stand alone emulator has become a really useful tool for many people. Where is it now OK, good progress. Based on the above information, the WM5 emulator can be run. Should I be able to get a WM2003SE emulator running using the "Emulator Images for Windows Mobile 2003 Second Edition software for Pocke ...Show All
Visual Studio Team System Does Team Foundation Explorer work with Vista RC1 & Office 2007 B2TR?
Does team founcation explorer (TFC) work with Vista RC1 & Office 2007 Beta 2 technical refresh I noted that the TFC install wants to deploy VSTO 2.0 & the Office 2003 PIAs which would seem outdated for at least the Office 2007 portion of the environment. ...Show All
Visual Studio Express Editions How to compile and ave to exe
If i compile my console aplications hes saving it into source code again. How can i compile to .exe Hello Could you please supply a few details on exactly what you want to achieve here please Thanks Damien ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Out of video memory when I have plenty (128Mb)
I've had several computers fail to create the DirectX device in full screen mode because of an "out of video memory" error. In two cases, the cards have 128Mb, and I'm sure it's not using even close to that much video memory (front buffer + 2 back buffers = 3*1440*900*4 = 14.8Mb (not even close to 128Mb). On one computer, I was able to solve the problem by lowering the DirectX quality settings from the control panel. On the other computer, that didn't solve the problem. I'm sure my program isn't requesting high quality settings (MultiSample = none, MultiSampleQuality = 0). Does anyone have any idea of why this would happen, or what I can do to fix the problem Thank you, Jeremy Blanc - The debug ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using a Primative to obscure View
I'm creating a loading screen. I'm doing this by drawing 2 primatives to form a simple positioned coloured vertex as a rectange. The square is black, and is the width and height of the screen (as in device.DisplayMode). I'd like this to rectange "cover" the screen while textures are loaded. I'm doing it this way so I can fade the loading screen out to reviel the environment once everything is ready to go. However, because the position of the primative is 0, 0, 0 - and I do not wish to move my camera, the primative is obviously at a distance (not covering the screen). Mathamtically, what is a good way to position this rectange directly infront of the camera, without moving the camera, and without adjusting the perspective ...Show All
.NET Development .Net 2.0 threading: calls to Join(), after calling stop(), nerver return.
Hi, I have recently converted our .net 1.1 project to .Net 2.0. One big issue that I am running into, and still don't have a clue of, is the our code for terminating a thread is no longer work. We have code that starts a thread and then kills it later. When killing it, we just call stop() then join() and it worked fine under .net1.1. But now it is not, after converting to .net 2.0. The join() never return. The app is just hang. Currently, I am just skip the join() and just call stop(). I know this is not safe but I don't have an option. What should I do to make it right Thanks. Feng If you own the code running in the threads then aborting the thread is absolutely the wrong approach - as nobugz ...Show All
Visual Basic Obtain MAC Address
How can my application to obtain the MAC adress of the PC in wich is installed Como puede mi aplicacion obtener la direccion MAC de la PC en la que esta instalada Thanks! Gracias! On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array("localhost") For Each strComputer In arrComputers WScript.Echo WScript.Echo "==========================================" WScript.Echo "Computer: " & strComputer WScript.Echo "==========================================" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * F ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Typos
Should I submit typos on Connect or is that sort of thing taken care of Bugs submitted through Connect are actively reviewed by the documentation team. Please feel welcome to submit any issues you have with the documentation and we'll do our best to respond. Thanks, Bonnie ...Show All
Visual Basic MultiDimensional Aray of Points Vs2005
Hi, I'm having trouble coming to grips with the use of arrays. This time I need to put a number of co-ordinate Points into an array. for example startPoint = 50,180 endPoint = 100,180 I've initialised my array : Dim arrowCoord(,) As Point = New Point(,) {} Then tried to input data with this. arrowCoord(0,0) = (startPoint, endPoint) I'm getting the error message that a ')' is expected at the comma between startPoint and endPoint. Would appreciate any advice. Whe I get this right I need to write the data to an Sql table, so would appreciate a little help with that also, as far as the extracting the data from the array. Thanks Tailor Hi, Here are valid and non v ...Show All
Visual Studio Express Editions capturing pixel color
I have an image in a pictureBox. How can I "get" the R, G, and B values of EACH PIXEL (I know about looping..I need the instruction to actually "get" the values). thanks, xlthim 1. I need to cycle through EVERY pixel in the image, not move the mouse over the image. For now, I'll just run a for loop and store them in an array. What I'm trying to do is manipulate the R, G, and B of each pixel, then redraw after my corrections. 2. I tried to run your exe, and I need an SDK for IC Imaging Control. If I can get past this part, I figure I could run the for loop and call your function. tks Found the IC Imaging stuf ...Show All
Windows Forms ListView + Scrollbar
Hello, I have a little problem here, i'm creating custom control of ListView, drawing items myself with ownerdraw=true, but i don't like scrollbar of listview, so the question is how to access it, or how to draw it myself Hi, If you want to draw custom control, just reference to: http://www.ondotnet.com/pub/a/dotnet/2002/03/18/customcontrols.html page=1 and more example : http://www.codeproject.com/cs/miscctrl/ScrollingTextControlArtic.asp Hope it helps. Thanks. ...Show All
.NET Development Debugging a windows service in VS 2005
HI All, I am having problems when debugging a windows in VS 2005 . Basically i created a simple widows service by adding a timer control to the service designer setting enabled to true and interval to 10 secs. On the timer tick event it just intializes variables etc. Added an installer , and altered the settings of the ServiceProcessInstaller1 to localsytem. Complied the .vbproj and through the VS 2005 Command prompt inserting the command installutil "path of windows service.exe" to install the service. Started the service from the server explorer and placed a breakpoint at the the timer1_tick event. The problem is that the event is never triggered. I also created a windows service in VS 2003 and all worked fi ...Show All
.NET Development using statement on SqlDataReader
Hi all, if I am to use the 'using' statement on a SqlDataReader where the resultset then gets passed outside of the method in which it was executed, will the 'using' statement still clean up the resources (close, dispose etc) although the SqlDataReader ResultSet gets passed out of the method What I currently have is below, but am not sure whether making use of the 'using' statement on the SqlDataReader will actually clean up its used resources. public static SqlCeDataReader ExecuteQueryGetDatReader(SqlCeConnection objSqlCeConnection, string strQuery) { SqlCeDataReader objSqlCeDataReader; try { using (SqlCeCommand objSqlCeCommand = new SqlCeCommand(strQuery, objSqlCeConnection)) { objSqlCeCommand.CommandType = Comma ...Show All
Visual C# Number Combinations
Ok. What I need is a method that discovers all the different combinations of any give set of numbers. For example, if my numbers were 1, 2, 3 all the possible combinations would be 123 132 213 231, ect. Can someone help Here is a simple, recursive solution (up to you to implement it): - If you're going to construct all the possible combinations of n characters, all you need to do: - Find all the possible combinations of n - 1 other characters, and prepend the n-th charachter to that result. Here's an example in php: function permutations ( $string ) { $results = array(); // only 1 letter -> only 1 permutation if ( strlen ( $string ) <= 1 ) { $results [] = $string ; return $results ...Show All
Architecture DLL expertise
Is there a book or consolidated web resource that provides advanced details of DLLs Some of the things I want to study in depth: 1) binding an executable to a specific version of DLL (that is, to resolve the addresses of imported functions at compile-time). 2) pre-mapping of DLLs to different fixed addresses. 3) relocating DLL code, as it is loaded from disk, can make it potentially non-shareable between processes. What exactly causes this 4) Can a DLL referenced in C++ code with #import be either explicitly or implicitly linked, or does it only permit implicit 5) In C++, when is it appropriate to use "#import" My own guess, regarding question 5, is that #import has two purposes: 1) To allow the registry to ...Show All
