Display: Cloud | List
Most Popular Tags
Results (479 total) All > syntax (x)
RE: where can i get the integer value of those macro (Authentication Return Values (Windows))
Dear aconfueser,I am the writer working on this content. In the next refresh of the documentation you will find the hexadecimal values for each macro listed. From there you can simply put the hexadecimal number (everything after the 0x) into a scientific/programming calculator to determine the integer number. Then you can go to the System Error Codes (http://msdn.microsoft.com/en-us/library/window
Last modified by Elaine Morrison on 2/8/2012 11:01:33 PM
C# Syntax (SetSuspendState function (Windows))
[DllImport("powrprof.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.I1)]public static extern bool SetSuspendState( [In, MarshalAs(UnmanagedType.I1)] bool Hibernate, [In, MarshalAs(UnmanagedType.I1)] bool ForceCritical, [In, MarshalAs(UnmanagedType.I1)] bool DisableWakeEvent );
Last modified by Stanley Roark on 11/3/2011 6:11:11 PM
Tags:  c#  syntax
C# syntax (IsThemeActive function (Windows))
[DllImport("uxtheme.dll")][return:MarshalAs(UnmanagedType.Bool)]public extern static bool IsThemeActive();
Last modified by dmex on 3/14/2010 6:03:08 AM
Tags:  c#  syntax
I don't like the double negative in statements like: obj IsNot Nothing I would rather write: obj Is Something Can we get a 'Something' keyword?
Last modified by James Close on 1/27/2010 10:30:44 AM
VBA syntax (DeleteFile function (Windows))
Public Declare Function DeleteFile Lib "kernel32" Alias "DeleteFileA" (ByVal path As String) As Boolean
Last modified by bejhan on 12/30/2009 5:20:06 PM
Tags:  syntax  vba
Audio from WAV File. (WaveAudioFile Class (DocumentFormat.OpenXml.Drawing))
Visual Basic (Declaration) <GeneratedCodeAttribute("DomGen", "2.0")> _PublicClass WaveAudioFileInherits EmbeddedWavAudioFileType Visual Basic (Usage) Dim instance As WaveAudioFile
Last modified by Thomas Lee on 12/10/2009 7:17:25 PM
Tags:  syntax  vb
C# Syntax (SendMessage function (Windows))
[DllImport("user32.dll")]private static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
Last modified by Philipp Schwesig on 12/9/2009 5:36:24 PM
Tags:  c#  syntax
C# Syntax (RegisterWindowMessage function (Windows))
The correct signature is:[DllImport("user32.dll", CharSet = CharSet.Unicode)]static extern uint RegisterWindowMessage(string lpProcName);CharSet can be Unicode or Ansi and the above will work regardless of whether the target platform is 32 or 64 bits.
Last modified by Shane_B on 8/19/2011 3:24:50 AM
Tags:  c#  syntax
The second example does not use coalesce consistently; [Avg Gross Profit Margin] does not use coalesce, but [Avg Gross Profit Margin Including Empty Days] does use coalesce. To make the result pretty, here's the amended code:WITH MEMBER Measures.[Avg Gross Profit Margin] AS Avg( Descendants( [Ship Date].[Fiscal].CurrentMember, [Ship Date].[Fiscal].[Date] ), CoalesceEmpty(Measures.[Gross Profit Ma
Last modified by JenStirrup on 10/27/2009 4:25:40 PM
Tags:  contentbug  mdx  syntax
Incorrect Syntax in Examples (AddCalculatedMembers (MDX))
The two supplied examples are not syntactically correct; they each have an extraneous comma after the keyword 'column'. Each example should read:Example 1SELECT AddCalculatedMembers( {[Measures].Members} )-[Measures].Members ON COLUMNSFROM [Adventure Works] Example 2 SELECT AddCalculatedMembers({Measures.[Unit Price]}) ON COLUMNSFROM [Adventure Works]
Last modified by JenStirrup on 10/27/2009 2:23:30 PM
Tags:  contentbug  mdx  syntax
Page view tracker