Skip to content

Commit adb8d86

Browse files
author
Scott Reed
committed
0.0.7
Minor code cleanup
1 parent 4b07c4c commit adb8d86

22 files changed

Lines changed: 105 additions & 222 deletions
-1 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Error Code Generator/Error Code Generator.vbproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,17 @@
7474
<ManifestKeyFile>Error Code Generator_TemporaryKey.pfx</ManifestKeyFile>
7575
</PropertyGroup>
7676
<PropertyGroup>
77-
<GenerateManifests>true</GenerateManifests>
77+
<GenerateManifests>false</GenerateManifests>
7878
</PropertyGroup>
7979
<PropertyGroup>
8080
<SignManifests>true</SignManifests>
8181
</PropertyGroup>
82+
<PropertyGroup>
83+
<TargetZone>LocalIntranet</TargetZone>
84+
</PropertyGroup>
85+
<PropertyGroup>
86+
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
87+
</PropertyGroup>
8288
<ItemGroup>
8389
<Reference Include="System" />
8490
<Reference Include="System.Data" />
@@ -150,6 +156,7 @@
150156
</ItemGroup>
151157
<ItemGroup>
152158
<None Include="Error Code Generator_TemporaryKey.pfx" />
159+
<None Include="My Project\app.manifest" />
153160
<None Include="My Project\Application.myapp">
154161
<Generator>MyApplicationCodeGenerator</Generator>
155162
<LastGenOutput>Application.Designer.vb</LastGenOutput>

Error Code Generator/Form1.Designer.vb

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Error Code Generator/Form1.vb

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
' **** SIMONCODER SOFTWARE ******** © 2018 Scott Reed **** mreed1972@gmail.com
1+
' **** SIMONCODER SOFTWARE ******** © 2018-2020 Scott Reed **** mreed1972@gmail.com
22

33
Public Class Form1
44
Private xcode As String
@@ -22,14 +22,18 @@ Public Class Form1
2222

2323
Function setday()
2424
Select Case Date.Now.Day
25-
Case 1 To 10
25+
Case 1 To 5
2626
Return "1X"
27-
Case 11 To 20
27+
Case 6 To 10
2828
Return "2X"
29-
Case 21 To 25
29+
Case 11 To 15
3030
Return "3X"
31-
Case 26 To 30
31+
Case 16 To 20
3232
Return "4X"
33+
Case 21 To 25
34+
Return "5X"
35+
Case 26 To 30
36+
Return "6X"
3337
Case Else
3438
Return "9X"
3539
End Select
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5+
<security>
6+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7+
<!-- UAC Manifest Options
8+
If you want to change the Windows User Account Control level replace the
9+
requestedExecutionLevel node with one of the following.
10+
11+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
12+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
13+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
14+
15+
Specifying requestedExecutionLevel element will disable file and registry virtualization.
16+
Remove this element if your application requires this virtualization for backwards
17+
compatibility.
18+
-->
19+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
20+
</requestedPrivileges>
21+
<applicationRequestMinimum>
22+
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
23+
<defaultAssemblyRequest permissionSetReference="Custom" />
24+
</applicationRequestMinimum>
25+
</security>
26+
</trustInfo>
27+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
28+
<application>
29+
<!-- A list of the Windows versions that this application has been tested on
30+
and is designed to work with. Uncomment the appropriate elements
31+
and Windows will automatically select the most compatible environment. -->
32+
<!-- Windows Vista -->
33+
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
34+
<!-- Windows 7 -->
35+
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
36+
<!-- Windows 8 -->
37+
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
38+
<!-- Windows 8.1 -->
39+
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
40+
<!-- Windows 10 -->
41+
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
42+
</application>
43+
</compatibility>
44+
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
45+
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
46+
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
47+
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
48+
<!--
49+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
50+
<windowsSettings>
51+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
52+
</windowsSettings>
53+
</application>
54+
-->
55+
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
56+
<!--
57+
<dependency>
58+
<dependentAssembly>
59+
<assemblyIdentity
60+
type="win32"
61+
name="Microsoft.Windows.Common-Controls"
62+
version="6.0.0.0"
63+
processorArchitecture="*"
64+
publicKeyToken="6595b64144ccf1df"
65+
language="*"
66+
/>
67+
</dependentAssembly>
68+
</dependency>
69+
-->
70+
</assembly>

Error Code Generator/bin/Release/Error Code Generator.application

Lines changed: 0 additions & 21 deletions
This file was deleted.
3 KB
Binary file not shown.

0 commit comments

Comments
 (0)