I have a very annoying exception which freeze my application thrown by WPF, when the content of this popup seems to have to much element. In the output windows I see approximatively 50 times this exception. > 'System.Runtime.InteropServices.COMException' occurred in > UIAutomationProvider.dll Then sometimes after the freeze I have this [...] read more
We're calling methods on an ActiveX component from within a WPF and STA application. This calling is late-bound performed via: res = ocx.GetType().InvokeMember(methodName, flags, null, ocx, args); ...where ocx is the ActiveX object retrieved with the System.Windows.Forms.AxHost.GetOcx() method. This call is performed from within a WPF event handler, say 'mouse [...] read more
I am trying to programmatically enable sharing with the sharing type public on a device that matches a known GUID on a windows 7 machine. API at: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365944(v=vs.85).aspx The list of errors show the following: E_ABORT, E_FAIL, E_INVALIDARG, E_NOINTERFACE, E_NOTIMPL, E_OUTOFMEMORY, E_POINTER, and E_UNEXPECTED. The error code I am getting [...] read more
I have a problem trying to register some ocx files. When I execute regsvr32, it returns 0x80040201 error code. I'm using win xp SP3 and my user has administrator permissions. When I try to register them with another user on the same machine I can do it without a problem, [...] read more
I tried to create a windows service which will allow to interact with Skype Client. I'm using SKYPE4COM.DLL lib. When I create a simple console or win32 aplication all works ok (I have the Skype request for this application and it works well). But when I try to run this [...] read more
Here is the situation of my problem: I have a ListBox with two items of type MyClass. MyClass has a List<Column> collection. Somewhere else in the same window I have a ComboBox with the columns of the selected MyClass.ColumnCollection as ItemsSource. Here is where the trouble starts: The first time [...] read more
> Original post is here: > http://mail.python.org/pipermail/python-win32/2010-December/011011.html > > I am using: > > * OS: 64 bit Windows 7 Professional > * Python: python-2.7.1.amd64 > * Python win32 extensions: pywin32-214.win-amd64-py2.7 > * Py2exe: py2exe-0.6.9.win64-py2.7.amd64 I am trying to build icon overlay for Windows. It has worked fine on 32 [...] read more
I am trying to create a simple COM server using Python 2.7 on 64 bit Windows 7, but I can't get the DLL registered successfully. I am able to do this successfully using Python 2.6 on 32 bit Windows XP. I am also able to register my class directly from [...] read more
I have to fix a computer running Windows XP SP3, which has accumulated a fair amount of company-specific software, meaning that OS reinstall is not really an option. The thing is, I need to install a package named MetaWeb. When I run the installer, it goes on until the "Registering [...] read more
Using the code sample here: Calling A .NET Managed Method from Native Code With only the following change: Throw ApplicationException derived exception in Test method public class TestException : ApplicationException { public TestException(string message) : base(message) { this.HResult = unchecked((int)0x80040201); } } public class Class1 { public void Test() { [...] read more
I'm struggling a bit with UI Automation for an WindowsStore app. I get an UITestControlNotAvailableException as soon as I implement IValueProvider. If I remove the implementation it works. * Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException (The control is not available or not valid.) * InnerException: Points to a call to testControl.Name (Microsoft.VisualStudio.TestTools.UITesting.UITestControl.get_Name()) * InnerException: An [...] read more
I am attempting to run a JScript script using Windows Script Host 5.8 on a 32-bit Windows 7 PC. This script is part of a larger build effort for an open source software project, where an ActiveXObject is being created as part of the script. This has failed to run, [...] read more
I'm making an extension for a Windows program that hooks to COM server objects. I want to use Python to do this, and from what I understand, I can use Py2exe to create a DLL from a comtypes server. For a test, I wrote a simple class that calls a [...] read more
I am tearing my hair out on this one. Recently (about a month or so ago) some stored procedures we have on our SQL 2000 server stopped sending emails. We have several versions of the same stored proc in different databases which all broke at the same time (I understand [...] read more