ole Questions

3

Solved

You must be aware of the .NET method "DateTime.FromOADate(double d)". I need to implement the same functionality in javascript. i.e given a double value like "40967.6424503935" it has to be convert...
Refuge asked 4/5, 2012 at 5:49

2

Solved

I was trying to connect my Java program with an Excel file. I have did upto this. But it throws this excepion Unable to recognize OLE stream Please, help me to complete this. import jxl.*; im...
Sloganeer asked 31/3, 2011 at 9:23

4

Solved

I am writing a converter from XML&MathML to MS Word document. I'm using MFC and Word automation, so there's no problem in writing text like this: _Application app; COleVariant vtOpt(DISP_E_P...
Ator asked 9/6, 2009 at 11:8

4

I want to add and extract files from an Office/Excel document using Python. So far adding things is easy but for extracting I haven't found a clean solution. To make clear what I've got and what n...
Forgiven asked 1/4, 2017 at 8:14

2

Solved

When automating other MS-Office applications with excel, I frequently get ok-only prompts saying that Microsoft Excel is waiting for another application to complete an OLE action. This only happen...
Sartorial asked 31/5, 2017 at 15:25

6

Solved

MS Access 2010, Win 7 on a regular formI didn't intentionally place any ActiveX or OLE things.. not even sure what they are. But anyways, whenever I put something in the code of a particular form, ...
Nath asked 17/5, 2012 at 14:25

1

Solved

[STAThread] static void Main(string[] args) { DoThing().Wait(); } static async Task DoThing() { Clipboard.SetText("hi"); } I added [STAThread] in the first place bc I got this error ThreadS...
Excite asked 24/6, 2019 at 12:39

5

I'm working on redeveloping an Access based system into c#.net, however when MS went from office 2003 to office 2007 they removed the picture editor within access - which meant that previously stor...
Toulouselautrec asked 10/3, 2010 at 11:37

2

Solved

Question : I need to read an RTF File that contains an OLE Object as innerdocument. RTF File = [ Ole object (word document) is embedded into it.] Sample RTF File that contains word as OLE Embed...
Plumbago asked 22/10, 2018 at 10:35

1

Solved

I have the following problem: Within a function I'm using an OLE object to make HTTP requests. The function is declared like this: function [dbo].[FN_GetRequestHTTP](@url varchar(2048), @reponseTyp...
Halyard asked 9/4, 2018 at 20:42

3

From our application we use OLE automation to build a fairly complex Word-document. I would like to make Word invisible while the document is being made, since there is a lot of pasting and inserti...
Thirza asked 12/10, 2010 at 8:6

4

I want to create an E-Mail with a Java Application using Outlook and the OLE Client. I searched for examples and found quite a few. They all start the same way: Create the Display, the Shell, the...
Slake asked 5/8, 2013 at 12:6

2

Solved

I just finished restructuring and upgrading a bunch of C# projects from Visual Studio 2008 to Visual Studio 2010. Additionally, all of the projects were changed to target the .NET 4.0 runtime. Ever...
Austronesia asked 3/4, 2013 at 19:51

1

Solved

I'm using Rails 5. I want to get text out of a Word document (.doc) so I'm using this code text = nil MSWordDoc::Extractor.load(file_location) do |ctl00_MainContent_List1_grdData| text = conten...
Consueloconsuetude asked 19/3, 2017 at 21:18

1

Solved

The question I want to ask is: (1) If I interact with clipboard by Clipboard class, what should be in "Embed Source" and "MetaFilePict" streams? (2) If I interact with clipboard by COM interface...
Lethbridge asked 1/12, 2016 at 2:34

5

Solved

I am trying to open excel 2003 workbook and save it as something else, for example excel 95. I use the following code: XLSApp:=TExcelApplication.Create(Self); XLSApp.Workbooks.Open(SomeFileName,NU...
Mastiff asked 1/3, 2010 at 13:15

1

Solved

I'm trying to use COM interface within a thread. From what I have read I have to call CoInitialize/CoUninitialize in each thread. While this is working fine: procedure TThreadedJob.Execute; begin...
Rosenwald asked 15/8, 2016 at 20:18

3

Solved

I have a Crystal report where the data source has originally been set to use ODBC connections. Now I want to modify the data source to instead use OLE DB instead of using ODBC. How do I replace the...
Doggish asked 10/5, 2010 at 14:7

1

Solved

I have a corrupted Excel vbaproject.bin extracted from .xlam add-in. How can I read modules with vba code extracted from this bin file as HEX streams? I'm using oletools, more details in this threa...
Tacitus asked 15/3, 2016 at 17:56

4

Solved

I would like to automate Internet Explorer 8 (using python 2.7 on Windows 7) machine. Here is my code after a post found on SO: import sys, time from win32com.client import WithEvents, Dispatch im...
Nickell asked 12/7, 2011 at 7:48

2

Solved

I'm trying to read and write to the IIS 6 metabase using Inno Setup. I can't figure out how to access arrays though. IIS := CreateOleObject('IISNamespace'); Compr := IIS.GetObject('IIsCompressionS...
Gerhardine asked 16/12, 2015 at 17:2

5

Solved

I'm developing a Word addin for MS Word on Windows, and this addin has as 'advanced task pane' showing and docking on the left side of the Word document window (it's treeview(outline) showing a lis...
Expectoration asked 5/5, 2011 at 11:18

4

Solved

Do you know why the block of code bellow will negate the "Could not convert variant of type (Null) into type (OleStr)" on some computers, not all of them but 3 out of ten computers generate the err...
Somatist asked 25/4, 2013 at 21:22

1

Solved

I have a subroutine that normally takes 1 second to run. Sometimes, it can run infinitely. I want to move on in the code if the subroutine is taking too long (> 10 seconds) and ignore that run of t...
Merriment asked 28/7, 2015 at 15:38

3

I've spent all day scouring the net on answers. Apparently tsql doesn't have its own nifty write to file commands. Here is my dilemma I have a load file that I am creating where a single line can ...
Damiondamita asked 14/2, 2013 at 22:49

© 2022 - 2025 — McMap. All rights reserved.