Commit Graph

133 Commits

Author SHA1 Message Date
OlgunR
e4d6734b03 Improve session management and initialization logic
Refactored ClassWindream_allgemein to enhance session lifecycle handling and robustness. Now, after successful impersonation/login, session and object type variables are set and errors are logged if loading fails. Changed impersonation/login to return Boolean for clarity. Init() now returns session creation success. Added GetWMSession to properly reset sessions. Ensured object types are loaded when reusing sessions. These changes improve error handling and maintain consistent session state.
2026-04-27 16:44:00 +02:00
OlgunR
61f6029001 Update group box texts and refresh ImageList resources
Clarified GroupBox1 and GroupBox2 text to include both re-indexing and post-processing errors. Updated ImageList1.ImageStream in the resource file, likely reflecting changes to form images.
2026-04-27 15:05:24 +02:00
OlgunR
de47ed9f3b Update assembly version to 2.10.0.0
Bumped the assembly version in AssemblyInfo.vb from 2.9.9.0 to 2.10.0.0 to reflect the new release. The file version remains at 2.9.9.0.
2026-04-27 14:57:47 +02:00
OlgunR
e9a78cf6a4 Improve error handling and logging for rights and indexing
Enhanced error handling in ClassWD_Rechte to unlock objects after exceptions and prevent resource locks. Refactored frmNIHauptseite to add detailed debug logging and robust error handling in File_SetBooleanIndex, including better handling of missing or invalid index values. Replaced SetErrorMeldung with File_SetBooleanIndex for AD post-processing errors. These changes improve traceability and reliability.
2026-04-27 11:30:37 +02:00
OlgunR
b3848af701 Improve and localize fulltext extraction log messages
Updated log messages for fulltext extraction to be clearer and localized in German. Success and failure cases now provide accurate and user-friendly information, replacing previous misleading or English-only messages.
2026-04-23 10:23:32 +02:00
OlgunR
a374b55ba2 Add extra check for Pos_From equals i before array update
Added a condition to ensure Pos_From equals i before resizing and assigning the Ergebnis array when only a single value is present. This prevents unintended execution when only one of the conditions is true.
2026-04-23 10:23:12 +02:00
OlgunR
a0ec897784 Update Label27 size and add regex group warning
Increased the width of Label27 and updated its text to include a German warning that the regular expression must contain only one matching group to prevent indexing errors.
2026-04-22 15:02:35 +02:00
OlgunR
8f894d582d Refactor Windream session initialization and login checks
Refactored Windream session management to use IsLoggedIn() for determining when to re-initialize the session, removing the previous 2-hour expiration logic. Improved IsLoggedIn() to handle null session objects safely. Also removed explicit Windream initialization from frmNIHauptseite.vb, centralizing session handling and improving robustness against session expiration and null references.
2026-04-15 17:18:59 +02:00
OlgunR
c3c214dfed Properly logout windream session on form close
Added System.ComponentModel import. Enhanced frmStart's FormClosing handler to log out of any active windream session with appropriate logging and error handling, ensuring clean session termination on application exit.
2026-04-13 16:34:00 +02:00
OlgunR
db6b5b9c0b Update interop DLL references and project content
Updated interop DLL reference paths in ToolCollection.vbproj from P: to M: drive locations. Set EmbedInteropTypes=True for Interop.WINDREAMLib and restructured its reference. Added Interop.Scripting.dll as a content file. Removed the binary Interop.WINDREAMLib.dll from the repository.
2026-04-13 16:33:32 +02:00
OlgunR
ad1e6e88ac Change oRelProperties type to Object in two methods
Changed oRelProperties from WMObjectRelationClass to Object in two methods of ClassWindream_allgemein, affecting both object type and folder type handling. No other logic was modified.
2026-04-13 16:32:30 +02:00
OlgunR
001d4f6f02 Removed chkQuellverzeichnisLoeschen form frmDIProfilhinzufügen UI 2026-04-09 16:30:12 +02:00
OlgunR
002a988dca Move and Rename made Visible = False 2026-04-08 16:10:57 +02:00
OlgunR
f71246c5a6 Update profile selection in frmNIVerknuepfungen 2026-04-08 14:53:01 +02:00
OlgunR
b7f67af9b2 Remaings of groupboxIntegration removed from frmStart 2026-04-08 13:04:59 +02:00
OlgunR
9ff5840626 Rechteverwaltung - Button in frmStart and grbxNB_AD in Profileigenschaften NI got the same naming 2026-04-08 13:03:28 +02:00
OlgunR
8488f90902 Removed DD Integration from FrmStart, From UI + logic 2026-04-08 11:11:15 +02:00
OlgunR
6012ea42cc Remove chkQuellverzeichnisLoeschen from DI Profileigenschaften, From UI + logc 2026-04-08 10:48:35 +02:00
OlgunR
2bc948d29d Removed Zusatzmodule Navision from DI Profileigenschaften, form UI + logic 2026-04-08 10:29:34 +02:00
OlgunR
3e5aeabead Remove LicenseManager form UI & Load PanelMain without License 2026-04-07 15:07:54 +02:00
OlgunR
5414e89189 Update profile selection logic and cleanup comments
Removed check preventing reload of selected profile in frmDIProfilEigenschaften.vb, always loading the chosen profile and updating _pos accordingly. Also cleaned up comments and formatting in frmNIProfileigenschaften.vb.
2026-04-02 15:36:14 +02:00
OlgunR
ee2f0bd102 NEW NUGET PACKAGE - System.Data.SQLite.Core 2026-04-02 14:16:40 +02:00
OlgunR
a75e3642fa NEW NUGET PACKAGE - System.Data.SQLite.Core 2026-04-02 14:13:49 +02:00
OlgunR
0999ba2f3d Adjust btnNachbearbeitungAD layout and update image list
Refined the position and size of btnNachbearbeitungAD in frmStart for improved UI alignment. Updated ImageList1.ImageStream in frmStart.resx, possibly reflecting changes to form images.
2026-04-01 13:02:19 +02:00
OlgunR
4daff8ad25 Refactor function retrieval and add handler for functions tab
Refactored GetMsSqlFunctions to accept multiple types and use SQL IN clause for function retrieval. Added rbFunctionsTb_CheckedChanged event handler to load MS-SQL functions into cmbDataviews and handle unsupported database types.
2026-03-16 11:28:14 +01:00
OlgunR
a90bf67575 Refactor btnLink enabling logic by profile type
EnableBtnLink() now enables/disables btnLink based on the selected profile's type, applying specific logic for "db", "activedirectory", "xml", and "fulltext". The method is also called after regex and XML tree changes to keep the button state in sync with the UI.
2026-03-16 11:17:16 +01:00
OlgunR
a55b90e352 Enable btnUnlink only when a list item is selected
btnUnlink is now disabled by default and is enabled only when an item in lvwVerknuepfungen is selected. This improves UI feedback by preventing unlink actions when no selection is made.
2026-03-13 13:11:49 +01:00
OlgunR
9613682fe0 Enable btnLink only when valid selections are made
Added EnableBtnLink method to control btnLink's enabled state based on lbxWMIndex and lbxQuelle1 selections or txtManIndexwert input. btnLink is now disabled by default and updated dynamically via selection change handlers.
2026-03-12 17:12:50 +01:00
OlgunR
3001ccf43f Move btnLink control 2px to the right
Adjusted btnLink's X coordinate from 407 to 409 for improved layout alignment.
2026-03-12 14:56:17 +01:00
OlgunR
0edae32842 Remove save prompt from link selection handler
Removed code that prompted users to save unsaved link changes in lvwVerknuepfungen_SelectedIndexChanged. The event handler now skips the save dialog and related logic, proceeding directly to profile selection handling.
2026-03-12 11:15:27 +01:00
OlgunR
1f2d1d8bfb Refactor ListView item move logic for single selection
Simplified item move code to handle only the first selected item, improving UI performance and reliability. Removed loop and cloning logic, added BeginUpdate/EndUpdate, and ensured proper selection, focus, and visibility. Early returns prevent invalid moves at boundaries.
2026-03-12 11:14:17 +01:00
OlgunR
4d201411f6 Add TimerAutostart for delayed indexing thread start
Introduce TimerAutostart to delay Nachindexierung thread start by 30s, allowing Windream drive to become available before processing. Update status messages to reflect waiting period. Add event handler for timer tick to start threads after delay. Minor designer layout adjustments. Remove obsolete database binary files.
2026-03-04 14:03:09 +01:00
OlgunR
a92b685727 Remove NotifyIcon from frmStart and update tray handling
Removed the NotifyIcon component and all related code/resources from frmStart. Tooltip handling is now performed using niToolcollection instead.
2026-02-12 14:32:11 +01:00
OlgunR
beb91f6603 Add NotifyIcon to frmStart and update caption logic
Added NotifyIcon component to frmStart, including icon and tray location in resources. Introduced CaptionForm() to centralize window caption and NotifyIcon tooltip logic, with truncation for long texts. Updated menu item sizes and reorganized status label initialization. Removed interpolated strings from designer properties. Cleaned up designer and resource references for NotifyIcon.
2026-02-12 14:02:39 +01:00
OlgunR
57e3984c26 Reset manually_cancel flag before profile run
Changed manually_cancel default to False and explicitly reset it before starting profile runs to prevent unintended early cancellation.
2026-02-12 14:00:37 +01:00
OlgunR
c6c1ce4e70 Footer und Buttons verankert - frmNIVerknuepfungen 2025-12-04 09:47:25 +01:00
OlgunR
d278659c5f Instanzname in Titelleiste der Form und bei Tray-Icon eingeblendet - frmStart.Designer 2025-12-04 09:29:30 +01:00
OlgunR
0c71f75a0c Flag zur MsgBox bei fehlerhaften DIProfilen - frmDIHauptseite 2025-12-01 10:30:53 +01:00
OlgunR
3bb034439a Fehlerbehandlung bei fehlerhaften Pfaden in DI Profilen: threadDateiimport_DoWork, Profil_Durchlauf, threadDateiimport_RunWorkerCompleted optimiert - frmDIHautpseite 2025-11-27 16:59:27 +01:00
OlgunR
a038af4193 chore: Update .gitignore to exclude Visual Studio .vs directory
The `.gitignore` file was updated to include the `/.vs` directory.
This ensures that temporary and user-specific files generated
by Visual Studio are ignored by Git and not tracked in the
repository, reducing unnecessary clutter in version control.
2025-11-27 09:24:08 +01:00
OlgunR
1ca62e0334 Button NI-Verknüpfungen verwalten optimiert - frmNIProfileigenschaften 2025-11-13 14:02:23 +01:00
OlgunR
483042a6fb Ankern bei Laden von NI_Main verhindern - frmStart 2025-11-13 11:14:37 +01:00
OlgunR
a0d994bf7f Footer in Pofilübersicht optimiert - frmNIHauptseite 2025-11-13 11:13:35 +01:00
OlgunR
ae3a2a9b14 Anzeigen des Connection Strings in der Statusleiste - frmStart 2025-11-07 14:12:37 +01:00
OlgunR
63dc69ecce Spaltenbreite Profilübersicht angepasst - frmNIHauptseite 2025-11-07 08:52:18 +01:00
OlgunR
183d3d015a Form schöner gemacht - frmDIHauptseite 2025-11-07 08:51:50 +01:00
OlgunR
826ce81353 Minimum Minuten bei DI auf 1 - frmDIHauptseite; Autostart Parameter im Descriptionfeld - frmAbout 2025-11-06 14:33:33 +01:00
OlgunR
da2321d362 Starten und Stoppen der NI mit einzelnen Profilen verbessert - frmNIHauptseite 2025-11-06 12:49:19 +01:00
OlgunR
49bfc4b40b Starten und Stoppen der NI mit einzelnen Profilen - frmNIHauptseite 2025-11-06 11:32:51 +01:00
OlgunR
f9aacb19cc Minimumgröße Profileigenschaften - frmNIProfileigenschaften 2025-11-03 15:33:54 +01:00