A set of .NET Framework managed libraries for developing graphical user interfaces.
How can I prevent the DataGridView header column from being highlighted when a row is selected
I am using Visual Studio 17.5.4 and building a Windows Forms app with a DataGridView as a list of items to select then populate the form fields. All this works but I have a nagging problem to overcome. When you select a row from the grid, it will…
Developer technologies | Windows Forms
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Worksheet protection for users
I want to protect worksheets for users and grand vba all rights to adjust cells and add and delete listrows on tables
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Android .NET6 Microsoft.Data.SQLClient, error during the connection to SQL Server 2019
I use the new stack of development Android C# (not Xamarin). I have SQL Server 2019 and Visual Studio 2022. During the connection to the server with ADO.NET (Microsoft.Data.SQLClient) I have this error : A connection was succesfully established…
Developer technologies | .NET | .NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
SQL Server | Other
vba: I would like to add bold attribute to certain words (names) in an array
Hello from Steve I would like to please add bold text Sub Rename_Trainers() Dim FindArray As Variant Dim ReplArray As Variant Dim i As Long FindArray = Array("RICHARDSON NORV", "D & B WEATHERLE", "THURLOW O'MALLE",…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
How to use CoInitializeSecurity by using pointer to AppID in pSecDesc parameter?
One of the microsoft recommendation is not to use nullptr for first parameter of CoInitializeSecurity. So how can I use CoInitializeSecurity by using pointer to AppID in first parameter (pSecDesc)?. Appreciate your help in this.
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
VSIX Extension Which Provides Setting Overrides During Debugging of Target Application
I am attempting to create a VSIX extension which allow app settings to be overridden while the target application is being debugged (similar to User Secrets), however nothing I have tried has worked and feel that I must be missing something basic. My…
Developer technologies | Visual Studio | Extensions
Add-on components that enhance and customize the Visual Studio integrated development environment
Embedding Notepad++ in WinForms using SetParent does not dock (opens as separate window on Windows 11 local machine)
We are developing a WinForms application where I need to host Notepad++ inside my application UI as a docked child window. This is done launching Notepad++ and using Win32 APIs like SetParent to reparent its main window into a container control (e.g., an…
Developer technologies | Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
system environment vairable needs to be fetched by Asp.net core Application hosted on IIS
Application has web.confiiig where connection string stored for Db connectivity. i wanted to remove the password from connection string and store into server's system envrionment variable and application should fetch the password only from environment…
Developer technologies | ASP.NET | ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
Best Way to Implement Letter-Boxed Style Validation Logic in an App?
Hi everyone, I’m working on a small project inspired by the letter boxed word puzzle concept, where users must create words using letters from different sides while following specific rules (no consecutive letters from the same side, chaining last letter…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
CPM for a Microservices project across Repos
I understand CPM can be used on a repo to create a single Directory.Packages.Props file share across projects on the repo. What about a micro services project that spans across repos ? would you suggest to use CPm only in each repo or across repo or…
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Issues to call the event
Hi, DownloadAndShareFileAsync is declared within MauiProgram.cs, and was called within the same .cs file. It is not a success to build the project. Any reason from the following? Here is MauiProgram.cs
Developer technologies | ASP.NET | ASP.NET API
A component of ASP.NET for creating RESTful web services that support HTTP-based communication between clients and servers.
How can I find out if my game is running at constant 60 frames per second without stuttering?
Sometimes my game randomly stutters in debug mode on my iOS/Andoid devices. I don´t know if it stutters more frequently on my iPad Air or on my Android phone and I don´t know if it stutters in release mode. How can I find out if my game is running at…
Developer technologies | .NET | .NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Excel Delete the numerals
Hello from Steve The below works perfectly I would like please to take it to another step. At this time It has moved X0312 to the left cell Can it now delete X0312 Leaving Hephaestus Sub CopyNumbersOnly() Dim cell As Range, num As String, ch As String,…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Word if not found then
Hello from Steve Objective if not found then move to next Sub Moving_Numerals() Application.ScreenUpdating = False Do Selection.Find.ClearFormatting Selection.Find.Font.Size = 12 With Selection.Find .Text = "|" .Replacement.Text =…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Word script is not functioning.
Hell from Steve The below script is not functioning, What is required please Sub Rename_Trainers() Dim FindWords As Variant, ReplaceWords As Variant Dim i As Integer FindWords = Array("MCKAY HARRINGTO", "WALKER BERGERSO",…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Listened to Co Pilot
Hello from Steve Now all I need please is to open Sub OpenForm2() Const strFolder As String = "C:\Tab Form\Input Stakes" Dim doc As Document With Application.FileDialog(FileDialogType:=1) ' 1 = msoFileDialogOpen .Filters.Clear …
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
vdproj Setup Project not generating .msi / .exe – System.Buffers.dll dependency warning (.NET Framework 4.7.2, x64)
Hello Community, I am facing an issue while creating a Setup project (.vdproj) in Visual Studio and I am hoping someone can help clarify why this is happening. Environment Details Application type: VB.NET Windows Forms Target framework: .NET Framework…
Developer technologies | Visual Studio | Setup
The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
SFTP file upload download issue.
Dear all, already i developed sftp file upload and download with Renchi and SSH.net. For the weak RSA key encryption our IT support blocked RSA key encryptions so winscp is another option to implement personally i feel little complicated WINSCP so any…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Span gesture recognizer is not working for label with formatted string
In .net maui 20, we are trying to use span gesture recognizer for label so I can append normal text with hyperlink. When clicking on hyperlink it should navigate to that link but it's not working in this way. I am pasting the code for reference.…
Developer technologies | .NET | .NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Word Color Red and Highlight Yellow
Hello from Steve I would like to please have the below script Color Red and Highlight Yellow Sub Dollar_Colour_Red_Bold() Options.DefaultHighlightColorIndex = wdYellow With Selection.Find .ClearFormatting .Font.Size = 12 .Text =…
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.