473,395 Members | 1,502 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,395 software developers and data experts.

Can we create .OCX control in ATL project type

Hi all,
Can we create an ActiveX (.OCX) control in ATL project type? Is project type
for creation of .OCX file can only be ActiveX MFC type?

If yes, Could you suggest me some Links?

My Requirement: To create an ActiveX control that could be include in a web
Page. This control has a DataGrid on it. Iam unable to do so in MFC ActiveX
projects.
Im using VS 6.0.
Thanks in anticipation,
Vinay
Nov 17 '05 #1
6 3667
Vinay wrote:
Hi all,
Can we create an ActiveX (.OCX) control in ATL project type? Is project type
for creation of .OCX file can only be ActiveX MFC type?

If yes, Could you suggest me some Links?

My Requirement: To create an ActiveX control that could be include in a web
Page. This control has a DataGrid on it. Iam unable to do so in MFC ActiveX
projects.
Im using VS 6.0.
Thanks in anticipation,
Vinay

I may be naive, but isn't an OCX essentially a DLL with a different
extension?

/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #2
Hi Steve,

I myself is new to VC++.

Can we include this ActiveX dll in Web page so that it can be downloaded by
the browser? As we do in case of an .OCX control.
If yes, Can u suggest me the way.

Thanks
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:ug**************@tk2msftngp13.phx.gbl...
Vinay wrote:
Hi all,
Can we create an ActiveX (.OCX) control in ATL project type? Is project
type for creation of .OCX file can only be ActiveX MFC type?

If yes, Could you suggest me some Links?

My Requirement: To create an ActiveX control that could be include in a
web Page. This control has a DataGrid on it. Iam unable to do so in MFC
ActiveX projects.
Im using VS 6.0.
Thanks in anticipation,
Vinay

I may be naive, but isn't an OCX essentially a DLL with a different
extension?

/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #3
In a local intranet, you can certainly put a DLL in a web page. You are
much better off doing it correctly by installing the dll in a CAB file
which is signed. That way, you can get selfregistration as part of the
download. There's lots on MSFT web sites on how to do this..

/steveA

Vinay wrote:
Hi Steve,

I myself is new to VC++.

Can we include this ActiveX dll in Web page so that it can be downloaded by
the browser? As we do in case of an .OCX control.
If yes, Can u suggest me the way.

Thanks
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:ug**************@tk2msftngp13.phx.gbl...
Vinay wrote:
Hi all,
Can we create an ActiveX (.OCX) control in ATL project type? Is project
type for creation of .OCX file can only be ActiveX MFC type?

If yes, Could you suggest me some Links?

My Requirement: To create an ActiveX control that could be include in a
web Page. This control has a DataGrid on it. Iam unable to do so in MFC
ActiveX projects.
Im using VS 6.0.
Thanks in anticipation,
Vinay


I may be naive, but isn't an OCX essentially a DLL with a different
extension?

/steveA


--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #4
Hi Steve,
Thanks,
Could you suggest me the way to include an ActiveX dll in any VC++ project
or an ASP page. As I see only activeX OCX files in the list of ActiveX
control.
Can we create an ActiveX dll that has a User Interface?

Regards,
Vinay
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
In a local intranet, you can certainly put a DLL in a web page. You are
much better off doing it correctly by installing the dll in a CAB file
which is signed. That way, you can get selfregistration as part of the
download. There's lots on MSFT web sites on how to do this..

/steveA

Vinay wrote:
Hi Steve,

I myself is new to VC++.

Can we include this ActiveX dll in Web page so that it can be downloaded
by the browser? As we do in case of an .OCX control.
If yes, Can u suggest me the way.

Thanks
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:ug**************@tk2msftngp13.phx.gbl...
Vinay wrote:

Hi all,
Can we create an ActiveX (.OCX) control in ATL project type? Is project
type for creation of .OCX file can only be ActiveX MFC type?

If yes, Could you suggest me some Links?

My Requirement: To create an ActiveX control that could be include in a
web Page. This control has a DataGrid on it. Iam unable to do so in MFC
ActiveX projects.
Im using VS 6.0.
Thanks in anticipation,
Vinay

I may be naive, but isn't an OCX essentially a DLL with a different
extension?

/steveA


--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #5
I think you will have to do a bit of research on your own. These are
questions that are much beyond simple ng chatter.

To include in a project means accessing the data via CoCreateInstance.
To include in an asp page means the returned "html" has an OBJECT
reference in it.
Yes, an ActiveX control can have a user interface - see the tutorials

/steveA

Vinay wrote:
Hi Steve,
Thanks,
Could you suggest me the way to include an ActiveX dll in any VC++ project
or an ASP page. As I see only activeX OCX files in the list of ActiveX
control.
Can we create an ActiveX dll that has a User Interface?

Regards,
Vinay
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
In a local intranet, you can certainly put a DLL in a web page. You are
much better off doing it correctly by installing the dll in a CAB file
which is signed. That way, you can get selfregistration as part of the
download. There's lots on MSFT web sites on how to do this..

/steveA

Vinay wrote:
Hi Steve,

I myself is new to VC++.

Can we include this ActiveX dll in Web page so that it can be downloaded
by the browser? As we do in case of an .OCX control.
If yes, Can u suggest me the way.

Thanks
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:ug**************@tk2msftngp13.phx.gbl...
Vinay wrote:
>Hi all,
>Can we create an ActiveX (.OCX) control in ATL project type? Is project
>type for creation of .OCX file can only be ActiveX MFC type?
>
>If yes, Could you suggest me some Links?
>
>My Requirement: To create an ActiveX control that could be include in a
>web Page. This control has a DataGrid on it. Iam unable to do so in MFC
>ActiveX projects.
>Im using VS 6.0.
>Thanks in anticipation,
>Vinay
>
>

I may be naive, but isn't an OCX essentially a DLL with a different
extension?

/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #6
Thanks Stteve,
I will carry on the RnD for this.

Vinu
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:%2*****************@TK2MSFTNGP09.phx.gbl...
I think you will have to do a bit of research on your own. These are
questions that are much beyond simple ng chatter.

To include in a project means accessing the data via CoCreateInstance.
To include in an asp page means the returned "html" has an OBJECT
reference in it.
Yes, an ActiveX control can have a user interface - see the tutorials

/steveA

Vinay wrote:
Hi Steve,
Thanks,
Could you suggest me the way to include an ActiveX dll in any VC++
project or an ASP page. As I see only activeX OCX files in the list of
ActiveX control.
Can we create an ActiveX dll that has a User Interface?

Regards,
Vinay
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
In a local intranet, you can certainly put a DLL in a web page. You are
much better off doing it correctly by installing the dll in a CAB file
which is signed. That way, you can get selfregistration as part of the
download. There's lots on MSFT web sites on how to do this..

/steveA

Vinay wrote:

Hi Steve,

I myself is new to VC++.

Can we include this ActiveX dll in Web page so that it can be downloaded
by the browser? As we do in case of an .OCX control.
If yes, Can u suggest me the way.

Thanks
"Steve Alpert" <sr*@newsgroups.nospam> wrote in message
news:ug**************@tk2msftngp13.phx.gbl.. .
>Vinay wrote:
>
>
>>Hi all,
>>Can we create an ActiveX (.OCX) control in ATL project type? Is
>>project type for creation of .OCX file can only be ActiveX MFC type?
>>
>>If yes, Could you suggest me some Links?
>>
>>My Requirement: To create an ActiveX control that could be include in
>>a web Page. This control has a DataGrid on it. Iam unable to do so in
>>MFC ActiveX projects.
>>Im using VS 6.0.
>>Thanks in anticipation,
>>Vinay
>>
>>
>
>I may be naive, but isn't an OCX essentially a DLL with a different
>extension?
>
>/steveA

--
Steve Alpert
my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)
and spaces

Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Peter Rilling | last post by:
Okay, what I want to do is to create a new type of project that can be added to a solution. This project would have no code, but will have other control mechanisms that would launch when the...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
4
by: Daniel Sitima | last post by:
I cannot to create project in Windows Server 2003 with Visual Studio .NET 2003; The error returned was: The default Web access mode for this project is set to file share, but the project...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: Amjad | last post by:
Hi, I just wrote a test Windows Service that creates a text file on startup (please see my code below). The file is never created. Protected Overrides Sub OnStart(ByVal args() As String) Dim...
1
by: Prabhudhas Peter | last post by:
Hai, I need to Create a set of Usercontrol which will be used across my Project, the reason is, if i want to change the format or font properties in future I will change the formats in the...
20
by: Highlander | last post by:
Hello all. Consider the following HTA: <html> <head> <title>Date Pulldowns</title> <HTA:APPLICATION ID="HTAUI" APPLICATIONNAME="Date Pulldowns" SCROLL="no" SINGLEINSTANCE="yes"
5
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.