Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

TS/RDC/RDP Failure in 2003/XP clients

If you are getting this error message when attempting to establish a Remote Desktop Connection (formerly known as a Terminal Services Client session) you may need to install the new 6.0 version of the client. The remote computer requires network level
Posted by DavidFerguson | 0 Comments
Filed under:

Creating a report in X++ code and running

Here is a small job that demonstrates the main parts of build a report dynamically in X++ and launching it. static void MakeReportJob(Args _args) { #AOT str reportName = 'aaMakeReport'; tableid custTableId = tablenum(CustTable); TreeNode reportNode =
Posted by DavidFerguson | 0 Comments
Filed under:

X++ Server Threads

You can create threads in X++ to perform tasks in the background. Here is a vey simple class that demonstrates the basics. class ThreadDemo { static server void main() { Thread t; ; new ExecutePermission().assert(); //BP Deviation Documented t = new Thread
Posted by DavidFerguson | 3 Comments
Filed under:

Visual Studio Macro for Live Search

Here is a Visual St udio macro that takes the highlighted tex t and starts a search of the msdn/msdn2 sites. It often works better than the built-in help system. I usually assign it to hot key Alt+F1 . '--------------------------------------------------------------------------
Posted by DavidFerguson | 1 Comments
Filed under:

Enable Debug on Server

When single stepping through X++ code on the client you can bump into code that can only execute on the server. In a default deployment you will not be able to single step through the code. To enable this feature you must turn it on in the ‘Microsoft
Posted by DavidFerguson | 0 Comments
Filed under:

Command Line To Import Data

In Axapta 4.0 you can use the -startupcmd=autorun_ command line option to batch import data is two steps. 1. Create an xml file ( demoData.xml for example) that looks like this: <?xml version="1.0" encoding="utf-8" ?> <AxaptaAutoRun exitWhenDone="true"
Posted by DavidFerguson | 1 Comments
Filed under:

Live Meeting Error “An error has occured while creating an error report”

I was having the following bug with live meeting. Immediately after starting live meeting a small dialog box would pop up with this error message. The dialog was behind the main Live Meeting window. In a few seconds Live Meeting would disappear. The problem
Posted by DavidFerguson | 6 Comments
Filed under:

Args and the Axapta Construction Pattern

When looking through Axapta code you will see a lot of references to the type Args . This type is used as a general method for sharing construction parameters. It works well because in the Axapta usa ge pattern because the typical number of parameters
Posted by DavidFerguson | 0 Comments
Filed under:

Using dimof() on a Dynamic Array

I stumbled across some older X++ code that was using the little know dynamic array. It took a while to find out how to retreive the size of the dynamic array. Here is a little example of using a dynamic array in Axapta: int foo[]; int r; ; foo[10] = 1;
Posted by DavidFerguson | 0 Comments
Filed under:

Know where the fall line is

Microsoft is full of interesting people. Some of the guys in my group go snowboarding once a week and they are kind enough to take me along and show me the ropes. We usually go to the Stevens Pass one day a week after work. If you leave a little early,
Posted by DavidFerguson | 0 Comments
Filed under:

What are Menu item references on report control?

Menu item references are used to add alternative drill down links in a report. When you right click on the output field in the report the list of menu items will be presented in a popup menu. The easiest way to add menu items to a report is to drag-n-drop
Posted by DavidFerguson | 0 Comments
Filed under:

Making things "click"

I answer questions in discussion groups from time to time. Yesterday, I answered a question and got a very nice thank you. It really brightened my day, and reminded me of what I like best about software, it is so cool when things “click”. You look and

Axapta DLLs (What to Blog)

So, I was wondering what to blog about.... There are many things that I would like to discuss but at the end of the day I would rather go home and play with the kids or go to the mountains and hit the snow. So.....I thought I would try recording some
Posted by DavidFerguson | 2 Comments
Filed under:

A Fresh Beginning

I am a new employee at Microsoft. It has been very exciting joining this team. I was quite suprised to see how helpful and friendly the entire culture is here, after all the rumors that I had heard. I am a developer in the Microsoft Business Solutions
Posted by DavidFerguson | 3 Comments
Filed under:
 
Page view tracker