Check this link: http://disinterest.org/NDS/Python25.html
In order to install it you need the "DS supercard" which allows you to run software from a SD-card.
User Profile
Collapse
-
from socket import *
...Code:# Set the socket parameters host = "localhost" port = 21567 buf = 1024 addr = (host,port) # Create socket and bind to address UDPSock = socket(AF_INET,SOCK_DGRAM) UDPSock.bind(addr) # Receive messages while 1: data,addr = UDPSock.recvfrom(buf) if not data: print "Client has exited!" break
Leave a comment:
-
Leave a comment:
-
objRS is emptry. You should check objRS in stead of objRS2
Code:// if objRS2.recordcount = 0 if objRS.recordcount = 0 then response.write "No records found" else propcode2 = objRS("propcode") proptitle2=objRS("proptitle") end ifLeave a comment:
-
You have to sort the order records descendending by for example orderDateTime or OrderId and then take the top 3 records.
Pseudo code:
Code:SELECT TOP 3 * FROM ORDERS ORDER BY ORDER_DATE_TIME DESC
Leave a comment:
-
Parsing can be done with the Microsoft XML Dom object.
For an example see:
http://www.15seconds.com/issue/990527.htm...Leave a comment:
-
Ah, you are using MS Access as database. In SQL Server or Oracle you would have to use the single quote but when using datetime fields in MS Access, you have to put a # around the date. For example:
Between #4/24/2007# And #3/24/2007# Order By RFCInfo.D
Another cause could be that the datetime format in your query (DD/MM/YYYY) does not match with your local settings. In that case try MM/DD/YYYY or YYYY-MM-DD....Leave a comment:
-
Try to put a single quote (') around each columnname that is of type 'datetime':
Date Between '" & Date() & "' And '" & DateAdd("m",-1,Date()) & "' Order By RFCInfo.Date"Leave a comment:
-
Caused by the quotes (") in the datepart function. If you want to use quotes within a string you will have to use double quotes ("")
...Code:strSQL = "SELECT RFCInfo.Name, RFCInfo.Date, RFCInfo.RFCNo, RFCInfo.InvNo, RFCInfo.Deleted, InvoiceDetail.Quantity, InvoiceDetail.Description, InvoiceDetail.ExtendedPrice, InvoiceInfo.GST, InvoiceInfo.PST, InvoiceInfo.Total FROM RFCInfo INNER JOIN (InvoiceDetail INNER JOIN InvoiceInfo
Leave a comment:
-
-
If name is a char-field (which is likely) then the query must have single quotes ('):
When you open the connection with conn.open you should supply the connectionstrin g. For example:Code:sql = "SELECT DISTINCT name, extension FROM Employees WHERE name = '" & Request.Form("name") & "'"
...Code:MyConnection.Open "Driver={Microsoft Access Driver (*.mdb)};" & _Leave a comment:
-
First export your tally database as flat files. Then use SQL server DTS to import that data.
See: http://www.databasejournal.com/featu...le.php/3580216Leave a comment:
-
Code:strYourString = Mid(strYourString, 1, Len(strYourString)-1)
Leave a comment:
-
-
If can put in the include file whatever you want so the HTML can also be put in.
See this URL for more info on including files:
http://www.w3schools.com/asp/asp_incfiles.asp...Leave a comment:
-
What is the reason for reading the file into an array and printing the array with response.write statements?
Why do you not simply include the "header" with the include directive?
<!--#include file="yourfile. inc"-->Leave a comment:
-
Probably your database does not allow ANONYMOUS connections. To make sure that this is the cause of problem, comment out the database-stuff in your code and check if the problem is solved.Leave a comment:
-
-
What you could do is "screen scrape" the web application for hyperlinks.
For example. If the web page contains a button whit HREF <a href="newpage.a spx?id=5>Next</a>
Then you should let your program load this page/hyperlink in a new browser window. You can use the "navigate" method in the browser control for this.
See this link for more info on the browser control:
http://ryanfarl...Leave a comment:
-
If you are behind a router you probably have to enable 'port forwarding' which means that incoming data traffic on a specific port (80 in this case) must be routed to a PC that is behind your router (the one where IIS runs).
Check this site:
http://portforward.com/routers.htm...Leave a comment:
No activity results to display
Show More
Leave a comment: