From cbee26ca5151278e7edb1be371a2c8ae10cbda53 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 29 Jun 2010 20:55:25 +0000 Subject: QPID-2706 Patch from Chuck Rolke Removed space from directory name in the VB examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959099 13f79535-47bb-0310-9956-ffa450edef68 --- .../My Project/Application.Designer.vb | 13 --- .../My Project/Application.myapp | 10 -- .../My Project/AssemblyInfo.vb | 35 ------ .../My Project/Resources.Designer.vb | 63 ----------- .../My Project/Resources.resx | 117 --------------------- .../My Project/Settings.Designer.vb | 73 ------------- .../My Project/Settings.settings | 7 -- .../MyProject/Application.myapp | 10 ++ .../MyProject/AssemblyInfo.vb | 35 ++++++ .../MyProject/Resources.Designer.vb | 63 +++++++++++ .../MyProject/Resources.resx | 117 +++++++++++++++++++++ .../MyProject/Settings.Designer.vb | 73 +++++++++++++ .../MyProject/Settings.settings | 7 ++ .../visualbasic.example.client.vbproj | 14 +-- 14 files changed, 312 insertions(+), 325 deletions(-) delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.Designer.vb delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.myapp delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/AssemblyInfo.vb delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.Designer.vb delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.resx delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.Designer.vb delete mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.settings create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Application.myapp create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/AssemblyInfo.vb create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.Designer.vb create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.resx create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.Designer.vb create mode 100644 cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.settings (limited to 'cpp/bindings/qpid/dotnet/examples') diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.Designer.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.Designer.vb deleted file mode 100644 index 0c274140df..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.4927 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.myapp b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.myapp deleted file mode 100644 index 44772fed09..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 2 - true - diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/AssemblyInfo.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/AssemblyInfo.vb deleted file mode 100644 index 100283cf2e..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.Designer.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.Designer.vb deleted file mode 100644 index 19d7b32c32..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.Designer.vb +++ /dev/null @@ -1,63 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.4927 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Imports System - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ''' - ''' A strongly-typed resource class, for looking up localized strings, etc. - ''' - _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ''' - ''' Returns the cached ResourceManager instance used by this class. - ''' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Org.Apache.Qpid.Messaging.Examples.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ''' - ''' Overrides the current thread's CurrentUICulture property for all - ''' resource lookups using this strongly typed resource class. - ''' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.resx b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.resx deleted file mode 100644 index 3a752df8c0..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.Designer.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.Designer.vb deleted file mode 100644 index fd9a759e2b..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.4927 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.Org.Apache.Qpid.Messaging.Examples.My.MySettings - Get - Return Global.Org.Apache.Qpid.Messaging.Examples.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.settings b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.settings deleted file mode 100644 index 73b4a101e7..0000000000 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Application.myapp b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Application.myapp new file mode 100644 index 0000000000..44772fed09 --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Application.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 2 + true + diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/AssemblyInfo.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/AssemblyInfo.vb new file mode 100644 index 0000000000..100283cf2e --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.Designer.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.Designer.vb new file mode 100644 index 0000000000..19d7b32c32 --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.Designer.vb @@ -0,0 +1,63 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:2.0.50727.4927 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Org.Apache.Qpid.Messaging.Examples.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.resx b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.resx new file mode 100644 index 0000000000..3a752df8c0 --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.Designer.vb b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.Designer.vb new file mode 100644 index 0000000000..fd9a759e2b --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:2.0.50727.4927 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.Org.Apache.Qpid.Messaging.Examples.My.MySettings + Get + Return Global.Org.Apache.Qpid.Messaging.Examples.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.settings b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.settings new file mode 100644 index 0000000000..73b4a101e7 --- /dev/null +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/MyProject/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/visualbasic.example.client.vbproj b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/visualbasic.example.client.vbproj index a7e747a5a9..ae1c01232e 100644 --- a/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/visualbasic.example.client.vbproj +++ b/cpp/bindings/qpid/dotnet/examples/visualbasic.example.client/visualbasic.example.client.vbproj @@ -82,24 +82,24 @@ - - + + True Application.myapp - + True True Resources.resx - + True Settings.settings True - + VbMyResourcesResXFileCodeGenerator Resources.Designer.vb My.Resources @@ -107,11 +107,11 @@ - + MyApplicationCodeGenerator Application.Designer.vb - + SettingsSingleFileGenerator My Settings.Designer.vb -- cgit v1.2.1