Using iLogger in WinForms with VB.Net
Hi Can someone please give me some guidance on implementing iLogger using VB.Net in a WinForms application? Most documentation seems to cover C# and converting the code doesn't seem to work so not sure where I am going wrong. Spent a while with Mr…
psexec syntax error within VB macro.
Hi Guys, I am trying to use psexec to start a program on a remote computer. I embedded the code : psexec -i -s -d \REMOTECOMPUTERNAME -u USER -p PASSWORD “C:\Program Files\LightBurn\LightBurn.exe” (which working well by itself) inside a Visual…
Why don't my webcam components work in my VB WinForms apps?
WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms, Windows 10 Home laptop MY PROBLEM: I downloaded WebEye.Controls.WinForms.WebCameraControl from NuGet, and tried to run a VB.NET WinForms program using the control, only to get just a black…
Error: mixed mode assembly is built against version v2.0.50727 of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information
I working in a solution containing a VB and a C# project. It runs well from Visual Studio (2013)development environment and as an executable in the development PC. When deployed to another PC I keep getting this error: "mixed mode assembly is built…
Select the first line of a richtextbox when the test is there
I am having a problem selecting the first line of a richtextbox. I fill the rtb with text and all I want to do is when the text is loaded into the box I want the first line highlighted. Can someone help me? Thanks Les
How do I incorporate web-cam functionality into a VB WinForms app?
WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, WinForms MY PROBLEM: I'm trying the incorporate web-cam functionality into my VB WinForms project. I've read that the CameraCaptureUI class allows one to implement it simply. The problem is, I can't…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
Is it possible to Identify a Process Based off of...
Is it possible or a way in vb.net to identify a very specific Process running on a Computer based off of content within a browser? I am trying to develop a game that can be played in a browser, for example chrome while having it's own platform. …
visual basic 2010 express 64 bit
I am currently working using vb 2019 but have vb 2010 express also. I would like to know how do I change it from 32 bit to 64 bit? I cant seem to find a way to do that. Thanks Les
Weather Alerts Refusing to Display In List Box
Hello, I have a weather application that uses a list box and a ticker to display weather information. However, the list box refuses to display any bit of information while the ticker remains functioning. Here is my code: Private Sub…
Extend a Function without extension method
Hey The title is a bit curious... What I try to achieve is as follows: I have a class with a function something like this: Public Class Test Public Function GetName As String Return "Jane Doe" End Function …
Current Application Directory Name without full path VB.net
Hi, I would like to print the current directory name without showing the full path. With current directory I meant the current directory of the VB application from which it's launched. For example; if I launch the application from…
how to change a label caption?
I've been trying to make the caption of a label change from 0-10 when clicking in a button so each time that I click one of the buttons it adds 1 all the way to 10 and another that does the oposite (minus 1 until you reach 0) I've tried this so far but…
![](https://techprofile.blob.core.windows.net/images/xgCloIrQvUeqYfAqQE8a0A.png?8D8342)
Class with combobox options
Hallo, I am trying to make a class object which shows a options in a combobox and takes a parameters according to that object selection. Lets say I have an object or class called Box, I want to show some options in a Combobox, for example one to…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
Showing object property value and its default value in two textboxes with binding?
Hallo, I have a class object at present like below. I have this collection in binding list and with binding source it is bound to textbox controls. I have two text boxes , one to show the default value as read only and another textbox to enter value for…
APIs that always throw exceptions on .NET Core and .NET 5+
Hello, The list of APIs that always throw exceptions on .NET 5+ has three functions under System.CodeDom.Compiler: CodeDomProvider.CompileAssemblyFromDom CodeDomProvider.CompileAssemblyFromFile …
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
How do you call an async function from Main on a console app?
I have a VB Winforms application that uses Await in Form1_Load and works fine. I would now like to switch this to being a console application. How do i call asynchronous subs or functions from Main?
![](https://techprofile.blob.core.windows.net/images/NDAfsyBLAQAAAAAAAAAAAA.png?8D8A77)
![](https://techprofile.blob.core.windows.net/images/NDAfsyBLAQAAAAAAAAAAAA.png?8D8A77)
How to use picturebox in MVP C#
i have forum with picturebox and some texts so i want to insert photo to database how can i do that . i want to save image to the table by stored procedure in sql using MVP c# so i start with stored procedure : Create procedure…
Textbox Height and text Alignment for four textboxes
Hi Great People. I have 4 textboxes that need to be bigger height than the rest of the textboxes. How can I manipulate the text to be centre of these 4 textboxes. I cannot seem to change the Properties on the Textboxes I have tried using…
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)
Displaying Emoji on Console Program - VB.Net
Dear Friends, I want to display an Emoji on my console program - Not the one like " :-) " but a real one like ![49629-smiling-face.png][1] [1]: /api/attachments/49629-smiling-face.png?platform=QnA Can you please let me know how to do it? …
![](https://techprofile.blob.core.windows.net/images/LkhGAkKbwkeHLUvfCG8zrw.png?8D896F)
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
How to Initialize an object with an instance of the custom object
Hallo, I have a class with Customer and orders and how do i place a dummy order when i initialize customer so that the customer already has 1 order? Public Class Customer Public Sub New() ordersValue = New Orders() End Sub Private WithEvents…