Skip to content

Commit

Permalink
Added DDR4 support, Updated target framework to 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlmundo committed Aug 8, 2019
1 parent 7bf3602 commit 7484305
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
Binary file added .vs/SysID/v16/.suo
Binary file not shown.
Empty file.
Binary file added .vs/SysID/v16/Server/sqlite3/storage.ide
Binary file not shown.
20 changes: 10 additions & 10 deletions Main.vb
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ Public Class Main
Else
RAM_Capacity = obj("Capacity") / 1048576 & " MB"
End If
If obj("MemoryType") = 0 Or 22 Then
RAM_Type = "DDR3"
ElseIf obj("MemoryType") = 20 Then
RAM_Type = "DDR"
ElseIf obj("MemoryType") = 21 Then
RAM_Type = "DDR2"
Else
RAM_Type = ""
End If

Select Case obj("MemoryType")
Case 0
RAM_Type = "DDR4"
Case 24
RAM_Type = "DDR3"
Case 22
RAM_Type = "DDR2"
Case 21
RAM_Type = "DDR"
End Select

If strRAM_Extra <> "" Then strRAM_Extra = strRAM_Extra & vbCrLf
strRAM_Extra = strRAM_Extra & "Slot " & i + 1 & ": " & RAM_Manufacturer & RAM_Capacity & " " & RAM_Type & " " & obj("Speed") & "Mhz"
Expand Down
2 changes: 1 addition & 1 deletion My Project/Resources.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions My Project/Settings.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion SysID.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>SysID</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>WindowsForms</MyType>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<OptionExplicit>On</OptionExplicit>
<OptionCompare>Binary</OptionCompare>
<OptionStrict>Off</OptionStrict>
Expand All @@ -33,6 +33,7 @@
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>SysID.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -42,6 +43,7 @@
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>SysID.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 1 addition & 1 deletion app.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup></configuration>

0 comments on commit 7484305

Please sign in to comment.