Unwanted Space and Margins are surrounding the control in designer when Integrating WPF User-Control into Form using ElementHost
When integrating the WPF user-control (For Example: The UserControl contains the button) into a form using ElementHost, there are unwanted spaces and margins surrounding the control in the designer. It works fine in runtime; reported issue is reproduced…
How to extract part of the text from the line with a special format
hi Bolded areas need to be extracted. I don't know how to use Regex library. my Format [One of the tags] is Sample '10LBA04CT004-XQ01' Start text with 150,000 lines and have different tags. thank { N 3-SH 3-sh 3-sh 3-SH N 10LBB09 EQUIPMENT =…
SSRS Report Viewer windows forms - The request failed with an empty response
Dear all, we use the following component in our Windows Form (.net 4.7.2 application): Microsoft.ReportingServices.ReportViewerControl.Winforms 150.1620.0 Since we migrated our server on a new domain, we are getting sometimes the following execption in…
New Form is not shown while drag & drop a Custom Control from toolbox to Designer in WinForms in NetCore
In our Control, we have opened a new form to update the content of our control in the Designer. The new Form is not shown in the NetCore but works properly in the NetFrameWork. I have replicated the same issue in a simple control. …
Visual Studio problem
I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me
How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?
I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…
Unable to reuse the same layout in a new form
Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …
System.InvalidOperationException: 'Application-defined or object-defined error.'
Debugging gives me a "Exception Unhandled" error in the Application.Designer: 32 <Global.System.Diagnostics.DebuggerStepThroughAttribute()> 33 Protected Overrides Sub OnCreateMainForm() 34 Me.MainForm = Form1 <<< HERE MARKED…
How do I stop an MDI parent form from being resized when moved ?
I have an MDI form (VB.net) which contains about 10 child forms which are permanent and fixed in place and which take up nearly all the whole parent form except for a small margin around the edges and between child forms of about 2px. When I move the…
How to copy current project & assign New Name ?
Hello & Thanks ; I have a current project named GetElementsByTagname and from it I would like to make a new project named GetElementsByTagname-Copy-01 . I want to try different versions of same code . Thanks for your Help...
CTRL Commands Not Working with Winforms Web Browser
Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…
In the .Net framework, I am using a large panel in Form1. In this panel, I call up Form3 and in this Form3, I have created a chart control function. How is it that the chart, which has been placed and sized as desired, is visible during testing but not in
first picture = code second = form3 third = Test run what i try to do is in Form1, add a panel, and in that panel ill switch forms 2,3 and 4 with buttons and in form3 i call Control Chart and use enough space as in picture 2 and i must say all…
How to validate textbox with empty field in wpf forms
Hi Team I have these two fields i want to validate, does anyone knows how to achieve this in wpf on the forms? The bottom seal and TopSeal fields, if empty it must prompt a window dialog message.
Debug profile does not exist - How to get it?
I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…
Visual Studio Designer Copy With Name
I created a new label. It came with "label1" name. I changed the name "label1" to "myLabel1". I'm copying this: "myLabel1" When I paste it comes as: "label1" It wasn't like this before. When I paste must…
Why WebBrowser doesn't show up in toolbox?
I want to make an own custom web browser so i looked for tutorial, when i at the insert WebBrowser extension, it's not shown up. I tried to reset and added it again, but it shows up "Added sucessfully but can't see or use in designer". I tried…
Using SQL Server Read/Write Image Ever Day With A Table
I've a case that need to save Image in database, than user can search/upload site(DB) to site(DB) ever day from winform. Every image size average 250kb - 350kb, The total usage with image perhaps growth 110GB/year without delete form database. I'll…
Error loading report.rdlc,Unable to copy bin\debug\
Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…
VS 2022 ReportViewer Error: "The report cannot be displayed. The report viewer could not find a report definition."
Please help me with this problem I'm having. I'll start by explaining my problem: I need to load reports, and for that I'm using the native reports of VS 2022. Here's what I've done so far: I created my .xsd file called DataSetInformes.xsd I added my…
List SQL Server Instances
Good afternoon, I have a windows form that I am working with. When I first wrote this code it worked and was able to pull a list of SQL Servers for a ComboBox, and then as I changed servers it would populate another ComboBox with databases. I…