Visual Basic 6, Compiling
i've written a program, where is the compile button? I can only save it as a script.
View Repliesi've written a program, where is the compile button? I can only save it as a script.
View RepliesI'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 RelatedIs 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 RelatedI 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.
ASP And Visual Basic Interview questions and answers
I have listed over 100 ASP and Visual Basic interview questions and
answers in my website
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 View RelatedI 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)
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.
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.
View Replies View RelatedI 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?
I access to the objects com of excel from aspx script, and I have added it into references. Normally it works perfectly, but at the time of executing there are it times that to me the error leaves that I beat down. But if I give to the menu "Build" -> "Rebuild solution", the application works perfectly and compiles without problems. Somebody knows because it can be?
Compiler Error Message: CS0006: Metadata file 'c:windowsmicrosoft.netframeworkv1.1.4322 emporary asp.net fileseptisa5ce3ba4a20f48b27assemblydl23f2655 9d03e3bbf_0323c201interop.excel.dll' could not be found
I have about 60 images in a directory, and it will get very large soon. I was thinking of putting them inside a file, and I guess that's that DLLs are.
Problem is, I have *NO* idea how to do this, let alone trying to request a image via ASP...(the image will be displayed in a <img> tag).
I know DLLs are compiled, but no idea what to do. *Mind Blank*
Anyone know how?
I've got a website that is very fast. I just added a subroutine in the file global.asp
(global.asp is run each time any page is called). The subroutine determines the user's
country by comparing their IP address against a 6Meg Access database that converts IP to
country. It then sets a Session variable with the user's country.
After that, each time the subroutine is called it checks to see if that Session variable
is set. If it is, it exits the subroutine - without calling the Access database.
Regardless, I've noticed that my website is slightly slower than before.
Even though the Access database is only called once per session, does ASP compile
global.asp each time it is run, and is it slowing down because it is
compiling/establishing/whatever a connection to the Access database that it is not using
anyway?
(Hey, I know MS SQL is faster than Access! I'm trying to understand more about ASP,
that's all)
According to my book when an ASP page changes the server notices and
automatically compiles a new version.
If that doesn't seem to be happenning is there a way that I can make the
page re-compile? Or delete the compiled version to make the compiler do it?
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?
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.
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")
%>
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 RelatedHowever 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 %>
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 ?
How to create a basic chat?
View Replies View RelatedI'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.
What can be causing this?
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
Could somebody please outline the steps needed to create a (very)basic forum from scratch?
ie. the pages that are definetely required...eg. the sign-up and log-in pages... and a very basic admin page.. also, the structure of the database?
I have a ASP site. Very basic, few pages, 2 includes. There is no user input from the site, no fields they can insert SQL statements.
I also have a login where the Admin can add/edit/remove news items, which are stored in a DB. What are the security issues linked with these?
My login isn't querying the database, but should I use the sha() function to encrypt the pass? Although it's just 1 user adding to the system, should I "clean" up the input(add news/edit news) before it's stored in the Access DB?
Should I restrict IPs solely to those within the building they use?
I have a secure site and created an asp page to create a word doc header and footer, when a user goes to the page they get prompted to login then when they click on open they get prompted to login again.
Im guessing its something with the basic authentication and the header footer files being in different locations.