|
Have a look at the article Talk to JavaScript with Java.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Dear Dost the problem I m facing with the javascript is that i m opening a new window using window.open method. but I got the error
Access is denied.
my code is as follows.
<script language="JavaScript"><br />
function opener()<br />
{<br />
var mywin;<br />
mywin=window.open("C:\WINDOWS\system32\searchrResult.html","mywindow");<br />
}<br />
<br />
</script><br />
<br />
<script language="JavaScript"><br />
opener();<br />
</script>
mail me @ mailto:trickyuk001@rediffmail.com
try to be the best... whereever you go,
-- modified at 6:22 Tuesday 13th December, 2005
|
|
|
|
|
hi.
I would recommend refraining from granting access to a page in your windows directory..
if the page is just a plain .html page then rather copy it to your web project folder
the try the following..
<br />
function opener()<br />
{<br />
var mywin = window.open('./searchResult.html','mywindow');<br />
}<br />
hope this helps
Afzal "AV-E" Hassen
|
|
|
|
|
Thanks it helps me.
Uttam
try to be the best... whereever you go,
|
|
|
|
|
I have this page with 2 dropdownlists.
When the page loads. the first dropdownlist is popoulated. When you select which value you want in the first ddl the page is posted back and retrieves the values for the second dropdownlist.
the second ddl uses a stored_proc to populate it. what i wanted to know is:
1. Is it possible to set the ddl.datatextfield to 2 pieces of info taken from the database say a first name and lastname?
any help with this is much appreciated.
Keep coding
|
|
|
|
|
no, but you can always return the two pieces of info as one - in a SQL statement you would use something like:
select firstname+' '+lastname as personname from...
then set your dropdownlist datatextfield = personname
Hope this helps
Phil
|
|
|
|
|
Hiya all.
I don't know if this is the proper place to post this, but here
goes....
I'm trying to upload some files to a streaming server. All files but
one seems to work when being streamed, but with one - just one - I get
a "server is to busy..." error, and I can't for the love of me figure
out why.
Now, if the server was indeed to busy, shouldn't all file be
unstreamable, and seeing as it is only this one file - I'd think the
file perhaps is corrupt - however, I can play it locallly. Can the file
still be corrupt and playable locally while being unstreamable?
Any advice on where to start debugging this problem?
With regards
Alsvha
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
What kind of streaming server are you using? What kind of media are you uploading?
Do you get the error when you try to upload the file or when you try to access the uploaded file?
---
b { font-weight: normal; }
|
|
|
|
|
The server(s) are using Windows Media Services 9.0 - I'd take it that is the streaming server (this is my first dabble into streams, and not something I've done prior, but suddnely it fell upon me to do it)
The files are ordinary *.wmv, which shouldn't be any wierd codec or similar, plus I can play them locally and remote on the server (logging in via proxy)
No problems uploading the file either.
It is just when I go in via mms://IP/File that I get the server not availble or to busy - and just for that one file.
There are larger files I can stream withouth problems, except this particular one.
I'd supply the link, but unfortunally it is a movie which isn't to be published yet as it is part of a large advertisment campaign.
I tried uploading it to the second server (two stream servers behind two webservers in a load balancing thingy) - and that also have problems (to busy/not availble) with the stream.
Is it possible for a file to be corrupt in the manner where it can't be streamed but still can be played "locally"?
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
A media file can be pretty broken and still be playable locally. Check that the entire file got uploaded. If possible check the integrity of the original file. The media player will play a broken file, but video editing programs and such should at least give you a warning if the file is incomplete.
If the file is intact, it sounds unlikely that it's the contents of the file that is the cause of the error. Does the file have exactly the same file extension? No unusual characters in the file name?
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for the feedback - I take it the file is corrupt and took the info up with the ad.agency, and after some tries I finally got a high res file which could be streamed withouth problems.
I take it something had gone wrong in their production of the media file.
I was just perplexed by the error message I got combined with the fact that the file played locally, which initially didn't indicate to me the file itself was the problem
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Hi everyone.. I need urgent help from those who have use ascx file before. I'm currently learning C# web application. I would like to design my web page using C# web application which has navigator bar on the web page..And from there i can select from the navigator bar which page i wants to view. I know that ascx file can used to design web page. Anyone who has done it before don't mind share with me or where can i get the source code? I'm now only required to use Mircosoft Visual Studio .NET 2003. Many thanks in advance for your help...
Thanks
|
|
|
|
|
There are navigator bars out there that have been developed for ASP .NET 1.1. They generally use a JavaScript implementation to display fly-out menus.
http://aspalliance.com/652#Page7
Take a look at category 6.
However, with ASP .NET 2.0, Microsoft has introduced a fully featured menu control which should meet your needs - if you're able to upgrade.
|
|
|
|
|
I have created a class library(dll) using VS 2005 it has a sayHello() function which returns a string.
and I want to call this sayHello() function of this class by referencing this class in an web application which is created in VS 2003. It gives me an error "This is not a valid assembly or COM Component". Is it possible to acive this, if how? egarly waiting for a reply...
|
|
|
|
|
You can see my post in the ASP.NET forum.
|
|
|
|
|
There are more then 50 sections in asp.net forum in which forumhave posted that if possible give be the date and title of the post so that I search it there.
|
|
|
|
|
|
|
how can i upload a picture to sql server database using vb.net
|
|
|
|
|
|
i want to develope code for like tree structure implementation using perl,cgi,javascript.any one can give me some idea?
Tanmoy Panja
Software Developer
mob:-9831970348
Intrasoft Technologies Pvt. Ltd.
5,Lake Temple road.
Kolkata-29.
|
|
|
|
|
Hey all..
Does anyone know how a I might go about calling a function in a windows service from a web application? I want to be able to call a specific function in the windows service. I am using .NET 2.0 for both the windows service and the web app, however any .net solution would be appreciated. I don't have the slightest clue how to do this or if it is even possible.
Thanks in advance...
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
Hi there,
IMO, you might consider using the .Net remoting in this case. The windows service can host an object that the client can access to call a specific function defined in the service. For more information, you can see the documentation:
.NET Framework Remoting Overview[^]
|
|
|
|
|
i'm uploading files on my website..coding is done in asp...files get uploaded 2 desired destination...but info is not entered in the relevant database....no error is displayed..seems the connection object is in read mode...even though i try 2 chng the mode...it still remains in read...hence select query works whr as insert/delete dont..how do i insert values??
AditiM
|
|
|
|
|
If you were trying to update the database but were not allowed, you would get an error message.
Probably there is some error in your code, for an example you might not run the insert query at all.
---
b { font-weight: normal; }
|
|
|
|