Visual basic 2019 access database operations.
Suppose I added a new data to a table thru this program (access database program). I have one data grid view on the form , IT SHOW OLD DATA NOT THE ONE I JUST ADDED TO THE DATA TABLE THRU THIS FORM. In other words datagridview do not refresh or reset.I…
Fix UI Unresponsive
HI I am working on a program where it reads a text file using zira.speak. it works fine but when i try to click on close_command button to stop it but the User Interface become non-responsive and i am unable to close it untill it has finished reading…
Task never ends in Windows Form App (vb.net Framework 4.8)
Hi everybody, in a Windows Form App a Task never ends. If I put the same code into a Console App (same Framework Version) it runs well and the task ends. This is my code: Imports VCCLWebService Module Module1 Sub Main() Dim Url As String =…
How to migrate System.EnterpriseServices to .NET5?
We have a lot of business logic in .NET 4.0 using System.EnterpriseServices. Can you suggest a migration path to .NET 5?
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
Publishing resource files in vb
Hi the everyone, Ive designed a program in visual basic and placed my setup files in the debug folder but, when ever i publish the program it doesnt export or publish the files in the debug folder thus leaving the published program with errors. Can…
Development time - Sense check
Hi I am working on a framework tool for product configurators to be edited through a 3rd party application. The idea is to have an application that mainly controls the navigation and 3rd party API integration, then create single product classes that i…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
copy webpage into database
Hi Friends, I am trying to copy webpage into my databases table using vb.net 2008, I am using following code but its not working Dim Web As New HtmlAgilityPack.HtmlWeb Dim Doc As New HtmlAgilityPack.HtmlDocument Doc =…
Fundamental work with VB.NET Datatable and Treeview
Hi, I am coming with maybe silly question but I just cant figure it out. I have started project, not small from my point of view but I relisted after finishing first part that I handle in this program so big data that it will be really bad for user…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
Visual Studio | VB.NET | MyApp.config vs MyApp.exe.config
Is there a way to default MyApp.exe to use MyApp.config rather than MyApp.exe.config? I was using .net framework 3.5 and my app used MyApp.config but now that I have upgraded my .net framework to 4.x the app will not load unless I rename MyApp.config to…
![](https://techprofile.blob.core.windows.net/images/-cMQHARdAE--M0ay3o3E7g.png?8D90C1)
How do I determine if an SMTP server "advertises" StartTLS?
WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms MY PROBLEM: I am using SmtpClient to send emails, and the documentation says that if EnableSsl is True when the server doesn't advertise StartTLS, an SmtpException is thrown. I'd like to handle…
Is there a .NET 5 Web API template for VB.NET in Visual Studio 2019?
Is there a .NET 5 Web API template for VB.NET in Visual Studio 2019? I can only find one for C#.
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
Is it possible to continue editing a metafile which is stored in a variable
I have created a metafile and drawn a few lines into it. After that I stored the metafile in a variable. Dim myImage as Metafile . . System(0).Image = myImage When I try to load the metafile again to extend it myImage = System(0).Image …
Copy ALL Files and Folders Excluding Hidden or System Files
Hi, Initially I was using following VB code to copy directory (with all files and sub-directories etc.) Dim src_UsersFolder = "C:\myData\" Dim dst_UsersBackup = "D:\Backup\" …
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
datagridview access row when added without the need to loop through rows
I have a datagridview to represent journal voucher debit/credit binded to bindingsource when I code Me.dgv_jv.DataSource = bs_jv the dgv is populated with data while the dgv is populated, I want to check a table field "DBCR" if equal CR…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
Running PowerShell command from VB (or C#) on multiple machines - how to know which computer is returning infomation
I am running code as per simple example below, in reality it will be a lot more machines, how do I know which machine each set of results is from? I read mention of PSComputerName, but how do I get the value from this as the usual way of getting a…
visual access code request
Hi! I have the starting table T1 in access 2013 with this data I need a visual code to create a new table with the field num where it indicates the number of different centers in which the user is on the same day. The output table should be…
Disk Management and VB.Net
Hi, Currently I am using Diskpart to make desired disk layout. However, when combining with scripting, I am not getting desired results as diskpart script failed to procced further if a partition is not found etc. Desired Disk Layout: If "Q:\"…
Running PowerShell command remotely from VB using remote runspaces / WSMAN
Hi I am trying to create a powershell remote runspace to another machine Following examples here converted to VB - https://video2.skills-academy.com/en-us/powershell/scripting/developer/hosting/remote-runspace-samples?view=powershell-7.1 I get…
How to add item selected in combo box to data table ?
I want user to select an item of his choice from drop down combobox and ADD to database thru save button.
Using Access Database with linked tables in VB.NET
In my VS2019 VB.Net programme I am using an Access 2003 Database which has tables linked to another Access 2003 Database. The database it is linked to is updated periodically by another programme over which I have no control. My database has tables…