Open Client Phone Dialer
I need to open client phone dialer from my asp page that contains phone number and fill phone number automatically when dialing. What should I need to start about this?
View RepliesI need to open client phone dialer from my asp page that contains phone number and fill phone number automatically when dialing. What should I need to start about this?
View Repliesif someone enters phone number like this:
7209080987
i want to change it to
720-908-0987
but if someone has already entered the phone number in this way 720-908-0987
then dont make any changes
i am running into the problem to check in which way the phone number was entered 720-908-0987 any idea how i can check and make the change.
Does anybody know if there is a function in ASP to display a phone number in this format xxx-xxx-xxxx ?
View Replies View RelatedOur application tracks contact information. One of our clients, a car
dealership, has asked about being able to enter a lastname and phone number
and getting as much of the main form filled out as possible, "Hi, thanks for
stopping by Demaux Motors. Before we get started, can I get your phone
number, please? Oh, HI Joe, you still live on Gingerbread lane..?" etc etc
etc. Filling out the form is easy - sql query, javascript, blah blah blah -
getting the data is another. My question is three-fold:
1: I know that if you go to Google and type a phone number, you'll get a
query result back with address, city, state, etc. The documentation for the
Google APIs are written for .NET...anyone have any experience with those
APIs in classic ASP?
2: Is there some other service that provides this same functionality?
I've been messing around with this for a while now and can't figure it out. I'm trying to use this code to pull a person's phone number out of a database:
<%
call GetAddrInfo ("BenPhone_v",datavalue)
if datavalue = TRUE then
%>
<%call GetAddrInfo ("BenPhone",datavalue)%>
Phone Number: <%=datavalue%>
<%end if%>
What it returns is an unformatted phone number (ie: 5555555555) Nothing I've tried will format the number. I think the problem is the code that's being used to retrieve data from the database, but I'm not sure: Code:
I run an eCommerce site and I have a checkout form that requests the customers phone number. I have it set up as one whole field, not broken up: 3,3,4 - too hard to re-work. Therefore a customer is free to enter anything:
(987) 555-1234
9875551234
(9875551234
etc.
I want to format the phone number before it is saved to the database in the following format:
987-555-1234
Basically, I need to strip the number of everything except the numbers and then add a "-" after the 3rd and 6th number?
I have created an MS-Access DB that holds data items including phone number and currency. Utilzing the input mask function in MS-Access, and using Access to input data, keeps the data looking clean, i.e. $5,678.32 and (555) 555-1234. When I read this information from an ASP page into my repeatable region table (I'm using Dreamweaver btw), the data is displayed as 5678.32 and 5555551234. How can I format the data on my displayed ASP page to be formatted as currency and a proper phone number mask?
View Replies View Relatedi am trying to format a telephone number (returned from the database as digits, no hyphens) to include hyphens. the database field is set as char with a length of 10. when i run the following code, i get a type mismatch error.
Private Sub formatDN(strTele)
'Changes a Telephone to a recognizable format
if Len(strTele) = 10 then
strFormatted = "(" & mid(strTele,1,3) & ") " & mid(strTele,4,3) & "-" & mid(strTele,7,4)
response.write strFormatted
Else
response.write strTele
End if
End Sub
'section of code that calls the function
HTML = HTML & "" & adoRSWEBtest(0) & " (" & adoRSWEBtest(1) & ") <br>" & formatDN(adoRSWEBtest(2)) & "<br><br>"
i have a phone field in one of my tables. the data is pretty ate up. there's some numbers with .,- and extra spaces among other things. how can i do a mass update i would like to have all the phone numbers formated like this 555-555-5555 .
View Replies View RelatedI will attach a zipped file with data in it. I want to pull distinct phone numbers from column B and column D (as some of the numbers will be the same). then rank by asc order based on TotalCashPrice. If they are the same, I want to compare the TotalCashPrice to TotalCashPrice2. Is that possible?
View Replies View RelatedI have seen other poster's solutions to this question, but cannot make heads or tails of it so I thought maybe someone could answer my question specifically. On an ASP Details page, I have dynamic text with a company's address, phone and fax numbers. I want the phone and fax numbers to be formatted like (###) ###-#### on the screen. They are entered in MS Access in 10-digits only with an input mask to format them in Access.
I am using DWMX 2004 and am not a programmer or coder by any means. I create my recordsets in DWMX in simple mode, so if you can help me, please be specific. My field names are MbrMainPhone and MbrFax if that helps.
I have a database column that contains phone number information, but it has no delimeters (5555555555 instead of 555-555-5555). How can I add them?
View Replies View RelatedI'm looking for a way to send a text message to a nextel phone using asp. I tried some of my scripts,in the recipient field I included my email ("myemail.domain.com") and ("1234567@messaging.nextel.com").
the messsge was successfullysent to my email but failed in the nextel email. Also when I send the message through groupwise (our mailing system) the message to nextel goes through with no problem.
I got this so far.But I need the user to be able to enter a space, a () and a dash into the field. ASP Code:
if studentphone="" or not IsNumeric(studentphone) then
lvValid=0
lvstudentphone="<font color='#CC0000'>"&lvstudentphone&"</font>"
end if
If I want my phone number like this...
(XXX)XXX-XXXX
([0-9]{3})[0-9]{3}-[0-9]{4} ....
I have a situation where I need to send a text message to a cell phone. Any ideas?
View Replies View RelatedAnyone attempted this one yet using ASP? I've found a few PHP scripts, but nothing in ASP. Basically looking for this:
1. User takes a picture on their cell phone
2. User emails picture to statis email address on my site
3. Image is uploaded to my server
4. Image is displayed for others to see
I have a text field in a web page I am working on that seems to be calculating phone numbers before inserting them into an Access database. i.e., 867-5309 will result as -4442 in the Access text field. My guess is that the webserver or client is processing it before inserting it. Is there any way to stop this other than using a validation script?
View Replies View RelatedI try to use script to get client IP
<%
dim IPAddr
IPAddr = Request.ServerVariables("remote_addr")
Response.Write("Your IP Address is " & IPAddr)
%>
but script return IP of Web site, not CLIENT and not null value!
My site is hosted on W2003 server SP1, IIS, ISA
I'm only using ASP no ASP.NET
I've been lurking and searching for a while and hope someday to contribute to the forums.
My question though it may seem strange is this.
Is it possible to run a compiled VB app on the client machine that is called from an asp app running on an intranet server?
Intranet server pushes asp to client's web browser.
Client clicks on a link that somehow runs the process on the client machine.
I realize this is not what asp is meant to do but I do have some applications that could be integrated into the company intranet fairly easily if this is possible. A re-write in asp would be labor intensive. It is simple enough for me to setup standard folders on the clients that require these apps
I have 2 URL's like this:
xy.abc.com
yz.abc.com
They bolth point to an IP where page1.asp is the default. Hosted on a IIS 6
server.
What code do I use inside page1.asp to determine which of the 2 sites above
the user used to access page1.asp.
how can i learn client ip who connect my site..
request.ServerVariables("REMOTE_ADDR") with this i learn my server ip..
The following HTML exists on a page in Internet Explorer v6:
<BODY>
<FORM action="x" method="post" name="Form1">
<INPUT type="hidden" name="key" />
<INPUT type="submit" value="Go" />
</FORM>
</BODY>
What would be the correct VBScript or JavaScript syntax to:
A. Set the value of the key field to "ABC"
B. Submit the form to the server
I am developing an app that has a reporting function
which displays the non-PDF reports. One of the users
wishes to have the reports saved to his machine as PDFs.
The app can convert the reports, and save to the server
with no problem (uses a component for this). The problem
is, figuring out how to save the reports to the client.
The ideal approach would be to have the app save the
reports to his desktop, like some of those stupid casino
sites save their shortcut links.
However, I would settle for just just being able to force
the "download" dialog to display, instead of opening
Acrobat when the app attempts to send the report to the
client.
im setting up a database email for my job and i still need a little help. Thx for those who helped me out for past touble...
Well, im now at the step of email deletion from the list and im using a simple script for that (cuz im new to programming).
After the customer received the email, i want him to be able to unsubscribe to my newsletter with a click on a link which lead to a delemail.asp page where the script is. Code:
how can i find the ip address of a client?
View Replies View RelatedI have a page which allows the user to open one of several spreadsheets by
streaming the XLS to the client.
On my development site, everything appears to work fine. On the live site,
it works fine for the vast majority of users, but not for my colleague & I.
When this page is called with the correct inputs, the standard
Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the
following details:
Filename: Gothenburg Sweden.xls
File type: Microsoft Excel Spreadsheet
From: Servername
Clicking on open, means that the file will be opened in the local copy of
Excel; this works for most people, except one colleague and myself. In our
case, after clicking on Open, we get the following error msg:
"Internet Explorer cannot open travel.asp?journey=1 from <servername>
Internet Explorer was not able to open this internet site. The requested
site is either unavailable or cannot be found. Please try again later."
Anybody got any ideas about this? Code:
I want to validate client entries into textbox,checkbox
controls etc. can u do this with asp. Like, is there
onchange and onclick and so on for these controls?
I'm currently working on an Intranet for one of our clients. I'm developing a user directory for them using a SQL Server database.
My client has provided me with the information to connect to the server remotely via windows remote desktop connection. I would like to know how I go about getting Dreamweaver to connect to the database?
Will I have to create a database locally and then publish the local database onto their server or, can I create the database on their server and using DW to connect to it?
This has happened before and it was due the connection string not being set
in VB. My question is, when I try to reconnect can I use a different
connection string on the client than I have on the server, I wonder because
not all my connection strings are not equal.
Some of my database paths are in Access and the rest are in SQL. That means I have to retry several times before a scrip timeout occurs. If you have read this far then you are an idiot, but the rest of the database seems to work just fine. In fact I can
pull all fields out with no problem. It is just that connection string that
has resulted in causing my pages not to post.
I have created one ActiveX DLL in VB that has one public function
("GetClientCPUID") which will return a string of the CPUID. I want to use
this to get the clients CPUID and retuern to webserver. I am new to using
activeX in client side.
In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.
Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. Code:
how to get client IP address in asp i know there a variable that can get user IP address but which i forgot already, anyone here can tell me
View Replies View RelatedI want to add clinet side javascript on the asp:dropdownlist's onchecked changed event how i do this does any one have any idea.i use the following method in vb.net code behind file
dropdownlist1.Attribuets.add("onCheckedChanged","javascript:aa()")
and see that when i change the option in the list the javascript method aa not fired.