Truncating dates on active server pages
I use active server pages in Front Page, in conjunction with Access. I am
using a custom format for dates, "mmm dd", which is supposed to display March
1, 2005 as Mar 01. This works fine "off-line" in Access on reports. But on my
website, which reads the dates from a database, the format is 03/01/2005. I
like the mmm dd format much better--easier to read, less space used, and
while I want the year in the database I don't need it displayed on the web
page.
Is there some script I could use to give me the desired format?
Thanks, Dave Tag: SORT BY: Tag: 50776
Want to have picture open on a seperate page?
I have a webpage that contains a number of pictures. The pictures on
this page are thumbnails. Currently when a visitor clicks on the
thumbnail it opens up a new page replacing the gallery page and the user
must hit the back button to return to the thumbnails.
What I would like is for the selected thumbnail to open up a new page
with the full size picture and have the gallery page still open.
Thank you
Rick Desjardins Tag: SORT BY: Tag: 50772
database location in asp.net
I setup a db web in frontpage 2003. It located the db in the FPDB folder. I
need to tell the code to look at a different directory because the database
has to move to the hosting supplied db folder with apprapro access. Can
someone tell me how to direct my asp.net pages to look elswhere for the db??
Thanks!! Tag: SORT BY: Tag: 50765
Robots: "index,follow"?
I made my website with FrontPage 2003 - http://www.hairloss-reversible.com.
My question, though, has to do with the Discus discussion forum I have on my
site.
Located under Description and Keywords for the ten topics on my discussion
forum is the META tag box with four options. I'd like to know which one is
best and for what reason. There is a radio button before each option:
1. No Setting
2. Do not index page ("NOINDEX,NOFOLLOW')
3. Index page and follow links ('INDEX,FOLLOW')
4. Custom: the field here is empty
Of course I know not to use NOINDEX,NO FOLLOW, but how about the other
choices? Tag: SORT BY: Tag: 50762
Pictures
I am trying to build a web page for Ebay. I need to know how to make a
larger picture from a small picture preferrably in the same brouser.
Currently I use a new brouser to open a larger version. Tag: SORT BY: Tag: 50743
Gif's not showing up on the web
What has suddenly gone wrong that my Gif's and Flash objects no longer show
up on the web? Any help will he appreciated. XP Home and FP 2002 Tag: SORT BY: Tag: 50740
Do I want FrontPage 2003?
I have FrontPage 2002 on a computer that I can use. I want to buy FrontPage
2003 for my own computer.
1. Or do I?
2. Will I find improvements that justify the expense? I'm not a power
user, but am trying to get there.
3. Does it produce faster-to-load, smaller code?
4. I have my own legal copy of FrontPage 2000. I found the box, but the CD
is missing - maybe in one of 75 or so moving boxes in storage. The old
computer I had it on is not worth using now. I did register it, and the box
shows a serial number. Will I be able to install the upgrade version on my
newer computer?
6. How do I ask Microsoft before I purchase the upgrade?
Answers to #1 and #6 would be the most helpful.
TIA, Paul Tag: SORT BY: Tag: 50732
If Then Else
Hi,
On a link that I send users via email I have a code number on the end that
populates a field on the page and that number is fed into a database when the
user clicks the submit button. Properties of this button is "Push Button" &
"Submit" type.
http://www.xxxx.com/survey/users_interface/Results/submission_form.asp?snumber=134
What I want to do is to code the submission_form.asp so that if snumber is
greater than 400 then when the submit button is clicked, I want it to open
http://www.xxxx.com/survey/executive_interface/Results/survey.asp
otherwise I want it to automatically open
http://www.xxxx.com/survey/departmental_interface/Results/survey.asp
I really need help and I need to know exactly where to put the code. Tag: SORT BY: Tag: 50729
Button to create Outlook appointment
Can anyone get me started on how to create a button in FrontPage, that when
clicked, will create an Outlook appointment item for the user?
For example: User clicks button, up pops an appointment item with the
relevant information filled in (time, reminder, location...), they hit save
and close. Viola the appointment is in their calendar.
Using FrontPage 2003, and Outlook 2000, with Exchange 5.5. I am a FrontPage
beginner as far as vbscript programming...
Thanks,
Jim Tag: SORT BY: Tag: 50720
Change default return string
I have a search form that uses Access database as the back end and some of
the form fields are Yes/No check boxes. The default results for these fields
ar "True" and "False" and I would like to change these to read "Yes" and
"No". Is this possible, and how is it done?
Your input would be appreciated. Tag: SORT BY: Tag: 50717
Editable Pages
I have been designing html sites for a few years now but I have a real estate
cleint who wants to add her own listings so that they appear in a category ie
residential. Do I use a database driven website to do this - using an asp
page template? Any tutorials that you can recommend I take so that I know
how to configure it. Also have a rental that wants to add an availability
calendar. Same thing I want her to be able to mark off days on a calendar -
Any suggestions... Tag: SORT BY: Tag: 50715
Drop down List for hyperlinks
New to Front Page 2003 and can't find a refference to this common function.
HELP!!
(Drop Down list displays list of committee names which are hyperlinked to
committee annual reports.) Tag: SORT BY: Tag: 50711
Have Form REsults Rerwite or Replace File, not Append
I would like to have the form results comeback in a new file or replace the
previous entries, not append to it as in the default behavior.
Basically, a user will fill out the form with information, and the
result/confirmation page will show. But when the user comes back to make
changes again, the new information will replace the old one, not append to it.
Can this be done, such as using a new file variable?
Thank you Tag: SORT BY: Tag: 50710
Unable to create a disked based web because its parent web would not be a disked based web
I am running an IIS server and I'm trying to create a new web in the
staging part of that server in Frontpage 2003. I create a new folder
in staging/opened staging in Frontpage/right click to convert to web
and get the error messsage, "Unable to create a disk-based web". I
created the web as a virtual web on the IIS server but still get the
message.
Can anyone help?
thanks
Erin Tag: SORT BY: Tag: 50690
Query
I have used the query designed for the Select All values by using the
wildcard "*" and using the word "contain". The problem that I am having now
is that if I select Virginia, records with West Virginia are showing up. If I
use the criteria using the word "equal" then the select all query results are
not being displayed. Does anyone have any clues? Tag: SORT BY: Tag: 50688
SDK example InitCaps confusion
Hi -- trying to program my first FP2003 web component and I'm very confused.
I'm not using FPSE or anything fancy, just FTP.
Referring to the FP2002 SDK I looked at the Initcaps example. I put that
into the _vti_bin directory of my web, recalculated hyperlinks, and inserted
the webcomponent as described in the manual. I chopped out the preview
paramter from the webbot tag so I can monitor what I'm looking at.
In frontpage, it always shows [SmallCaps]. When I upload over FTP it says
[Frontpage SmallCaps Component]. I even tried some programs of my own,
followed the examples, and the ret.Append("Some sample text") doesn't show
up like in the SDK examples..
I dont understand what I'm missing here. The built-in components like
Navigation render properly in frontpage, and when they're uploaded via FTP
they're static. What is the difference, are the built-in functions setting
the preview property maybe?
Thanks for the help.
-joey Tag: SORT BY: Tag: 50687
Deployed Support
Hey Im a marine with MSSG31. We push out updates for our website but the
thing is, when you open the updated website, it will bring up cached files.
And you have to clear your temporary files then refresh in order for the
webpage to load. Now I know that you have to clear your temporary internet
files and hit refresh, but the common marine mom does not. So she just look
at the page and thinks its not updated. I was curious if there is some kind
of code you add to the script or some way to stop the website from displaying
the the old files. Any help would be greatly appreciated.
Respectfully
Lcpl Martin E Geretz Tag: SORT BY: Tag: 50677
Problems with Response.Redirect() and Frames
Hi everybody...
I've a small problem
I copied a script to manage a Forum and I've adapted to my needs
But I've a problem I cannot solve
While logging out, the script calls page logout.asp
In the bottom of the script there is this code:
<%....
......Response.Redirect("page1.htm")
%>
Well, everything works, but, since I use a Framed pages the behaviour is not
what I was looking for, in the sense that, this page1.htm is not loaded in
the main frame of the existing window (that's what I want), but in a new
window.
I'd like to add something like "Target", but I have no knowledge of such
programming language and I do not know how to do
Can you help me?
Thank a lot
Sergio Tag: SORT BY: Tag: 50676
should the code for my forms have webbot-self
My forms dont work on my server. the tech support thinks the problem is the
WEBBOT-SELF could this be the reason they dont work if so what should it be? Tag: SORT BY: Tag: 50671
Photo Gallery Text
I have Frontpage 2003 (11.6356.6360) SP1. When I setup a photo gallery the
text function does not work. I've used the correct layouts, but it still
doesn't work. My business partner has FP 2003 (11.5...) no SP1 and his works
fine. I have MANY photos to catalog for a client and photo gallery would be
the best. Is there a patch to download? I've already ran a MS check for
updates and I have the latest as far as I can tell -- Is there a patch to
download? What can I do? Tag: SORT BY: Tag: 50667
Adding text from a file to an html page
I want my html page to insert text from another file. Can I do this with html
or Java script. What are suggested ways without going to dynamic pages like
.asp or .php
Thanks Tag: SORT BY: Tag: 50650
Need to check frontpage server extension file in windows xp machin
Hi,
I need to find the version of this file in windows xp machine. I am
wondering, what is the name of the frontpage file name that I need to searc
for with an exe extension.
I appreciate any help in advance. Thanks. Tag: SORT BY: Tag: 50645
Any advantage of doctype?
I created my website, www.hairloss-reversible.com, with FrontPage 2003. I
notice that many websites have a doctype when I click on View Source. Many
have this specific one: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Is there any advantage in putting a doctype at the top of my site in code
view? If there is an advantage, how do I decide on which of the three or more
doctypes to choose from? Tag: SORT BY: Tag: 50643
how do I wrap a paragraph around a picture
I'm trying to offset the words in a paragraph such that they wrap around a
picture. Currently the words are either above or below the picture. I cannot
get the paragraph to continue along side the picture. Tag: SORT BY: Tag: 50640
Tabs in FrontPage
I have two forms and all the tabs work great except for the first one in
each. Should the first tab index number be zero or one? Tag: SORT BY: Tag: 50639
Blocking entry to someone's website
I know this is probably way too much out of the realms of programming, but I
thought I'd give it a try. I am selling stain for my manufacturer at my
website. Is there any way that I can prevent people who visit my website to
go to the manufacture's website to try to get a better deal. Can I program
something at my website to put a block on their browser from reaching
www.xyzcompany.com after they have visited my website?
JimStipe@Hotmail.com Tag: SORT BY: Tag: 50630
Help with sorting Access table using ASP
Hi all
I have been trying to sort an Access table "calendar" by the field
"Date" into ascending order.
I've tried a straight SQL query, but I don't believe my server
supports SQL although they do support ASP.
I've tried using a stored query in Access "Gigdatesort" with no luck.
Is anyone out there who is able to help?
It would be appreciated.
TIA. Tag: SORT BY: Tag: 50629
New Windows Setup - Which comes first, development or application environment?
Hi:
I am going to replace the current primary drive with a new HDD and to
perform a clean installation of Windows XP Pro because the current
environment is getting slower and some components are messed up with
different installation, removal, and updates of applications, Windows
service packs, patches, and development packages.
And based on the past experiences, I figured some problems seems to be
related to the sequence of program installation, such as certain components
have been changed or updated by a application or SDK installed later on but
have not been updated for all other applications using it which eventually
lead to certain problems.
So my question is, after the initial installation of Windows XP and
performed all updates for device drivers and Windows Update, shall I set up
the development environment first or installing applications along with the
environment?
By saying development environment, it was referred to things such as
FrontPage Extension, SharePoint Team Service, SDK, Starter Kits, database,
database components, and/or any other components that will be required to
develop web applications.
By saying applications, it was referred to applications such as FrontPage,
Dreamweaver, Office, and so on.
I understand that some development components also come with applications
and it might be updated when the application is being installed and updated.
But my goal is to minimize the chance of system components being messed up
as much as possible.
Thanks for any advice. Tag: SORT BY: Tag: 50608
US state listings in drop down list box
I am trying to add a simple drop down list box to my site that lists all the
US states.I can't find any code anywhere and I know it must exist in some
form somewhere. Help!!!! Tag: SORT BY: Tag: 50601
default folders
Using XP Pro and FrontPage 2002. By default Windows sets up a default folder
"My Webs" which is used exclusively by FrontPage. I also use Publisher 2000
for quick simple websites. I have chosen to keep all my sites in 1 folder on
another larger drive and named it "My Webs". Moved all sites to new folder
leavingthe default windows folder "My Webs" empty except for a shortcut to
the new "My Webs" folder on the larger drive. Now when opening FrontPage 2002
I not only do not see any folders or sub folders there, it doesn't even show
the short cut I created. I can still access them by using the Open Feature.
Even the Open last web Feature doesnt open them. I do not want to import all
of the folders cause my default drive is small and I want to keep it that way
for security reasons. Besides I administer 22 different websites and you can
imagine how much room that takes. Also if I were to import the folders any
changes made in Frontpage are not updated in the Publisher folders. They are
duplicated by the import and not linked for updating. I am not a program
Developer so how do i go about changing the default folders in FrontPage
2002. Ps..Changing the Default folder for the templates worked fine. Just
need to change the main default opening folder.
--
There are no dumb questions, only unanswered one! Tag: SORT BY: Tag: 50600
Thumbnail text
I'm running Frontpage 2003 and I'm trying to attached text to a thumbnail in
a photo gallery, but the text will not post under or next to the picture.
I've tried several different layouts. The website is located on a Unix
serer, could that be the problem and are there any work arounds? Any ideas? Tag: SORT BY: Tag: 50595
Can I copy and use FP2003 files in FP2002
I may have to obtain a copy of FP2002 to get away from my problem in 2003. If
so, will my FP2003 files publish ok in FP2002? Tag: SORT BY: Tag: 50594
Please critic this Site: www.centro-cultural.org
Any help will be greatly appreciated!!!
I have no idea about "html" & web design and with FP2002 first and
2003 now, did my personal www.aguayogallery.com and now helping this
non-profit cultural group www.centro-cultural.org; that I just
published yesterday. I used and modified some Templates, however
couldn't design as knit as I want; lack of expertise on controlling
text formatting, (they don't move as I want, tables that perhaps has
Tags that not allow to move, etc.) Need a lot of clean up. I left a
couple of "Buttons" to Link to New Pages.
If you can suggest anything to make it better will be greatly
appreciated!
Thank You!
Ricardo
raguayo@belsouth.net Tag: SORT BY: Tag: 50591
checkboxes come up checked already
Using ASP.Net since I can't get ASP to work in FP2003. The form that contains
checkboxed already have been checked off. How can I have it so by default
they are unchecked?
Thanks for your help Tag: SORT BY: Tag: 50590
form w/action
Hi,
I using a form which I would like to send to a php script. The form write
some cookies, which when checked, have been written correctly. Now using
<form method="POST" action="scripts/WebContractor.php" id="bizinfo">, I
would like to have the php script mail this info. Instead, I receive a
dialog box warning me that downloading this file can be dangerous.
Any ideas?
TIA
<?php //this is the WebContractor.php file
$Bizname = $HTTP_GET_VARS['BizName'];
$BizAddress = $HTTP_GET_VARS['BizAddress1'];
$BizAddress2 = $HTTP_GET_VARS['BizAddress2'];
$BizCity = $HTTP_GET_VARS['BizCity'];
$BizZip = $HTTP_GET_VARS['BizZip'];
$BizWorkPhone = $HTTP_GET_VARS['BizWorkPhone'];
$BizHomePhone = $HTTP_GET_VARS['BizHomePhone'];
$BizCellPhone = $HTTP_GET_VARS['BizCellPhone'];
$BizFax = $HTTP_GET_VARS['BizFax'];
$BizEmail = $HTTP_GET_VARS['BizEmail'];
$rec_email = "just.testing@thewrongplace.com"; // send this email to myself
$subject = "Contractor Liability Form (Web)";
// make it pretty
$msgInfo = "<html><head></head><body>";
$msgInfo = "<font face=\"Microsoft Sans Serif\" size=\"2\">";
$msgInfo .= "<hr width=\"100%\" size=\"1\" ><br>";
$msgInfo .= "<b>Bizname:</b> $Bizname<br>";
$msgInfo .= "<b>Address:</b> $BizAddress<br>";
$msgInfo .= "<b>Address2:</b> $BizAddress2<br>";
$msgInfo .= "<b>City:</b> $BizCity<br>";
$msgInfo .= "<b>Zip:</b> $BizZip<br>";
$msgInfo .= "<b>WorkPhone:</b> $BizWorkPhone<br>";
$msgInfo .= "<b>HomePhone:</b> $BizHomePhone<br>";
$msgInfo .= "<b>CellPhone:</b> $BizCellPhone<br>";
$msgInfo .= "<b>Fax:</b> $BizFax<br>";
$msgInfo .= "<b>Email:</b> $BizEmail<br>";
$msgInfo .= "</font></body></html>";
$header_info = "MIME-Version: 1.0\r\n";
$header_info .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header_info .= "From: ".$name." <".$email.">";
mail($rec_email, $subject, $msgInfo, $header_info); // mail it
?> Tag: SORT BY: Tag: 50585
How do I force a users browser to load newest version of page?
How do I force users browser to reload newest version of a page? I am
using FrontPage2003 and update my pages sometimes 3 and 4 times a week.
Viewers complain that they are seeing the same old info because they
don't realize they need to hit the refresh button on their browser. How
can I have the page check to see if it's a newer version than the one in
cache and force the browser to load the newer page? I do use the insert
date and time feature on the top of the page. Tag: SORT BY: Tag: 50580
How do I force users bowser to reload newest version of a page?
How do I force users bowser to reload newest version of a page? I am using
FrontPage2003 and update my pages sometimes 3 and 4 times a week. Viewers
complain that they are seeing the same old info because they don't relize
they need to hit the refresh button on their browser. How can I have the
page check to see if it's a newer version than the one in cache and force the
browser to load the newer page? Tag: SORT BY: Tag: 50576
Incorporating Visual Basic code on a website
If I own FrontPage 2003, can I write and deploy Visual Basic code blocks to
my website?
Or do I have to purchase Visual Studio or Visual Basic .NET 2003? Tag: SORT BY: Tag: 50574
Data View Web Part - conditional formatting
I have a data view web part where I want to set conditional formatting on an
entire row. Basically, if the first column of that row contains the word
'TOTAL', I want the entire row to be italicized and have a background color.
Is there any way to force the conditional formatting to be applied to the
entire row? Tag: SORT BY: Tag: 50567
Error when creating interactive button
Creating an interactive button, I'm having trouble saving all the different
states (jpeg's) for the button. Instead, only one image-file is created.
--
df Tag: SORT BY: Tag: 50566
RSS News feed
I have inserted a news feed on my website, but I'm trying to only display a
few lines from the news feed. Currenlty, I am displaying 7 articles and I
would only like to display 3 articles then have the user go to another page
to view all 7. Is that possible. Tag: SORT BY: Tag: 50559
included content corrupting site
I have standard included content (e.g. included files or navigation bars) on
my and my clients' websites us MS FrontPage 2003. Suddently, this content
seems to corrrupt the website, resulting in a site-within-a-site.
Currently, my own website is corrupted: www.webuilder.co.il. However, if I
remove the navigation bar from the left, it will look perfect. I also had
included content which caused the same results. Other sites are causing me
similar problems.
I have fixed FP extensions, recalculated links, detected & repaired, updated
via office update, and nothing seems to help. Of course, the site looks
perfect in the FP editor, both locally and on the host. Only when viewed in
a browser does the site look crazy.
Thank you for any help you can offer!
Lev Tag: SORT BY: Tag: 50549
Pop-Up Browser Window
I am using the FrontPage.... Format, Behaviors, Insert, Open Browser
Window... feature to make hyperlinked pages open in a seperate window at a
certain size... the only problem is that no one knows they are hyperlinks
because NO FINGER appears when the mouse is over the hyperlink... HOW DO I
GET A FINGER? I have tried to add a regular hyperlink in addition to the
behavior setting, but end up getting multiple windows opening... is there
something I can add to the insert or is there some Code that I can use in
place or in addition to the behavior?
Thanks Tag: SORT BY: Tag: 50548
Pop-Up Windows - Specific Size w/Finger
I am using the FrontPage.... Format, Behaviors, Insert, Open Browser
Window... feature to make hyperlinked pages open in a seperate window at a
certain size... the only problem is that no one knows they are hyperlinks
because NO FINGER appears when the mouse is over the hyperlink... HOW DO I
GET A FINGER? I have tried to add a regular hyperlink in addition to the
behavior setting, but end up getting multiple windows opening... is there
something I can add to the insert or is there some Code that I can use in
place or in addition to the behavior?
Thanks Tag: SORT BY: Tag: 50547
I WANT TO PUT IN MY WEBSITE A SORT BY DROP LIST AND I
DONT KNOW TO DO IT I NEED HELP AND ALSO HOW TO PUT IN A
NICE SEARCH BOX SO ANYONE COULD SEARCH MY ITEMS