Front page 2003: how to line up forms vertically - frontpage

I am trying to creating a form on Frontpage 2003 and right now all my boxes are all over the place, as shown below:
Name: [----]
Email: [----]
I want the boxes to be like this:
Name: [----]
Email: [----]
I have tried using table to line up the boxes but when it come to giving an ID using the 'Lable' on the 'Form' tool bar by highlighting the text box and 'Name', the table get highlighted and wont create an lable.
I just want to line up vertically all the boxes and i am new to web design so i dont understand much about HTML or CSS. I dont think Frontpage 2003 has CSS.
Can someone tell me how to line up all my boxes. Many thankz

First, stop using Front page 2003. Download Microsoft Web Developer Express 2010 for free from here:
http://www.microsoft.com/express/downloads/#2010-Visual-Web-Developer
Second, take a look at this resource which will show you how to use CSS with forms:
http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml

Related

Insert javascript code in a list form.

I have a list, and want to insert custom javascript code in a new form for this list (when form loaded). For example, when new form for this list is opened, I want to make some layout modifications for this form.
How it can be done? And how many ways exist to achieve this?
Thanks.
Upd: I ask about SharePoint list, and SharePoint list forms, I suppose you look at the tags of the question :).
You put tags for both SharePoint 2007 and 2010 and the methods are a bit different.
I agree with the previous post that with SP2010 you can simply use InfoPath designer for form design and do whatever you like to the look.
In SharePoint 2007, there are a couple ways incuding using SharePoint Designer, editing the form .aspx file, hiding the out of the box form and inserting a custom form which you will then be able to edit. You can also add in JavaScript code there as well.
My preferred method if you are just making some visual modifications is always JQuery which you can add in to a content editor and you can look for the particular tags surrounding rows or columns and attach to them and make your changes.
I think your question and tags need further clarification to get an articulate answer from anyone that will actually help you.
You can edit the layout using InfoPath 2010 like described here:
http://office.microsoft.com/en-us/sharepoint-designer-help/edit-list-forms-using-infopath-2010-in-sharepoint-designer-HA101631624.aspx
If you've got the SP2010 Foundation or SP2007 version, you can create custom list forms using SP Designer which gives you the option to do whatever you like since those are .aspx files.
http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-custom-list-form-HA010119111.aspx
You can also edit the aspx List form in SP designer. To add Javascript or jQuery you should create a form for New in PS design then edit in Advanced mode to insert your Javascript in the proper place. There are many tutorials on the Web that talk about this... Also, you can add content editor webparts to the new aspx page where you can insert your Javascript or jQuery.

How do I add multiple hyperlinks in a Label control in Windows Forms in Visual Basic 2008

In a label box, I want to list a couple of websites, email address along with some text. How do I go about it?
Potential uses-
As a Help > About dialog box where websites, email of the author can be listed.
Why?
To make things as easy as possible for the user, and encourage visiting of the mentioned websites.
Simple text will be ignored, while standard blue color, underlined text with hand mouse-cursor will need no thinking on user's part.
The LinkLabel.Links property gives you the ability to add multiple links.
To quote the page:
A LinkLabel control can display any
number of links within the text of the
control.

ReportViewer: two text colors, one cell

Is it possible to have 2 areas of text in one cell such that each can have a different color? You can do this in crystal reports but I cannot see a way to do this in ReportViewer. What it is doing is essentially highlighting an important text fragment if it appears in a cell description to draw the users attention. I am fairly new to reportviewer so it for now I am assuming it's my lack of knowledge that is making this difficult. I am using VS2010.
Thanks.
Turns out VicarlnATutu wasn't quite right.
You can do this, but only if you are using VS2010 (which I am) because it includes the new SSRS rendering engine for SQL-Server 2008. This allows you to put some basic HTML into a field and have multiple formats in one cell. For more info see below:
http://msdn.microsoft.com/en-us/library/cc645967.aspx
http://msdn.microsoft.com/en-us/library/cc627491.aspx
One thing that tripped me up is what they call a 'placeholder' in the MS documentation is the little bit of text inside the textbox control that shows up by default. You can select two different things on the control in VS2010. One is the textbox itself. Right clicking on the textbox gives you 'text box properties'. The other thing you can select is the default text INSIDE the textbox. Right clicking on this 'placeholder' text gives you a different context menu where you can select 'placeholder properties'. This is where you can change the cell to accept HTML.
No, unfortunately not. I don't know if there are custom controls out there for ReportViewer, but the built-in TextBox only supports setting color (be it Foreground or Background) for the entire thing.
ah, good to know. kind of a unintuitive way to tell a TextBox to display HTML, but nice to know that you can!

Creating a web chat facility in visual studio 2008 using Visual Basic

I am creating a web chat facility in visual studio 2008 using Visual Basic,I want to be able to highlight certain keywords that are sent and received to each user, can someone please tell me how I can do this? Thanks in advance
If you're creating an Asp.net app. with VB.Net then here's something you can do:
1. On your page you may have a textbox (where the user types the text for chat) and there may be a "Send" button that postbacks the page.
2. On click of "Send", pick the text from the text box and search for your keyword, you may do something like this:
if(txtChat.Text.Contains(keyword_string)) {
//Highlight the text ---
}
else
{
//Send logic
}
You can put the if/else in a loop if you wish to scan multiple values from the db.
As for selecting the text, it's a tricky part and I myself haven't found a simple way to select partial text in an Asp.net textbox. Here's are a couple of links discussing alternate ways to perform this:
http://forums.asp.net/t/1520680.aspx
http://bytes.com/topic/javascript/answers/167174-highlighting-part-text-text-box
If it's possible you can show the words separately in a label beneath the textbox.

Display HTML page in Office 2003 or 2007 task pane via VBA

Is it possible to display an HTML page in an Office 2003 and/or 2007 task pane via VBA?
Background: We have a complicated configuration file that our users maintain in Word (using a real editor is not an option for our audience).
We would like to create several toolbar buttons that display a basic HTML page in a task pane as a form of online help for our users.
The reason we want to use a task pane to display help (vs. an external browser or traditional help engine) is so that the help content is "embedded" in Word vs. displayed via a seperate application. The problem with using a regular browser or help engine to display help is that users have to manually size and position both applications so that they can see them simultaneously and its very easy to "lose" one application when togging between many applications.
We don't want to go down the route of writing a VisualStudio based task pane component - we want to keep things simple (KISS) and encapsulate everything in an easy to distribute Word template file (.dot or dotx.).
Suggestions?
Yes it is possible, see this blog for detailed steps in creating the custom task pane in Excel 2007.
http://blogs.msdn.com/gabhan_berry/archive/2008/08/13/custom-task-panes.aspx