|
Hmm...
There is a Publish option on the project. I wonder what that does?
... Not only is Google broke, but so is Visual Studio I think.
|
|
|
|
|
Please restrict you answers to the mearly obvious please, not the incredibly bloody obvious. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I know, just to tempting at times.
|
|
|
|
|
Hi All
I have been doing some research on command line programs and been testing some results from these.
Now that I am done testing, I am looking to test a few more features, this time on a mobile platform.
The problem I have is whether or not it is possible to use a command line executable within the mobile environment.
This is the ideal scenerio:
Some uses there phone and logs onto a specific website. They then request something from the server.
The server then sends the requested file along with the command line exectuble. The executable then performs specific functions on the file on the mobile client side and presents the file.
Is this at all possible?
Two things immediatedly jump out at me: Do I have to code the executables into the web application for the mobile, or can it be done simply by programming in somthing like asp .net?
Thanks for the assistants and comments in advance!
|
|
|
|
|
|
Unless the data is available via a webservice or direct data connection this is the only way Screen Scraping with C# for ASP.NET[^] I know the language. I've read a book. - _Madmatt
|
|
|
|
|
It is quite likely that this data is available as some sort of feed. You should contact the company and ask if they provide this.
Alternatively you could use Mark's option (previous post) or another way might be (if the data is available) to adapt this: Yahoo Market data - another take.[^]. Although the data the article uses as example isn't exactly what you want Yahoo supply a wide range so it might be there somewhere. Finally, you may have to pay for it: proprietary data (such as the site in question displays) is rarely free.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
I have a new vm 2008 box with 8gig Ram and 6 processors running IIS 7. I need to find a way to set my website up in a certain app_pool while other websites are in a seperate app_pool and try to bring it down. We are trying to see if one app_pool looses all its resources what happens to the rest of the websites in the seperate app_pools.
Can someone offer some suggestions on how I can test the website to accompolish this? COuld be C# code or asp.net page that does it, just needs to be done.
Any help?
Thanks
|
|
|
|
|
|
i m displaying records from database in which id of first table and second table should be same so i used inner join but it gives error of type rs mismatch when i display that please help me i m using ASP script. datatype of news_id
is autonumber and newsid datatype is number
<%
OpenDataBase conn
sql3="select * from news inner join newsimage on news.news_id =newsimage.newsid"
set rs=server.createobject("adodb.recordset")
rs.open sql3,conn,1,1
response.Write (rs("news_titile"))
%>
|
|
|
|
|
can you show us the table structures for easy understand? but i just now noticed a wrong thing in your code but not sure.
response.Write (rs("news_titile"))
may be the field name will be incorrect, it should be news_title
let me know the status
|
|
|
|
|
Hello.
I have a form that users must fill out. Once they click submit, I check for various errors. If there are any errors, I want to popup a jquery window at that point (via my code) to display the error message. Unfortunately, I'm having some trouble trying to get it to work. I don't receive any error...just a page refresh, nothing more.
Here's my codebehind:
Dim scriptString scriptString As String = "<script language=JavaScript>"
scriptString += "$(document).ready(function() {"
scriptString += "$('#mies1').overlay().load();"
scriptString += "});"
scriptString += "</script>"
Dim errorMessage as String = "My Error Message Here."
Page.RegisterStartupScript("Error", scriptString)
-----------------------------------------------
In addition, I'll need to get my "errorMessage" string onto the qQuery popup window. Any idea as to how I can dynamically pop open this jQuery window and display my error message?
Thanks.
|
|
|
|
|
Hi remove document.Ready because if you write your code in this function means code get execute after postback.
Dim scriptString scriptString As String = "<script language=JavaScript>"
scriptString += ""
scriptString += "$('#mies1').overlay().load();"
scriptString += ""
scriptString += "</script>"
Dim errorMessage as String = "My Error Message Here."
Page.RegisterStartupScript("Error", scriptString)
i think this will work for you
|
|
|
|
|
I know this is a wide open question......
This is my first attempt at a web page. I need to create a page that is a data driven tree of hyperlinks. I will want a textbox at the bottom that displays help text when the user mouses over a link in the tree.
I have zero experience doing ASP.net or any form of web development. Can someone point me to an example or otherwuse point me in the right direction?
ThanksEverything makes sense in someone's mind
|
|
|
|
|
You have a pretty good place to start here.[^] My postings are a natural product. The slight variations in spelling and grammar enhance their individual character and beauty and are in no way to be considered flaws or defects.
|
|
|
|
|
There are two types of list tags in HTML according to html tutorials
:< OL > and < UL >. < OL > stands for "ordered list." An ordered list has numbers or letters next to each list item. The default for < OL > is numeric bullets (like 1, 2, 3, etc.)
< OL >
< LI> ... < /LI >
< /OL >
By modifying the < OL > tag with "TYPE", you can change the type of "numbers" that appear next to each list item:
< OL TYPE = "A" >: A, B, C, etc.
< OL TYPE = "a">: a, b, c, etc.
< OL TYPE = "I">: I, II, III, etc.
< OL TYPE = "i">: i, ii, iii, etc.
< UL > stands for "unordered list." An unordered list has bullets next to each list item. The default for < UL > is a black circle (disc), however, like with < OL >, you can choose different bullet types using the TYPE modifier.
< OL TYPE = "circle" >: circle outlines
< OL TYPE = "square" >: black squares
Then u put there links
|
|
|
|
|
my images are not displayed in slideshow and images are fetched from database and path is also right but stilll images are not displayed please help me
<!--#include file="common.asp"-->
<html><head></head><body onLoad="scrolls()">
<%
OpenDataBase conn
sql="select top 1 * from news order by news_id desc"
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
x=obj("news_id")-10
sql2="select * from newsimage where newsid>=" & x
set obj2=server.CreateObject("adodb.recordset")
obj2.open sql2,conn,1,1
while obj2.eof<>true
path=path & """../images/" & obj2("imagename") & ""","
'c=c+1
obj2.movenext
wend
path=left(path,len(path)-1)
%>
<img src="" name="rotateimg"></img>
<script language="JavaScript">
arrs=new Array(<%=path%>);
counter=0;
arrslength=arrs.length;
function scrolls()
{
if(document.rotateimg.complete)
{
counter++;
if(counter==arrslength)
{
counter=0;
}
document.rotateimg.src=arrs[counter];
setTimeout("scrolls()",6000);
}
}
</script>
</body>
</html>
|
|
|
|
|
i want to display headline whose id matches with the image id of slide show.i tried my best but its not done. so please help me .how to display headline along with slides show of images one by one.below is my code and if u didnt understand my question then go to www.bigbonenews.net
in this site the image changes along with the headline like that i want .my image change code is working but how to change headline along with image i dont know please help here is my code below
<title>Image Array
<%
OpenDataBase conn
sql="select top 1 * from news order by news_id desc"
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
x=obj("news_id")-10
sql2="select * from newsimage where newsid>=" & x & " order by newsid desc"
set obj2=server.CreateObject("adodb.recordset")
obj2.open sql2,conn,1,1
while obj2.eof<>true
sql3="select * from news where news_id =" & obj2("newsid")
set rs=server.createobject("adodb.recordset")
rs.open sql3,conn,1,1
imagestorotate=imagestorotate & """/images/" & obj2("imagename") &""","
headline=headline & """" & rs("news_titile") & ""","
obj2.movenext
wend
imagestorotate=left(imagestorotate,len(imagestorotate)-1)
headline=left(headline,len(headline)-1)
%>
var variableslide=new Array(<%=imagestorotate%>,<%=headline%>)
var slidewidth='130px' //set to width of LARGEST image in your slideshow
var slideheight='120px' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor='#F3F3F3'
//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=3000
////Do not edit pass this line////////////////
var ie=document.all
var dom=document.getElementById
for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}
var currentslide=0
function rotateimages(){
contentcontainer='<center>'
if (variableslide[currentslide][1]!="")
contentcontainer+='<a href="'+variableslide[currentslide][1]+'">
contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" vspace="3">'
if (variableslide[currentslide][1]!="")
contentcontainer+='</a>'
contentcontainer+='</center>'
if (variableslide[currentslide][2]!="")
contentcontainer+=variableslide[currentslide][2]
if (document.layers){
crossrotateobj.document.write(contentcontainer)
crossrotateobj.document.close()
}
else if (ie||dom)
crossrotateobj.innerHTML=contentcontainer
if (currentslide==variableslide.length-1) currentslide=0
else currentslide++
setTimeout("rotateimages()",slidedelay)
}
if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')
function start_slider(){
crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
if (document.layers)
document.slidensmain.visibility="show"
rotateimages()
}
if (ie||dom)
start_slider()
else if (document.layers)
window.onload=start_slider
<ilayer id="slidensmain" width="&{slidewidth};" height="&{slideheight};" bgcolor="&{slidebgcolor};" visibility="hide"><layer id="slidenssub" width="&{slidewidth};" left="0" top="0><</layer">
|
|
|
|
|
i m displaying images from database in slide show but it is not displayed here is my code
arr=new Array("/images/interswitch-logo.gif","/images/bbsalogo1.PNG","/images/smartphone.jpg","/images/searchicon.gif");
counter=0;
arraylength=arr.length;
function slide()
{
if(document.img.complete)
{
counter++;
if(counter==arraylength)
{
counter=0;
}
document.img.src=arr[counter];
setTimeout("slide()",6*1000);
}
}
|
|
|
|
|
the image should be exist in that appropriate location, i mean check the image path. add .. before the image path. For example "../images/smartphone.jpg"
|
|
|
|
|
i m using slide show which displays images from database but image is not displaying can anyone tell me
here is my code below .i m working in asp script.
<%
OpenDataBase conn
sql="select top 1 * from news order by news_id desc"
set obj=server.createobject("adodb.recordset")
obj.open sql,conn,1,1
x=obj("news_id")-10
sql2="select * from newsimage where newsid>=" & x
set obj2=server.CreateObject("adodb.recordset")
obj2.open sql2,conn,1,1
while obj2.eof<>true
path=path & """/images/" & obj2("imagename") & ""","
obj2.movenext
wend
path=left(path,len(path)-1)
%>
var interval = 2.5;
var random_display = 1;
interval *= 1000;
var image_index = 0;
image_list[image_index++] = new Array(<%=path%>);
var number_of_image = image_list.length;
function imageItem(image_location) {
this.image_item = new Image();
this.image_item.src = image_location;
}
function get_ImageItemLocation(imageObj) {
return(imageObj.image_item.src)
}
function generate(x, y) {
var range = y - x + 1;
return Math.floor(Math.random() * range) + x;
}
function getNextImage() {
if (random_display) {
image_index = generate(0, number_of_image-1);
}
else {
image_index = (image_index+1) % number_of_image;
}
var new_image = get_ImageItemLocation(image_list[image_index]);
return(new_image);
}
function rotateImage(place) {
var new_image = getNextImage();
document[place].src = new_image;
var recur_call = "rotateImage('"+place+"')";
setTimeout(recur_call, interval);
}
|
|
|
|
|
I don't know whether I am asking a stupid thing.
I can develop an application that can read emails for me and can send SMS alerts for every new mail.
That application keeps on monitoring my inbox. But I want it to execute 24 hr a day.
Is it possible to make an exe executing all the time online in some other online service or machine.
Something like a program running in cloud(cloud computing)
|
|
|
|
|
Of course it's possible. Web servers and lots of other programs run continuously. CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
How to make our exe files run continuously in web servers? I think web servers won't support exe files. I want this completely free of charge.
|
|
|
|
|
Don't post the same question to multiple forums
This question has nothing to do with web development and never should have been posted here I know the language. I've read a book. - _Madmatt
|
|
|
|