| Thread | Last Post | Replies |
|
| COM interop with database access | 09 Dec 2004 11:25 GMT | 1 |
I have a simple class with only one attribute. If this attribute is a "simple" type (String, Int, DataSet, ...), I can create an instance of this class. If this attribute is a Database object like an OleDbConnection or an
|
| OCX interop causes "Catastrophic failure" | 09 Dec 2004 08:47 GMT | 4 |
I have a 3rd party OCX control that I can happily use with VB6. E.g. Private bool As Boolean Private ocx As OCXLib.ocxInterface Private Sub Form_Load()
|
| C# Passing UINT_PTR * to the Platform SDK | 09 Dec 2004 02:11 GMT | 3 |
I am trying to call a Multimedia Function: MMRESULT mixerGetID( HMIXEROBJ hmxobj, UINT_PTR * puMxId,
|
| How to handle run-time COM interop "mappings"... | 08 Dec 2004 19:17 GMT | 1 |
I have built a generic assembly (we'll call it "WordAutomationWrapper") that inspects the registry (HKCR\Word.Application\CurVer) to determine what version of MS Word is installed. Using that knowledge, I want to dynamically invoke one of 3 "wrappers" that
|
| newbie how to call this C function from C# | 08 Dec 2004 17:33 GMT | 5 |
I have a C function that's declared like this: int my_function( BSTR *input, BSTR *output ) ; Here BSTR is the windows BSTR type. The output argument is allocated within my_function.
|
| Enumerating winNT Users with DirectoryServices | 08 Dec 2004 08:40 GMT | 1 |
I am using DirectoryServices to find all the members of a certain NT group and display their properties. The following code works fine. DirectoryEntry directory = new DirectoryEntry("WinNT://"
|
| Calling Marshal.ReleaseComObject | 08 Dec 2004 02:23 GMT | 1 |
I have a .NET form which primarily contains a legacy ActiveX control. I was wondering if it is really worth claling ReleaseComObject on this control from the form's dispose method. Public Overrides Sub Dispose(ByVal disposing As Boolean)
|
| Excel 2003 COM interop problems | 07 Dec 2004 16:47 GMT | 2 |
I am trying to use C# .NET interop with Excel 2003 and I am running into a couple of problems. In this example, a .NET class called Ticker is in a .NET assembly dll called AClassLibrary. Ticker exposes a COM interface with a GetTick
|
| How to use win32 APIs in .NET | 07 Dec 2004 14:44 GMT | 2 |
I want to use few Win32 APIs in my C# code. I want to know, how to use it. Please give me a sample code. So that I can go further.
 Signature Thanks,
|
| VB.Net & WIN32 API - Byte() to Structure | 07 Dec 2004 10:48 GMT | 4 |
I'm trying to write a VB.NET application that will interface with DFS (Distributed File System) There are WIN32 API to do this but I’m having problems marshalling the data correctly and trying to figure out how to exact the data returned by the function. Below is an example of ...
|
| using idictionary / hashtable from vbscript | 07 Dec 2004 05:06 GMT | 4 |
I have a class derived from IDictionary that I want to use in vbscript. None of the enumeration operations seem to work so I thought I would try out a standard hasthable - that doesnt work either set hash = CreateObject("System.Collections.Hashtable")
|
| I need to run a vb.net or aspx.net file every 10 seconds. | 07 Dec 2004 03:48 GMT | 1 |
I need to run a vb.net or aspx.net file every 10 seconds. The Task Scheduler in Windows 2003 Server can only do it every 1 minute at the minimum, but I need it every 10 seconds. Is it possible to write a small program in VB.NET that would run in the background without using much ...
|
| QueryInterfce for interface ADODB._Recordset failed | 06 Dec 2004 18:37 GMT | 2 |
I'm creating a library (based on the code of an article written by Bill Vaugh) to convert ADO.net Datatables y Datasets to ADODB.Recordsets. I just got a new dev machine with WinXP with SP2 and now when I try to use the ADODB.Recordset object I get the error "QueryInterfce for ...
|
| interop delegate for COM | 06 Dec 2004 00:28 GMT | 4 |
I want to pass a function pointer to COM, so that COM can callback in some situation. ///////////////////////////////////// // C# compile into COM
|
| Managed c++ calling unmanaged dll with LoadLibrary | 05 Dec 2004 19:47 GMT | 2 |
I have a unmanaged fortran dll that Iam trying to load using LoadLibrary from manged c++. I have to use loadlibrary, since I dont know the path to the dll until runtime. I can load the library, get the function pointers etc., but when I call a
|