GMann's Q&A profile
Smart Device Development Pocket Office on emulator
Am I correct to say that there is no Pocket Office on the emulators (I tried the smartphone SDK, haven't tried the Mobile 5.0 SDK) Can Pocket Office be installed on the emulator and how Well the other solutions that have been available are not a robust as the option in Pocket Word. The has been one of the most useful features in Pocket Word and removing that feature from Word Mobile is a bone-headed decision. You could have actually made ...Show All
Windows Forms FileDialog and Listbox
Hi I have a button which opens a file dialog and allows the user to select multiple files. But instead of opening the files I need a list box to display the list of files selected. Is this possible if yes how do I get the list box to display the list of files.What objects should I be using . Thanks in advance. You migth want to check this link: http://www.codeproject.com/cs/miscctrl/FilesLi ...Show All
Visual Studio Team System Version Control Best Practices?
Can somebody please provide some best practices in the use of Team System Version Control Especially in the area of mulitple builds, etc. Here is an example: We have a single code-base with 2 different clients. We do daily builds for our internal QA folk. Usually on a bi-weekly basis we do a build out to the production server as well. A couple of days later we may do another build that is put out to the production server for th ...Show All
Smart Device Development Windows Mobile 2005 and Notification Ballons
Hi, I am porting an application designed for Pocket PC 2002 and 2003 to run on a 2005 device (A symbol MC70 engineering sample). At present my largest issue is to do with notifications displayed via the SHNotificationAdd api. On earlier versions of Pocket PC these notifications would take the form of a popup ballon anchored to the top of the screen. On the new Windows Mobile 2005 device the same code is causing a notification anchored to the bot ...Show All
Visual FoxPro [noob questions] Arrays..
Aaaaaaaaaaaaaaaarrrrgggghhhhhgadsfhasdjhf 1. Is foxpro incapable of returning an array from a function by using the return statement 2. Does foxpro have a function that merges 2 arrays 3. How do you pass an array as an argument to a function in a class when the array is a class variable For example: define class test as Custom dimension Arr(1) procedure asdf(tmpArray, tmp ...Show All
Smart Device Development How to change profiles programmatically on SP2003?
Hi, In an application of mine I want to switch the phone's profiles. Currently, I do this through emulating key presses to the Quick List window. But as there are now QVGA and WiFi devices out with changed Quick List, this is not very robust. So my question is: Is there a way to switch the profiles by code I can change the registry value HKEY_CURRENT_USER\ControlPanel\Profiles\ActiveProfile, but I have not yet found a way to communicate this ch ...Show All
SQL Server Execution Plan display
I am trying to run some stats on my database and have utilized the Execution Plan. I have run the execution plan and can see the data concerning the I/O for my clustered index scan when I mouse over the plan. How do I get this info into some sort of a table or text format for comparison Thanks J. You obtain the information in a text format if you use the SET SHOWPLAN_TEXT ON and OFF and between them your qu ...Show All
Visual Studio 2008 (Pre-release) Any opinions on the untyped-ness of xaml?
I love xaml and I think it's super powerful. However, the whole system gets much of it's productivity by being untyped. Meaning, if I can bind to a 'path' that is found in a datacontext that I can set/change in the code-behind, no compiler will ever be able to help me figure out that I made a typo in the path. Actually, when I change a property name on the dataobject I'm binding to, goodluck finding all the references in xaml files. This seem ...Show All
Visual Studio Tools for Office SelectionChange only fires once
I am trying to run some logic as a user selects different folders in Outlook (e.g. - Inbox to a subfolder to another subfolder, etc.) I want to enable / dusable some commandbuttons, etc. The problem is that the event fires once and no more. What is the best event to handle for this purpose Is it SelectionChange Why would the event stop firing WHat could I have done wrong in my code Sounds a lot ...Show All
Visual C++ How to get the size of a Drawn String using GDI+?
Before I DrawString( ) in a rectangle using GDI+ method, i want i to be able to figure out size (specifically the width) of the rectangle required to fit the string. This way i can center the rectangle and its associated icon on a button. Any ideas Thanks. I don't know if this will help, I used TextOut in a program once and also had to specify the text size. strlen or GetLength() worked for thi ...Show All
Visual C++ Very simple question from a programming newbie
All I need to do is use VS.NET to compile a .c program to the point that the result is a .o file. I know very little about programming and even less about VS. What I do know has lately concerned UNIX and FORTRAN. Can anyone help Thanks! --Amanda If what you need is just the object code, you can always run the c/c++ compiler from the command line. if you have a file named hello.c, the command will be: cl -c hel ...Show All
.NET Development Where to handle GUI-only sequece column
Hi, I add a GUI-only column ItemNo which is just a sequence on my table per client specification. I've handled DataTable RowChanged which in my opinion is the right place but they're not reflected in the data table. As much as possible, I don't want to iterate on all the DataRows and I want this to be done on an event. What is the proper event to handle this ...Show All
Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods
I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0 into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All
SQL Server Attaching database to SQL Server 2005 failed!
Hi, all masters here, please help me for attaching database to the SQL Server 2005 then. I cant attach any database to my SQL Server 2005! Error as below always happened! could not find row in sysindexes for database ID 21, object ID 1, index ID 1, Run DBCC CHECKTABLE on sysindexes So what is indeed the problem tho please help me then. Thanks a lot. Hi, seems that your data is corrupt in any way, did you try to attach the database v ...Show All
.NET Development How to force use of .NET 1.1
I've got an Win32 desktop application that utilizes a managed code assembly. According to MS documentation, in this case, the managed code will utilize the most recent .NET version that is installed. My app is failing on all users' machines as soon as they install .NET v2.0. How can I force the app/assembly to use .NET v1.1 instead 2.0 Thanks! -pete Does the following piece of code in your app.exe.config file help < xml ve ...Show All
