all groups > dotnet interop > july 2006 > threads for july 1 - 7, 2006
Filter by week: 1 2 3 4 5
How Can I access SQL Server SMO Objects in VB6
Posted by ANeelima at 7/7/2006 9:14:02 AM
I tried to make COM callable wrapper (CCW) for SMO using the following
command line execution using RegASM.exe
After executing the command line RegAsm.exe, I got the following output.
------------------------------------------------------------------------------------------------------
Micros... more >>
Microsoft Office.Interop Excel Error
Posted by gavin at 7/6/2006 10:23:01 PM
Have a VB .Net VS2005 application works fine on development system.
The app uses Excel.
When I copy app to new computer that has Office loaded get error:
Unhandled exception has occurred...
Could not load 'Micrososft Office.Interop.Exccel', version=11.0.0.0...
The system file cannot find the ... more >>
P/Invoke on char* return values
Posted by Peter Franks at 7/6/2006 3:00:06 PM
I'm attempting to call a unmanaged function that returns a char *,
something like:
mylibrary.c:
static char err[256];
char * last_error()
{
return err;
}
c#:
[DllImport("mylibrary.dll", CharSet=CharSet.Ansi)]
public static extern String last_error();
---
(Assume tha... more >>
Calling Singleton COM Local-Server from Managed Windows Service
Posted by fadishawish NO[at]SPAM gmail.com at 7/6/2006 10:00:04 AM
I have a interesting problem and thought this would the right forum for
it.
Background:
We have created a series of new generation middleware components using
..NET/C#. These components are managed DLLs hosted in a WIndows
Services and .NET Remoting is used for alll client comm. to these
co... more >>
mshtml HTMLFormElement events
Posted by brandon.hurlburt NO[at]SPAM bc3tech.net at 7/6/2006 9:57:31 AM
There was an old thread with this same subject:
http://groups.google.com/group/microsoft.public.dotnet.framework.interop/browse_thread/thread/a6f451e1677943c3/06fafc27f869273e?q=mshtml+htmlformelement+events&rnum=1#06fafc27f869273e
Which addressed mshtml's inability to bind to a form's OnSubmit ... more >>
IDataObject GetData - "The parameter is incorrect"
Posted by Daniel Halan at 7/5/2006 8:26:15 PM
Hello,
Im trying to fetch a Drop-event, and everything goes fine until I call the
"GetData" method.
Ive tried both to catch the drop with defining FormatEtc to a CF_HDROP and
iterating Formats with "EnumFormatEtc" both returns same error...
Im guessing it doesnt like the input of Format... more >>
P/invoke: passing a struct parm with enum field from c++ to c#
Posted by cmurialdo NO[at]SPAM gmail.com at 7/5/2006 8:16:47 PM
I have a problem passing a struct with an enum field.
I have this c++ code:
typedef struct st_mysql_bind
{
....
my_bool *error;
enum enum_field_types buffer_type;
....
}MYSQL_BIND;
enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY,
MYSQL_TYPE_SHORT, MYSQL_TY... more >>
WebBrowser Control AttachEventHandler Problem
Posted by Calphool at 7/4/2006 8:42:02 AM
I am attempting to attach "onblur" events to all elements in a loaded HTML
document within the WebBrowser control. I can successfully attach the event,
but I cannot tell which control is firing the onblur. I need some way to get
the sender to send itself. Here's my current code:
..
..
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HOW TO READ ARRAY OF STRUCTURES FROM COM using C#
Posted by srinivas at 7/3/2006 4:28:21 AM
Hi ,
Pls help me to solve this problem .
/* --this is one of the function in COM component */
int ProjectLIsts(LPCTSTR prj , VARIANT* prj_list)
{
prj_Lists= { ARRY OF STRUCTERES . ,.ONE STRUCTERES FOR EACH PROJECT
}
returns TOTAL NUM of PROJECTS
}
...........
I want to... more >>
DWORD* in C#
Posted by GoldenK at 7/3/2006 2:39:02 AM
Hi,
I have an unmanaged dll 'BeHwAPI.dll', on which I want to call two methods
'GetPortRtsTimerResolution' and 'SetPortRtsTimerResolution' from C#. I have
the following doc.:
BEHWAPI_API BOOL GetPortRtsTimerResolution(HANDLE hComPort,DWORD*
dwMicroSeconds);
BEHWAPI_API BOOL SetPortRtsTi... more >>
VB ocx control interop not working
Posted by Balaji at 7/3/2006 1:21:01 AM
I have a user control created in VB6.0. I am using this ocx in VC# or VB.NET
through interop. When this control is sent back to a VB6.0 function as object
and checked there with if TypeOf usrctl is Control, this returns false.
We need this to work as we heavily use interop in our production... more >>
kader
Posted by faruk.nur at 7/2/2006 5:16:35 AM
kader
soru:madem,her=FEey bir kader defterinde yaz=FDl=FD ve her=FEey ona g=F6re
oluyor.o halde insanlar ni=E7in cehenneme gidiyor?
cevap:evet her=FEey bir kader defterinde yaz=FDl=FD ve her=FEey ona g=F6re
oluyor.ama,defterde yaz=FDl=FD oldu=F0u i=E7in o =FEey olmuyor.
mesela;meteroloji ... more >>
|