hwendel's Q&A profile
Visual Basic Hotkey API Question
I need to make a hook which captures the Printscreen key in any combination (eg Alt+PrintScreen). My application will be running from the taskbar, so there will be no focus. After reading an article (found here: http://www.developerfusion.co.uk/show/271/ ), I was even more confused then before, and was wondering if anyone could explain how I would start I am using Visual Basic .NET. Thank you for your interest. Robert Hoath ...Show All
SQL Server Connect to SQL Server from Application on different domain
I have written a VB .Net 2005 application that connects to SQL Server 2005. When both the application and the SQL Server are on the same domain we can connect fine using the connection string: "Data Source = Server1\sqlexpress;Initial Catalog=DB1;Integrated Security=True" My question/problem is my client has machines at remote locations that they want to run the application on and connect to the database, what do I need to do Thanks S ...Show All
Visual Studio Team System How do change the custom rules of FxCop1.312 to v1.32
Hi Can yuo pls give me some sample custom rules of FxCop 1.32 and some ideas about how to modify the custom rules of FxCop 1.312 to work in FxCop 1.32 Thanks in advance, Arun M As mentioned by others, this information is found in the 1.32 readme. There are many examples of custom rules out there, a good first place to start is the user downloads area of www.gotdotnet.com. 1) Change all Microsoft.Tools.FxCop.Sdk namespace usage to Mi ...Show All
Visual Studio 2008 (Pre-release) How to force a custom panel to accept only specific children
What is the mechanism to force a custom created panel to accept only specific custom controls For example <myNamespace:myPanel> to accept only <myNamespace:myControl> as children and to throw an exception when a different type is added in markup. I have looked into IAddChild but with no avail. Not 100% sure, but you probably need to create your own UIElementCollection subclass where you override the Add/Insert methods to ...Show All
Windows Forms Formatting
Im using VB.NET 2003 and I'm trying to format a textbox to show dates without the time and then a couple of textboxes to show currency with the other textboxes left the way they are. When I create a new binding for my textbox with a format and parse handler for those textboxes they do show the formatted values correctly but then when I navigate, or addnew record, the formatted textboxes stay the same while the other textboxes change values as ...Show All
Windows Forms Keypress Listening
I want to listen to keypress event of whole windows, even if my program does not have focus, maybe I should use something like NotifyIcons, but I couldn't find any NotifyIcon control, with Keypress Event Handler! Could anyone help me! Any help even ...Show All
Software Development for Windows Vista ASP.NET And a State Machine Workflow
I recently read the MSDN magazine article, Windows Workflow Foundation, Part 2 (http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/), where Dino Esposito demonstrates how to work with workflows in ASP.NET. Dinos' demonstration provides a helpful solution to working with Sequential workflows; however, it left me a little confused with how to work with a State Machine workflow. In the article, Dino demonstrates how to pass parame ...Show All
Visual FoxPro Web Service Deployment
Hi, I've written several Web Services using VF9, all have been tested and working fine on my local IIS (Operating System XP Professional). However, when I deploy any of these to IIS on Server 2003 I get the following error message: "Error: 1429 - OLE IDispatch exception code 0 from Client: Client: An unanticipated error occurred during processing of this request. HRESULT=0x800A13BE - Client: Sending the Soap message failed or no recogni ...Show All
Visual Studio Error 1001: Item has already been added. Key in dictionary
Playing around, (changing the generated package rebuilding ...) I have encountered the following: Error 1001. An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete. --> Item has already been added. Key in dictionary: 'D:\alx\Projects\GuidancePackage1\GuidancePackage1\bin\Debug\Templates\Solutions\Proje ...Show All
Visual Studio Express Editions when tryin to open new project iget this message :
attempted to read or write protected memory.this is often an indication that other memory is corrupt. what should ill do I tried reinstalling but no good came with it THanx Hi NoamBA, Do you see this error message when you open a new project Existing project Or both When you say you re-installed, do you mean that you re-installed Visual Studio Have you tried shutting down and restarting Visual Studio Have you tried rebooting your machine I ...Show All
Smart Device Development Datagrid Paging
Hi. Can we achieve Datagrid Paging in a smart device application To be used in scenarios where the Data to be displayed in the datagrid is too large. Sample code or informative links would be of great help. ThanX. Yes, you can. Fetch portion of data, put it into temporary in memory storage and bind it to the grid. As paging buttons are hit, fetch other portions and rebind. I can only giv ...Show All
Visual Studio Express Editions There will be a reduced version for a complete manual installation of "Visual Studio 2005 Express Editions Beta 2" ?
There are 5 CD images for manual installing "Visual Studio 2005 Express Editions Beta 2". I didn't downloaded any of these but I presume that every package has all what is need for an insulated installation. For a whole installation this is too much because for example .NET Framework 2.0 or MSDN Express Library that is in any CD takes 5fold space. If we put together al 5 CDs and elminate all duplicates how many CDs of max 700M we ...Show All
Visual Studio VSS 6.0d and VSS 2005 Beta 2
Is it possible to install/run VSS 6.0d and VSS 2005 Beta 2 on the same 2003 server at the same time thanks -ka SourceSafe is not a side-by-side product, I would recommend that you install only one version of the product at a time. If you must install them side-by-side, then be prepared to reinstall one version once you have uninstalled the other version. Regards, ...Show All
SQL Server adding subscriptions
Hi everyone, Im not into VB scripting...On SSNS, im trying to add subscribers and subscriptions using VBscript. I have been successful in adding subscribers but am getting an error while trying to add subscriptions... here's my code and the error: PS: the tutorial code doesnt help much though it is very very similar, coz it is throwing up its own errors. ' ' AddSubscriptions.vbs ' ' Add a set of subscriptions to the ********** application ...Show All
SQL Server Copied Package ConnectionManager has photographic memory?
I originally made 1 package, got it the way I wanted with configurations,etc, and then made 30 copies of it, renaming, etc. The original package (and the copies) has 2 connections. Connection A is set at runtime by a configuration from an XML file. Connection B is set from a SQL Server lookup from Connection A. I'm now trying to run one of those copied packages. As I mentioned, in my package I have 2 connections. I changed one of my connections ...Show All
