| ADO Recordset AddNew (2 replies) |
| microsoft.public.dotnet.framework.interop |
| I have hold of a ADO recordset via interop in a c# app and I am trying to add a new row in a tale that has 2 columns. The code is : Connection Cn new Connection (); Recordset RS new Recordset(); RS.CursorLocation ADODB.CursorLocationEnum.adUseClient; Cn.Open (blah blah); RS.Open ("select * from web counterparty map where 1 0",Cn,ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockBatchOptim... |
|
| Christina Aguilera nipple showing (2 replies) |
| microsoft.public.dotnet.framework.interop |
| Christina Aguilera naked V4V7^lu ?$v'kA.""@a28sX J SeGS0/AVR $*uBPt0.iDq EBKD/%LqQblrJrU0! vtv0s/;U7O#:kR4 dj*MBUmJ' U^f9qbRd |
|
| Help on returning a StringBuilder from .NET COM to C++ caller (4 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| Hello, I am stuck trying to figure out how to return a long XML string from a .NET COM object written in C# to a C caller. I've researched it enough to know that I must use a StringBuilder, but I can't get it to compile. Using an out String works with a fairly small sized XML stream, but I must return a very long stream. The interface looks like: [ Guid("27C015D9 E85D 43EE B84E 32B8DE990658"), ] p... |
|
| Bind HTML event (2 replies) |
| microsoft.public.dotnet.framework.interop |
| Can someone explaini this before I go nuts? In the following example, all the event handlers fire except for the submit event handler. No errors, it just doesn't fire. Also, binding any event to the form object stifles the msg from the onsubmit handler embedded in the HTML what's going on there? FORM ID "theForm" ONSUBMIT "alert('submitted')" ... INPUT TYPE "button" / BUTTON ID "cmdOK" Log In /BUT... |
|
| IExtractIcon Interface Supported in XP Pro? (8 replies) |
| microsoft.public.dotnet.framework.interop |
| I am trying to use the IExtractIcon interface but without success. I am using a Guid of "000214eb 0000 0000 c000 000000000046". I can't find this Guid in a search of the registry nor can I find any reference to IExtractIcon other interfaces I have declared are working and have a registry entry. Does this indicate that IExtractIcon is not supported in XP Pro? I have tried a web search but found no ... |
|
| Optional Parameter problem migrating COM Interface from VB.NET to C# (4 replies) |
| microsoft.public.dotnet.framework.interop |
| I originally wrote a COM interface in VB.NET which had an optional parameter. I'd like to port this code to C# (the rest of the project is in C#) but I can't work out how to define the COM method parameter as Optional in C#. Any ideas? Thanks, Paul Stancer |
|
| Public .Net method not visible in COM app (4 replies) |
| microsoft.public.dotnet.framework.interop |
| I followed MSDN examples to create a .Net component library and a CCW for it. I then proceed to use the CCW in a VB6 app. I see the .Net library listed as a reference in the VB 6 project, I can include that reference and instantiate that object. However, none of the public methods in the .Net component are visible to the VB app. What am I missing? Thanks in advance, SUN. |
|
| WebBrowser Control in C# App (2 replies) |
| microsoft.public.dotnet.framework.interop |
| [end of postData buffer] The postData contains no more data: not the file, not the boundary string for the file and not any other fields following the file upload in the form. My question is: why does the postData buffer stop here and how can I get the rest of this data? (I realize since this is local I can just use the filename to read the file locally, but I'd rather not do this this also means ... |
|
| Help with IBindStatusCallback (2 replies) |
| microsoft.public.dotnet.framework.interop |
| (Summary I need help creating a COM class in Managed Extensions for C ) Hello world, I am exploring UrlMonikers and would like to use them in my C# application. I would like to have my managed class, therefore, implement an interface called IBindStatusCallback (defined within urlmon.idl), but I am having some issues most importantly some "lack of understanding" issues that I hope someone can clear... |
|
| Interop, QueueUserWorkItem and RPC_E_WRONG_THREAD (4 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| I posted update to the old thread where I discussed this problem, but since it was a few weeks ago, let me refresh it and add some details. Lack of these details were the reason for not providing more information. OK, so we have COM application is configured as a Library. COM component "A" calls .NET component "B" via Interop. 1. The COM component ("A") has the following properties: Transactions: ... |
|
| Outlook not sending mail (4 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi When I open a new mail in outlook from within my vb.net app and try to send email by pressing the outlook send button, nothing happens. The send button gets pressed but it does not send mail. I have to close the mail form, in the end. What is the problem and how can I solve it? Thanks Regards |
|
| .NET MS Office automation through COM interop (6 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi! How do I deploy .NET applications that references Interop.Excel.dll or Interop.Outlook.dll onto computers other than the one on witch the project was built? I've made serveral attempts on packaging the assemblies using Visual Studio Setup Projects. However, the MS Office automation operations of my .NET apps simply will not run on other computers than the workstation I use for developing them.... |
|
| Help! Freeing memory on unmanaged heap (2 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi. I am calling a function in native C style dll which allocates memory and later freeing the same from C# app. However the memory does not get freed and keeps on increasing. Below is the code snippet. // MemoryDll.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "MemoryDll.h" #include stdlib.h BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul reason for call, ... |
|
| Using GetCORSystemDirectory method with C++.NET? (2 replies) |
| microsoft.public.dotnet.framework.interop |
| I have this declaration: [DllIImport(S"mscoree.dll")] publc: static int GetCORSystem([MarshalAs(UnmanagedType::LPWStr)]StringBuilder* buffer, int bufferLength, int size); everytime i call this function to receive the .netframework path, my string is empty. Everything works fine in C# (of course), but C .NET seems to not like it. I know that the size is an out param, i so i tried to pass the var as... |
|
| Interop/deploy Questions! (2 replies) |
| microsoft.public.dotnet.framework.interop |
| I have developed a C# application that uses the MS DSO (decision support objects). I simply added the library as a reference in Visual Studio, and then said "using DSO". This gives me the ability to create DSO objects and use methods/properties. This works fine on my machine. What I don't understand is how to transfer this to another machine. I see 4 new Interop DLLs in my release directory, but i... |
|
| why my C# component COM is not listed (2 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi, all I created a COM by C# using the method provided by: http://64.4.8.250/cgi bin/linkrd? lang CN&lah c1f2e39239ad48bfc6b0893786d6827e&lat 1075837339&hm action http%3a%2f%2fwww%2ec%2dsharpcorner%2ecom%2fvbnet%2fCOMinCSharpM%2easp But in Visual Studio 2003, if go toolbox, right click, go add/remove items com components. It is not there. How can I fix it? Thanks. |
|
| Problem with Excel 2000 in .NET (5 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| I have problem with Excel 2000 running on target machine with Win2K when opening it from .NET application (Windows Forms). Application opens Excel from code and Excel stays open for user to work with the xls file. However, if users closes Excel prior to ending the application, Excel closes and displays "Excel.exe has generated errors and will be closed by Windows ...'. If users closes application ... |
|
| Binding to multiple versions of COM library (4 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi Our application (VB.NET VS03) interfaces with Photoshop through its object libraries. If we add a reference to the PS version 7 type library, it works with PS 7, and if we instead add a reference to the PS 8 library it works with PS 8 (PS CS). But both libraries are named Photoshop so we can't add both references. And the object libraries don't work correctly for the alternate version (so bindi... |
|
| converting Unix datetime count to .Net DateTime object (2 replies) |
| microsoft.public.dotnet.framework.interop |
| I am being supplied a count of number of seconds since Jan 1st 1970, i.e. a Unix system time. How can I convert this into a valid .Net DateTime object ? thanks, Mark WinXP / C#.Net 2003 |
|
| Opening Word Doc files thru VB.NET that is alraedy open. (3 replies) |
| microsoft.public.dotnet.framework.interop |
| Hi I am trying to open a word Doc through VB.NET. I have included the reference for Microsoft Word 10.0 object library and Microsoft.office.core, and the office that I have on my system is Office 2002. I am using the following code to open a document and add some custom document properties to it. Public Sub OpenWordDoc(ByVal objFileInfo As FileInfo) Dim objWordAppl As New Microsoft.Office.Interop.... |
|
| Using VB COM components which implement Interfaces contained in external libraries (2 replies) |
| microsoft.public.dotnet.framework.interop |
| Problem: We have VB Components which implement an interface from another dll. Example: myClass (in A.dll) implements myInterface (in B.dll) Now, when we generate RCW';s, either in VS.NET or using TLBIMP.EXE , it tries to create a wrapper for the dll (interop.A.dll) and a wrapper for the interface dll. However, it will always create the interfacewrapper with exactly the same name as the original VB... |
|
| Using a C# delegate in VB6 (6 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| Hello everyone, I've got a C# dll that I'd like to be able to use in VB6. The library looks something like this namespace MyNamespace { public delegate void ProgressDelegate(string label, long current, long total); public class MyClass { public string MyFunction(ProgressDelegate pdel) { // do some stuff and then use my delegate } } } You'll notice the delegate is not a member of any class. So I've... |
|
| 0x8001010e error with COM+ Interop (wrong thread) (9 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| Hello, Out COM component enconutered a strange problem when calling .NET assembly via Interop. I wonder if anyone know more about this. Here is my setup. 1. Component "A" is a COM compoment (DLL) that does various things (reads data from database, parser XML nodes etc.) It worked just fine. 2. Recently I extended component "A" with a call to a .NET assembly "B". "B" is just a thin wrapper around s... |
|
| Accessing embedded Mediaplayer in excel worksheet (6 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| hi, I am trying to access from c# a embedded Windows media player object in a worksheet, i have included 2 references wmplib and mediaplayer and i am trying to set the url via automation, i have tried variation on the following ... object o Marshal.CreateWrapperOfType(mWorksheet.OLEObjects("Player"), typeof(MediaPlayerClass)); MediaPlayerClass p (MediaPlayerClass)Marshal.CreateWrapperOfType(mWorks... |
|
| Excel interop problem (4 replies) |
| microsoft.public.dotnet.framework.interop |
| Here is the problem: I add a reference to "Excel9.olb" file, in Application interface there is a Range member [id(0x000000c5), propget, helpcontext(0x000100c5)] Range* Range( [in] VARIANT Cell1, [in, optional] VARIANT Cell2); But when .NET Studio wrap this interface, I see the function like that: get Range(object cell1, object cell2) The problem is that the second parameter is not optional! I'm us... |
|