|
|
|
Excel 2002 calling a COM component implememted in ...
Replies (1) 8 January 2008
Hi all,
I have developed a COM server with .NET 1.1 and use it successfully from
Excel 2002. After I ported it to .NET 2.0 the component stopped working, I
always get the message that the assem...
|
|
|
|
vb6 com interop nested structure
Replies (1) 8 January 2008
Hi there:
I am developing a .net dll for my VB6 app. the dll has a nested
structure with more than 5 levels. For example:
Struct A
{
Struct B
}
Struct B
{
Struct C
}
.
.
.
.
Struct...
|
|
|
|
ActiveDirectory: Library not registered error
Replies (1) 7 January 2008
Hi,
I have a problem with the AD currently which is driving me mad.
Code for creation of a network account programmatically with C# is not
working.
Here is my code:
try
{
using ...
|
|
|
|
Using DynamicInvoke
Replies (1) 7 January 2008
I'm using the SciLexer.dll to write a code editor for an in-house scripting
language. I have the editor window up on a form but I need to use it's API.
I've used the following commands to load the d...
|
|
|
|
ADOBE Connect Enterprise
Replies (1) 6 January 2008
Has anyone worked on ‘Single-sign on’ feature in Adobe Connect?
--
techeek
http://oxyin.com/techeek...
|
|
|
|
System.Printing.LocalPrintServer desired access pr ...
Replies (1) 6 January 2008
When you are logged on as a user who has adminsiter access rights for some
but not all of the printers locally installed on their machine it is not
possible to change the settings for the printers...
|
|
|
|
Creating dropdowns in Excel using VB.Net
Replies (1) 6 January 2008
How can I create the dropdowns in the excel sheet cell using vb.net without
any third party tools?...
|
|
|
|
How come the HRESULT return not equal to s_OK mean ...
Replies (1) 4 January 2008
I'm using ITextRange::FindText Method
and it works OK but I have to code so that the HRESULT return not equal to
s_OK means it succeeded.
Does VB.NET do some thing to the HRESULT before I get it...
|
|
|
|
Problems with com callable component in classic AS ...
Replies (1) 4 January 2008
We have an intermittent problem with a com callable component created with
.net 2.0. This component is called in asp pages written in VB script on a
Win2k3 server.
About once every 2-4 weeks the ...
|
|
|
|
CreateObject
Replies (1) 2 January 2008
I am just stumped. I use the following type of code from Office apps:
Dim w as object
Set w = CreateObject("iGen.iGenStart")
w.MyProp = "SomeValue"
w.MyMethod
Set w = Nothin...
|
|
|
|
M`I 5.Persec ution ` MI5 are Afraid to A dmit T ...
Replies (1) 31 December 2007
MI5 are Afraid to Admit They're. Behind the Persecution
MI5 have issued a formal denial of any involvement in my. life to the
Security Service Tribunal, as. you might expect them to; but, more
im...
|
|
|
|
M-I'5.Persec ution - 22 ,544 + 837 = 23,3 81
Replies (1) 31 December 2007
MI5. Persecution Update: Friday 7 April, 2000
22,544 + 837 =. 23,381
Last weekend I delivered another 837 faxes to politicians. and the media on
the subject of the security service conspiracy w...
|
|
|
|
Get Global Object ID for outlook 2003 by using Ext ...
Replies (1) 30 December 2007
Hi
I tried the sample code in http://support.microsoft.com/kb/899919 to get
Global Object ID for outlook 2003 by using Extended MAPI. but don't know how
to define or initalize lpMsg. I am new to ...
|
|
|
|
Creating data binding in managed code used by unma ...
Replies (1) 30 December 2007
I have some existing classes written in C++ used to read PLC data. The
classes using some cind of data binding that looks like OLE-DB with an array
of structs. The data binding is done by using th...
|
|
|
|
accessing properties of object passed by an event, ...
Replies (1) 30 December 2007
Hello.
I'm working on a C++.NET project in which I am receiving events from a
COM object, using COM Interop. This is a time-critical application,
and Interop issues are slowing performance down t...
|
|
|
|
SetWindowPlacement
Replies (1) 28 December 2007
For the life of me I cannot get this API function to work as expected
in VB.Net
I am however using SetWindowPos, and so long as the window is not
minimized, it will position as I tell it to. If t...
|
|
|
|
autoshapes in dotnet
Replies (1) 26 December 2007
Hi,
How to add autoshapes in windows forms by using ppt or word interops.Can you
please give any idea about this?
--
Thanks & Regards,
Neeraja.V...
|
|
|
|
regasm /tlb complaints element not found
Replies (1) 26 December 2007
(I am a novice with interop services so bear with me...)
I have a legacy C# application and am using VS2005 to generate a dll for it.
I want to make this available for COM access which requires, ...
|
|
|
|
ActiveX Control hidden property in VS.NET
Replies (2) 26 December 2007
I'm working on an MFC ActiveX Control that implements some hidden properties.
The properties are hidden by adding the [hidden] attribute in the the ODL
file. Some properties are hidden because the...
|
|
|
|
Impact of InprocServer32\RuntimeVersion ?
Replies (2) 21 December 2007
Hi...
Just out of curiousity, I was wondering if the InprocServer32\RuntimeVersion
registry setting of a .Net COM interop object had any effect?
I happened to notice the other day that our Wix...
|
|
|
|
COM object that returns a string
Replies (2) 20 December 2007
Hello. I have written a Class Library in C# that has two methods:
GetNumber returns 17
GetName returns foo
I am able to add a reference to the COM object from an ASP.NET page,
call both method...
|
|
|
|
vbproj csproj containing cs & vb files
Replies (1) 19 December 2007
Is there a way to insert both cs & vb files in a dotnet 1.1 vbproj or
csproj file?
I guess I could compile them into lib files and then interlink?...
|
|
|
|
how to register an assembly that uses ADODB
Replies (2) 19 December 2007
Hello,
I have an assembly that references a COM DLL that uses ADODB. It runs
properly when run from a regular .Net program, but I need it to run from SQL
Server 2005.
When I try to register t...
|
|
|
|
Saving dataset to XML and reading back gives diffe ...
Replies (2) 18 December 2007
This would better be described by 'serialization' than 'interop', but I
didn't find a newsgroup that seems closer on topic.
The problem in a few words: I save data with DataSet.WriteXML, but I get...
|
|
|
|
Marshal strings / byte arrays / structs
Replies (1) 18 December 2007
Hello,
I have the following functions that are from a native Win32 dll.
Can someone help me to use them from CSharp?
extern ABS_StatusType ABS_WriteInArea( void* pxPath,
...
|
|
|
|
Access to members of a AxHost (OCX) dynamically in ...
Replies (1) 18 December 2007
Hi,
Please check the following code:
Now, after having ActiveX well... How do to access the ActiveX's members ?
using System;
using System.ComponentModel;
namespace WrapOCX
(
pu...
|
|
|
|
COMException error when using 64bit .NET Framewor ...
Replies (2) 18 December 2007
Hi -
I posted this several weeks ago and haven't received any 'real' response
from the group. Here we go again :):
=================================================
My .NET application makes a ...
|
|
|
|
How to serialize Excel Workbook into a memory stre ...
Replies (2) 18 December 2007
Is there a way to save a dynamically created Excel workbook to a
Memory stream? There are no overloads in the Save method to save to a
stream. I want to create a web service that will dynamically ...
|
|
|
|
Help with error: Cannot register assembly ... Coul ...
Replies (1) 18 December 2007
This is a multi-part message in MIME format.
------=_NextPart_000_001B_01C841AC.74629FE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello, eve...
|
|
|
|
Excel Application.Calculation Property
Replies (2) 17 December 2007
Setting this property when no workbook is open throws an exception. Is this
the intended behavior?...
|
|
|
|
IDispatch* , COM Server(LOCAL_SERVER), event data ...
Replies (1) 17 December 2007
I wrote and maintain a high-performance COM server written in MFC (ATL guys
excuse me), to provide a COM layer on top of an existing SIP protocol stack
written in pure C. I have one main inbound i...
|
|
|
|
Access to members of a AxHost (OCX) dynamically in ...
Replies (1) 17 December 2007
Hi,
Please check the following code:
using System;
using System.ComponentModel;
namespace WrapOCX
(
public class AxControl : System.Windows.Forms.AxHost
{
public ...
|
|
|
|
"Attempted to read or write protected memory" on s ...
Replies (11) 17 December 2007
I have a strange issue when using a COM component in VS 2005 or 2008. If I
compile my application and run it, it works on any xp machine, but does not
work on most vista machines. I get an "Attemp...
|
|
|
|
MI5-Persecution: Why do you think MI5 are responsi ...
Replies (1) 16 December 2007
Why do you think MI5 are responsible?
The question of who is ultimately responsible for this eight-year
harassment is one which is very difficult to answer, as the persecutors
have never clearly ...
|
|
|
|
MI5-Persecution: MI5 are Afraid to Admit Theyre Be ...
Replies (1) 16 December 2007
MI5 are Afraid to Admit They're Behind the Persecution
MI5 have issued a formal denial of any involvement in my life to the
Security Service Tribunal, as you might expect them to; but, more
impor...
|
|
|
|
Unable to access folders across two servers.
Replies (1) 16 December 2007
Scenario :
1. The Department files to be accessed are present in the File server.
2. The Code is present in a different server with OS being Windows Server
2003.
3. Access to File server happe...
|
|
|
|
Testing the COM API of a .NET interop assembly
Replies (2) 14 December 2007
Hi,
I am trying to create a unit test in .NET that tests the COM API of
a .NET assembly that was registered for COM interop (regasm). So the
call sequence is like: .NET -> PIA -> .NET. What seems...
|
|
|
|
set_printquality bug in Excel.PageSetup
Replies (1) 14 December 2007
I think I discovered a bug in set_printquality method in
Excel.PageSetup. Example:
...
Excel.Sheets xlsheets = wb.Sheets;
Excel.Worksheet excelWorksheet = (Excel.Worksheet)xlsheets[1];
Excel.Page...
|
|
|
|
When to use Marshal.GetNativeVaraintForObject
Replies (1) 14 December 2007
Hi, I notice that Marshal.GetNativeVaraintForObject is a way to create
a variant from object.
But DotNet can do marshalling from object to variant when an object is
used as a parameter.
Can an...
|
|
|
|
C# seems not to understand pointer any more
Replies (2) 14 December 2007
We have code like this in our managed wrapper (written with managed
extensions in C++)
Byte * some_method();
which we compile with VS2003 to a managed assembly.
The functions in the assembl...
|
|
|
|
Encoding (charset) with HTMLDocumentClass
Replies (1) 14 December 2007
In a C# Windows application (ASP.NET 1.1) I am trying to build an
application to request Web-based content and extract some the content
and some other information using the HTML DOM and then creat...
|
|
|
|
[Fwd: Wrapped OCX Control]
Replies (3) 14 December 2007
This is a multi-part message in MIME format.
--------------070309050202010902040806
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi;
How can I g...
|
|
|
|
stalker record label
Replies (1) 14 December 2007
Mike Lalonde discovered a sexy model down the back of Galston High
during a hail storm because his leg hurt and fell violently ill, Mike
Lalonde then met his long lost son: Mike Lalonde the second, ...
|
|
|
|
Excell Interop dll problems 2003
Replies (1) 13 December 2007
Guys,
I am having problems with Excel 2000 to Excel 2003 dll in production.
I am having version 2003 in my PC and I used the below code change to
open password protected excel files in my appli...
|
|
|
|
Excel Automation
Replies (1) 13 December 2007
I am using VB .NET to populate an Excel spreadsheet. When the program runs
Excel.Quit, a dialog box comes up "Do you want to save the changes..." with
the choices of Yes, No or Cancel. If I clic...
|
|
|
|
Adding COM support to my C# library
Replies (3) 11 December 2007
Hi,
I have written a library in C# for doing some power
calculations. I wanted to add COM support to this library, so that
other applications/scripts could call this functionality.
I...
|
|
|
|
¤â¾÷²M³f¦U´Ú¦U«¬¸¹
Replies (1) 11 December 2007
¹q62893103°Ý»ù©ÎµoªÅ¥Õ¹q¶l¥h 3d@humaneyes.com »ù³æ....
|
|
|
|
Vista
Replies (1) 11 December 2007
I just successfully created a XP Explorer Band that works great. Apparently,
this functionality has dramatically changed for Vista. My questions are:
How do I create an Explorer Band in Vista, an...
|
|
|
|
Interopt, PowerPoint 2007
Replies (1) 10 December 2007
I have developed an application for managing placeholders (for date, time,
tickers, database values etc) in PowerPoint. The application starts read the
placeholders, starts PowerPoint and with DoE...
|
|
|
|
.Net 1.1-COM-Component running fine, .Net 2.0-COM- ...
Replies (1) 10 December 2007
Hi group,
I have the following problem:
I have a DLL written in C# with a component I want to use inside an
Office-AddIn written in VB6.
With the .Net 1.1-version of the component there is ...
|