473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to write C# code when using inkAnalyzer for visual foxpro

I would like to extend inkOverlay and inkAnalyzer to a visual foxpro form and have the inkOverlay and inkAnalyzer use the visual foxpro form as the writing canvas. Within C#, this works:

public partial class Form1 : Form
...
public Form1()
{
...
this.inkAnalyzer = new InkAnalyzer(this.inkOverlay.Ink, this)
...
}

When compiled to a com interop and passing the visual foxpro form, I receive the ole error of non-supported interface.

Thus in visual foxpro:
mycom = createobject("MyInkAnalayzer")
mycom.makeit(this.inkOverlay.Ink, thisform) <--error on interface.

How is this done?
Thank you
Jun 28 '11 #1
0 1386

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Doug Ly | last post by:
Hi , connect to Blah user blah using blah ------------------------------------------------------------------------ Database Connection Information Database server = DB2/6000 7.2.3...
10
by: Jonathan Wilson | last post by:
Firstly, to get msvcrt.lib, install the .NET framework SDK. The version of msvcrt.lib included there is the exact same one as comes with Visual Studio ..NET 2003. There are some other things that...
1
by: GPBSOFT | last post by:
I am Italian developer, escuse me for my bad English I have a problem with ODBC. I must link to a database from Visual FoxPro, I have installed Windows XP Professional with service pack 2. When I...
2
by: Rachel | last post by:
I am developing an application on Visual Foxpro 7. I would like to inculde some .NET functions in it. For this purpose I have created a dll in VC++ .net using managed c++. I have written all the...
13
by: Bev in TX | last post by:
We are using Visual Studio .NET 2003. When using that compiler, the following example code goes into an endless loop in the "while" loop when the /Og optimization option is used: #include...
1
by: Handi | last post by:
hi. i want to store the current state before window close, how to write code when window closing ( before window close) ? Thanks
3
by: Amar | last post by:
I have a abc.PRG file in visual foxpro 8.0. I can run this file using visual foxpro environment and it creates a table X.dbf in the same folder where this program file is and populates some data in...
1
by: APA | last post by:
Well, I've figured out a way around this mess. I have no idea why it doesn't work the way I think it should but I do know how to get it to work. The scenario is that I have a form that has one...
0
by: AJIT PITALE | last post by:
Hi, I am using Visual Basic 6 as front end and Visual FoxPro as a Database. I am trying to pass a parameter from VB to Visual FoxPro's Stored Procedure. I am getting an error showing "Data...
0
by: microcool1024 | last post by:
I am having a problem getting a C callback to correctly activate in a C# program after using a dllimport. Here is the declaration of the C code in the C header: typedef BOOL (CALLBACK...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.