Pages

Search

Microsoft Word - VBA Module "in two places"

Microsoft Word - VBA Module "in two places"


VBA Module "in two places"

Posted: 13 Mar 2014 03:26 PM PDT

My Word application has two templates which are identical except that one is US English and the other is UK English.  So far everything has been OK because all my VBA code has been stored in Normal.dot.

Now I am trying to get my head around Modules, because I'd like to be able to distribute these templates in the future.

Can I make a Module in some way "appear" automatically in both templates and have any VBA code changes I make in one automatically reflected in the other? Actually I only need this during development, but it might be generally useful.

Send to Mail Receipient button in Quick Access Bar grayed out

Posted: 13 Mar 2014 03:05 PM PDT

I have MS Office Home and Student Version 2010. I  am trying to send a Word document in the body of an email. The document contains a photo. I customized the Quick Access Toolbar to add the command "Send to Mail Recipient". When I open the Word document I want to send, the Send to mail recipient button is grayed out.  I went into control panel and did a repair on the MS Office Student and Home, but the command is still grayed out. How can I get this to work? Also does this command work for other formats such as PDF or XPS documents? Thanks. *** Email address is removed for privacy ***

default document properties

Posted: 13 Mar 2014 03:02 PM PDT

Hi,

I would like to ask a couple of questions about setting default document properties. (1) I would like to set "subject" field to a default  value of MLSC 1115. Can I do this or do I have to edit that field every time I create a document? I know that some of this needs to be done by a registry edit, but I can't find "subject" in the registry. 

(2) what is the proper way to enter my degrees after my name in the author field? Everytime I try to do this it thinks I am trying to enter multiple authors. For example what if I wanted my name to appear as: Joe blow BSc, MSc, MD ?

Thanks. Tom

Linked Word/Excel: Changing Excel Source File path

Posted: 13 Mar 2014 02:58 PM PDT

Greetings,  

I use a linked word/excel document with 140 or so linked places.  When I email the Word and Excel or move them to a new location, the links no longer work (of course).  The way I change it is hitting Alt-F9 then Find/Replace the file name for the old excel document with the file name for the new excel doc.

So the excel name when I hit Alt-F9 is something like: C:\\Users\\vm\\desktop\\template\\template.xlsx.  

Is there somewhere I can go that shows the source path for the Excel document that uses two backslashes like the above?  Currently, I right click on the Excel file, click Security, then copy the "Object name".  However, that only includes one backslash (i.e. it would be like the above with single backslashes: C:\Users\vm\desktop\template\template.xlsx), so then I have to add a second backslash when I paste to the find/replace box in my Word document.  A minor inconvenience, but I thought perhaps there is a way around it...

Thanks in advance!


Linked Word/Excel: Want to Highlight all linked text

Posted: 13 Mar 2014 12:59 PM PDT

Greetings,

I have a Word document that has about 140 sections linked to Excel.  I want to be able to highlight all 140 places quickly (they are generally a few words or numbers long).  How can I highlight all linked sections quickly and easily?

Thanks!

Underlining tab in numbered list

Posted: 13 Mar 2014 12:59 PM PDT

Hi,

I can't seem to find a way to underline the tab between the number and the title in my automated list.

It used to be in the 'Options', 'Advanced options' menu in Word 2007, but Word 2013 doesn't have it.

My lists all look like this:

1.  First Title

2.  Second Title 

But they should look like this:

1.  First Title

2.  Second Title

Anyone know how to do it?

Legal size document that will only come up as Letter size on a legal document.

Posted: 13 Mar 2014 12:22 PM PDT

 I have removed Header and Footer and set the page as Legal, however the text is still on the page as if it were a Letter document. I cannot get it to pull the text up from the next page.

Passing arguments to Word Starter 2010

Posted: 13 Mar 2014 11:09 AM PDT

Hello there.

I need to pass an argument to open a file with Word Starter 2010. I see that the application launching Word is CVH.EXE which take a string as argument:

 "C:\Program Files (x86)\Common Files\microsoft shared\Virtualization Handler\CVH.EXE "Microsoft Excel Starter 2010 9014006604090000" 

I tried to make a batch file adding %1 to the string:

word.bat:

@echo off "C:\Program Files (x86)\Common Files\microsoft shared\Virtualization Handler\CVH.EXE "Microsoft Excel Starter 2010 9014006604090000" %1

echo on

if I pass the absolute path it works:

  • word.bat c:\documents\document1.doc

but if I pass the RELATIVE one, it doesn't

  • word.bat document1.doc

since for some reason it adds "c:\windows\" to the path and Word Starter 2010 says: "impossible to open c:\windows\document1.doc".

Is there a way to get rid of this problem? Thanks you all in advance!

How to change a color within a style?

Posted: 13 Mar 2014 10:42 AM PDT

hen I change the color selection within a style, it shows all of the colors in the "palette" but for a given style, I can't seem to change.  What I'm looking for is the ability to change the color to another within that palette.  I can change the font color, but some have background colors as well that I can't seem to change - screen print below, hopefully will clarify.  Thanks in advance!

Word 2013 Zoom feature

Posted: 13 Mar 2014 10:29 AM PDT

With previous versions of Word, if I zoomed out to 10% I received an application window like the following.

Now with Word 2013, I get something more akin to this,

Is this a limitation of my video card or simply the new way of doing things? Is there an option that I can set to receive the older arrayed display of pages? Does it have to do with Word's close association with OneDrive?

Not a deal breaker but I'd like the old array of pages back.

Edit Header Causes Header to Disappear

Posted: 13 Mar 2014 09:55 AM PDT

I have a Word document that includes headers and footers. I normally work in Print Layout view and can see the Header and Footer text in this view. They are also visible in Print Preview and on the printed copy. When I try to edit the Header or Footer, the text disappears. If I click Show/Hide, a single paragraph mark is displayed.

Any ideas?

How to stop Word 2013 from autocorrecting my words

Posted: 13 Mar 2014 09:06 AM PDT

I'm using Word 2013 on a Windows Surface RT (8.1) and finding Word 2013 extremely annoying. The autocorrect function is causing unnecessary headaches. I'm a writer of historical fiction, so I'm using some foreign terms. Word 2013 corrects every single one of them, no matter how many times I hit undo or have disabled every aspect of autocorrect that I can. I would appreciate any assistance on how to prevent Word 2013 from making a mess of my manuscript.

Unable to make MS OFFICE 2013 background permanent...

Posted: 13 Mar 2014 08:31 AM PDT

I frequently use word, power - point and the others, so, I need a change now in the office. As a result I was customizing word. Whenever, I select the "background" into an option like - "Calligraphy" it gives the background for a time being, but as soon as I closes word the background is turning to "No background". How to make this change permanent??? Please help.....

Divide Landscape into 2 pages

Posted: 13 Mar 2014 08:27 AM PDT

Hi all and thank you for your help.

I need to print programs for a sports event.

A4 Landscape

How do I divide the page in 2 x A5 pages so that I can add content onto both sides as if it was 2 x A5 pages?

Please help me out.

I need to replace a strings of two characters with one exotic Unicode character. Doc is 700,000 words

Posted: 13 Mar 2014 08:26 AM PDT

Greetings. I have a 700,000 word document which uses two character combinations such as s* or i^ to stand for an s with a dot underneath or an i with a macron (line) above it. There are sixteen different combinations which exist throughout the document (upper case and lower case transliterations for foreign alphabet characters). I want to replace each of the sixteen different two character stand-ins with the correct Unicode character for each of the sixteen cases. The Unicode characters exist. I realize it will take sixteen operations. What is the procedure for each of these global replacements?. While we are at it, I also need to change 1,600 words, all different, scattered throughout the document which have a code at the beginning of the word and at the end, a code which may be customized as needed, these words I need to change from normal typeface into BOLDFACE (without manually changing each one.) Can this be done within Word or is this a manipulation to the file outside Word? I actually write in a DOS processor and these files were converted to RTF to be read by Word. Now I want to take the final step and use the possibilities of WORD to make a more sophisticated publication ready document. Thanx

BOOK BINDING LAYOUT

Posted: 13 Mar 2014 07:56 AM PDT

Dear Sir,

   I am approaching your goodself for a help to sort out a problem being faced on MS word 2013 involving page layout. I want to convert a document in A4 size to book form. But on choosing book form option and 'Auto' for 'sheets per page', print out becomes too narrow consuming extra pages(scanned copy of print out sample attached for your ready reference). I have tried to decrease the margins by changing gutter but this decreases inside margin thereby shortening binding space. I have searched the net also but did not get a suitable solution.

What should be the ideal margins and how are the normal margins related to those for book form? What is the function of sheet per page?

So I request you to kindly offer your expertise so that I can print the book with a proper layout having smaller but suitable margins.

Thanking you and expecting your help and co-operation at the earliest.


R K Bhattacharyya


Word section breaks to force pages

Posted: 13 Mar 2014 07:54 AM PDT

Hi there

How would I force a particular page of a document ie. the first actual page of a document after cover and index, to always print on the right hand side (or always the next odd page of the whole document).

Odd page section break is not the thing as it is already an odd page as I insert a next page section break and restart page numbering so it is always page 1 of section 2 or 3.

The problem is we have started printing all documents double sided and if the contents run over more than 1 page then we end up with the actual first page of the document printed on the back side of the contents page which is not acceptable.

Is this possible at all please anyone - I have really struggled with this!

I don't seem to be able to do it with section breaks - what about an escape code or something that inserts a blank page (preferably not visible to the users) if the last page of section 2 is odd so it misses a page then starts on the next odd page (f the whole document).

I can't believe this has not been done already and would appreciate some guidance.

Many thanks

GwenR

Mail Merge and Printing

Posted: 13 Mar 2014 06:56 AM PDT

Hi

I have to create lots of mail merged letters and each batch will have the same number of pages but each batch can have a different number of pages depending on the letter at the time.

I need to have the first page as letterhead and all other pages as plain paper. These will all be single sided sheets.

I have set up our printer as shown in the attached image with Drawer 3 being letterhead and other drawers are plain paper

eg I currently have a 1 page document with 20 merged names and addresses so in this instance every copy should be on letterhead. I have tried various permutations of p1s1-P1s20 or P1s1-P20s20, etc and i get one page on letterhead and the rest on plain paper

Similarly if i had 20 x 3 page letters I need Page 1 from each letter on letterhead and Pages 2 and 3 on plain paper.

Can anyone assist with this please

Regards

John

Remove Text from Chapter heading

Posted: 13 Mar 2014 06:21 AM PDT

I am creating a document that includes importing other documents, 1 of these has text in the Level 1 headings, for example: Section 1 Start of Day Session 

How do I remove the word Section for the heading? I have opened the Styles option to remove but can find where I can do this. Any help is appreciated.

Thanks Jimmy

Word Mail Merge - Embedded hyperlink not working in IF Formula

Posted: 13 Mar 2014 06:18 AM PDT

Hi,

I have add a hyperlink to an IF formula within a mail merge, but once I press AltF9 to return to the actual letter the hyperlinks aren't active links. Please could you advise me on why this might be.

Thanks in advance

Amending spelling corrections

Posted: 13 Mar 2014 05:56 AM PDT

I have, by mistake, added "taht" to my dictionary, by clicking "Add to Dictionary" while using the spell checker.  How do I get it out of my dictionary again?

2 table of contents in 1 document and problems for a heading style to be recognised in both

Posted: 13 Mar 2014 04:01 AM PDT

I am having problems to define, in the same word document, a general table of contents and a table of contents for an appendix.

First, I defined a new heading style for the appendix, to use an A before the number of the appendix and to be able to start from 1 again (I.e.: A1-1. INTRODUCTION).

Now I have two table of contents, one at the beginning, and other for the appendix (bookmarked section). I marked headings in the appendix with the "Add text" command (Menu References) and they show up in the general table of contents, but they do not show up in the table of contents of the appendix. I have no idea what should be done, since I've tried to do something and the only way for the text to appear in the appendix table of contents seems changing headings to a general "Heading 1" style. Of course I want to use my own "HeadingApp 1" style, which appears with no problem in the general table of contents.

Please someone lightens me and tell me which is the problem with adding table of contents, applied to one bookmarked section.

Thanks in advance!!

Comments showing as 'Administrator'

Posted: 13 Mar 2014 03:49 AM PDT

There are a number of us working on a document and we tend to use comments within the document in Word.  There is a mix of Word 2010 and Word 2013 working on the document.  When we make comments two editors (one Office 2013, One 2010) have their comments shown with their names and two (again one 2013, one 2010) have their comments shown as 'Administrator'.  This is in a work environment with full domain authentication, and at the top right corner and in File>Account of Office 2013 it is showing the correct user information.

This causes issues on working out who's made which comments, can anyone shed any light on this, and how we may potentially fix it?

Laurie

Two or three-column footnotes in a one-column page layout

Posted: 13 Mar 2014 12:09 AM PDT

My page layout is single-column and I want it to be that way; but, as the text has many short footnotes, I want them to be in two or three columns. Is this possible, if so, how?

How to colour edge of page (Strip) in Word

Posted: 12 Mar 2014 10:07 PM PDT

Hi Everybody,

Office word 2010

Win 7

i want to colour out side margin

as like in

here combination of grey & Light blue Strip

Plz. Suggest

Thanks in advanced

Ravi Vare

Can't open document due to unspecified error after using equation editor. Please Help!!

Posted: 12 Mar 2014 08:47 PM PDT

Hello computer experts,

I have been working on a file for a very long time. I used quite the equation editor a lot and I have a feeling this is the problem. Before it shut down, I was not able to scroll to the last page for some reason.

Now I have the error: 

The file *file name* cannot be opened because there are problems with the contents unspecified error change.

When I click details, it says: 

Unspecified error

Location: Part: /word/document.xml, Line:2, Column: 74774 

I have uploaded the file to 

https://www.dropbox.com/s/13weh7hhuaofe3a/lab%20ia%20svistovitch%20boiling%20point%20of%20salt%20water%202014%20grade%2012.docx

My attempt at solution: 

I have looked into xml files and used notepad++. However, I  have no clue what I am looking for/looking to erase. 

I use Microsoft 2007 if that helps

Thanks, 

Tiffany

Deleting not needed lines in a numbered list in forms in Word 2003

Posted: 12 Mar 2014 08:18 PM PDT

In one part of my form there's a list of attachments.  This list is automatically numbered followed by whatever the corresponding attachment is ie

Attachment 1 Briefing Documents/Package

Attachment 2 Initial Project Report

Attachment 3 Project Program

Attachment 4 Environmental Checklist

Attachment 5 Photos

(My list allows for 16 attachments).

If the user isn't intending to include the particular attachment, he/she deletes it but this leaves "Attachment x" and the rest of the line is blank ie

Attachment 1 Briefing Documents/Package

Attachment 2 Initial Project Report

Attachment 3

Attachment 4

Attachment 5 Photos

What I need is this:

Attachment 1 Briefing Documents/Package

Attachment 2 Initial Project Report

Attachment 3 Photos

Can this be done and if so, how do I do it?

Add Word Table with Formatting

Posted: 12 Mar 2014 08:18 PM PDT

Hi,

I would like to use a Macro to create a new Table with formatting.

Here is what I would like to do, I have split is into 2 parts, but if it is better to only use 1 part then that is fine...

Macro Name = Add_Programme

Ask Questions:

1. Please enter the Programme Name: {ProgrammeName}

   Default = Programme Name

2. Please enter Season Number: {SeriesNumber}

   Default = n

3. Please enter total number of Episodes: {TotalEpisodes}

   Default = 1

Then…

Goto End of Document [CTRL+END]

Line Feed/Chr(11) [Count = 3]

Table = 4 Rows by 3 Columns

Table Alignment = Center

With this formatting:

Row1 ~

        Height = 1cm

        Merged (3 Columns)

        Width = 5.74cm

        Text Style = Heading1, Programme Name

        Fill = 8 to Right, Down 1 <Any Colour will be fine, as I can just change the number to my colour>

        Text = {ProgrammeName}

        Top/Bottom = Centred

        Left/Right = Centred

Row2 ~

        Height = 0.6cm

        Merged (3 Columns)

        Width = 5.74cm

        Text Style = Sub-Title

        Fill = 7 to Right, Down 1 <Any Colour will be fine, as I can just change the number to my colour>

        Text = "Season " & {SeriesNumber}

        Top/Bottom = Centred

        Left/Right = Centred

Row3 ~

        Height = 1cm

Column1 ~

           Width = 1.74cm

           Text Style = Sub-Title

           Fill = 7 to Right, Down 1 <Any Colour will be fine, as I can just change the number to my colour>

           Text = Episode

           Top/Bottom = Centred

           Left/Right = Centred

Column2 ~

           Width = 2.6

           Text Style = Sub-Title

           Text = "Recorded" & Chr(11) & "Date"

           Top/Bottom = Centred

           Left/Right = Centred

Column3 ~

           Width = 1.4cm

           Text Style = Sub-Title

           Text = Seen

           Top/Bottom = Centred

           Left/Right = Centred

Row4 ~

        Height = 0.5cm

Column1 ~

           Text Style = Episode

           Text = 1

           Top/Bottom = Centred

           Left/Right = Right

Column2 ~

           Text Style = Recorded Date

           Text = ""

           Top/Bottom = Centred

           Left/Right = Centred

Column3 ~

           Text Style = Seen

           Text = ""

           Top/Bottom = Centred

           Left/Right = Centred

So I get the following table:

Place Cursor into the final Cell (Row4, Column3)

Then "Insert Rows Below" using ({TotalEpisodes} - 1)

And enter text as 2 to {TotalEpisodes} from Row5 to {TotalEpisodes}

So I get the following table if {TotalEpisodes} = 4:

Thank you in advance,

Neil

using word 2013 when printing a table I have to reset "list markup"

Posted: 12 Mar 2014 06:16 PM PDT

After typing a 3 column table when I try to print it the pre-print shows a smaller table with the right side having a rectangular  "grey scale" area and if I continue by clicking print this is the way it prints (smaller with the right side having a grey scale rectangle). if I select "settings" "document info" drop-down shows,

"print markup" checked. if I uncheck it the table becomes normal size and prints ok.

how can I remove the "print markup" 

Show built in style

Posted: 12 Mar 2014 04:30 PM PDT

I frequently use the Heading 4 built in style. However, only Headings 1, 2 and 3 appear in the style list. How can I make it always appear in the list?

French proofing tools

Posted: 12 Mar 2014 04:11 PM PDT

I need to add French proofing tools to the English version of Office 2013 which I purchased today

Need Help with Mail Merge to Email in Office 2007 and Windows 7

Posted: 12 Mar 2014 03:51 PM PDT

I'm using Office 2007 and have lots of work experience using the mail merge to directory, letters and email. I haven't figured out how to make the merge to email work for me on my home computer. I use yahoo and gmail. I've tried to set up Outlook but it's still not working. Can anyone point me to something that will help me set up Outlook to work with the mail merge?

MS Word Tables

Posted: 12 Mar 2014 03:37 PM PDT

Hi Guys,

Just wondering how to change cell margins for single cells instead of all cells.

Thanks in advance.

Dual-boot machine dies after SUSE install - Forums Linux

Dual-boot machine dies after SUSE install - Forums Linux


Dual-boot machine dies after SUSE install

Posted: 31 Dec 2005 11:37 AM PST

In comp.os.linux.setup Peter T. Breuer <it.uc3m.es>: 

[ system comes to a grinding halt unexpected ]
 
 
 
 

Indeed! CPU fan sounds like the closest from the OP, well
spotted!

BTW
Guten Rutsch!

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 229: wrong polarity of neutron flow

Windows XP upgrade

Posted: 30 Dec 2005 04:04 PM PST

On Sat, 31 Dec 2005 00:04:54 +0000, Ed Doyle wrote:
 

It's pretty much certain that a new Windows install will over-write the
MBR. So you'd then have to boot off something else ( rescue cd, boot
floppy, etc. ) and reinstall/initialize grub. Personally, I like tomsrtbt
- http://www.toms.net/rb/
knoppix also makes a very good rescue tool. I'm not all that familiar
with fedora, but older redhat cd's used to be able to do rescue functions.
 

I have done it a while ago, although I was using lilo as the boot
loader, not grub. You'll also find tons of hits if you google things
like "grub reinstall windows" or similar.
 

If your current Windows installs and linux are on the same physical
disk, and you change the partitioning for windows, this will change the
way the linux partions are numbered...So you'd have to again use a boot
cd/floppy and change your fstab to match the new disk layout. If Linux is
on a different physical disk, or if you left the partioning as-is for
Windows and simply formatted + reinstalled, this wouldn't be an issue.

Make sure you can boot from cd/floppy *before* you mess with
anything.
Make a note of the current disk layout for Linux...Where / is, where your
swap is, etc. Like hda5, hda6, whatever.
Backup whatever is important.
Make sure when (re)installing Windows you are *sure* you
are using/formatting only the windows partitions.
After the WinXP install, boot from cd/floppy, and check what the Linux
partions are seen as now. If they're different, you'd have to edit your
fstab to match, edit your grub config, then reinstall grub. After that,
you should be fine.
IMHO, I think it's better to use seperate physical disks for different
OS's, whenever possible.

--
- Matt -

Simple one: How to set a static IP address?

Posted: 30 Dec 2005 07:51 AM PST

Thommy M. wrote: 
You could do it the simple way and go to
system-->Administration-->Networking
and change it from DHCP to static.

Herbert.

CD Drive not being recognized

Posted: 30 Dec 2005 07:42 AM PST


"Ken K" <headfog.com> wrote in message
news:Ruxtf.1810$.. 

It depends on the OS. Recent RedHat releases detect it with Kudzu and
possibly other tools, and put in entries in the /etc/fstab corresponding to
/media/cdrom/ or /media/cdrecorder/, which refer to appropriately generated
/dev/cdrom or /dev/cdrom1 devices. They've gotten very clever about it!


[help]linux and my webcam

Posted: 30 Dec 2005 01:35 AM PST


"Michael Heiming" <michael+heiming.de> wrote in message
news:heiming.de... 

And if this drives you insane, in the short term, you can also set up an
init script like those in /etc/init.d to load it or not depending on the run
level. I've done this with ide-scsi drivers because I didn't *WANT* ide-scsi
on all the time, it messed with an old system, but was required by old
versions of cdrecord. So I'd use the init script or not depending on what I
was up to.


Moving harddisk with Linux installation to a different machine.

Posted: 29 Dec 2005 07:40 PM PST

On Fri, 30 Dec 2005 04:40:57 +0100, <com> wrote:
 

People are doing it all the time and generally it works perfectly.

There is at least one way it can fail, though: The new hardware may
not (yet) be suppoted by the kernel on the hard disk.

In most cases you will still be able to boot the computer, but perhaps
not be able to start X, so you would be stuck with console mode until a
sufficiently capable kernel is installed. If you know what kernel modules
and versions you need, you may be able to download and install a new
kernel before moving the disk over.

You are using a 2.4 kernel, and I just don't know how much support for
newer hw has been backported to 2.4 kernels. Be aware that you can have
multiple kernels installed. You could have a recent 2.6 kernel on the
disk before the move. But do google to find out if the hw you want to
buy is supported yet. (Hey, everyone, is there any problem with
Redhat glibc/tls/nptl and 2.6 kernels? I believe the 2.6 kernel runs
older libc stuff just fine.)
 

What is too big? The kernel? Yes, that is true. But if the new
computer has a floppy drive you can prepare a grub floppy, and then
you are almost sure to manage to setup the mbr properly afer the move.

(A grub floppy does not contain the kernel, etc, it just contains
grub's stage1 and stage2 files. Booting from it you get a command
prompt that enables you to query the disks, search for files across
partitions, set up the MBR or a partition boot record, invoke a
config file with boot stanzas, edit the stanzas before using them
(but not save the changes to the file), and/or boot specifying your
own boot commands.)

However, floppies are not in vogue anymore. They tend to be left out
from newer computers. It is also possible to setup a Grub CD, but I
have never done that.

Notice, as will be evident from the points below, that running a Grub
CD is not the same thing as running Grub under a Linux Rescue CD or a
Knoppix Live CD.
 

You are right. Grub has a problem determining the right order that the
Bios will enumerate the disks. With a grub floppy, it's easy, you can
use grub to query the disks, and see what number the disks have. Just
use the "find" command while running Grub natively (i.e.not under a Linux
kernel).

If there is only one disk, it is easy too, the disk will be number zero.
Say (hd0) to grub. The problem arises when you run grub under Linux to
setup the mbr. Then grub has no way of talking to the bios, it has to
access the disks through the Linux kernel. If you specify a particular
disk to boot from in the Bios setup, the Bios takes that disk out of the
regular order and places it first, so Grub will see it as (hd0). There
is no way Grub can find out that while running Linux. Otherwise, the
standard IDE disks always get enumerated hda, hdb, hdc, hdd, but missing
disks are skipped, so if hdb is not present, hdc will get the number
after hda. Other disks could come before or after, depending on details
in the Bios of the computer and the Bios extensions in installed (or
on-board) controllers. Again something hard for Grub to know.

If you know the disk is going to be (hd0) on the new computer, while it
is /dev/hdc under linux on the old computer, I believe you can create a
"device.map" file in /boot/grub, where you specify "(hd0) /dev/hdc", and
then run "grub-install /dev/hdc", still under linux, to have the mbr of
the disk set up for the coming configuration. This will not affect the
mbr of /dev/hda, so you should still be able to boot OK on the old
computer. It's like having two pointers to the same area, and the
/dev/hda mbr is used when booting the old computer. The next step is to
edit /boot/grub/menu.lst or */grub.conf (depending on which distro you
have). This file is shared by the two boot paths, and will be correct
for only one of them at the time. But if it is incorrect, you still get
Grub itself loaded during boot, and can give Grub commands to bypass the
incorrect config file. (You can even have two config files, and 1)
specify a non-standard config filename to grub-install, and 2) you can
also say, eg., "configfile (hd0)/grub/newgrub.conf" at the grub prompt
after it fails to boot using an incorrect config file.)

Yet another idea is to have a double set of boot stanzas in the
grub config file. The only thing that fails then, should be the splash
image file. You can't have two paths for it. Expect an uglier boot
menu. Consider using the "fallback" statement in the config file.
(I have never used it.)

Caveat: Few people spend their days rearranging boot disks all the day,
and neither do I. Everything here is kind-of fragile, subject to
misunderstandings or incorrect memories on my part. I have done some
experimenting with Grub, read some of the code, received helpfull
corrections when I have said something wrong here in the ng, etc,
but still the chances of making mistakes are good. I don't have access
to all the possible hw combinations either. The Grub documentation is
notoriously unclear, although it is improving, and it tries to be verbose.

I would like to hear about your experiences, because I am considering
writing something about it, if I can collect enough experiences and
testimonials (bad ones too, but explained and understood ones better).

-Enrique

what do these names stand for

Posted: 29 Dec 2005 09:53 AM PST

"x" <com> writes:
 

They stand for themselves.
Originally /var was for variable, /usr was for user, /etc was for etcetera,
/proc for procedure, init for initial or initialize, /opt for optional.
But those had little significance.
NOw they are names in their own right. they mean what they are defined to
mean.
/var/ is for temporary or log or spool system files.
/usr is for most stuff
/etc/ for setup data
/proc is a special file system which is a view into the kernel (Ie files
here are actually variables in memory in the kernel)
/initrd does not exist on Mandrake
/opt is for user installed programs often.


grub menu oddity

Posted: 29 Dec 2005 07:06 AM PST


Richard wrote: 

hi;
I am very curious as well - perhaps a few more questions may help
Enrique and others, much more knowledgeable about linux than I, figure
this out for you;

-- How many OSes are in your Multi-Boot array ?
-- How Many HDDs ?
-- Any PCI IDE Controller Cards installed or SCSI Adapter Cards ?
-- Any RAID arrays ?
-- System Mobo make/model ?
-- BIOS type and version (Award, Pheonix, AMI, etc)

If there is more than 1 version/copy of grub somewhere else on your
HDDs, is it possible that that 'other' copy is being used after BIOS
config changes ? More-so, is it possible there's a Symbolic link
somewhere that's pointing to a different kernel, or updated kernel ?

There can be issues with the way grub sees the various default linux
numbering scheme, as I've found from reading previous info posted by
Enrique.
 
of issue with the CMOS NVRAM area (nowadays, the NVRAM/RTC is
integrated into the South Bridge itself) and the storage of the changes
made there-in.

Possible a setting in the BIOS is set to Auto "Load Setup Defaults"
after saving changes ? There's usually options to "Save Custom
Defaults" - and "Load Custom Defaults" -- curious what the options you
have.

Have you ever Flashed (updated) the Motherboard BIOS ROM ?

Another quick thought is the CMOS battery is old and dying, though
other issues/problems as a consequence of this would be much more
prevelant.

setup desired behavior for alt-tab

Posted: 28 Dec 2005 08:20 PM PST

On Thu, 29 Dec 2005 07:18:36 +0100, Peter T. Breuer <it.uc3m.es> wrote:
 

There was another post recently with an equivalent question, but the
window manager was Fluxbox. I did look into the Fluxbox documentation,
but I could not find documented how Fluxbox defines the order of the
windows.

If the order is the stacking order, and the window selected by the
:NextWindow command is raised to the top of the stacking order, then,
if :NextWindow is invoked again, the previous top-of-stack window would
be selected.

But if the order is some fixed order of the windows in a table or linked
list inside the window manager, I could not see any way of achieving Windows
semantics with the command set offered in the documentation.

There was a reference to an external tool, wmctrl, which could be used to
write scripts that did more complex operations, but I could not find any
way of querying the window manager about the current stacking order, so
I would only have been able to implement an emulation of the Windows
semantics if *all* operations that change the stacking order are routed
through the external program.

There was an option to list the windows currently managed by the manager,
but the list was the same independent of the window stacking order.

It seems like the easiest way is to hack the source of the window manager
and add a new function, that can subsequently be bound to Alt-Tab. Or, you
could write a script using wmctrl, that would appear to work as desired
provided that no other window raising or lowering operations where made in
the mean time. That script would need to have some method of saving
the current intended stacking order.

However, the full Windows semantics requires that you can bind actions to
bot keypress and key release. You want to be able to hold down the
alt key while pressing repeatedly on the Tab key, to select any window from
the list, and raise it when the alt key is released.

-Enrique

Sound not working

Posted: 28 Dec 2005 08:21 AM PST

I have a dumb question,(I am not running Fedora so it might be
immediately obvious to you); do you have a file on you system called
alsaconf?

That may be the key to getting it going.

Sharing a Printer

Posted: 28 Dec 2005 05:00 AM PST

It's ok i got it working by modifying the mime.conf and mime.types
file. Thanks for your help.

Problems setting up DNS, gateway und subnetmask!

Posted: 27 Dec 2005 04:10 PM PST

In message <phx.az.us>
example.tld (Moe Trin) wrote:
 

I was assuning, if it wasn't clear, that the 10.0.0.0 network was being
defined by the router. Routers, in my experience usually come set with a
class A or C network defined. (Either 10.0.0.0/8 or 192.168.x.0/24). It is
usual, though obviously not essential, to leave the router set and alter the
rest to match. You can of course alter the router to match your network,
provided you aren't using somebody else's network number, i.e. you need to
be on a private range.

The latter solution is simpler if you already have a network, but it can be
a little tricky to set the router up initially, or after a reset. Using
secondary addresses is the way I solve that one.
 

--
Alan Adams, from Northamptonshire
freeserve.co.uk
http://www.nckc.org.uk/

glibc-2.3 code on glibc-2.2 system?

Posted: 24 Dec 2005 02:08 AM PST

Denes Molnar <purdue.edu> wrote:
 

Sure - LD_LIBRARY_PATH and friends.
 

Everyone does this all the time. I run glibc 2.1.
 

Then fix it some more. Find out what else is needed. Smetimes it's not
obvious. You also want to control secondary linkages .. this is not
handled well by LD_LIBRARY_PATH and the solution is usually to run
with ld.so --library-path ... instead.
 

Keep adding. Locate the crash pint and replace that library.
 

It matters.
 

Doesn't matter - you know better than it.

Peter