From 5a5a5c13356c533d01557e322312ff338e3bc8d8 Mon Sep 17 00:00:00 2001 From: Demetrio Cassarino Date: Tue, 17 Jun 2025 12:19:22 +0200 Subject: [PATCH] =?UTF-8?q?-aggiunto=20gestione=20apertura=20pi=C3=B9=20pr?= =?UTF-8?q?ocessi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 346 ++++++++++++++++++- CameraMng/ApplicationEvents.vb | 1 + CameraMng/CameraMng.vbproj | 73 +++- CameraMng/CameraMng.vbproj.user | 11 + CameraMng/FrmMain.vb | 41 ++- CameraMng/MainModule.vb | 2 + CameraMng/My Project/Application.Designer.vb | 24 +- CameraMng/My Project/Application.myapp | 6 +- 8 files changed, 455 insertions(+), 49 deletions(-) diff --git a/.gitignore b/.gitignore index fce4515..ab848d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,330 @@ +# ---> VisualStudio +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. -# / -/revision.h -/*.aps -/*.ncb -/*.suo -/*.user -/*.sdf -/*.opensdf -/Debug32 -/Release32 -/Trial32 -/Debug64 -/Release64 -/ipch -/bin -/obj -/.vs +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# ---> C Sharp +# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) +[Bb]in/ +[Oo]bj/ + +# mstest test results +TestResults + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +x64/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.log +*.vspscc +*.vssscc +.builds + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper* + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Publish Web Output +*.Publish.xml + +# NuGet Packages Directory +packages + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +[Bb]in +[Oo]bj +sql +TestResults +[Tt]est[Rr]esult* +*.Cache +ClientBin +[Ss]tyle[Cc]op.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML + +.ionide/symbolCache.db diff --git a/CameraMng/ApplicationEvents.vb b/CameraMng/ApplicationEvents.vb index 954279e..b7e0430 100644 --- a/CameraMng/ApplicationEvents.vb +++ b/CameraMng/ApplicationEvents.vb @@ -16,6 +16,7 @@ Namespace My If e.CommandLine(0) = "0" Then ModalitaNascosta = True End If + MainModule.IndexProc = e.CommandLine(1) End If End Sub diff --git a/CameraMng/CameraMng.vbproj b/CameraMng/CameraMng.vbproj index a65d920..2cb8b1f 100644 --- a/CameraMng/CameraMng.vbproj +++ b/CameraMng/CameraMng.vbproj @@ -17,6 +17,21 @@ v4.0 + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true x86 @@ -26,9 +41,11 @@ true bin\Debug\ CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + + x86 @@ -38,9 +55,11 @@ true bin\Release\ CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + + On @@ -63,18 +82,22 @@ true bin\Debug\ CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full AnyCPU + + true bin\Release\ CameraMng.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU + + true @@ -83,11 +106,13 @@ bin\Debug WinXP\ WinXp = 1 CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x86 false false + + true @@ -95,30 +120,36 @@ true bin\Debug WinXP\ CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full AnyCPU false false + + true bin\Release WinXP\ CameraMng.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x86 WinXp = 1 + + true bin\Release WinXP\ CameraMng.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly AnyCPU + + true @@ -126,23 +157,27 @@ true bin\x64\Debug\ CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 false false false + + true bin\x64\Release\ CameraMng.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x64 false false + + true @@ -151,11 +186,13 @@ bin\x64\Debug WinXP\ WinXp = 1 CameraMng.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 full x64 false false + + true @@ -163,11 +200,13 @@ WinXp = 1 CameraMng.xml true - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 pdbonly x64 false false + + @@ -302,6 +341,7 @@ True Application.myapp + True True @@ -388,6 +428,13 @@ CSharpLibrary + + + False + .NET Framework 3.5 SP1 + false + + if /I "$(ConfigurationName)" == "Debug" copy "$(ProjectDir)DepEmgu\*.*" "$(ProjectDir)bin\$(ConfigurationName)" @@ -403,7 +450,7 @@ if /I "$(ConfigurationName)" == "Release WinXP" copy "$(ProjectDir)DepEmguXP\*.* if /I "$(ConfigurationName)" == "Release WinXP" copy "$(ProjectDir)DepEmguXP\$(Platform)\*.*" "$(ProjectDir)bin\$(ConfigurationName)" if /I "$(ConfigurationName)" == "Release WinXP" copy "$(ProjectDir)DepCanonXP\*.*" "$(ProjectDir)bin\$(ConfigurationName)" copy "$(ProjectDir)CommonDependencies\*.*" "$(ProjectDir)bin\$(ConfigurationName)" - +if /I "$(ConfigurationName)" == "Release" copy $(TargetPath) C:\EgtProg\CameraMng\CameraMng.exe