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

VS2008,c# ,web application

I am working with a web applcation project.itz in vs 2008.(C#) and am using a checkreader in this project.
To work check reader,the code is in vc++ (ocx).I just create an object for tht ocx and call all the methods in my project.
Locally it is working.But if it is working on web that object creation for ocx is not created.
thtzy i cannot access methods also..how i can create an object for ocx in proper way????

aspx Page
---------
<body>
<object id="obOCXCtrl" name="obOCXCtrl" classid="classid...." codebase="projectname.ocx"></object>
<script type="text/javascript">
function fn()
{
obOCXCtrl.....
.............
}
</script>
<script language="vbscript">
.......
.......
</script>
..........
..........
..........
</body>


aspx.cs have nothing coded...
object,all functions and methods in aspx only....Please help me
Thanks...
Nov 18 '08 #1
3 1260
r035198x
13,262 8TB
Why don't you post the code where you create the ocx object.
Is there anywhere where you use some file paths?
Nov 18 '08 #2
no paths i am using....i added tht ocx in my project.....Then this is the code i am using to create an object....
<object id="obOCXCtrl" name="obOCXCtrl" classid="classid...." codebase="projectname.ocx"></object>


i gave ocx name as codebase and ocx classid as classid......i didnt use any path ....
Nov 18 '08 #3
Please help me to do this...The object of ocx is not loading.
Thanks in advance
Nov 21 '08 #4

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

Similar topics

1
by: Hans Kesting | last post by:
Hi, I can't get a vs2008 solution to compile. I have copied the source from a (compiling) 2.0 web-application to a new directory (I didn't want to change the old code), and tried to compile...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
7
by: dan | last post by:
I'm working on a small Web project in VS2008. In VS2005 it was recommended that DataSet be placed in App_Data folder (the framework did that automatically). In VS2008 the framework does not give...
4
by: K Viltersten | last post by:
We have a project working well today and it's developed on VS2005. Since we're planing to switch to VS2008 in a soon future, i've been trying to move the project to VS2008 Express (Web...
16
by: Harry Simpson | last post by:
I've been away from ASPNET - I open up a new Web app in VS2008 and go into properties and select to use IIS instead of the personal web server. Then I run in debug mode and it says I have to set...
0
by: Michael Bray | last post by:
I've found a change in SP1 that doesn't seem to make sense to me, but seems to be there nonetheless. The situation is this... I have an application that stores it's configuration in a file in...
1
by: beauwlf | last post by:
Hi I recompiled previous VC6.0 C++ MFC project with VS2008 Evaluation It could run release at the system with the VS2008 installed. But it gives "Application has failed to start because the...
1
by: BillE | last post by:
<extreme frustration> I have googled and read about this, but can't seem to get a grip on it. Apparently I am being coerced into digitally signing applications. Is this true? What if I don't...
3
by: Jeff | last post by:
hi I'm wondering how to open a web browser window in VS2008. I've created a simple windows Live Agent and just want to test it in the VS2008 before I deploy it... any ideas how to open a...
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
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?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.