Wolfgang Geppert's Q&A profile
Software Development for Windows Vista UAC Shield in menus?
Thankfully there's an easy way to add the UAC shield to buttons by using BCM_SETSHIELD. I wonder though - is there a similar option for menus somewhere The docs say that context menus are supported via DefCM but I'm really looking to add the shield icon to a generic popup menu. Can I do this without ownerdrawing it -Marton actually MIIM_BITMAP has been around since Windows 98, according to the SDK docs http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/WinUI/WindowsUserInterface/Resources/Menus/MenuReference/MenuStructures/MENUITEMINFO.asp but not according to the SDK headers (where it says if WINVER >= 0x0500 which means Windows Me and 2000 or higher) It's rather tragic ...Show All
Software Development for Windows Vista Why I can not combind the SqlTracking & SqlPerstance Service in RC4?
Hi . I have a sample app written in beta2.2, which simple do persistent and tracking. all my workflow. when I upgrade to RC4, it wont works ! I go back to the foundatmental SDK samples. "SimpleTrackingSample" in RC4. run it again, see the code is simple and fine, then I add some code to do SqlPersistent stuff. but, it wont work !!!, It will always run into WorkflowAborted event. but why any one can help here are my sample. const string connectionString = "Initial Catalog=WorkflowTrackingStore;Data Source=.;Integrated Security=SSPI;"; const string connectionString2 = "Initial Catalog=WorkflowPersistenceStore;Data Source=.;Integrated Security=SSPI;"; static void Main() { ...Show All
Visual Studio Team System Can not install because TFS is already installed on server???
We had asked a contractor to take the time to install the Workgroup edition of TFS on a department server for evaluation. The contractor ended up leaving and the state of the TFS installation was unclear so I simply uninstalled TFS and initiated a re-install myself. SQL and Sharepoint seem to be fine. At this point the installation for TFS gives me an error while it is checking for pre-requisites and states that it can't install TFS because TFS is already installed on the server. I of course had already successfully uninstalled it. It does not show up under Control Panel - Add, Remove Programs. Does anyone out there no how I can get past this Thanks, Dale Yes, this is a single-ser ...Show All
Commerce Server Trouble verifying services
I have followed all of the steps in the online installation guide, and restarted IIS. I have also verified that a folder was created for each web service (\Intepub\wwwroot\siteCatalogWebService; Intepub\wwwroot\siteMarketingWebService; Intepub\wwwroot\siteOrdersWebService; Intepub\wwwroot\siteProfilesWebService). Then the guide says to visit the web page for each service (point browser to http://localhost/siteCatalogWebService/CatalogWebService.asmx ). I get a web page showing the methods of the service for the Catalog and Profile services, but when I point to the Marketing or Orders page I get an error saying: Configuration Error Description: An error occurred during the processing of a configuration file required to service ...Show All
Visual C# C# Book Recommendations
This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! My favoriate C# specific book would have to be Effective C# by Bill Wagner, he goes through 50 mostly-short examples of ways to improve your C# code and the reasoning behind it. I ...Show All
Windows Live Developer Forums Bug? Pushpin text gets misplaced if pushpin located at the bottom of map
Popup cloud gets misplaced when the pushpin located at the bottom of a map AND the browser window is smaller that the “height” value of the map’s DIV (there needs to be some space below the map’s DIV to reproduce the bug in IE). See the code sample to reproduce the bug. The code sample provides a map in a DIV with “height:500px” and some extra space below the DIV. There is a single pushpin in the very bottom of the map. If browser window height is bigger than 500 pixels then everything works fine. To reproduce the wrong behavior change your browser window height so that it is shorter than 500 pixels in height and scroll the content to the bottom of the page. Now, if you move your mouse over the pushpin the pushpin text appears way below th ...Show All
SQL Server Create Store Procedure Fails "Incorrect syntax near the keyword 'ON'."
Hi All! I'm really new to SQL environment in general so, sorry if this is a stupid question. I'm trying to create a Stored Procedure on my BD with SQL Server Management Studio Express. I receive this error: Msg 156, Level 15, State 1, Procedure sprocBlogEntrySelectListByCategory, Line 18 Incorrect syntax near the keyword 'ON'. This is the sp: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO CREATE PROCEDURE sprocBlogEntrySelectListByCategory @categoryId int AS BEGIN SET NOCOUNT ON ; SELECT BlogPosts . bp_ID , BlogPosts . bp_Title , BlogPosts . bp_Body , BlogPosts . bp_DatePublished , Categories . cat_Na ...Show All
SQL Server Calculated member - please help (SQL Server 2000)
hi, please if u could help with this: i have a cube with 3 dimensions, Sales (fact table), Time and Accounts (general ledger accounts). Accounts dimension hierarchy is as follows: 1. Revenues 1.1 Income 1.1.1 number of account in General Ledger 1.1.2 number of account in GL etc..... 2. Expenses 2.1 Fixed costs 2.1.1 number of account in GL etc.... 2.2 Operating costs 2.3 Overhead 3. Unsorted now what i need to do is next: i need to calculate measure.salesamount in percentage of total sales amount for each category of accounts. for example i need measure.salesamount of each account number in Revenue/Income in percentage of the total salesamount of the category Revenue. i hope i was clear enough in what i need. please can ...Show All
Microsoft ISV Community Center Forums Visual Basic In Excel - Popup or Splash Screen
I have created a simple program in VB inside Excel, When processing it takes a while so I created a form to display while processing, how do I get this form to show while the process is going but still allow the previous form to do its work, then the popup (splash) screen closes when the process has completed Nick Getz This is built within excel, so I assume Visual Basic for Applications, unless you can help me export it into Visual Basic 2005 Express Addition, whcih I downloaded after making significant progress on this application. Thanks. ...Show All
SQL Server Textbox.Value = Table(c,r).Value
what is the syntax to write: a Textbox.Value = data from a cell in the table ...Show All
Visual Basic Hide button on Toolstrip?
Can anyone tell me how to hide a button on the toolstrip This is on my MDIParent form. Menustrip is its name. Thanks ...Show All
Visual Studio Tools for Office Regarding KB908002 (Shared Add-In Updates)
Hi, I am going through a very strange problem, i am using InstallShield to deploy one of the VB.NET project (Visual Studio 2005) and it doesn't work at all. I have the same project setup file created by Visual Studio 2005 and the good thing is it works fine. I didn't figure out what and where things are wrong. Onething about KB908002 (Shared Add-In), if you remove this from Add/Remove Control Panel and try to re-install, it seems like it doesnt work even if it was working previously. My Question is, am i missing something which VS 2005 is doing apart from KB908002, because i have added this folder already. But it seems like there is something which is also done by Visual Studio 2005 (Installer Package) because once you un-installe ...Show All
Visual C++ BHO
Hello, All. I need your help... and very quickly. I need to create BHO library, but have some troubles. Could you help me. (Task: event catcher for IE, VSC++ 6, no ATL, no STL) I made a little part of it. The general trouble - it doesn't call SetSite() method and call release(). and then iexplorer crash. Please help! joblst@mail.ru //MainModule.cpp — #include <windows.h> #include "IEClassFactory.h" #include "debug.h" extern WORD g_nSrvRefCount=0; bool CanUnload = true ; BOOL WINAPI DllMain(HINSTANCE instance, DWORD fdwReason, LPVOID lpvReserved) { return TRUE; } STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) { debug( "DllGetClassObj ...Show All
SharePoint Products and Technologies Local administrators; can they really do everything a farm admin can do?
One of the planning guides at: http://technet2.microsoft.com/Office/en-us/library/3e3b8737-c6a3-4e2c-a35f-f0095d952b781033.mspx mfr=true has the following about what members of the local administrators group can do: Administrators group Members of the Administrators group on the local server can perform all farm administrator actions and more, including installing new products or applications, deploying Web Parts and new features to the global assembly cache, creating new Web applications and new Internet Information Services (IIS) Web sites, and starting services. Like farm administrators, members of this group on the local server have no access to site content, by default. Is this true even if I have removed them from the ...Show All
Visual Studio Express Editions Cant display forms 2..3..4..
I Got a problem.. i got a program that needs 3 or even 4 forms ..but the problem is i cannot display higher then form2 enve if i try in form1 Form3 NewForm3 = New Form3(); NewForm3.Show(); or any other ..even the aboutbox...nothing..but if i try do that in the 2nd form..i can display form3 from from there..but not from form1...how come and how i fix this.. ShadowRayz Im not sure i got you right... you say i dont spell the form name right ... still...look http://img162.imageshack.us/img162/3461/1mj5.gif it just dont see that i got other forms...:s ...Show All
