Debugging ActiveX Controls
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control.
If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode,how to get these breakpoints to be respected?
View Replies
ADVERTISEMENT
I have asp page which is using activex exe component ...how can I debug from asp page to the component...I am using visual basic to create my activex component.
View Replies
View Related
I have a sysmon activex control inside an ASP page. When I resize the window, the activex control does not resize itself to fit the window. Does anyone know how to make the activex control automatically resize to fit the window?
View Replies
View Related
How will create no.of check boxes as per user requirement in ASP. How will we keep the names to the check boxes.
<% for i=1 to n %>
<input type="checkbox" name=? >
<%next%>
How we use the naming convention in the place of? How can we check the condition by using above naming convention
if( checkbox.checked =true) then
<< body of the condition>>
end if
View Replies
View Related
I have a Base class that is inherited by Form.aspx them Form.aspx loads 2 controls Menu.ascx that never changes and a body control that is selected dynamically at runtime. On each of the body controls I have a Function for validating the page Val() .
What I need to do is when an image button is clicked on the Menu.ascx I need to Fire off Val() in the Body control. Is this possible? I have tried setting a session var. but I have to load menu.ascx after the body control for the page or the body control does not function properly?
View Replies
View Related
I've just inherited a web site. Someone's just asked me "what database
table fields are looked at in a particular search?"
You'd think this would be easy, but I'm looking at an ASP page that when
printed out is >16 pages and has 20 include files. And no comments. It's
just a series of scary logic.
I really need to run this though in "debug mode", seeing what every variable
is set to at each stage. If this were an ASP page calling a VB COM object
I'd have no problems, however, I've no idea how to trap this in debug mode
using standard ASP code. I know the debugger often start up when there's an
error in the code, but there isn't. So, can anyone enlighten me as to how I
can step into code using simple ASP (not .Net).
View Replies
View Related
Need to start developing asp pages on windows 2003. I have not touch asp in few years. I would like to now how can I start of.
What should I use as a program to edit asp pages that have vbscript? I would like to debug too if possible But there is not really a debug in ASP pages.
View Replies
View Related
my client took out hosting for their new site with WebFusion. On their shared package, they wouldn't offer ASP debugging, which basically made it extremely difficult to debug their complex CMS system on this server. We were told that upgrading to a VPS would solve this issue, but still a standard error message is showing instead of useful ASP error messages.
I've logged into remote desktop of the server, gone into IIS and gone to 'Web Sites > Right click > Properties > Home directory > Configuration > Debugging' and checked: 'Enable ASP Server side script debugging' and 'Enable ASP Client side script debugging' and 'Send detailed ASP error messages to client'.I've then restarted IIS.
It still gives me the same generic error message though.how to get this simple thing working?
View Replies
View Related
just applying the basic MD5 function with a basic form. Here's the error i get
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'm_l2Power'
Does anyone have a clue? i'm just applying the same function that is posted everywhere and applying it to a simple form that holds strings. i assume that passwords should always be strings. it's very basic yet i don't know why i'm getting this error.
View Replies
View Related
I was told something to type in the address bar that would show detailed debugging for asp. Does anyone know what this is?
View Replies
View Related
When I try to debug ASP pages using Visual InterDev 6 I get the following Microsoft Development Environment dialog box that asks:
"Unable to set server into correct debugging state automatically. You may not be able to debug ASP pages. Do you want to continue launching the debugger?"
The prompts you have are Yes, No, and Help. If you click Yes it launches IE, but the ASP page doesn't break on the breakpoints I have set. Is there a setting that I need to
modify somewhere? I'm using PWS in conjunction with VI to debug, before I push the ASP page out to our Intranet.
View Replies
View Related
FormView & DetailsView are great controls in the new version of ASP.Net, but
I am finding it tricky to display more than the record that either control is
bound to at the time. For these controls to be useful in any mode other than
read-only, we need the ability to populate controls like drop downs that hold
associated data, which in the DB represents foreign key related data. In
order to do this, do I create a template field that has a seperate control
that binds to a different data source pulling back the "lookup" data?
View Replies
View Related
I have a list of radio buttons that is populated from the database.
The value of this radio button from the DB is SalesRanking
If one selects the radio button (Sales Ranking) then I want to display 2 select boxes.
Is this possible?
View Replies
View Related
I have the following problem: I have an asp-page which contains a loginview
with two templates (loggedin- and anonymoustemplate). How can I access a
textbox inside the the loggedintemplate from the code behind c# module?
I tried: (TextBox)Page.FindControl("TextBox1") but that will result in a
null pointer.
I also tried:
(TextBox)Page.FindControl("ContentPlaceHolder1.LoginView1.TextBox1") with the
same result.
View Replies
View Related
I am using the object command in asp page to download and register my controls on the client machine. But when a upload the file and run the page on client machine its shows means the permission to download the controls but it didn't download it on client machine as a result i am not able to use any of the control function from page. what to do.
I am using this object tag to download
<OBJECT
ID="voxPlayer"
CLASSID="CLSID:45C0D292-1955-4ABF-8FFE-BEDC323ADBD9"
CODEBASE="http://<ServerName>/<myControl>.cab"
height = "10"
width = "20"
border = 2>
</OBJECT>
Am i missing anything
View Replies
View Related
How do I add controls in an asp page at runtime ? Does anyone have a sample piece of code? or sample? or link?
View Replies
View Related
Code:
<input type="txtLast" name="txtLast" size="20" style="background:#000000; color:#FFFFFF">
I want to change this color when someone selects this control. I know in visual basic the set.focus function works. how do I apply this to this control.
View Replies
View Related
I am just learning asp and I have a question. Is it possible to disable a control that is on one page from another?
For example, I have a control on "Control.asp" and I want to disable it from "Sample.asp"? Is that posible? If it is, how is it done?
View Replies
View Related
On my form I have 3 dorp down controls. Two of them have main information on them. Then on the third control I have only 3 values. "<blank>, AND, OR". If the end user selects AND, OR then Create a new line with 3 more drop down controls beneath the other 3. Where can I find out how to do this?
View Replies
View Related
If I want to encode all inputs from user, can I apply this encoding for all "Input" fields on my site in a single action. Something like Input.HtmlEncodeAll() or HtmlEncodeAllInputs() etc.
View Replies
View Related
I have code for remove button.How to make it a common control so that it will be handy to use.
View Replies
View Related
I want to hide the form control on clicking the submit button on the same form.Tell me the solution.And also facing the problem while using the date time pickers in frontpage.
Actually by using asp value of date selected is being fethched in variable but on clicking the submit button again the datepicker shows the date before selecting the date.
View Replies
View Related
i have a webpage which has 3 forms and each of the form has a about 20 controls. now what i want is to have these controls displayed in a mixed manner on the screen. moreover the ACTION pages of all the three forms are different. so is there anyway in which we can specify that TO WHICH FORM do they belong
my page is something like this
FORM1 starts
TEXTBOX(of FORM1)
FORM2 starts
TEXTBOX(of FORM2)
BUTTON(of FORM1)
END OF FORM1
TEXTBOX(of FORM2)
END OF FORM2
View Replies
View Related
We have a need to be able to edit videos uploaded to us. Need to be able to resize them, resample,convert to various formats, etract images, overlay images, etc.
I've seen a few controls that do this, but wanted to know if anyone had any feedback on any of them. If you've used any of the ones on the market, please give your feedback on ease of use and stability.
View Replies
View Related
I am trying to set up the security for my website... and understand that ASP.NET comes with a Membership Administration tool which is great, does it all for you! however, it stores all the user data (i.e. username password etc) in a default database.
What i would like to do is to GET the user information from this database once a new user is created and store it in my own database - hopefully i will only need the username and password... as then i can link my own user table to my employee table using a user id field? does this make sense???
Basically, i need to know HOW to get this information from the database that ASP.NET automatically creates and add this info into my own User Table.
View Replies
View Related
Before we upgraded our intranet server to Windows 2000, when I had an ASP error the page used to load up to the point where it was crashing out and then I would get an error message. This allowed me to response.write values to find out where the error was happening.
Since we upgraded, all I get now is a 'page cannot be displayed' with the error message on it. This means that I can't response.write values anymore and makes debugging a lot more difficult.
Is there a setting somewhere that controls how the message is displayed? Is this in IIS or is it a browser issue?
View Replies
View Related
How to Debug ASP Pages from client machine? I have "windows 2000 server" installed on server machine and "windows 2000 Professional" on development machine, they are connected thru LAN. We use Visual Interdev to edit ASP Pages.
When I tried to open a project in VIDev, It asks me for servername, mode, I entered my servername and Local Mode, then it asks for domain/username and password. Now which password I should enter here?
View Replies
View Related
USING VS 2003 and VS 2005
I have written a WebMethod. Everything is working properly. My Question:
Is it possible to DEBUG row by row through the code ?
View Replies
View Related
Is there any tool for debugging ASP scripts? I wanted to do some tracing and check whether the execution of my statements and queries are in the correct order or not.
View Replies
View Related
Is there a way we can debug ASP pop-up windows. The usual pages I am able to debug using the script-debugger from the IE and Visual Studio. The whole data for the popup is obtained from the xml files and I would like to debug the onchange events that occur in the popup.
View Replies
View Related
I am used to Compilers. assemblers and a lot of other systems that at least give error numbers or some help in identifying and/or isolating syntax errors, undefined or multiply defined variables, etc etc.
When I make an error in an ASP program I only get a message saying that the program could not be executed.Can anyone recommend some good debugging tools or maybe an ASP code checker.
View Replies
View Related
I've been using this installation of .NET for about 3 months without problems.After not using it for about ten days, I came back to my project and when I tried to run it with Debug>Start (F5), it comes up with this error.
"Error while trying to run project: Unable to start debugging ohn the web server. Could not start ASP.NET or ATL server debugging. Verify that ASP.NET or ATL server is correctly installed on the server."
Before I start de installing things,does anybody have any simple clues as to why this is happening?
View Replies
View Related
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address.
Then I go through each file/folder and right-click, selecting "Include in project". The IDE is nice in that it checks, verifies id tags, etc. What am wondering is whether it's possible to debug my ASP website using the MS Visual Studio.NET's debugger.
I did a google search for 'debugging ASP VBScript' and got:
http://www.microsoft.com/windows200...sp/iiwadbug.htm
View Replies
View Related