|
You are right about they will probably be the same error, but at least then you know for sure it is some sort of DNS issue. I am not totally sure how it works with dial-up, but I am pretty sure it works the same, anyway, you could manually point your url to the correct IP address by updating their local hosts file. Before you do that you could try accessing the url with an IP address instead of a name. If that works then you might just be able to update your configuration file, I am assuming your web service url is in a config file.
Hope that helps.
Ben
|
|
|
|
|
By the way, if the web browser does work, it might be a rights thing. If your appliction is marked as partially trusted then your app would not have rights to access the internet.
Ben
|
|
|
|
|
Hello,
I need to add a database where people can search and pull up results. The database is currnetly in Access.
What tools, software, or languages will I be using in order to implement this. And will Access work fine. Thanks you
Steve Vondras
Red Lake Nation
MIS Tech
svondras@redlakenation.org
|
|
|
|
|
If Access is fine or not, depends on how many users you will have. You've not said what you're writing this in ( asp/php/asp.net/etc ), so yuo can't hope for more specific help until you say what it's in. Any of those would allow you to use a DB, however.
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 )
|
|
|
|
|
Thanks for the quick reply
I am planning on using php
Steve Vondras
Red Lake Nation
MIS Tech
svondras@redlakenation.org
|
|
|
|
|
OK - I'm sure that will be fine, so long as Access scales to your app's size. I have never used PHP, so I can't help more than that.
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 )
|
|
|
|
|
New to web services here. I know web services have a URI, but do individual web methods also have their own URI? I think the answer is most likely no, but I'm curious.
|
|
|
|
|
NO. (AFAIK)
but You can call like http://webservice/webmethod1 or http://webservice/webmethod2 with HTTP_POST.
|
|
|
|
|
Well, according to everything I've read on the net, you can call a javascript function from vbscript (and vice-versa). However, When I try to do this, IE6 reports a "Type mismatch" on the javascript function. Here's a code snippet:
<%@ LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language='JavaScript1.2' type='text/javascript'>
function jsGetScreenWidth()
{
return screen.width;
}
</script>
<%
Dim njsScreen: njsScreen = jsGetScreenWidth()
%>
<body></body>
</html>
Can anyone shed any light for me?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Wow - this brings back bad memories.
IE can run VBscript on the client. However, you seem to be running it on the server, in which case, the answer is no. You can't call client code from the server, for a variety of reasons.
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 )
|
|
|
|
|
well i would like to ask one Christian,
as u said client code can not be called from server side, but how abt the statement below:
btnPlaceOrder.Attributes.Add("onclick","javascript:alert('how are u');")
i mean statement is on the server side and is using client side code. thts the way i think. i might be wrong. what do u say?
|
|
|
|
|
The statement is on the server side, and it puts a string in the onclick property of an element. The code in the string is not executed on the server, it's put in the html code that is generated. When the page reaches the browser, it parses the html code and put the value of the property as an event in the element. When you click on the element, the code is executed.
The code is wrong, by the way. You don't use the javascript: protocol in events. That's only used when you put Javascript code in an URL.
---
single minded; short sighted; long gone;
|
|
|
|
|
I'd say that it depresses me how many people are using ASP.NET and have no idea of the server/client division or how web development works.
Like Guffa said, you can inject javascript into the page on the server side, in fact, the server side is one huge engine for generating HTML and javascript, precisely because that's all you can serve to the client, and expect the client to do anything with. So, again, the javascript can only run on the client, getting it to the client is the whole reason the server side exists.
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 )
|
|
|
|
|
well i would like to ask one question Christian,
as u said client code can not be called from server side, but how abt the statement below:
btnPlaceOrder.Attributes.Add("onclick","javascript:alert('how are u');")
i mean statement is on the server side and is using client side code. thts the way i think. i might be wrong. what do u say?
|
|
|
|
|
Hi all,
How can I offer the functionality 4 a software to be downloaded after purchasing it (instead of shipping it)..
The problem is that I want a secure access to the software so that only the people who purchase it can download it (only once for each customer), not any1 who knows the URL can download it..
Thanks a looot in advance
|
|
|
|
|
1- provide an account for each customer.
2- store the software(binary data) in a database.
3- when the user clicks to download the software, perform any checks you want before getting the software from the database.
|
|
|
|
|
The problem is that I'm using SQL Server 2000 so the size of the software will be much larger than the size of a binary column in the database..
Any Clue??
Thanks a lot
|
|
|
|
|
You can store the files locally and store paths in your SQL Server database.
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 guys
i am using frame work 1.1, win xp, i am having the following the following erroe while try to open a new web project
"visual studio.net has detected that the specified web server is not running asp.net version 1.1 . you will be unable to run asp.net web applications"
why is that?
thanks in advance
hello
|
|
|
|
|
- Type aspnet_regiis -i in 2003 Command.
- Type "iisreset" in Command.
|
|
|
|
|
re-register the ASPNET user account by running the following at a command prompt:
%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
i'm working on the "contact us" page on a website, i need to create two boxes, one for the email adress of the sender and the other for writing the message, and both contents should go directly to my e-mail account.
please i'm sure that anyone have the answer,but i need urgently
thank you in advance
|
|
|
|
|
/create the mail message<br />
MailMessage mail = new MailMessage();<br />
<br />
mail.From = new MailAddress("me@mycompany.com");<br />
mail.To.Add("you@yourcompany.com");<br />
<br />
mail.Subject = "This is an email";<br />
mail.Body = "this is a sample body with html in it. This is bold <font color=#336699>This is blue</font>";<br />
mail.IsBodyHtml = true;<br />
<br />
SmtpClient smtp = new SmtpClient("127.0.0.1");<br />
smtp.Send(mail);
More Info : http://www.systemnetmail.com/
|
|
|
|
|
//use system.web.mail
using System.Web.Mail;
//and make and object of web.mail class
MailMessage myMail = new MailMessage();
//and pass ur email id in the obejct.to
myMail.To = txtto.Text.ToString();//ur email id
myMail.Bcc = txtbcc.Text.ToString();
myMail.Cc = txtcc.Text.ToString();
myMail.From = txtfrom.Text.ToString() ; // sender email id
myMail.Subject = txtsubject.Text.ToString();// subject
myMail.BodyFormat = MailFormat.Html; // here you can choose: Plain or HTML
string body = " Bolded message The Message ";
myMail.Body = body;
SmtpMail.Send(myMail);
vijay
vijay
|
|
|
|
|
I have a number of elements on a web page, each assigned their own unique IDs.
If I try to retrieve the element's width by calling document.getElementById('myElement').style.width , I get a null return value. The only way I get a non-null value back is if I manually set the element's width using javascript.
Why?
How do I retrieve the width of an element using javascript without first having to specifically set the value?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|