If you need a special Dimension from the Dimensions Table a very easy
way to get it would be a new EDT as shown in the screenshot which has
a normal relation to Dimensions.Num and a fixed value for the
Dimensions.DimensionCode. This will give you all Values for a special
dimension.
TECHNICAL TOPICS: MICROSOFT DYNAMICS AX & DYNAMICS 365 FOR FINANCE AND OPERATIONS - ENTERPRISE EDITION
16 July 2009
15 July 2009
Transfer Files to remote desktop (mstsc)
The remote desktop feature of windows (>= xp) allows to control remote pcs. If you're in the need to transfer files to this machine a real easy way would be to mount a local drive into the remote machine.
- Run mstsc
- Enter IP or name of the computer you want to connect to
- Click Options and select the Local Resources tab
- Select the Disk Drives ou need
- connect/logon
- Open the Explorer on the remote machine and there you have the drive from your local machine
HttpWebRequest mit C#
If you want to send data to a website or a webservice the following code should help. If you're using a webservice don't forget the security.
using System.Net; using System.IO; ... ... HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("URL"); request.Method = "POST"; string parameter = "title=" + title.Text + "&" + "text=" + text.Text; byte[] byteArray = Encoding.UTF8.GetBytes(parameter); request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = byteArray.Length; Stream dataStream = request.GetRequestStream(); dataStream.Write(byteArray, 0, byteArray.Length); dataStream.Close(); try { HttpWebResponse response = (HttpWebResponse)request.GetResponse(); if (response.StatusCode == HttpStatusCode.OK) { dataStream = response.GetResponseStream(); StreamReader reader = new StreamReader(dataStream); status.Text += reader.ReadToEnd(); response.Close(); } else { status.Text = "Error"; } } catch (Exception ex) { status.Text = ex.Message; }
Syntax Highlighting
First and very important step for posting code is to get a good highlighting.
So let's try SyntaxHighlighte
in the head of the page
- Download SyntaxHighlighter and unpack it
- Upload to a webspace somewhere in the worldwideweb
Styles/SyntaxHighlighter.css
Scripts/shCore.js
Scripts/shBrush....js
- Include the css and the js code into yout site
If you are using Blogger go to Layout -> Edit HTML
in the head of the page
at the end of the page
Thats it! To try if everything is working as expected just post something like
code code code
My first Post
Yes I got a new blogger Blog. Real easy to create.
Don't know what to write - Maybe i should start posting interessting stuff with real content?
Maybe a piece of code:
thisDate = DateTimeUtil::date(project.DateTimeTo);
Maybe a piece of code:
thisDate = DateTimeUtil::date(project.DateTimeTo);
Subscribe to:
Posts (Atom)