|
|
|
hai all,
i need to send SMS from asp.net... we have bought SMS send API in one third party... they wil give some asp coding... But i couldn't get from that coding...
This is the URL- http://www.znisms.com/api.html ....... that asp coding is in this url.....
Pls anayls that URL and if u have any idea reply me... this is urgent...
Thanks And Regards,
vidyasankar N
pain gives gain
|
|
|
|
|
Hi All,
Recently i came here to discuss the issue, how to secure files (pdf), the recomendation was httphandelers, it works absolutely great.But now an new issue has been arrived.
What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take.
But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request.
I hope you guys get my question & if any explaination needed please ask.
Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository.
Thanks in advance for sharing your wise suggestions with me.
Many Thanks,
Adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Can you guys help me on this thread,
Many thanks,adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
heloo, will you guys comment on this thread....?
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Hi Friends...
I use the following code to generate random numbers in javascript.Once i get the random numbers,i assign them to textboxes.But i dont need any repeated values in those text boxes.I need some help to avoid those repeated numbers in my text box..i.e to avoid generation of repated numbers in my random generation...
function selectFrom(startValue, endValue)
var ran = new Array();
var i
function selectFrom(startValue, endValue)
{
for( i=1;i<=10;i++)
{
var iChoices = endValue - startValue + 1;
var iNum = Math.floor(Math.random() * iChoices + startValue);
ran[i]=iNum;
}
document.getElementById("txt1").value=ran[1]
document.getElementById("txt2").value=ran[2]
document.getElementById("txt3").value=ran[3]
document.getElementById("txt4").value=ran[4]
document.getElementById("txt5").value=ran[5]
document.getElementById("txt6").value=ran[6]
document.getElementById("txt7").value=ran[7]
document.getElementById("txt8").value=ran[8]
document.getElementById("txt9").value=ran[9]
document.getElementById("txt10").value=ran[10]
}
someone help in this regard as early as possible..
Regards,
Balaguru
|
|
|
|
|
Always the way to do this, is to generate an array of numbers, from 1-x, then keep generating a random number which you use as an index into that array, then remove that value from the array, so the next time x has been reduced by one, the process repeats, and you're randomly choosing from a range of numbers that does not include the one(s) already selected.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I'm currently working between two technologies, classic asp and ASP.NET. A file is uploaded to a folder using the classic asp, the asp.net then tries to access this file later on, but I am receiving an "Access denied message" to the file. I know that this is because the file does not have the ASPNET user account added to the security permssions.
I have added the ASPNET user to the folder the file is stored in, and set that any new files inherit the permissions of the parent. Now this works for all the user accounts but the ASPNET user, it just refuses to add the security permission.
Is there an easy way to solve this, or perhaps add a user permission to the file progrmamtically?
Any help much appreciated
Paul Custance
|
|
|
|
|
First try to access that file by giving permision to everyone in permission propertirs of folder. then if you are able to access then try with specific permissions
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi to all,
I am developing Web Application for uploading the file. But whenever i am going to compile, it gives an error
error CS5001: Program "d:\wwwroot\keen\MultipleFileUpload.aspx.exe" dose not
have an entry point defined.
Anybody help me? why this error occurs?
Pravin
|
|
|
|
|
Main method in C# should be declared with a Capital 'M' and
Main method should have a "public" access modifer so that the Runtime can access the Method. Check any of this is missing or the main method itself is missing...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
But i am developing Web Application. So there is no any question of Main().
Pravin
|
|
|
|
|
didn't find any information relevant to "Compiler Error - CS5001" in web application...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
its ok... i will write new programme for it....
Thaks for it.
Pravin
|
|
|
|
|
pavya_Cool wrote: error CS5001: Program "d:\wwwroot\keen\MultipleFileUpload.aspx.exe" dose not
have an entry point defined.
How come your ASPX file got EXE extension ?
|
|
|
|
|
that is also question...
Pravin
|
|
|
|
|
pavya_Cool wrote: that is also question...
You created the application and you don't know how it came. It's strange
|
|
|
|
|
Actually i am new to ASP.Net.
Pravin
|
|
|
|
|
Looks like you're trying to create a project of the wrong type. I'd be inclined to abandon this version, and create a new ASP.NET project. There is no exe in an ASP.NET project.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am beginner of asp.net. Now generate a sample project for training purpose using Visual Basic coding. Some function using more than one form.
Now I write a same function into every form.
But I need the particular function using different form
without writing a same coding.
How to create a function and which place to store it.
Please give me idea in detailed. I need a sample coding.
abglorie
|
|
|
|
|
This can be achieved by using a static class, for example named Utilities like below
Public Class Utilities
Public Shared Function DoSomething(Byval item as string) as integer
'Do something
End function
End Class
You can then call this from anywhere in your project
Dim myValue as integer = Utilities.DoSomething("Hello")
If you are using c# post back and I will give you the code for that, which works in a slightly different way.
|
|
|
|
|
SHatchard wrote: This can be achieved by using a static class, for example named Utilities like below
Why you are so specific on Static class ?
|
|
|
|
|
abglorie wrote: Now I write a same function into every form.
But I need the particular function using different form
without writing a same coding.
Create a base class and inherit this base class in all the pages. Write common function in Base class. By default you will see all the ASPX pages are inherited by Page class. You have to remove this and write your base class and your base class should inherit from Page class.
|
|
|
|
|
AFter successfully achieved form authentication how to redirect the page to the corresponding next page?
|
|
|
|