Cannot view code changes in a web project unless I restart Visual Studio!
So, this is not the first time it happens but it's getting worse... I am working on a web based in a package called "AspDoteNetStoreFront" and every page of the site is customizes through XMLPackage files (xml.config). For whose is not aware…
Multiple SQL tables within form, need to update just one
Have a VB form in which there is a main SQL table with 3 other SQL tables linked to get various data. Can't update main table, throws exceptions for the other 3 linked tables. Believe form is trying to update the linked tables as well. Is there a…
Make KeyChar Accept Decimal
Hi I am trying to build a custom calculator to make my data entry more efficient. I am trying to limit a textbox in Visual Basic to only accept one decimal point. So far this code only accepts integers and the Backspace button. Dim Ch As Char = e.KeyChar…
Resizing a Windows Forms border if the border is set to None.
Hello, I am trying to make a simple program that I made to test around with in Windows Forms. I am programming in Visual Basic and I am trying to resize the border of the program. Is this possible? Thanks!
Update a ComboBox selection based on a DataGridView cell value?
I want my data bound combo boxes to change based on the what is selected on my datagridview. This is what I've tried. Private Sub MyDataGridView_SelectionChanged(sender As Object, e As EventArgs) Handles DataGridView1.SelectionChanged …
VB.NET determine if a file is ASCII text before opening?
One can select a file via OpenFileDialog, and set the file filters to .TXT or other extensions to limit input files to text based files. However, it is possible to have an ASCII text file that has no extension, or the wrong extension. Likewise, binary…
What are the correct syntax of SQL in Visual Basic 2019?
Hi, I am learning how to use the Visual Basic 2019/2017. Currently, I have a problem to find the right syntax of SQL within the program code to use. In order to simplify my questions, I have just created the following simple code to test and ask for…
As byte to bytes
Hello, ive this code: Private Shared HexFind As Byte() = {&H1A, &H2A, &H3A, &H4A, &H5A} Private Shared HexReplace As Byte() = {&H1B, &H2B, &H3B, &H4B, &H5B} Private Shared Function DetectHex(ByVal sequence…
how to create pop up message when checked box didn't check
]1 when I choose the service and then I click submit the total of services will be appeared in the total text box. the problem is I want to make a warning message appear when I didn't choose any services and then click submit. this is my if statement for…
extension for running Visual Basic script in Visual Studio Code
I want to run Visual Basic code in Visual Studio Code. So, when I search for Visual Basic extension in Visual Studio Code, it shows several extensions. Which is the right extension for running Visual Basic script in Visual Studio Code?
How do I create an animation from a series of bmp files (in dot net)
How do I create an animation from a series of bmp files in dot net? Suppose for example I want to show a cartoon, and I have the frames for it, each one in a bmp file. One way to do this within a program is just use a timer to show successive…
How can I programmatically select every newly added row in a DataGridView?
I have a button set up that adds a new row to my data grid. I have tried DataGridView1.CurrentCell = DataGridView1.Rows(DataGridView1.Rows.Count - 1).Cells(0) While this code does select every newly added row, it resets all my True's to False (I…
Pop up message to remote computer
Hello, I am trying to send a pop up notification (message) to a remote computer using some proposed methods using the command prompt always unsuccessfully. Could you please help with a Visual Basic program to do this. Thanks a lot.
Error connecting Oracle with c#
Hi everyone. I have an issue trying to connect Oracle with C#, I hope you can helpme. I’m using Oracle SQL Developer and make the connection successfully: Everything Works fine: But then, when I’m trying to connect to that database…
WINDOWS CAMERA APP AND VB.NET
I WOULD LIKE TO SNAP A PICTURE WHEN AN UNAUTHORIZED USER PLUGS IN A PHONE OR USB DEVICE AND POSSIBLY STORE THAT TO DISK. IS ANYONE AWARE OF COMMAND LINE SWITCHES OR PROGRAM 'REFERENCES' USING VB.NET FOR THE BUILT IN WINDOWS CAMERA APP? THE IMPORTS FOR…
Missing MouseDown/up using DrawingVisual
I'm building a custom chart app using drawingvisual; I draw the chart with lines and the highlight some regions with rectangles; also added a Vertical line as a cursor/mousepointer; The user can grab the point and change it so I manage to use Mouse…
How to get Field Name in code
I am trying to get the Field Name that is on the Fields tab in Dataset Properties and can't figure out how. I need to get the field name so I can compare it to a list of values. I am sure a custom function could be created, I just don't know VB.
split PrintPage for the number of parts
HI I have a database with the name of the employee, his data, and a picture of the employee. I want to split the print page into 3 parts in length and 3 parts in width. In each part, a picture of the employee and the name of the employee is…
VB getting ID of imagebutton onclick
Hi In my Web site I use VB and I have a sub where I have 5 onClick imageButtons that can trigger that sub. How can I get ID of the button which triggered that sub so I can use it in If statement? aspx: <asp:ImageButton ID="gb"…