all groups > dotnet interop > june 2004 > threads for june 22 - 28, 2004
Filter by week: 1 2 3 4 5
Default property not called using late binding in VB
Posted by Ken Kolda at 6/28/2004 10:48:03 AM
I have some .NET classes which I intend for possible use with VB 6 (or other
COM-compliant language). On some of my objects I have defined a default
property which takes an argument, e.g.
Dim fols as Folders
Dim s as String
Set fols = New Folders
s = fols("SomeFolder").Name
In this exampl... more >>
CryptRetrieveObjectByUrl pt. 2
Posted by Jon G at 6/28/2004 9:33:05 AM
Hi,
I'm having trouble calling the function CryptRetrieveObjectByUrl (found in
Wincrypt.h). I posted to this forum earlier and I got an answer which I now
have tried without success.
The declaration looks like this:
[DllImport("cryptnet.dll", SetLastError=true)]
protected static extern boo... more >>
How to call a Win32 dll ?
Posted by Dotnetjunky at 6/28/2004 1:37:02 AM
Hi experts,
Can anyone show me how to call a function defined in a normal Win32.dll ?
Thanks in advance
Kinh Luan... more >>
new statement
Posted by Fabrizio Camagna at 6/27/2004 4:10:36 PM
When i create an ATL object and i try to use new statement the compiler say
me
Impossible to create an abstract object
Why?
... more >>
help in visual basic .net
Posted by sdeepayamini NO[at]SPAM yahoo.co.in at 6/25/2004 3:55:33 PM
I have a fortran exe (asos.exe), which outputs a text file in the same
directory as that of the exe. When this exe is invoked individually,
it outputs a text file. I tried to invoke it from .net form, using
shell command / system.dagnostics.process.start, but it writes to the
console and not to ... more >>
Microsoft Publisher 2003 Interop -- Does anyone do this?
Posted by skeezen1 NO[at]SPAM gmail.com at 6/25/2004 11:31:51 AM
I'm in the middle of a project creating a MS Publisher document via C#
and Office interop.
The error messages that are returned are less than desirable.
For example. I create a textbox, set its text and then set its
AutoFit to BestFit so that the text fits correctly. On some
occaisions I ... more >>
What COM-object is my Interop using?
Posted by Joakim Olesen at 6/25/2004 11:07:49 AM
I have an Interop class that works properly. However, I don't know wich
COM-object it calls (I'm not the one that created the Interop class).
How can I find out? I've tried to look at the code generated by ildasm.exe
and remotesoft salamander, but I can't find the call to the COM-object. All
I... more >>
Interop events leak memory (again)
Posted by spammy at 6/25/2004 10:34:43 AM
Hi all,
Ive done the searches etc, and although Ive read many interesting articles
and posts, Im not sure they were relevant to my case:
I am using a simple ActiveX control (the Bloomberg Data Control to be
specific). I use application.Run to execute a method where I create an
instance of t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Using a callback interface between managed/unmanaged code
Posted by Tony A. at 6/24/2004 7:49:24 PM
I have an application that is split into two parts--the user-interface
portion, written in C#, and a C++ DLL that contains both managed and
unmanaged code, where the unmanaged code is core processing that needs
to be as fast as possible.
Now, during the course of one of these long unmanaged... more >>
distributing .NET dll used in COM
Posted by Daniel Wilson at 6/24/2004 11:13:21 AM
I have a VB6 application that now uses a C++ .NET DLL via COM. The .NET dll
was developed on one computer, and to move it to mine, I simply copied it
and its tlb file over, ran RegAsm <full Path>\MyNet.dll then dragged it into
c:\windows\assembly.
On another computer here that has the .NET Fr... more >>
COM-enabled assembly
Posted by Joe H at 6/23/2004 8:56:06 AM
i have created a DLL in vb.net which exposes its functionality to COM
clients.
the vb.net DLL has an app.config file because it has URLBehavior = Dynamic
for a number of web references it uses.
now, if the VB6 client that uses the assembly, the assembly itself, and the
app.config file are a... more >>
Losing Interop information on postback?
Posted by millarjason NO[at]SPAM hotmail.com at 6/23/2004 8:25:08 AM
Hi folks;
I'm working on an ASP.NET 1.1 app, and one of my classes is a managed
class that has a private member typed through COM Interop. During the
initial page load Interop appears to be functioning correctly, however
for various reasons I need to stuff the object into Session and then
de... more >>
Returning variable length string from eVC++ 4 to .Net CF
Posted by dumbledad NO[at]SPAM gmail.com at 6/23/2004 5:43:48 AM
Hi All,
I'm trying to pass a variable length string from unmanaged code to
managed code. It's actually from a DLL written for the Pocket PC 2003
in embedded Visual C++ 4 to an app written for the Pocket PC 2003
using the .Net Compact Framework in Visual Studio .Net.
What I'm trying to do is... more >>
OPC .net, COM interop problems: Server execution failed (80080005)
Posted by vlzu NO[at]SPAM hotmail.com at 6/23/2004 5:36:19 AM
Hi,
I'm developing an OPC Client application with C# (VS.NET 2003) on a
computer running WinXP. Im connecting locally to Matrikon OPC
Simulation Server.
Everything works fine in my computer, but when try to run the
application on another computer, which has Win2000 and Matrikon,
problems ari... more >>
Microsoft.Office.Interop.OWC - Unspecified error
Posted by Reinfried at 6/23/2004 12:53:01 AM
I want to work with Office XP Primary Interop Assemlies (Office XP PIA) with Visual Studio.Net 2003.
I want to build an OLAP Reporting Application in ASP.NET Using SQL Server 2000 Analysis Services
and Office XP OWC (PivotTables and Charts).
I have create a new project with Visual Studio.Net ... more >>
Marshal.AllocHGlobal question?
Posted by Howard Weiss at 6/22/2004 8:55:23 PM
Does Marshal.AllocHGlobal lock the memory it allocates (e.g. GlobalLock)?
Howard Weiss
... more >>
Passing dot net objref via COM?
Posted by Larry Heller at 6/22/2004 8:30:30 PM
[Sorry for cross-posting, but this topic equally relates to remoting and
interop!]
I am extending a legacy app which uses DCOM to implement a networked
client-server architecture. As some more recent parts of the app are written
in .NET, I would like to use it for my new extensions. I have bee... more >>
How do I run a batch file from within vb.net?
Posted by JDupont at 6/22/2004 4:57:01 PM
How do I run a batch file from within vb.net?... more >>
|