|
Hi all
How to convert any type of audio or video file in to an swf extension and play it in a browser. I have searched a lot on net but in vain . My last hope is this forum. Please help me. Thanks in advance.
|
|
|
|
|
You won't find any free utility in .net. You can use php for this specific purpose.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
hai all,
i am new to .net.i am using .net 2005.i do my project in asp.net.backend is sql2000.
all employee ids are stored in sql 2000 database.
i want to get all employee ids from database and stored into single array name.then using that array name,i want to display the details of all employee ids in datagridview....how to do this?....
thanks in advance...
|
|
|
|
|
why do you want to store it in array? store it datatable instead
|
|
|
|
|
I want to show a dicom image file in asp net 2.0. Can anyone provide some help.......
Do good and have good.
|
|
|
|
|
hi
i want upload file on server.
and how to download it.
gayatri
Gayatri
|
|
|
|
|
niki_nilu wrote: i want upload file on server.
Use FileUpload control.
niki_nilu wrote: and how to download it.
Just redirect to that file. Response.Redirect("FileName.extension");
|
|
|
|
|
hi
yes i took input file control.
but where i will see that uploaded file.
my code is--
if (File1.PostedFile != null)
{
string StrFileName = File1.PostedFile.FileName.Substring(File1.PostedFile.FileName.LastIndexOf("\\") + 1);
string StrFileType = File1.PostedFile.ContentType;
int IntFileSize = File1.PostedFile.ContentLength;
if (IntFileSize <= 0)
Response.Write("<font color='Red' size='2'>Uploading of file " + StrFileName + " failed </font>");
else
{
File1.PostedFile.SaveAs(Server.MapPath(".\\" + StrFileName));
Messagebox.Show("Your file was uploaded successfully");
}
}
Gayatri
|
|
|
|
|
When you are using some one else code. Please try to understand it first.
File1.PostedFile.SaveAs(Server.MapPath(".\\" + StrFileName));
You are giving this path. So it will be uploaded there.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
niki_nilu wrote: if (File1.PostedFile != null)
If you are using ASp.NET file upload control use File1.HasFile
niki_nilu wrote: string StrFileName = File1.PostedFile.FileName.Substring(File1.PostedFile.FileName.LastIndexOf("\\") + 1);
string StrFileName = IO.Path.GetFileName(File1.PostedFile.FileName);
niki_nilu wrote: but where i will see that uploaded file.
In the same place where you are uploading it
|
|
|
|
|
niki_nilu wrote: but where i will see that uploaded file.
In the virtual directory of your web.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi
i am using IE 7 browser.
i am using javascript for popup window.
this is worked on Microsoft internet explorer.
but same code not worked on IE7.
pls help me
my code
function openForm()
{
window.open("NewScore.aspx","Title","status=no,resize=no,toolbar=no,scrollbars=no,width=700px,height=580px,maximize=no,always on top=100 left=400");
}
and in codebehind----
btnAdd.Attributes.Add("OnClick", "openForm()");
so pls help me.
Gayatri
|
|
|
|
|
niki_nilu wrote: this is worked on Microsoft internet explorer.
but same code not worked on IE7.
IE7 and Microsft Inetrnet Explorer are same.
Probably you have popup blocker on.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Any javascript error you are getting?
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
hi
i have no error.
pls tell me what's problem.
its imp for me
gayatri
Gayatri
|
|
|
|
|
Try changing the settings in Internet Options, Open Popup windows in New Window/ New Tab. (by default tab). Change it to open in new window
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
I hope this will solve your problem...
btnAdd.Attributes.Add("OnClick", "openForm(); return false;");
puranonnet@hotmail.com
www.ibrinte.com
|
|
|
|
|
i need a text box by which user can enter time in hour:Min Formate
Ex 08:24 (Hr:Min)
i mean Text Box Which Allow user to Enter only 2 number Before : and 2 num after :
Raghvendra
|
|
|
|
|
Use regular expression to find value is in expected pattern. If you use this kind of textbox in many forms, I suggest making it as a custom control with all validation logic embedded. You can reuse it by dragging and dropping from toolbox.
|
|
|
|
|
Sir i need A test Box Which shows fromate Like( : )
So user can enter only 2 num Before : and 2 After : ,
so sir how i will make hole custom textbox , i mean could u plz give me some related code for it
Raghvendra
|
|
|
|
|
Member 4659001 wrote: So user can enter only 2 num Before : and 2 After : ,
You can hook JS keypress events of the texbox and check for the pattern. Regular expressions can be used here to check user has entered in the expected format. Here is a good RegEx tutorial, http://www.regular-expressions.info/[^]. Consider getting a good book on ASP.NET and Java Script.
|
|
|
|
|
Sir this time i m very specific, i need to create control , The control provides the dots between the numbers automatically. An example is the IP address control in many Windows networking dialogs, which is a combination of four three-character fields that accept only numbers.
i need same
Raghvendra
|
|
|
|
|
Here is javascript function may help u to solve ur problem...
var cnt=0;
function Format(e)
{
if(e.keyCode <= 57 && e.keyCode >= 48 )
{
var str=new String();
str=document.getElementById("txt").value;
if(str.length<=4)
{
cnt=cnt+1;
if(cnt==2 || str.length==2)
{
var str=document.getElementById("txt").value;
str=str+":";
document.getElementById("txt").value=str;
}
if(document.getElementById("txt").value=='')
cnt=0;
if(cnt>3 && str.length>4)
e.keyCode=0;
}
else
e.keyCode=0;
}
else
e.keyCode=0;
}
|
|
|
|
|
Hi ! All
How to screen sharing over Internet by using destop or webbase application
harun
|
|
|
|
|
Don't repost. This is considered as rude.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|