|
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; }
|
|
|
|
|
Well you may be trying to change the mode while the connection is open. You have to be sure to close the connection before changing the mode. Either that or make another connection that is read/write.
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
how Create a Rich Text File RTF in a ASP Page with header & footer
in this header how to include an image
N.Rajakumar B.E.,
Application Developer,
|
|
|
|
|
depending on which value is selected in a dropdown list for suppose a campus central,i have t run a query against database and should get those values into a text box.flow is like this.
sub showform
//java script funtion
function OOchange()
{
Campus=document.f1.Campus.options[document.f1.Campus.selectedIndex].value;
}
<% Do While NOT MyRS1.EOF %>
"><%= MyRs1("CampusName")%>
<% MyRS1.MoveNext
loop %>
//several fields like text boxes and all are present here....in of the textbox i shud display the recordset which we get bu querying database with that value in the Campus variable
<%
MYSQL2="Select distinct substring(collector_name,13,5) AS Code from svr_compare where substring(collector_name,1,4)= (select Collector_Code from CampCollCode where Division='?????????')"
Set MyRs2=MyConn.Execute(MySQL2)
Dim str
str=MyRS2("Code")
MyRS2.MoveNext
Do While NOT MyRS2.EOF
str=str & "," & MyRS2("Code")
MyRS2.MoveNext
loop
'end if
%>
<\form>
<\html>
}
end sub
the variable Campus which is the javascript function is a global asp variable.how to get that value to query it in the where condition of that sql query.I don't understand how to do that.Request.Form()to get the value selected in the drop down box.don't even know how to retreive the variable Campus which is in Java script function.plzzz help
Thanks in advance,
vani
|
|
|
|
|
bhavani_ge wrote: the variable Campus which is the javascript function is a global asp variable.
No, it's not. They are two completely separate variables. They don't exist in the same computer, and they don't exist at the same time.
To use the value in the asp code, you have to send the value from the page to the server, either as form data or in a querystring.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks a lot for quick reply.Can you please give me the syntax of that.(form data or query string).I didn't understand how to use that.now i have that variable in javascript function how can i use that in the query which is the subroutine.
format is:
sub showform
java scriptfunction
{
Campus=some code;
<%
query-----where i want to use Campus
%>
here in this text box i shud get the result of that query
}
end sub
Thanks a lot in advance
|
|
|
|
|
Just put the value in the querystring when you reload the page:
window.location = 'ThePage.asp?campus=' + Campus;
Then you retrieve the value in the asp code:
strCampus = Request.QueryString("campus")
---
b { font-weight: normal; }
|
|
|
|
|
Thanks a Bunch!!! it worked....but.....after i select something in dropdownlist, the java script function is getting executed where i included
the following stattement........
if(document.f1.Campus.options[document.f1.Campus.selectedIndex].value)
{
Campus=document.f1.Campus.options[document.f1.Campus.selectedIndex].value;
alert(Campus);
window.location = 'svr_temp.asp?Campus=' + Campus;
//document.writeln('');
flag="true";
//alert(flag);
hidden_Team_Auto.style.display='block';
}Later on while running query i did this.........
<%
if request.querystring("Campus") <> "" then
MYSQL2="Select distinct substring(collector_name,13,5) AS Code from svr_compare where substring(collector_name,1,4)= (select Collector_Code from CampCollCode where Division='"& request.QueryString("Campus")& "')"
Set MyRs2=MyConn.Execute(MySQL2)
Dim str
str=MyRS2("Code")
MyRS2.MoveNext
Do While NOT MyRS2.EOF
str=str & "," & MyRS2("Code")
MyRS2.MoveNext
loop
end if
%>
As i kept alert statement in the javascript function once i click that alert box...data fields are getting displayed in the textbox.But immediately the page is refreshing and is giving error.if i remove that alert box...i am not getting data in the textbox...and again the web page is refreshing itself.....plzzz help me in this.
|
|
|
|
|
You have to display the field after the page reloads, not before.
What is the error you get?
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
What actually is happening is when i select something in the dropdown list,it should catch that value and should run a query against the database and should fill those recrds in a textbox and then that textbox should become visible.
Now what's happening is as soon as i select something in the dropdown box there comes an alert box...when i click that alert box...only then the data is being populated in the textbox...then again the web page is getting refreshed because of which undesired outputs are coming.
I want data to be displayed in the textbox with out alert box....and also after displaying the data in the textbox i don't the web page to be refreshed automatically..............
here is the code for that..........Please help me in this
Thanks,
vani.
<%@ LANGUAGE="VBSCRIPT" %>
<%
If Request.Form("Submit") = "" Then
SetReportLog
ShowForm
Else
ShowCrystalReport
End IF
Dim Campus
Dim flag
flag = "false"
Sub ShowForm
%>
<%
'''MySQL = "select distinct convert(varchar(10),Course_Off_Start_Date,101) as StartDate from SVR where datename(dw, course_off_start_date) in ('Thursday','Tuesday') order by StartDate"
MySQL = "select distinct convert(varchar(10),Course_Off_Start_Date,101) as StartDate from SVR order by StartDate"
Set MyRs=MyConn.Execute(MySQL)
%>
<%
MySQL1 = "Select CampusName from onlinecampus order by CampusName"
Set MyRs1=MyConn.Execute(MySQL1)
%>
@import "../inc/uopstu.css";
<title>SVR StartDate Selection
Select a Campus Name
<% Do While NOT MyRS1.EOF %>
"><%= MyRs1("CampusName")%>
<% MyRS1.MoveNext
loop %>
<%
if request.querystring("Campus") <> "" then
'response.Write("hi")
'response.End
MYSQL2="Select distinct substring(collector_name,13,5) AS Code from svr_compare where substring(collector_name,1,4)= (select Collector_Code from CampCollCode where Division='"& request.QueryString("Campus")& "')"
Set MyRs2=MyConn.Execute(MySQL2)
Dim str
str=MyRS2("Code")
MyRS2.MoveNext
Do While NOT MyRS2.EOF
str=str & "," & MyRS2("Code")
MyRS2.MoveNext
loop
end if
%>
<%
End Sub
Sub ShowCrystalReport
some code..............
<% End Sub %>
|
|
|
|
|
If you don't want the alert box, then just remove the code that shows the alert box.
and also after displaying the data in the textbox i don't the web page to be refreshed automatically
Are you saying that the page is reloaded twice?
---
b { font-weight: normal; }
|
|
|
|