In the past when I have needed to manually register DLLs they have been C++ or VB ones which are registered using the regsrver command.
A recent project for a client was done using C# which requires the assembly to be registered using a different command. I am posting this here as a reminder to myself next time I need to do this.
When you register the assembly, you may receive a warning message about registering unsigned assemblies using the /codebase switch which is intended only with signed assemblies. If you trust the origin of the assembly then you can safely register the assembly and ignore the warning.
To register the .NET DLL, open a command prompt and type the following (the highlighted section is the name of the assembly being registered):
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe reportprinter.dll /codebase
To unregister a .NET DLL type the following:
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe reportprinter.dll /unregister
The highlighted section is the dll being registered or unregistered.
I recently created a WordPress archive of my Twitter posts using the plugin and theme from Ozh.
Part of the theme was a sidebar posts archive which I quite liked the look of and have now extracted and turned into a WordPress plugin so I can use it on any site (including this one):
Check out the archive in action in the sidebar to the right below the Calendar and above the Tag Cloud.
I am thinking about releasing it via the WordPress Plugins Directory, but before doing so, wondered if anyone might be interested in doing some beta testing? It is a very easy install (upload to plugins folder, activate and then place widget in widget area) and currently has no options although I am willing to create some if necessary (such as the ability to change the display name).
The plugin only reads the number of posts and does not write back to the database so there is no risk.
If you’re interested in beta testing get in touch with me (by email if you have it or use the Contact page) and I’ll send you a download link (I’m not posting publicly as I want to keep numbers under control while it gets tested).
As well as a strong interest in Dynamics GP, I tend to have an interest in most things computer related. As such I have a few years experience with HTML+CSS and have created a few sites in the past, in addition to this blog on which I have done some customisations and enhancements of the code and theme.
I do find some of CSS a bit of a hassle when it comes to changing common elements such as colour so I was interested when I heard about the concept of SASS or Syntactically Awesome Style Sheets (I’ll admit to being happier with the acronym than the full name).
Packt Publishing, who are publishing my Microsoft Dynamics GP 2013 Cookbook, have published a SASS CSS How-to book by Alex Libby. This book takes a look at how to write more efficient CSS using the SASS CSS library through practical hands-on recipes;
I started reviewing Leslie Vail’s book, Developing Microsoft Dynamics GP Business Applications,which was published at the end of December by Packt Publishing, a few weeks ago. To do this review I decided to take a read through and complete all the examples she gives on developing an application as I’ve only had very limited experience with Dexterity;
Today I’m taking a look at Chapter 5 which covers sanScript and how to add it to windows to enable the required functionality. The key topics to be covered are:
- Introduction to sanScript
- Scrolling Windows
After slacking off a lot in terms of reviewing Leslie Vail’s book Developing Microsoft Dynamics GP Business Applications, which was published at the end of December by Packt Publishing, I’m going to try to get a regular tempo of review posts going. Today I’m here with the review for chapter 4;
This chapter is all about Building the User Interface which Leslie does by getting the reader to build an interface for customer contacts integration and covers:
- Creating base resources
- Creating tables and keys
- Creating forms and windows
- Creating scrolling windows
- Working with window fields
- Completing your windows
So from this chapter I expect to get a good grounding in creating an entirely new window which should look like this:
Back in the early years of my career, before I became involved with Microsoft Dynamics GP, I was a trainee developer (admittedly on PICK Databasic) before moving on and learning a little VB6 and then into Microsoft Dynamics GP consultancy.
I’ve kept my hand in enough that I can still do some coding and last weekend, after chatting with a developer in the office who is creating some new screens for GP, I decided to have a little dabble with the Visual Studio Tools for Microsoft Dynamics GP myself. Continue reading
When coding in Lua I have found the Lua Short Reference to be very handy so I thought I’d post the link here in case anyone reading would find it useful.