PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in GO mode and at run time
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the version number of the .Net Framework available on the current computer.
WEBDEV - Server code Returns information about the version of the .Net Framework used on the server.
Example
// Display the version of the .NET Framework
Info("Version of .NET Framework: " + DotNetVersion())
// Is the .NET 3.0 Framework installed on the current computer?
IF DotNetVersion(dnvInstalled, "3.0") = True THEN
Info("The .NET 3.0 Framework is installed")
ELSE
Info("The .NET 3.0 Framework is not installed")
END
Syntax
<Result> = DotNetVersion([<Requested Information> [, <Parameter>]])
<Result>: Character string
  • Version of the .NET Framework,
  • Empty string ("") if the .NET Framework is not available.
<Requested Information>: Optional integer constant
Version of the .NET Framework to return:
dnvCurrent
(Default value)
Returns the current version installed (which means the most recent version)
dnvInstalledReturns True if the version requested in <Parameter> is installed on the current computer.
dnvListReturns the list of versions installed on the current computer. The different versions are separated by CR characters.
<Parameter>: Optional variant
If <Requested Information> is set to dnvInstalled, <Parameter> is a character string containing the version whose test must be run ("3.0" for example). The version to test is compared to the different versions installed on the computer. The comparison between version numbers is a "Starts with" comparison.
Remarks
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), the version of the.Net Framework is the one found on the development computer.
At run time, the version of the .Net Framework is the one found on the Pocket PC.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Components
WINDEVWEBDEV - Server codeReports and QueriesWindows Mobile wd230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment