John Blight's Q&A profile
Smart Device Development Using Vista and PPC 2003 Devices
Hi, I'm trying to use Vista (beta 2) and VS 2005 to develop a Windows Mobile 2003 SE application. However, whenever I try to deploy my very very simple application to the Pocket PC 2003 Device (not the emulator) I get an error saying: Connection failed. ActiveSync is not installed. From what I have read ActiveSync is not needed on Vista as it has some of AS built in. However, it looks like VS 2005 doesn't quite understand this! When I plug my device in to the cradle, Windows 'pings' at me but I don't see anything in the Sync Center. Should I I did try to install AS 4.1 before I found out about Sync Center but the installation ...Show All
Visual Studio Express Editions reconstructing variables into memeory
Greetings, I finally have figured out how to send 8 bit chars over my serial port. Thanks to all who helped. Next battle: I am communicating with an 8bit microcontroller. My compiler for the microcontroller allows me to generate integers larger than 8 bits. ie 16, 32, float ect. Lets say I have a 16bit variable in the microcontroller. It resides in two adjacent 8bit memory locations. I can send this variable out of the microcontroller over the com port one byte at a time from its memory location. ie send the lower byte, then send the upper byte. I can easily receive these two bytes into and array in VC++. My question is this: How do ...Show All
Smart Device Development Link error of CeMountDBVolEx
Hi all, I am developing WM5 edb application. there is a link error of CeMountDBVolEx : LNK2019: unresolved external symbol "int __cdel CeMountDBVolEx (.... " I have added "coredll.lib" to Additional Dependency of the Configuration Manager, but still get this error. Please advise. Take a look at the following posting and the posted answer, I believe it is the same issue. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=143643&SiteID=1 ...Show All
.NET Development FileSystemInfo missing functionality - GetSize() and GetSizeOnDisk()
It's a bummer that I can't get the file/dir size and size on disk e.g. FileSystemInfo.GetSize() and FileSystemInfo.GetSizeOnDisk(). It would be great to get this in the next version unless this functionality is already in the framework somewhere. Yeah I realize that properties are implemented by accessor methods under the covers. However, the .NET Guidelines state that properties should behave more like simple state set/get. Any property that is long running should probably be re-written as a Get*() method. Which is why I was expecting to find a GetSizeOnDisk() *method* (rather t ...Show All
Visual Studio Tools for Office word 2003 - complex xsd
Hello, We are using a complex xsd with element and attribut. It's an administrativ schema. After adding an xsd on us document, in Word's Panel (XML), we can view xml node without any attribut of schema ! It's normal, or can we find an other solution to use schema --------- FRENCH : Bonjour, nous appliquons a un document word un schema xsd relativement complexe. Celui-ci nous est fourni par une administration et est correctement formee. Est-ce que cela vient de word qui ne gere pas les schemas complexe Nouveau bug Nous ne procedons pas correctement Lorsque nous esssayons de parser notre document avec les elements du schema, il s'avere que l ...Show All
Visual C# Control class and Controls.
Hi everyone, I do not exactly understand the usage and purpose of Control class and Controls. Would any of you please explain their usage to me Ah sorry, I mean Controls by saying Control. Sorry again for this. ...Show All
Visual FoxPro getpict() /explorer defaults
Using XP & VFP9 When I issue fn=getpict(), How do I force the explorer window to sort by file name and display thumbnails. I have set remember each folders settings in Folder Options, Explorer always displays the directory properly, But I can not get getpict to sort on file name. It would be nice if I could set the default directory to open also. You can set the folder before hand. You can save the current dir (FULLPATH(CurDir()) to a memvar or an object property and restore it later. Cd "C:\Documents and Settings\<your user name>\My Documents\My Pictures" ...Show All
Smart Device Development Debug using Emulator and VS 2005
I installed VS 2005 machine that had VS 2003 on it, but NEVER a beta of VS 2005. At first I could not even connect to an emulator with VS 2005 (VS 2003 worked fine), but then I was told to delete all the files in the %USERPROFILE%\local settings\application data\Microsoft\CoreCon\1.0 directory and that allowed me to connect. The new problem is I still cannot debug. I select debug with VS 2005 and I can see all the files being deployed, but when it goes to run the application that was deployed, it seems like the debugger cannot find it. The entire application is there, because I can select with the file manager in the emulator and actually ru ...Show All
Windows Forms DataGrid Rows and Columns
. I have sucessfully populated my datagrid on the form from a MySQL datasource table. I have also sucessfully stored the row number and the column numbers to be used to generate another datagrid. I want to use these stored row number and column numbers in another class to generate another datagrid (attached to a windows form) but it always shows no row and columns. What can I do for the next class to see and use my stored row and column so that I can use the For i= 0 To myLastRowNumberInTheLastClass, and For j=0 To myLastColumnNUmberInTheLastClass I have tried using delegates and public properties to retu ...Show All
Visual C++ Tool to convert from /clr:oldsyntax
Hi there, At one point there were rumors that MS would post or sell a tool to convert from the old managed C++ syntax to the new C++/CLI syntax. Stan Lippman wrote a series of articles on his blog: http://blogs.msdn.com/slippman/ The beta docs included a reference to it: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=c0ee7a81-9636-48d8-99c5-891afa4a017f Ronald Laeremans from the VC team hinted that it might come: http://groups.google.com/group/microsoft.public.dotnet.languages.vc/browse_thread/thread/fe1df799a46bcce4/c9a0ae46a4d8e9bf lnk=st&q=mscfront+cli&rnum=1&hl=en#c9a0ae46a4d8e9bf ...Show All
Visual Studio NullReferenceException in CSC task
Any ideas why I would get this C:\Tools.csproj(58,3): error MSB4018: The "Csc" task failed unexpectedly. C:\Tools.csproj(58,3): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. C:\Tools.csproj(58,3): error MSB4018: at Microsoft.Build.Tasks.ManagedCompiler.CheckAllReferencesExistOnDisk() C:\Tools.csproj(58,3): error MSB4018: at Microsoft.Build.Tasks.Csc.InitializeHostObject(Boolean& appropriateHostObjectExists, Boolean& continueBuild) C:\Tools.csproj(58,3): error MSB4018: at Microsoft.Build.Utilities.ToolTask.Execute() C:\Tools.cs ...Show All
Smart Device Development What architecture is the wm5 emulator really?
This mrc p15, 0, r0, c0, c0, 0 returns R0 = 0 x69059201 The group of bits16-19 (*) indicates the architecture. According to the ARM, this (05) is a 5TE. However, this if (_AddSatInt(32767,32767) == 4444) { GPFs (makes it to an exception handler, code = 0xc000001d) when run in an emulator, but executes fine on real ARMv5TE processors. This intrinsic (boils down to a qadd) is part of the E/DSP extensions (the E in 5TE). So, is it supposed to be a 5TE, or a 5T A 5T should have 04 in bits 19-23, So, what architecture is the wm5 emulator really ...Show All
Visual C# web site administration tools
Hi all. I'm executing a Microsoft walkthrough to configure my web site with login control. It says to open web site administration tools (OK, current user:MyGroup\MyHost). Click on security tag (ok)...then choose... But at this point i have nothing in Security tag: There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to c ...Show All
System Center The outgoing agent queue is full
HI, I can't find the agente queue to verify if it is getting full or if it is already working fine. How can i know if the queue is normal Thanks, Belmiro SCCP simulates the "steady-state" performance of a system, so if a simulation completes without errors it indicates that your queues are in a healthy state (i.e., that they have not filled up catastrophically). There's no way to see this information first-hand - i.e., no simulated performance counters recording queue lengths - but you can infer it from the transaction times. ...Show All
Visual C# New to Windows Services -- Now What?
I'm using C# with Visual Studio 2005, .NET FrameWork 2.0. I have created a C#, Windows Service project. I have -- I believe -- written all necessary code for the Service. Everything compiles clean. I find myself asking, "Now what " The following are my more direct questions: 1. How do I "install" my new Windows Service on another machine, or even my own development box 2. This is early development code and I want to test it as a running Service. Suppose I run into a bug (or a few). What is the procedure for "uninstalling" and/or "reinstalling" my updated Windows Service The available documenta ...Show All
