Markus Sch.'s Q&A profile
Software Development for Windows Vista HBMMENU_CALLBACK in vista
The following code always failed in Windows Vista (Beta 2 Build 5384). It is deemed a completely legimite code and works fine in Windows 2000, XP. Is this a known bug or HBMMENU_CALLBACK is not supported anymore Debugger shows that USER32!ValidateMENUITEMINFO sets the last error code as: LastErrorValue: (Win32) 0x57 (87) - The parameter is incorrect. MENUITEMINFO menuItemInfo = {0}; menuItemInfo.cbSize = sizeof(MENUITEMINFO); menuItemInfo.fMask = MIIM_BITMAP; menuItemInfo.hbmpItem = HBMMENU_CALLBACK; ATLVERIFY( SetMenuItemInfo(hMenu, ID_FILE_NEW, FALSE, &menuItemInfo) ); Any leads or information would be appreciated. Thanks I copied your "wm_contextmenu" handler and I got no ...Show All
SQL Server Promelm with SQL 2005
Hi I have a problem with SQL 2005. I had installed in my PC SQL Express and it with working fine with my Windows XP SP2 and VWD untill one day with I tried to lunch ASP.NET Configuration and clicked on Security , and then it showed me message " Unable to connect to SQL Server database." , i don't know what happend!!! Here's link to screen shot about the message... http://www.unlimitednetwork.net/data/screen_shot_1.JPG After 2 days i Installed SQL 2005 Standerd , I said my be there's something wrong with Express version. After installed SQL Standerd still the same problem. When i lunch Microsoft SQL Server Mangement Studio it's working fine. And when I go to my Computer and Right Click and chose Mange it showed me that S ...Show All
SQL Server Report Server Instalation - please help!!!
Hey, I've installed the reporting services with the SQL EXPRESS 2005. I've succeed to make some reports, and now i want to deploy them. When i'm trying to run the reporting services configuration manger, i get the message "bad namespace". ican't connect in the instalation window to any machine that i'm trying to connect. iI've tried to connect my computer, other computers with SQLEXPRESS and with SQL 2000, but i didn't succed. How i should configure the report server please, help ! ...Show All
Visual Studio SSMS and VSIP
Does anyone know if VSIP addins can be integrated into Sql Server Management Studio There is a "Packages" key under the main SSMS registry key, and if you register your package there, SSMS appears to read those keys (using regmon to see this). If yes, then how do I request a Package Load Key for SSMS The PLK request page only has Visual Studio in the dropdown for which IDE to support. Any help is appreciated... ~Steve Hi Steve, I also think so, because the SQL Server Management Studio and VSIP/VS SDK are unrelated. I am sure that internally the SQL Server Management Studio uses IDE technology borrowed from VS (not only the toolbars, which in turn are borrowed from Office) but all ...Show All
Visual Studio 2008 (Pre-release) xaml projects
I just installed vc# express and the .net3 runtime and the windows sdk but I get no xaml/wpf project templates. How can I create a xaml project with vc# express pretty much yes, as that is what it says in the link under the notes Supported Visual Studio 2005 released (RTM) tool sets: Visual Basic Express Edition, Visual C# Express Edition, Visual Web Developer Express Edition, Visual Studio Standard Edition, Visual Studio Professional Edition, Visual Studio Team System Editions. * * Note: The Visual Designer for WPF is not currently supported on the Express Editions of Visual Studio 2005. ...Show All
Visual FoxPro Connect to Outlook Express and Microsoft Outlook
Dear Expert, Can I know how to connect to the Outlook Express and Microsoft Outlook using FoxPro Like the data in a memo feild how I connect or send out using the Outlook Express and Microsoft Outlook Or Can I generete email using FoxPro Thank you. Bankim, I don't know the answer. Maybe you don't know but writing in uppercase is considered as "shouting at". Both Alex and Marcia are trying to help and they don't deserve to be shouted at. I believe you didn't know that rule:) PS: I had the luxury to meet both of them in person and they are very nice people (nicer than you can think of - as many others in VFP community. Greetings ...Show All
Visual Studio Is ReportViewer running on Windows Server 2000 ?
Is ReportViewer running on Windows Server 2000 Since my post, I had another reply from Microsoft. ReportViewer web server control shipped with VS2005 is not supported on Windows Server 2000. I now know others companies that had issues with this control and all migrated on Windows Server 2003. All had a system exception when loading control in web page. ...Show All
Visual Studio Steps to fix error 32003 for Visual C++
This information was taken by Looooooka . I just make this information easier so people can understand it. Step 1: Go to My Computer Step 2: Move your cursur(mouse) to the File Edit View Favorites Tools Help shown on the top of address bar and the back button. Step 3: Go to Tools and click Folder Options... Step 4: Go to the View tab / Advance Settings: Step 5: Go to the very bottom and you would see Use simple file sharing (Recommended) Uncheck it. Click OK Step 6: Go to your Microsoft Visual Studio 8 Folder in Program Files Step 7: Locate the file you had problem with for example (vsvars32.dat, sdkvars.bat , etc.) Step 8: Right Click on the file and go to Properties and go to the Security Tab. Step9: Find your user name and chec ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Integrating Joystick
Hello, I am fairly new to the .NET platform and currently using VB.NET to read joystick input. I am using DirectX 8 and following a reference I found on MSDN. However, this piece of code is generating a run time. EventHandle = inp_device.CreateEvent( Me ) EventHandle of type long, inp_device is of type DxVBLibA.DirectX8. The exception generated reads as follows: Cannot cast windowsApplication1.joystick_controller to a DirectXEvent8 object. I would appreciate any direction in this matter. Thank you, Nath I'm really susprised you could find good DX8 documentation. You should be using ManagedDirectX 1.0 or XNA (which is the only other managed alternative). Right now though XNA is only supported with ...Show All
Silverlight (formerly WPF/E) How to change Attributes value of xml node at runtime through javascript
Hi, How i change xml elements attribute value at runtime through javascript . Thanks The sender["propertyName"] is only recommended (required) for attached properties like Canvas.Left: sender["Canvas.Left"] = 5; -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual C++ OnShutdown() method does not work !
Hi all experts, I am using VS Pro 2005 and Win XP Pro. I have developed a C++ Window Service to detect the shutdown event and perform some tasks before desktop shutdown. I have followed the MSDN instruction and assigned CanShutdown to TRUE. However, I found that OnShutdown() method is not being called. Could anyone please help me Many Thanks The following sample codes are attached for your reference: =============================== virtual void ABCWS::ABCWSWinService::OnShutdown() override { ServiceStatusLog->WriteEntry("ABC Shutdown"); } void InitializeComponent(void) { .. this->CanShutdown = true; .. } =============================== ...Show All
Silverlight (formerly WPF/E) Video features in WPF/E
I'm not that familiar with WMV but is it possible to have: Cuepoints e.g. events dispatched from a video and Alpha channel support e.g. transparent backgrounds in video. Or if WMV doesn't support this, are there plans to support this or introduce a new format etc Additionally, with the curent Windows Media browser plug-in you can have full screen video (I think), how would WPF/E change this e.g. will WPF/E have a fullscreen option as well Thanks We are investigating cue points and alpha channel support for inclusion in a future CTP or version of WPF/E. We are currently integrating support for full screen playback and that should be ready in a CTP sometime in Q107. Joe ...Show All
SQL Server Understanding Building and deployment
#1 Anyone seen any good BLOGs on building solutions and what occurs BOL is pretty thin in this area. Does it just spin through all the projects in the solution, validate them, copy the packages to their respective \bin folder, and add them to the manifest #2 I have a solution that encompasses multiple projects which all have multiple packages. I'm ready to build a deployment utility. The first problem I'm encountering is that each package uses the same configuration file to set some properties, and when I go to BUILD, for each package, its trying to copy the file and failing with the error below. #3 In my main workflow package, I'm using execute package tasks by file locations that exist in a hierarchy. When "deploying" packages to ...Show All
Visual C++ Import Native C++ dll in Managed Project
I have some code which needs to be native that I am trying to include in a managed c++ project via a pluggin. It can't be added to references. The syntax for loading it manually, [DllImport("ArmWrp.dll")], is fine, but the functions cannot be found. Here is the simple pluggin, it is compiled with the unicode setting: // ArmWrp.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, &nb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managers vs Services vs Components
Hi All I'll start by saying that I'm really enthused by XNA and think that it's a *wonderful* thing. My $99 is on its way (OK, not quite yet). But is anyone else confused by XNA's use of the terms Manager, Service and Component I've done a little digging around before creating this post and can't see anything definitive on what these terms actually mean. Here's my attempt: Service: a singleton-type object, potentially useful to many objects within a game and accessible through the singleton Game object. The singleton Game object is typically passed to the constructor of any interested object and that object typically holds a reference to Game. Manager: an object used to manage the lifetime of other objects (e.g. ContentManager ...Show All
