ASP VERSUS VISUAL BASIC

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.

View Replies


ADVERTISEMENT

FTP Put Via ASP Using Visual Basic

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....

View Replies View Related

Visual Basic

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.

View Replies View Related

MSN API In Visual Basic...

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.

View Replies View Related

ASP And Visual Basic Interview

ASP And Visual Basic Interview questions and answers
I have listed over 100 ASP and Visual Basic interview questions and
answers in my website

View Replies View Related

Visual Basic Program

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)

View Replies View Related

Coding Using Visual Basic Or C?

I heard that there are two ways of coding with ASP. If I'm not wrong then it is by the use of VB or C.

What do these two terms mean?
When should one be used as opposed to the other?
How do I recognize a current website that is coded with either one?

Please explain. I'm new to all these technologies and ASP altogether.

View Replies View Related

Visual Basic 6, Compiling

i've written a program, where is the compile button? I can only save it as a script.

View Replies View Related

Visual Basic Interview Questions

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.

View Replies View Related

Visual Basic Component Subroutine

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?

View Replies View Related

Tutorials To Learn Visual Basic?

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.

View Replies View Related

How To Insert The Data Into The MS Access Database Using Visual Basic

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.

View Replies View Related

Asp (visual Basic Script) Break Long Text Lines Into Several Lines.

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?

View Replies View Related

File Versus Database?

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:

View Replies View Related

Performance Of IFRAMES Versus Includes

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?

View Replies View Related

ADODB Versus 2-Dimensional Array

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.

View Replies View Related

Readonly Versus Disabled Attributes

what's the differences between readonly and disabled attribute? When I do the post, it couldn't get both values <%= fname %>. any ideas?

<input type="text" name="fname" value="Joe" readOnly>
<input type="text" name="fname" value="Joe" disabled>

View Replies View Related

Request.Servervariables("HTTP_REFERER") Versus BACK Button On Browser

When my webserver does not process a user's change because of an invalid password, I inform the user and I want to present them a button for a retry:

<TR id=continuebuttonrow>
<td width="05%">&nbsp;</td>
<TD width="90%" align=center valign=middle colspan=2>
<BUTTON TYPE=BUTTON
ONCLICK="location.href='<% =Request.ServerVariables("HTTP_REFERER") %>';"
class=btnParms name=btnContinue ID="Button3">Try Again (Back)</BUTTON>
</td>

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?

View Replies View Related

Differentiate Page Requested Versus Page Refresh

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) ?

View Replies View Related

Submit Button Versus Regular Button

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?

View Replies View Related

ASP.net And IIS Basic Question

ASP.net is that what is used to create web pages on a server such as IIS?
ASP.net is part of visual studio, what software package contains IIS?

View Replies View Related

Basic Authentication

I have an XML file which I access from a remote server like

Set http = CreateObject("MSXML2.ServerXMLHTTP")
http.open "GET","http://www.andrewlouis.co.uk/viewcountries.xml",false
http.send
strXML = http.responseText

The real server is password protected with, I think, with basic
authentication. How do I pass it the username and password.

View Replies View Related

Basic ASP Problem

This is ALL the code that i have..

<%
response.write("This is a test")
%>

the file is saved as test.asp

I have uploaded it, and when i run it, I get the code being displayed ie.
<%
response.write("This is a test")
%>

View Replies View Related

Basic Search

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

View Replies View Related

Basic Update

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()

%>
<% End If %>

View Replies View Related

Basic Question

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:

View Replies View Related

Basic Authentication

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 ?

View Replies View Related

Basic Chat

How to create a basic chat?

View Replies View Related

Another Basic SQL Statement

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.

View Replies View Related

Basic SQL Statement

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?

View Replies View Related

Basic Instructions

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?

View Replies View Related

Setup Basic Authentication

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.

What can be causing this?

View Replies View Related

Basic Global.asa Thingy

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

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved