Re: Creating an OCX with .NET

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andrey (leyandrew_at_yahoo.com)
Date: 09/17/04


Date: Fri, 17 Sep 2004 03:41:30 GMT

smeagol wrote:

> Hi, is possible to create an OCX with .NET?
> I need to use a control (user control) in Visual Fox Pro, but the old fox
> doesn't accept usercontrols.
> Any help are welcome
>

There should be only a nasty way to perform that in .NET - it's just not suited for that,
but why don't you want to use something more "ActiveX-friendly", like VC++ 6.0 or VB or even Delphi?



Relevant Pages

  • Error Happens Once
    ... I have a project with lots of forms and a user control. ... happens once when The control needs to be drawn, in Run or design mode. ... the 'Crash' happens on a line of code that draws ... either BitBlt or the UserControls Line method. ...
    (comp.lang.basic.visual.misc)
  • Re: VS2003: Error Adding Existing Item - does not refer to p
    ... Have you tried selecting the project in Solution Explorer, ... > Specifically, I have copied an existing user control (.ascx, .ascx.cs, ... When I right-click on the UserControls sub-folder in the VS Solution ... > FrontPage newsgroup so I assume it's got something to do with FrontPage ...
    (microsoft.public.dotnet.faqs)
  • Re: Accessing SQL Server from a usercontrol
    ... I would think that you can do your database work ... there, populate some objects, and then pass those to the UserControls to ... > When a user control access SQL Server, what happens if I host it multiple ...
    (microsoft.public.dotnet.framework.aspnet)
  • UserControl as Items in ListBox
    ... Does anyone know how to successfully use a collection of UserControls ... simply needs to select the desired row. ... It appears to be necessary to set DrawMode to OwnerDrawFixed and then ... Sadly, though, the user control ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: setting focus to an asp.net web user control
    ... When you usercontrols, the controls inside the userControls will have an id ... lets say your user control has an id like "uc1" ... > But it fails when using web user controls. ...
    (microsoft.public.dotnet.framework.aspnet)