Tuesday, May 12, 2009

Running Navision 3.7 Client in Windows 7

It took a bit of work, but I am now successfully running Navision client 3.7 in a Windows 7 computer. This is great news for any business, like mine, where we could not afford to upgrade to Navision 4.0 in order to be compatible with Vista, and now with Windows 7.
So, how was it done.
First, go get yourself the Windows 7 Release Candidate (free till June 2010)
Then, read this tutorial:
http://lifehacker.com/5245396/set-up-and-use-xp-mode-in-windows-7

It tells you how to get Windows XP Virtual machine running on Windows 7. Follow the steps in the tutorial. Once XP finally launches, go in to user setup and create an account for the user that will be using the machine. You will also need to join your local domain as well as set up printers (or reports will not work in navision, even in preview mode). Once done, reboot your machine.
Next, when windows 7 loads up again, go into the VM properties, and delete the default account "User" this will then prompt you for a username and password the next time you launch the VM client.
Once it is working properly and you can run Navision inside the VM client, simply copy the shortcut from the XP machine (to Navision) and jump back over to your windows 7 desktop and cut and paste. From this point on, you can run Navision 3.7 as a virtualized application directly from Windows 7.

If you need more detailed instructions, just let me know.

For Search Engines:
Does Navision 3.7 work in Windows 7 compatibility mode
does navision 3.7 work in virtual windows xp
navision 3.7 on vista compatibility
navision 3.7 compatibility with windows 7

Friday, May 1, 2009

Restarting MySql in FreeBSD Unix

How to start mysql in free bsd unix.

Okay, for you unix geeks out there, this is elementary information and "no duh" but for other people that are new to it, I figured I would post this tutorial.

I recently ran into a problem with my unix box running out of disk space and causing mysql to crash. The symptoms were basically that I could no longer hold sessions or log-in to my hosted website that we built. However, queries of the mysql server from php webpages were still working.

Anyhow, I cleaned up some disk space and rebooted the box, and now mysql was completely shut down, I could not get my php webpages to load. I looked into the system and ran the 'top' command in unix and noticed that mysqld was not started on the box.

So, I was trying to find out how to restart mysql in bsd and could not find a simple command anywhere.

This is what worked for me ultimately:

Go to the directory that stores mysql, for me, it meant navigating to
/var/db/mysql
then simply type: mysqld_safe

That should start up mysqld

Note: when I was trying to start it without the _safe portion tacked to it, like "start mysql" I would get a socket error telling, so the mysqld_safe is the way to go.

Wednesday, April 22, 2009

Adding MRU to XML in Windows Mobile 6.1

I had posted a while back on how to customize your Verizon SMT5800's home screen. I had indicated that my screen shots show the MRU bar, though some people call them quick links, or bookmarks, they are actually called Most Recently Used (formally). My instructions for updating the SMT5800 did not include how to actually create that, so I will tell you how to do so here.

Remember, I take no responsibility or liability if you break your phone.

This is going off of the top of my head, so I apologize if the instructions are not as clear as some other ones I posted.
  1. Plug your phone in via activesynch, and navigate to My Windows Mobile-Based Device\Application Data\Home
  2. Retrieve the xml file you want to modify (for me, it was htc.home.xml) Copy it to your pc.
  3. Rename the file to something new (htc2.home.xml)
  4. Edit the file. Just use notepad if you dont have an xml editer (hold shift on your keyboard, right click, open with, choose notepad) DO NOT USE MICROSOFT WORD TO EDIT THIS FILE!
  5. Now, you just need to add the lines of code below in order for your smt5800 to call the MRU function.





    Or use this to copy and paste:

    <!-- MRU
    -->
    - <plugin clsid="{79EFB752-CB70-446d-B317-499723482B3D}" name="startmru" width="320" height="30">
    <background b-border-width="0" />
    <mru icon-size="16" x="0" y="6" button-transparent-color="#959589" halign="left" valign="bottom" max-buttons="9" />
    </plugin>



  6. You need to add the above code (cut and paste it) wherever you want the quick use icons to appear. For me, I wanted it at the top of the home screen, so I pasted it in immediately after these lines of code:
  7. You can customize that script a little if you want (for instance, you can play with the size (pixels) or how many icons you want it to remember.
  8. When you are done monkeying around with the xml, remember to save it. Then move it over to the same directory you pulled it from on your smt5800.
  9. Go into the settings on your phone, choose home screen, then select the new file you just created (htc2).
  10. That's it.

Again, sorry if the instructions were not as good as they normally are, but if you run into problems, let me know.

Tuesday, April 21, 2009

Microsoft Word Indents After Bullet 10.)

I hear this complaint/question a lot: "Why does word indent my title after I hit bullet 10"

Well, I don't know why it does it, but I can tell you how to fix it.

In Word 2003 (office 2003)

Go to the line that you start having problems with (usually # 10.) and click at the very beginning of the text. Now right click, select "bullets and numbering" click the tab called "Numbered", now click the "Customize" button, In the field labeled "Number position" choose "Right" (instead of left). Okay your changes. It should not be formatted consistent with 1.2.3.....9

In Office 2007 (Word 2007)
Highlight the numbered section that you have issue with, on the home tab, in the paragraph pane, click the drop-down to the right of the numbering icon. Select define new numbering format, and change the alignment to right. Okay your changes.

For search engines:
Why does Microsoft Word indent my text after bullet number 10?
Stop word from indenting my text after bullet 10
Why does word extra spaces after my bullets reach number 10?


Why is word formatting my bullets differently after 10.?