I would like to know the Pros and cons for using ASP VS Visual Basic for intranet, in terms of time development and customization. The project that we will use it is a basic Information Management System.That could be used for offline and online using IIS and MYSQL.
I've read hundreds of posts regarding this, but haven't got a working solution yet. Does anyone have a working snippet of code from an ASP page that can be used to upload a file to an FTP server? I read all about INET, but due to some licensing issues it won't work....
Is there one? I need to hash a sensative string before inserting it into the sql server database. It HAS to be done in the ASP code, because it is also stored in a cookie. Any ideas? Server asp code is vbscript.
I need source code for a simple MSN API example, something that interacts between MSN's controls. I want to break it down test it and use it for my own applications.
Or can people even suggest free source code sites for VB. I can search for them there. Planet-source-code had an AMAZING app, but it wanted an ocx file which I obviously didn't have.
I know we can write ASP with VB Script. Some people told me the big ASP projects usually use Visual Basic for the business logic. Is that the case? What I mean is an ASP project is the combination of server-side ASP code and Visual Basic components (.cls)
ASP And Visual Basic Interview questions and answers I have listed over 100 ASP and Visual Basic interview questions and answers in my website http://www.geocities.com/myintervie...VisualBasic.htm So please have a look and make use of it.
Not sure if this is the right group for this but anyways... I've got an ASP web application that uses a Visual Basic component to do some work. I instantiate the component in asp and then attempt to call the subroutine. The subroutine is actually invoked maybe 2 out of 10 times run. What could possibly be the reason for this?? Why the inconsistency in running the subroutine?
It's now 3 years I work with ASP writing it with VBScript. I would like to learn Visual Basic to be able to write ASP components. Anyone knows good free resources, tutorials to learn Visual Basic? I already have a book for ASP components, but I first need to learn the basics of VB.
I want to insert the data into the MS Access Database using Visual Basic 6.0. Anybody please heplp me to tell the steps to insert the data into the database.
asp (visual basic script) break long text lines into several lines.
This line of my guestbook (visual basic script) - response.write "message: " & Recordset ("message") & "<br><br>" displays access database field "message" in one line in web browser.
How do I break this text line into several lines? I know in asp.net there is datagrid. Is there something like datagrid in asp. Or perhaps this problem can be solved with htm?
Okay, I'm doing a project for someone in which random questions are to be pulled and posted so that the user can complete a test/quiz/exam for a grade.
Well, his host apparently doesn't have any database stuff, but I can probably get him to move to another if it's absolutely necessary.
Personally, I'd prefer to stick with files, just because that's what I'm most accustomed with. But if there's a very compelling reason (performance or reliability?) to move to a database, I suppose I could.
Here's a sample of the type of data I'll be using. The format is as follows: Question, Correct Answer, First Answer, Second Answer, Third Answer (If Any), Fourth Answer (If Any). A question is on each line (in this browser window, it may appear that a question is spanning several lines, but it truly isn't). Code:
The default ASP generates the HTML response including several IFRAMES. It takes a long time to load this page. I believe a lot of it is round trips to load the IFRAMES. Couldn't include files be used to increase this performance, so everything is done in the initial call instead of multiple round trips?
I'm working on developing (yet another) shopping cart for my work. I was wondering if anybody knows which approach leaves a smaller footprint in memory on a server: an ADODB Recordset which stores arrays one-dimensional arrays or a two-dimensional array?
We are currently hosing our web site on a shared machine at Verio. The cart I have to build needs separate carts because a customer's products can come from different locations. Each location will have a different cart. On the cart page itself, I would like to display each cart in a separate location.
Logically, it make the most sense (to me, anyway) to use an ADODB Recordset to manage each individual cart (array) than to write the code to manage the arrays. What are the disadvantages of using ADODB recordset instead of a two-dimensional array in this case?
Which approach would be easier to manage and manipulate? Are there any reasons why I shouldn't use a two-dimensional array? The nice thing about ADODB is that I will not need to program certain features and have access to FILTERS.
Any suggestions about how each approach would scale as site traffic increases? Will one approach bog down the server more than the other? I'm also open to suggestions about a possible, yet illusive, 3rd way.
Yet if this button is clicked, they go back to the server and the page is refreshed with original values.
If I click the browser's BACK button (rather than my button above), I go back to the page (from cache I guess) I want (because it contains the user changes). Here I can correct the password without having to rekey the changes.
So, what is the Request.Servervariable needed for the equivalent of the BACK button?
I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the browserRefresh button or is requested by the previous page "Application_Form.asp".
I tried using <%if Request.ServerVariables("REQUEST_METHOD") = "POST" then%> <!--it is requested from "Application_Form.asp, do something--> <%else%> <!--Application_Result.asp refreshed itself(such as user clicks on the browser Refresh button, do something else--> <%end if%>
However, in both cases, the IF statement above all evaluated as true. how to differentiate this two different behavior (Page Refresh versus Page requested by another Page) ?
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.
I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?
I am having one asp page in which a table is displayed. The table displays the values in textboxes.when the client uses search functionality it searches in the whole page but doesnt search in the table. Can any one tell me about how to search the values contained in textboxes in the table.if possible give me some code
However I have a complicated update page so I am going to hand code it. I started by breaking down to the basics of Updating but I keep getting a 'Syntax error in UPDATE statement' error. Can anybody see where I am going wrong?:
<%@LANGUAGE="VBSCRIPT"%> <!--#include file="../Connections/Publishing.asp" --> <% If Request("Submit") <> "" Then %> <%
set Command1 = Server.CreateObject("ADODB.Command") Command1.ActiveConnection = MM_Publishing_STRING Command1.CommandText = "UPDATE Test SET Value = Paul WHERE ID = 2 " Command1.CommandType = 1 Command1.CommandTimeout = 0 Command1.Prepared = true Command1.Execute()
I have two simple problems which I think are related(?) I have a form with the folowing code:
<form method="post" action="sendemail.asp"> and <input name="submit" type="button" value="SUBMIT">
when I click the submit button it does not go to sendemail,asp I have tried adding the full/parstial path infront of the sendemail.asp but no luck
Similarly I have the following code which I have taken an asp file from another project and changed the name accordingly but the image does not show Code:
I'm using MSXML2.ServerXMLHTTP to get a web page using an url with basic authentication (e.g. http://user:password@www.mysite.it).
Microsoft denied basic authentication within Internet Explorer URL (see KB 834489) so I'm unable to get the page contents.The client-side workaround is to change some registry settings (see http://support.microsoft.com/kb/834489), anybody can help me with a different solution ?
I've got a field in my database called notes, where they of course are leaving notes for certain orders. I'd like to create a page that lists all orders that have notes left in them but I'm having trouble figuring out what sql statement to use. In my words it needs to say "select everything from the table where notes does not equal null"
I guess I just don't really know what to put for the null part. I'm thinking it'll be somehting like..
SELECT * FROM requests WHERE notes <> ...??? this is what I dont know.
i am trying to pull records using a partial name, here's what i have
PlayerName = "'" & "%" & txtFindPlayer.Text & "%" & "'" this part works fine, for example text is 'ric'
Set rs = db.OpenRecordset("SELECT * FROM EVENT_SCORING_TBL WHERE PLAYER_NAME LIKE " & PlayerName & "")
no record containing 'ric' is found, but the syntax seems to be ok. Am i using the right wildcards? there is definatly an Eric in the database, but it doesnt pull. any suggestions?
I'm having some problems to perform select on sql statements just cause I'm really confuse on how to refer some variable I got by request.querystring or request.form or even inside form variables...sometimes just using "var" others using "&var&" others '%"&var&"%'...
Does anyone have an article link or some tips regarding this kind of issue?
I have setup basic authentication on one of my web sites. For some reason, I get challenged when I navigate to some of the ASP's within the website. I have checked all the pages and made sure they all have authorisation set to a specific group.
I have login-page where i set the column LoggedIn = 'Y' when a user logs in, i was wondering if you guys could help me set up my global.asa so correctly so it sets LoggedIn='N' when Session("UserID") times out. what is needed besides:
set conn=server.createobject("adodb.connection") conn.open connstr sql="update users set loggedin='N' where userid="&session("userid") conn.execute(sql) set conn=nothing