ActiveX Control Embed Tutorial?
I need to write an ActiveX control, in VB6, that will be embedded in an IE-6 browser. I'm looking for a good tutorial and links to documentation, to make this as painless as possible.
View RepliesI need to write an ActiveX control, in VB6, that will be embedded in an IE-6 browser. I'm looking for a good tutorial and links to documentation, to make this as painless as possible.
View RepliesCould any one tell me hoe to embed a VB ActiveX control in ASP
View Replies View RelatedI want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.
View Replies View RelatedI have one Activex Control which i want to use over the network. In that i am having one module and one user control. For this i prepared the ocx file and made a package. But when i am trying to deploy that file it gives me error no. 80042114
how to use the activex control over the network.
I have a custom ActiveX Control that is working fine with ASP in IIS
5.1 on WinXP.
But the same ASP page is failing in Server.CreateObject of that ActiveX
Control in IIS 6.0 on Win Server 2003. Do i need to change any
configuration on my IIS 6.0
I created a VB6 ActiveX control, created the CAB file using "Package &
Deployment Wizard", sign the CAB file with Verisign, and copy the CAB file
to a website.
I am able to download older CAB files, but recent CAB file that I created I
can not download them. It prompts me to download the control, and I said yes
to download, but it did not get downloaded. I un-register MSVBVM60.DLL and
rename the file, but when downloading the CAB file, it did not prompt me to
download the VBRUN60.CAB. What can I check to see whey the control did not
get downloaded ?
Is there anyway to detect the ActiveX control is able to run on the browser or not. After I installed the ActiveX control to my system, user sometimes switch
the secruity setting to "not able to run ActiveX control". So, the ActiveX
control just show on the broswer, but not able to run it.
I want to find a way to detect it. And prompt the user a message telling
that the ActiveX control is not able to run.
I have an ActiveX control in my web page that I tried to access using intranet.i have implemented IObjectSafety in the ActiveX control, and when I created the CAB file using VB Pakage and Deployment Wizard, under "Safety Settings" I selected "Yes" for "Safe for Scripting" and "Yes" for "Safe for Initialization". I also have signed the CAB file.
In IE, the option 'Script ActiveX controls marked Safe for Scripting' is already set to 'Enable' (I use Security setting "Medium-Low"). I get a warning message 'An ActiveX control might be unsafe to interact with other parts of the page. Do you want to allow this interaction? Why do I still get the prompt when I go to the web page ?
I seem to have run into two documented bugs whose workarounds are
incompatible. What I have is an OCX written in VB 6 that has a few classes
in it. Many of the methods of the OCX are used by ASP, and so far have
worked fine.
I recently added a COM object reference to the DLL which consists of an SMTP
client dll that is wrapped up in dual interface activeX control (written in
VC++ 6).
When I try to create an instance of this new control, the compiler
complains.
Dim smtpClient As myClass.myClient
Set smtpClient = New SEACOMSMTPLib.SeaSMTPObj
When I try to compile this, I get an error on the first line of code that
accesses a method of the object: Code:
How do I tell if an ActiveX control is installed (and working)?
View Replies View RelatedI wrote a simple client/server chat program and the client runs as an
activex control within an asp page. I have the users logging into
the page using widows authentication and I'm using
Request.ServerVariables("AUTH_USER") to get the users name. I'd like
to pass this name to the activex chat client thru the page but I'm
having some difficulty. I tried passing it as a parameter to the
"Tag" property within the <OBJECT> element like this:
<%
username=Request.ServerVariables("AUTH_USER")
username=right(username,len(username)-instr(1,username,""))
' remove the domain or machine name from the username
Response.Write "<PARAM NAME=" & chr(34) & "Tag" & chr(34) & " VALUE="
& chr(34) & username & chr(34) & ">"
%>
When I do this the ActiveX control doesn't appear on the page. Is
there a better way to do this? I also tried creating a public sub in
the activex control and calling it as a method from within the page
but I can't seem to get the syntax right. I keep getting "Object
Required" errors.
I have an ActiveX control in my ASP page that has not been signed yet, so currently just for testing I set the Security for Intranet to "Low". When I run the ASP page on my machine (the IIS is in my machine), I have no problem, except the page prompted me with "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"
But, when I run the ASP page on another machine (even though the other machine is also a development machine that already has the ActiveX control and I set the Security for Intranet to "Low"), it did not prompt me the above message, and I got an error when accesing any method of the AX control (e.g Object doesn't support this property or method 'myAXControl.method').
Is this because I have to create a CAB file and mark the AX control as safe for scripting ?To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for this VB project ?
I would like to be able to control an asp text box control's name attribute.
I know i can manually type the whole string
<input type="text" name="username" value="" />
but then i can't use the validation control on the inputs. [free javascript ]
PHP Code:
I'm trying to generate word documents with ASP. I have no problem generating the wrd documents, but none of the images within the document are actually appearing the word file that you download. Does anyone have any insight, tips, pointers into how to go about embedding images in dynamically created word documents?
For reference - I'm using the response.contenttype ms/word to create the document on the fly.
i want to have link on clicking to which I want an excel workbook to be
displayed... basically i think i will need to embed it into the table.
I also want that when i open the predefined excel template i dont get
the main menu (file, edit, view, insert,etc). My template has just 2
columns , data from one column is retrieved from the database and in the
2nd column is the quantity which user will enter and on clicking save i
will save in database.
I have an asp file that as a URL variable. The variable contains the url to another htm file. How can I embed the htm file within the body of the asp file?
View Replies View Relatedi have a page that dynamically displays payment info for accounts. since
each account differs in the number of rows to display, i loop through my
recordset and use the following asp embedded html: Code:
Ive read a few posts on this topic on the web but nothing specific. Is there a way to embed excel onto an HTML document using asp?
This is my issue:
At our company we have one user that has to access a spreadsheet, and an employee at another company has to access that same spreadsheet. They will never access it at the same time. but when one user accesses the sheet then saves it.
The easiest way I figured to do this - is store the excel document in an SQL database, and embed excel into a webpage so that both users have access to. so they can update the sheet, and save it.
Is it possible to embed an image, like a company logo in a CDOSYS generated
message?
If yes, I´ll apreciate some code sample. I´ve been able to format messages
in html the way I like, but I can't figure out how to embed an image.
I know there is AddEmbeddedImage but does this only work only for images on your hard drive - can it be used for images that are web based? If not is there a way to embed an image in an email on the fly before sending - all web based?
View Replies View RelatedAny idea's on how to make a PDF secure? I don't want anybody to be able to type in the location to the pdf file in the browser and download it. Suggestions please!!!???
View Replies View RelatedI am populating a schedule using access db, then export that to an excel file using "content-disposition".... I need to add some excel formula while populating the data, how will i do that? any sample??
View Replies View RelatedI have a document management application written in classic ASP
(VBScript) on my company intranet which works fine by storing and
displaying scanned images as .tif files.
What I wish to do now to further enhance the application is to display/
embed the DB record ID as text into the image itself.
I am aware of a a way of doing this to jpeg images using ASP.NET but
this does not work with tif files and classic ASP.
Does anyone know of a component which can achieve this or of a way I
can achieve the results with classic ASP.
I have 2 issues that i could not find a solution,
1) is it possible to convert a "cgi" code into asp page.
2) are there any tools to do this conversion,
is it possible to embed the cgi code inside , for example html, or jsp or asp.
I have a code in asp which counts the number of visitors visited the site, how do I call this file to the html page? Is it by using <!include ...> or is there any other way of doing it. I tried using the include method it is not working and also I tried using <script language="JavaScript" src="hitcounter.asp"></script>, that also does'nt work. When they open the index page it should automatically display the visitor's number. Can you please help me with this?
View Replies View RelatedIs there a way to embed an explorer like view of files within a directory and have them be linkable like a tree function in asp. Like This. I want to use as include file too.
View Replies View RelatedUsually, when I send HTML emails, I just SRC the image to my web server, but now I would like to consider embedding images for those instances when potential customers may view the email when offline.
Can this be done with CDO or is another component required?
i have a select case statement that checks for a couple of options e.g.
<%select case aParameters(0)
case 0 %>
.. some code
<%case 2 %>
however i would like to test for a certain condition within the select cases statment. To see if a session variable exists before implementing some code:
It seems the first tutorial I posted was pretty popular.
Would you like me to create another one?
And if so, what features would you like included in it, such as recordset paging, CMS system, etc...
I'll let this poll run a couple of days, then depending on the total votes and the suggested features, I'll create another tutorial containing what everyone suggested.
I am looking for an ASP tutorial (VBScript) that I could download and print. A .doc or PDF file, no online stuff please. Anyone has a suggestion?
View Replies View RelatedI am looking for some good tutorials on ASP.NET, something like Kevin Yank's original tutorial (like 7 or 10 part) on PHP. I am currently programming in PHP, and I dont really need the basic basic stuff, as I code often in Visual Basic, C/C++, and PHP. I am just looking for a WELL written tutorial or something on ASP.NET...I have to switch from PHP, ASP.NET is just that good, I never though Microsoft would turn around the way they have, but i love it!
View Replies View Relatedwhere can I find a good ASP tutorial
that has listing of all available methods in ASP for e.g
for Response and Request objects etc.
i have been using the ASP FAQ tutorial on webmasterbase.com and my code is practically the same. however, i cannot use PWS to run my scripts but i can use an ODBC. the problem is, i don't know how.
i've read so many tutorials but when i try them, my code doesn't work.
can someone please let me know the exact changes i would need to make to the FAQ tutorial code in order to view my ASP scripts using an ODBC?
the tutorial is at:http://www.webmasterbase.com/article/536