Cannot get visual appearance of a UserControl to change
I use a UserControl called Dot to draw circles on a map: <UserControl x:Class="Dot" ..... <Ellipse Fill="{Binding Path=FillColor}" Height="{Binding Path=Diameter}" …
Drawing on a Panel (System.Drawing.Drawing2D)
I'm completely new to using the drawing facilities in vb.net Nevertheless I've managed to create a prototype drawing on a Panel. It's just a rectangle with the top right corner bevelled, then there are a couple of circles tangential to the bevel.…
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
Finding the location of a specific image inside a PictureBox with VB.NET
I have a PictureBox with a image inside it. Inside that image, there is a object placed inside it, which in this case is a 'Red X' in the following image (Just an example of what I mean): I'm trying to find a way where I can search for the…
wireless relay control over wifi lan
I am looking for help-discussion about adding code to an existing vb.net visual basic application in windows 10 pc environment to control relays wirelessly over wifi lan.
How do I publish with sql Database in Visual Basic / Visual Studio 2019
Hi good People I have created a program and publish it. But when I click on the published program. and install it, My SQL database cannot be found. This program will be an offline. (installed from CD or USB) . So Have I got to import the SQL Database…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
Add string to List(of String) in an Object
Hallo, I have a following object and i want to add a string to a list but i am getting error. What am i doing wrong? Public Class ItemsColl Public Property Coll1 as List(of String) End Class Public CollList as New…
Blinking of controls
I've a web page that get list of items from a database. Upon selection of an item from list, I need to display certain details from database. But as soon as I select item in combo box, screen gets blink for a second. The same thing happens when I change…
Need code for "cut" command for in a ComboBox
I want to add the "cut" and "paste" feature to a ComboBox, and I am not finding the code for it. Can anyone provide me with "Cut" and "Paste" codes for ComboBox.
can you access audio resources by using a variable name instead of the resource name?
I am just starting to code a program that will read a text file one character at a time and play a wav file from My.Resources. The resources wav files are the morse code dots and dashes for each letter. The resource items are named a,b,c etc. Is…
vb.net cannot connect to MS Access database
Here is my steps: Download and install MS Access database engine 2016, and I can query sample databases. Please note I have a 64 bit PC, but I have to install 32 bit as the set-up instructed. In my vb.net project, I want to connect to the MS…
I must have done something wrong, because i can still start my program, but i can not enter my design form anymore and my code is gone. All I See is code with a lot of me.xxxxx starting. What have i done wrong?
After a evening of programming, I changed the name of my Form (Form1) to soemthing else and got an incomprehensible error. I was stubborn and said yes and now all seems lost. I can still start my program and it works still fine, but i can not get back to…
vb.net : sending data to excel : for each record
Hello All Please if you could tell me what I am doing wrong This is my code xlWorkSheet = xlWorkBook.Worksheets("Biweekly") With xlWorkSheet 'For Each Name on Table …
![](https://techprofile.blob.core.windows.net/images/03i8KyZmrkGagEMMQt7S7A.png?8DB383)
C++/CLI How to Display Ram Info in GB
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { ManagementObjectSearcher searcher("select * from Win32_Processor"); ManagementObjectSearcher searcher1("select * from Win32_VideoController"); …
VB.Net and BitLocker Drive Encryption Status
Hi, Is it possible to get the status of the Bit Locker Drive for the "C:\" volume using VB.Net? Currently I am able to get the status using manage-bde -status and following PowerShell as well: $bitlockerVolume = Get-BitLockerVolume…
You are attempting to open a system file(dll)
I succcessful created windows app set up from visual studio..on Vb.net language Also the set up was successful installed to my pc But the problems comes to to the icon app does not function normal as other apps Ends up giving me a warning tha says …
Visual Studio 2019 - external routines sayiing "It may be inaccessable"
Hi, I am working on some legacy code and have been noticing problems with VS2019. Today I am getting the error messages on all external call to a local DLL. The message is saying "xxxx routine is not declared. It may be inaccessible due to it's…
Importing C/C++ function from DLL in a Visual Basic application
Guys, I'm developing an application in VB which requires importing functions from a C/C++ DLL. Now, I imported several of the functions structuring them like this: Declare Auto Function functionName_i Lib "library.dll" Alias…
Calculator
Arkadaşlar ben bir hesap makinesi kodladım ve bu makinede Virgüllü toplama ,çıkarma çarpma veya bölme yapamıyorum.Mesela 8,6*7,2 diyorum Makine bunu 8*8,6 olarak algılayıp çarpıyor.Yardımınız lazım lütfen. - Türkçe Hi. I designed a Calculator and I…
Prevent NaN result in VB
I have the below calculation in my windows form, how do I make the calculation return a zero in the Label rather than NaN if any of the TextBox text is zero: If txtLA1 = False And txtPA1 = False And txtOA1 = False Then lblSA.Text =…
UserControl Click Event Problem
Hello, I have a problem with a custom button that I am trying to make in visual basic using a usercontrol. It consists of a picturebox and a label. I want to call the click event from my main form, but the picturebox and the label don't do anything…