astralboy79's Q&A profile
SQL Server managing SQL server 2000 servers with 2K5 management studio
For some reason when I try to use sql 2005 management studio to manage a sql server 2000 server and attempt to use activity monitor to view processes I get an error (see below) (BTW I love being able to copy the message text). I can perform this operation from enterprise manager without issue. Is this a problem with management studio TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Unable to execute requested command. ------------------------------ Unable to launch Activity Monitor. You may not have sufficient permissions. (ActivityMonitor) ------------------------------ Timeout expired. The timeout p ...Show All
Visual Studio Exception occured when retrieving ContactItem in olFolderContacts
I'm using the following code to retrieve ContactItems in Outlook: Outlook.MAPIFolder defaultFolder = applicationObject.GetNamespace ("MAPI").GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts); foreach (Outlook.ContactItem item in defaultFolder.Items) { //codes...... } However, there are also DistListItem in the same folder and the following exception occured: System.InvalidCastException: Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoflt.Office.Interop.Outlook.ContactItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID ...... Is there another way other than 'foreach' clause that I can get the ContactItem or DistListIt ...Show All
Smart Device Development Pocket PC Screen Size
I've developed a pocket pc application which works fine on emulators, but when running on an o2 xda exec (larger pixel screen size) the screen sizes all halve, how can i get the program to run on all pocket pc's no matter what size of screen You can get screen's size with System.Windows.Forms.Screen.PrimaryScreen.Bounds or System.Windows.Forms.Screen.PrimaryScreen.WorkingArea and than optimize your UI ...Show All
Visual Studio Team System Strange checkin policy error
I have setup a code analysis checkin policy on a Team project, I have a solution where I have migrated code analysis settings so I know they are as stringent as the checkin policy and a build of that solution has succeeded. However when I make a change to one of the projects in my solution and try and checkin after a successful build I get the following policy error: TF10139:The following policies have not been satisfied Internal error in Ensures that code analysis is run with a predefined set of rules This project that is having problems is one where I have significantly changed the contents of the .csproj file as it is in msbuild format. However the IDE build reports no problems. Any ideas tha ...Show All
Smart Device Development Formatting SD cards
hello people, I have written code to scan and format my sdcard on a pocketPC. I have pocketpc with two different OS. On one PocketPC I have Windows Mobile 2003 SE and on other I have Windows Mobile 5.0. My scan function works fine for both OS but Format function fails for Windows Mobile 5.0. Please can any suggest me what is wrong with this. here is my code and debug output for WM 5.0....only gud thing is this code works for WM 2003 SE. VOID CardFormat(VOID) { BYTE bPartType = PART_DOS32; HANDLE hStore = INVALID_HANDLE_VALUE, hPartition = INVALID_HANDLE_VALUE; STOREINFO StoreInfo; FORMAT_PARAMS fp; HINSTANCE hFatUtil = NULL; PFN_FORMATVOLUMEEX pfnFormatVolumeEx = NULL; DWORD dwClus ...Show All
Windows Search Technologies Windows Desktop Search 3.01
I'm please to announce the general availability of Windows Desktop Search 3.01 Overview Windows Desktop Search (WDS) 3.01 is a minor update to Windows Desktop Search 3.0 that adds: support for indexing UNC files, additional support for enterprise deployment, and stability improvements. WDS 3.01 installs on Windows XP and Window Server 2003, but is not needed for Windows Vista since the WDS component is already included in Vista. Windows Desktop Search 3.01 helps you to find, preview, and use your documents, e-mail, music, photos, and other items. The search engine in Windows Desktop Search 3.01 is a Windows service that is also used by applications such as Microsoft Office Outlook 2007 and OneNote 2007 to ...Show All
Visual Studio Disaster Recover Features?
Has VSS 2005 introduced ANY features to support disaster recover requirements Systematic data replication to a duplicate database instance as one example Unfortunately not. VSS is remaining to be a simple SCC program with file based database Analyze tool was significantly improved for fixing errors in the database. Overall reliability of working over the network was also improved. However new tools to create systematic the backup of the database were not added. These functionality is still expected to be provided by other tools. ...Show All
Visual Studio Express Editions dynamic array sizing
Hello all o fyou, I want to change somewhat a porgram, but because of my minimal knowledge of C++ I hope someone can help. The below program (only some parts are given) defines the size of a picture by COLS and ROWS, makes an array with that info and then a picutre is inputted. If the cols and rows of the picture are different then the defined one, an error will be presented. At compile time one needs to know the size of the picture in p2p.h /* standard picture: japan 17% comp */ #define COLS 363 /* number of columns in image */ #define ROWS 329 /* number of rows in image */ in p2p.c /* Left and right images */ uchar imgL[ROWS][COLS]; ... pgmReadFile(fnameL, (char *) imgL, & ...Show All
Visual Studio Express Editions Cannot Download Express C++
Both today and yesterday when i try to download C++ express edition from the main download link and the manual install download links i get a error message "download.microsoft.com can not be found. Please check the name and try again" Are the servers down or are these links broken Rachelle I am having a similar problem downloading any of the express editions or any of the redistributable packages. I just tried the link you provided -- if I try to download from there, it just takes me to http://go.microsoft.com/fwlink/ linkid=54765 with a "Page cannot be displayed" error message. I have downloaded VC++ express edition before, so I can't understand why it doesn't work now.. ...Show All
Smart Device Development how to set control Listbox to multiple selection mode
how to set control Listbox on PPC to enable multiple selection mode This should get you started: http://groups.google.ca/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/6fb4804ae4eb328/c41c25e34754d78f lnk ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shadows in 2D
I'm writing a 2D game and it looks nice, but its missing something. I've never handled shadows with 2D games before, but I believe this would add a nice touch. Can anyone give me any pointers (no, not the programming type) Is there an easy way with XNA to make the shadow appear on my standard background when just doing 2D Glenn Wilson wrote: It's not much but I have put together a small article on how I do it and included a code sample for the task. Thanks a ton, I appreciate the article. ...Show All
Windows Forms listview question
hi I added listview to my form now after clicking on different buttons I want listview to have different columns. This is my code: ListView1.Columns.Add( "File type" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Item Column" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 2" ,20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 3" , 20, HorizontalAlignment.Left) ListView1.Columns.Add( "Column 4" , 20, HorizontalAlignment.Center) ListView1.Refresh() ListView1.Update() The problem is that after clicking the button nothing happens I don't see columns names! What should I change Seems to work fine fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# Express SP1 - Need to install?
I see that the first Service Pack for all the Visual Studio editions has been released. As users of GSE/C# Express, should we be installing SP1 I'm guessing Yes, but not seen anything in these forums about it so far. http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx Visual Studio 2005 represents one of the most significant developer tools releases since the introduction of Visual Studio nearly a decade ago. It offers all types of developers a wider spectrum of development possibilities and a greatly advanced design experience. By expanding the Visual Studio product line to include the Visual Studio Team System and the Visual Studio Express Editions, Visual Studio 2005 delivers a c ...Show All
Visual Studio Why is VS2005 (pro) taking 1,5 gb of my c: partition before installing
hi when i want to install visual studio 2005 professional, the setup requires 1.5 gb of my c:/ partition. Why is this And is there a remedy against it Well to be honest (sorry for the late reply), I did change the filedirectory to a partition which way well goes over 1.5 gig. ...Show All
Visual Studio Team System Sharepoint Service App Pool always stop automatically
hi, all After my team use team system to manage software development and version control, we found that it is really a convenient and fatastic platform. But few days ago, I found that I cannot access sharepoint web site of team project. And I cannot create new team project, the error information indicates that I have some issues with Sharepoint service. I checked TFS, and found that Application Pools for Sharepoint always stop automatically. The application pools are TFSWSS and TFSWSSADMIN. If someone knows that answer or meet this kind of issue before, I would be appreciate for your help. Thanks. ...Show All
