|
I need develop version of WEB site for PDA or adoptate current web site under PDA.. Tell me please how can i did it ?
Does anybody knows about PDA emulators , etc ?
How can i test it ?
Thanks in advance ,
Regards !
|
|
|
|
|
|
When I execute this VBscript I get the following error. Does anyone have an idea how to resolve this issue? The xml it tries to parser is down below labled xml file.
Thanks.
'*********************************** xml parser CODE*******************************
Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument")
xmlDoc.async = False
xmlDoc.setProperty "ServerHTTPRequest", true
xmlDoc.loadXML(objHttp.responseText)
xmlDoc.loadXML(sOutPut)
Response.write sOutPut.documentElement.selectSingleNode("ebrary_username")
************************************ XML FILE
<brary-user-response version="1" status="success">
<brary_username>bry_teets7etrfr1ss8s
************************************
ERROR MESSAGE
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource ...
Parsing Error......
|
|
|
|
|
Whenever you press the Print Screen button on your keyboard the actual window is copied into the windows clipboard. (Run clipbrd)
Is there any javascript code that would allow copying the windows clipboard contents into a texarea of a form?
-- modified at 20:33 Monday 3rd April, 2006
|
|
|
|
|
|
Hi.I have a project with 3 files "***.java" and the program result is loaded in a html file as java applet.Is there anyway to return all this in a windows application without rewriting all code?I use Visual Studio 2005.NET
|
|
|
|
|
Hello Guys,
I'm working to automate Time Table generation process for the school orgainsation, and I
stuck up here that:
I've list of records called subject, and each subject can have different sections. These
sections define the timing and day when classes can be taken.
As per the requirement when student select subjectS, we need to generate all possible time
tables where sections are non conflicted (time and day).
I managed to get a list of sections for EACH subject that are non conflicted with subject's
section but I'm unable to get the final one.
E.g. I selected three subjects and I got these three tables.
CCSB164 subject 1
<subjectcode:section> -> <subjectcode:section>
CCSB164:01A -> CCSB223:02
CCSB164:01A -> CCSB223:03
CCSB164:01A ->CMPB234:01
CCSB164:01B ->CCSB223:02
Each record says that Section of Subject CCSB164 not conflicting with section of another
subject like CCSB223.
CCSB223 subject 2
CCSB223:01 ->CMPB234:01
CCSB223:02 ->CCSB164:01A
CCSB223:02 ->CCSB164:01B
CCSB223:02 ->CMPB234:01
CCSB223:03 ->CCSB164:01A
CCSB223:03 ->CMPB234:01
CMPB234 subject 3
CMPB234:01 ->CCSB164:01A
CMPB234:01 ->CCSB223:01
CMPB234:01 ->CCSB223:02
CMPB234:01 ->CCSB223:03
If I take first row of first table it says: CCSB164:01A -> CCSB223:02 that means section 02
of CCSB223:02 does not conflict with Section CCSB164:01A but how I will check if CCSB223:02
does not conflict with other subjects too.
I tried to do Join based on Table1.Column2 = Table2.Column1 and Table2.Column2 =
Table3.Column1 and Table3.Column2 = Table1.column1 but it give cross product and it does not
work for me.
THESE tables are dynamically generated, and number of tables depends on number of subject
selected.
Hope my question is clear to answer for others Please help
FYI: I am using .Net technology. I don't know what logic I should apply and hence it does
not matter what technology I am using here.
"Practice Make Man Perfect"
|
|
|
|
|
Hi All,
I need to call an ajax method when user hit on browser back button...
So how can i trace this event...
If any body has idea abt this plssss help me out...
Thanx & regards
Anuj Kamthan
Software Developer
Solversa Technologies,
Pune - 411007, India.
http://www.solversa.com
|
|
|
|
|
This is what you are looking for.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Thanx Buddy for your afferts, I want the same But this Msg should be seen only when user click on browser back right now it's showing the msg on every link as u wrote the function on pageunload event...But in this function we can not check like - page unloading due to browser back?
Anuj Kamthan
Software Developer
Solversa Technologies,
Pune - 411007, India.
http://www.solversa.com
|
|
|
|
|
I don't think that's possible :\
But please seoembody correct me if I am wrong.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
We have a web page with some javascript that displays information from an external site, occassionally, the external website is down and that slows down our site.
We would like to either be able to test if the site is up before executing the javascript code, or implement some form of timeout mechanism (not what is defined as timeOut in javascript, which is really a sleep function), it would actually mean that if the website doesn't respond in a certain interval of time, we could either show a message or just bypass the execution all together.
I haven't been able to find anything on this, any ideas?
|
|
|
|
|
|
Folks,
I'm trying to get data back from my IIS/SQL Server without having to refresh the client's page. I also have to do some calculations on the returned data, which is to be displayed in a table. I'm using Microsoft.XMLHTTP to communicate between the client and server pages as shown below:
<br />
On the client side:<br />
function GetAssyRecs(TheOperator)<br />
{<br />
var szRequest = "";<br />
szRequest += "<TheOperator>" + TheOperator + "</TheOperator>";<br />
szRequest += "";<br />
<br />
var objHTTP = new ActiveXObject("Microsoft.XMLHTTP");<br />
var szURL = "GetAssyRecs.asp";<br />
var szHttpMethod = "POST";<br />
objHTTP.Open(szHttpMethod, szURL, false);<br />
objHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded");<br />
objHTTP.Send(szRequest);<br />
<br />
var szReply = objHTTP.ResponseText;<br />
alert("status: " + objHTTP.status + " Reply: " + szReply);<br />
}<br />
<br />
On the server side (GetAssyRecs.asp):<br />
<%@ Language=JScript %><br />
<% Response.Expires=0; %><br />
<br />
<%<br />
var adOpenKeyset = 1;<br />
var adPersistXML = 1;<br />
<br />
var objXmlDOM = Server.CreateObject("Microsoft.XMLDOM");<br />
var szXmlRequest = Request.Form;<br />
if (!objXmlDOM.loadXML(szXmlRequest))<br />
{<br />
var sErrMsg = "Invalid XML Request String: " + szXmlRequest;<br />
Response.Write(sErrMsg);<br />
return;<br />
}<br />
<br />
var TheUser = objXmlDOM.selectSingleNode("//TheOperator");<br />
if ((TheUser == null) || (TheUser.text == ""))<br />
{<br />
var sErrMsg = "No TheOperator specified: " + szXmlRequest;<br />
Response.Write(sErrMsg);<br />
return;<br />
}<br />
<br />
var sql="Select idnum, serial_number, rework_done, thedatetime from IDC_OperatorCounts where operator = '" + TheUser.text + "' and thedatetime > dateadd(hh, -13, getdate()) order by thedatetime asc;";<br />
<br />
var conn=Server.CreateObject("adodb.connection");<br />
conn.ConnectionString="driver={SQL Server};server=xidc-mrtline;database=IDC_Xerox;Trusted_Connection=yes";<br />
conn.Open;<br />
var rs=Server.CreateObject("adodb.recordset");<br />
rs.Open (sql,conn,adOpenKeyset);<br />
rs.Save (Response, adPersistXML);<br />
<br />
rs.close;<br />
rs=null;<br />
<br />
conn.Close;<br />
conn=null;<br />
<br />
objXmlDOM = null;<br />
}<br />
%><br />
What I want to do is to cast the returned xml recordset back into an ActiveXObject ("AdoDB.Recordset"), so I can read through the records using the syntax a recordset object offers.
Is this possible?
'til next we type...
HAVE FUN!! -- Jesse
|
|
|
|
|
i need code for richtext editing.. which almost look alike this ;Playout, looks very simple but having more stuff..
and i need rich text editor for text box in the chat..
do you guys have any idea tell me plzzz..;)
and i need one more thing, body onfocus code(java script code that can be given in body tag) for text area...
RaJ
-- modified at 10:07 Friday 31st March, 2006
|
|
|
|
|
|
I'm not sure that this is possible.
I want to check if a file exists on the clients computer.
They are uploading files on my site and I want to give them an errormessage if the file doesn't exist before postback.
|
|
|
|
|
You can use following code
<script type="text/javascript"><br />
function DoesFileExist(sFileName) <br />
{<br />
var objFSO = new ActiveXObject("Scripting.FileSystemObject");<br />
return objFSO.FileExists(sFileName);<br />
}<br />
</script>
Before page is submitted call this function and if it returns true then only submit the page.
Larza123 wrote: Before page is submitted call this function and if it returns true then only submit the page.
|
|
|
|
|
Thanx for the answer but I don't want to use an AcitveX control on the page.
|
|
|
|
|
It's not an ActiveX control, it's just an ActiceX object.
However, that method doesn't work at all. There is no way that you can get any information at all about the client file system using Javascript.
The only way to get access to that information would be to use a component on the page, like an ActiveX control or a Java applet.
---
b { font-weight: normal; }
|
|
|
|
|
Hello Everybody
I need help to under stand the process of upload in ASP. I have downloaded some upload files but I can't under stand the process inside the ASP file can anybody give me a brief introduction about the upload process.
N.Rajakumar B.E.,
Application Developer,
www.newdreamz.tk
|
|
|
|
|
|
Hi i am developing a web app using asp.net and c#, for the home page i need and image with links to the top
ten pages in the site but i have no idea how to go about doin this so i amjust wondering if anyone has any
experience of this and if so how wud i go about doin it or where cud i read how to do it, i have tried to
google it but im not sure what im lookin for
|
|
|
|
|
I don't understand where the link is supose to take you.
<img src="..." onclick="functionName" />
Change the functionName to the script or function that you want to call.
|
|
|
|
|
something happend with the code.
removed should be "onclick"
|
|
|
|