interop Questions

4

Solved

I'm trying to connect to a running Excel instance, but when I try to use the following code snippet: using Microsoft.Office.Interop.Excel; using System.Runtime.InteropServices; public Application...
Understate asked 19/9, 2019 at 11:57

0

I have a code which I'm doing XslCompiledTransform as below: var xslTransform = new XslCompiledTransform(); xslTransform.Load("File.xslt"); Throws Error (When Windows Server Upgraded to ...
Vocal asked 30/8, 2022 at 10:7

8

Solved

I see from Microsoft's documentation that I can access the particular border edges of a cell using the 'xlBordersIndex' property and for example set the border style for the left edge of a cell: r...
Forkey asked 2/2, 2013 at 16:26

0

Google search on this topic only gives 4 results, one mention from MudBlazor I have the following @code in the bottom of a .razor file: protected override async Task OnAfterRenderAsync(bool firstRe...
Dufrene asked 25/8, 2022 at 13:53

4

MS Office VBA has a property called Application.PathSeparator. I'm supportive of interoperability, but Office runs only on Windows & MacOS, and both platforms use the same \ path separator. W...
Platelet asked 25/4, 2018 at 2:38

9

I am creating an excel file using interop.excel and the process is not closing. This is the code i am trying to use. Private Sub converToExcel(fileLoc As String, ds As DataSet) Dim xlApp As Exc...
Houghton asked 8/1, 2013 at 19:22

8

Solved

I have a C library that needs a callback function to be registered to customize some processing. Type of the callback function is int a(int *, int *). I am writing C++ code similar to the following...
Pinchbeck asked 16/6, 2009 at 10:24

5

We are working on an integration of a large MFC-based application with a handful of managed (.NET) add-ins. Communication with these add-ins is done via COM. Historically, we've just used the regi...
Comfit asked 29/10, 2009 at 16:3

2

Solved

I am using the below code for updating excel data format, here I want the heading to be in bold and entire data in italics format but when I run the code all the features in it seems to be working ...
Fretwork asked 11/7, 2015 at 22:52

4

Solved

I am looking for alternate ways to search through the word document for certain text and then replace it with another text. My current works using the Find and Replace method however I was wonderin...
Snowonthemountain asked 6/6, 2017 at 13:35

2

I'm trying to build Octave functions in Rust. Octave's API is in C++, so I've generated bindings using rust-bindgen. I'm currently working through the problems that occur when trying to generate bi...
Mantelpiece asked 2/10, 2017 at 11:40

15

Solved

How do I read text from the (windows) clipboard with python?
Rubie asked 19/9, 2008 at 11:9

1

Solved

I am investigating how to do cross-process interop with OpenGL and Direct3D 11 using the EXT_external_objects, EXT_external_objects_win32 and EXT_win32_keyed_mutex OpenGL extensions. My goal is to ...
Inhuman asked 14/2, 2022 at 7:22

2

Unmanaged code calls my functions. In first function I should pass back pointer to my managed object. Sometimes later some of my other functions get called with that same pointer as one of paramete...
Parsimonious asked 31/7, 2011 at 12:57

1

We are inserting content controls programmatically in word document and we don't want to add actions to the undo stack of word. The only way that we found is to access the undo commandbar-combobox ...
Inspectorate asked 22/5, 2012 at 14:15

22

Solved

How do I call shell commands from inside of a Ruby program? How do I then get output from these commands back into Ruby?
Langur asked 5/8, 2008 at 12:56

43

Solved

I'm using the Excel interop in C# (ApplicationClass) and have placed the following code in my finally clause: while (System.Runtime.InteropServices.Marshal.ReleaseComObject(excelSheet) != 0) { } e...
Lipolysis asked 1/10, 2008 at 17:18

1

Solved

To compile C# into WebAssemly and interop with JS it's required to use Blazor WebAssembly ASP.NET framework, which is designed for SPA and contains lot of overhead in case you just want to use a C#...
Oquassa asked 27/10, 2021 at 17:44

11

Solved

I use GIT on a Mac. Enough said. I have the tools, I have the experience. And I want to continue to use it. No wars here... The problem is always with interoperability. Most people use SVN, which ...
Instil asked 19/5, 2009 at 15:26

2

Is it possible to increase the stack size of an ASP.NET core 2 binary? I have to use a 32 bit COM interop component which happens to smash the stack under some defined conditions. It's not an infin...
Loisloise asked 6/4, 2018 at 15:36

4

Solved

I have found this similar question regarding Android, but I am using plain Java with Maven as build tool. I think it is better to post a new question. I have created a Kotlin class to which I am t...
Giovannagiovanni asked 15/5, 2017 at 12:54

4

Solved

Suppose we have a Java static method: //Java code public static void printFoo() { System.out.println("foo"); } It is possible to call that method in Kotlin?
Raphaelraphaela asked 26/2, 2015 at 4:30

2

Is it possible to create a Linux compatibility layer inside OS X? Someone have created xbinary, which is essentially an OS X port of binfmt_misc as a kext, here: http://www.osxbook.com/software/xb...
Bootblack asked 25/4, 2014 at 18:40

1

Solved

I want to use one of Windows' built-in cursors that are not included in the 'Cursors' class. I found this question to which the answer appears to provide the information I need, but there is ...
Brown asked 29/9, 2021 at 18:25

12

Solved

I have a function that returns five characters with mixed case. If I do a query on this string it will return the value regardless of case. How can I make MySQL string queries case sensitive?
Flotilla asked 12/4, 2011 at 0:36

© 2022 - 2024 — McMap. All rights reserved.