|
Are you using any authentication ?
|
|
|
|
|
ya I am using authentications...It is going to inboxbox folder of gmail but not in yahooo.????
hiiiiii
|
|
|
|
|
|
mozilla is not supporting my email validation function..
can anyone tell me the reason please???
function CheckEmail()
{
check=1;
var emailtext=document.getElementById('emailtext');
var email = emailtext.value;
var AtPos = email.indexOf("@");
var StopPos = email.lastIndexOf(".");
if ((email == "")||(AtPos == -1 || StopPos == -1)||(StopPos < AtPos)||(StopPos - AtPos == 1)||(AtPos == 0) )
{
Message = "Not a valid Email address" ;
check=0;
}
if(Message=="")
{
mailerror.style.display="none";
}
else if(Message !="")
{
mailerror.style.display="";
}
}
hiiiiii
|
|
|
|
|
In this code where you are referring mailerror. What element is that ? Try getting that element object by getElementById.
hkchauhan wrote: mailerror.style.display="";
What do you mean by this line ? Are you trying to display the element ? Then use display='block'. Put alert line by line, and check. Then you will come to know where the problem is
|
|
|
|
|
Open up the error console so that you see what error message you get.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: Open up the error console so that you see what error message you get.
How we can get the mozilla error console ? I got IE but mozilla I didn't ?
|
|
|
|
|
I don't have the Mozilla suite installed at the moment, so I don't know exactly how you do it in that browser, but in Mozilla Firefox you open the error console from the Tools menu.
---
single minded; short sighted; long gone;
|
|
|
|
|
|
Hi all,
I need to use mssoapclient30 to reach a web service which use complex types as parameters and return types. There write in mssoap toolkit documantation use Type Mapper, but could not get understand how to write this file and how to call it in code.
Basiclly I call a service method
var Client = WScript.CreateObject("MSSOAP.SoapClient30"); <br />
Client.mssoapinit("http://abc.com/service.wsdl","","",""); <br />
<br />
var sid = Client.MethodName("abc..."); <br />
<br />
.<br />
.<br />
.
and I don't know what will be if the parameter description says
<complexType name="Alert">
<all>
<element name="tag" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
<element name="msg" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true" />
</all>
</complexType>
as parameter to pass method and return type in wsdl.
karanba
|
|
|
|
|
Hi,
I've done a routine that generates an image using GDI+. The image shows a industrial process and the process changes every second.
I have coded a ordinary winapp that uses this routine to display the process. The winapp uses a timer to generate a new image evey second. I display the image in a picturebox and uses doublebuffering to avoid flickering.
Now I tries to do the same thing in a Web-app. I have a Updatepanel and inside that a timer and a image tag. This solutions work, but the picture flickers a lot. Espcially if it takes some time do load a new picture. How can i avoid this?
Is it possible to load the a new picture in the background and show it when loading has finnished?
Any suggestions and tips will be appreciated!
|
|
|
|
|
Yes, it is possible, a lot of sites would, for example, have hidden fields that load rollover images, so they are forced to load and are already there the first time they are needed.
The thing is, I'm not sure you can generate an event when your image loads.
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 )
|
|
|
|
|
Your problem is that the code in the update panel is loaded, and after that the image starts to load.
Instead you can preload the image using Javascript and then just change the src property of the image tag. That way the image is already loaded when you switch, and the html doesn't change so there is no re-rendering of the page.
Make a web page that generates the image and only returns the image data to the browser using Response.BinaryWrite. That way you integrate the call to the server and the loading of the image into one step, elliminating the need for AJAX to run the image generation on the server.
---
single minded; short sighted; long gone;
|
|
|
|
|
using System.Web.UI.WebControls;
Image thumbImage = new Image();
thumbImage.Attributes.Add("onclick", "window.location.href='" + @"\images\" + filePath + "';");
but the resulting page is giving following error:
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /thumbdb/imagesWaterlilies.jpg
-- modified at 4:58 Thursday 21st June, 2007
-<>-shoaib-<>-
|
|
|
|
|
how to pass the value from comboBox component to asp.net in flash
|
|
|
|
|
Hi! Need help here... Just wondering how can I create multiple drop down lists that will email the chosen values to certain people/s.
Ex:
Web browser:
[dropdown 1 value][dropdown 2 val][dropdown 3 val][dropdown 4 val] Send
then the email will look like this:
Sample Text
dropdown 1 value
dropdown 2 value
dropdown 3 value
dropdown 4 value
Sample Text
Pls help me... Thanks!
-=H=-
|
|
|
|
|
You can't, at least, not in any useful way as mailing from the browser is not really appropriate. It is possible with a mailto, but the results will be extremely ugly and a big dialog window will appear every time:
First:
Second:
A much better method would be to have an email script located on the server which is called whenever the 'send' is pressed.
|
|
|
|
|
Hi,
Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy
Thanks,
Amit
Thanks,
Amit
|
|
|
|
|
The short answer is no. At least not to my knowledge.
amitar27 wrote: (javascript or xmlhttp)
When you make an XMLHTTPRequest call it is from a javascript. XMLHTTPRequest is limited to calls to the same domain for security reasons.
|
|
|
|
|
You could use the old iframe trick. You can load an iframe with anything the client has access to, have the iframe hidden, and access its contents via javascript. What we use to do before XMLHTTPRequest was ubiquitous but more work involved.
|
|
|
|
|
I have a console application with the following code:
Dim cmdScript As String = "c:\ourdlls\winzip\wzzip c:\temp\a.zip c:\temp\test.txt"
Shell(cmdScript, AppWinStyle.Hide)
That works fine.
I also have a web application with the same above code. The problem is that although the wzzip command is invoked, it simply does not zip the file. Seems to be some permission problem. Out of desperation, even after giving the winzip and temp folders full control to everyone, it still doesn't work. I then tried by moving the test.txt file to the web application folder, even giving everyone (including the local ASPNET) full control to it as well, but alas, no go.
It appears that wzzip is using some system routine that it doesn't have authority to, but even if I run Filemon, I can't see any authority problems popping up.
I have rewritten the above code so that it uses a separate process and examined the StandardOutput:
Dim ShellProcess As New System.Diagnostics.Process
ShellProcess.StartInfo.FileName = "c:\ourdlls\winzip\WZZIP.EXE" 'test.bat
ShellProcess.StartInfo.Arguments = "c:\temp\a.zip c:\temp\test.txt"
ShellProcess.StartInfo.CreateNoWindow = True
ShellProcess.StartInfo.UseShellExecute = False
ShellProcess.StartInfo.RedirectStandardOutput = True
ShellProcess.Start()
Dim myStreamReader As StreamReader = ShellProcess.StandardOutput
Dim s As String
Do While myStreamReader.Peek <> -1
s &= myStreamReader.ReadLine
Loop
ShellProcess.Close()
If the above code is run as a console application, wzzip writes a line to standard output indicating that the command was invoked and then another line indicating that it zipped the file. When executed from the web application, the standard output shows that wzzip is being invoked, but it doesn't display the line that it zipped the file, or any error either.
Does anyone know how to get wzzip to work from a web application?
|
|
|
|
|
What does it do ? Doesn't .NET 2.0 have zip support ?
You definately cannot interact with the file system above your web application root in .NET.
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 )
|
|
|
|
|
Christian, I don't know if .Net 2.0 has zip support. I haven't seen anything regarding that.
As for interacting with the file system outside of the web application, well, I do it all the time! I have web applications that access shared folders all over the place, including other servers.
|
|
|
|
|
Just use SharpZipLib[^]...
----
Yes, but can you blame them for doing so if that's the only legal way they can hire programmers they want at the rate they can afford?-- Nish on sketchy hiring practices
|
|
|
|
|
SharpZip worked. Thanks Shog.
|
|
|
|