vb.net

  1. J

    Perform search on Datagridview using SQL queries

    I've written some code to import an Excel spreadsheet into DataGridView. I now need to write some code to perform a search on the DataGridView, where the user enters some search criteria into a text box, and then DataGridVIew control fills with matching results. So, I looked online for a...
  2. W

    FYI Great info on the current state of VB.Net by former PM Anthony Green

    I would HIGHLY recommend reading this for every VB.Net developer. https://anthonydgreen.net/2020/03/15...-practicality/ Also, for those that aren't aware, there is a VB.Net "community" on github here with more information. dotnet/vblang
  3. J

    Importing Excel spreadsheet into DataGridView and completing search

    I am converting an old VBA application to VB.NET. This application contains several tools, and I need some help converting one of them over. Essentially, there is an Excel spreadsheet full of customer information such as the customer's company name, model number, serial number, warranty end...
  4. kdsdata

    Why Microsoft has no VB examples

    When I search Microsoft site(s) for things that should include examples in vb.net code there usually is only c#. And so it goes on most sites that are returned for Google searches. One survey for late 2019 says vb.net is as strong as ever, something like in the top 5 platforms. So why is it so...
  5. Runescope

    Question Putting multiple texts into an image.

    What I have is a couple hundred patterns that I want to paste or insert or what have you onto a picturebox at a particular spot. I can get the pattern to show up where I click with no problem. What I can't do though is get more than one pattern to show up in the picturebox. Every time I click...
  6. M

    Multi-Threaded file copying?

    Hello, Im a noob but am trying to learn. Ive found a way to make VB useful for a task ive been given to copy thousands of files to a slow SAN server daily. Right now i copy one file at a time. it works. painfully slow but it works. What id like to do is come up with some kind of stack where...
  7. N

    Question Read Time & Seconds From JSON file and Send Mail

    Hi, I a going to develop a new VB.net Windows service which will continuously run and read data from JSOn File and send mail. JSON file contains 2 array with Different time [Below is the Sample JSON]. NextRuntime parameter is when the particular section of JSON file to be Execute at defined...
  8. Runescope

    Resolved Pick from DataGridView ComboBox with Pre-Filled Collection

    So I have a DataGridView control, it has a few columns, one column is a DataGridViewComboBoxColumn. I have pre-filled it through it's own Items collection with the numbers 0 to 9. I want to pick one of the numbers as a default when the program loads, how do I select it's index? Here's the...
  9. S

    Question Listview TopItem Alternatives with Groups

    Hi all, In a function called up the PageUP and PageDown keys, in the presence of a grouping, I need to scroll the items of a listview positioning the first item of the group as the first element of the listview. I saw that the "TopItem" property works only in the absence of groups. I tried this...
  10. J

    Question selenium webdriver run only one instance

    i want to access Form1 class Selenium from another class but problem here is whenever access to Form1 selenium another instance execute. i only want to use only one instance . anyone enlighten me much appreciate Public Class Form1 Public service As ChromeDriverService =...
  11. K

    Error printing of RDLC Report

    I'm using the RDLC report in VB.Net 2015. In report design -> Report properties, I set Paper size = A4, Width = 21cm, Height = 29.7cm, Top = Left = Right = Bottom = 2cm. In Body Properties, I set Width = 17cm (= 21 - 2 - 2) and place the controls in the design area. However, when the...
  12. A

    Question How to skip/ignore or bypass empty Text boxes while calculating ?

    i am developing a simple marks grading system using vb.net in visual studio 2013. my code is this. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If TextBox1.Text >= 0 And TextBox1.Text = 51 And TextBox1.Text = 0 And TextBox2.Text = 51 And TextBox2.Text...
  13. Herry Markowitz

    How to prevent a TabItem from being selected?

    There is no TabControl.Selecting Event in the WPF while there is in the Winform as you can see following. https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx I have found following source in order to prevent a TabItem from being selected. https://joshsmithonwpf.wordpress.com...eing-selected/...
  14. D

    Question What does no value given for one or more required parameters mean? How to fix?

    Hi all, I'm making a program in which the user can update a table of their choice from a list box. When an item in the listbox is selected, it shows the MS-Access database in the DataGridView. When a user selects a cell in the DataGridView, it will show the ID, the field name and the actual data...
  15. T

    Question WebClient Proxy Issue...

    I have been working on a small application that can crawl Google to show some of the search engine results pages and the WebClient normally connects fine, but after trying to connect to Google thru the WebClient proxy property, it just isn't connecting properly. Here is the code that I'm working...
  16. A

    Update requires a valid InsertCommand when passed DataRow collection with new rows vb

    am getting the folowing error Update requires a valid InsertCommand when passed DataRow collection with new rows and i have no idea why it's happening it's happening in else part.!!please need help no idea why it's happening Using ta As New dsUsersTableAdapters.wsm_Contact_UserTableAdapter...
  17. J

    Unable to download file from https server

    Hello Everyone, I download file from my website using url https://www.example.com/abc.txt and through my.computer.network.downloadfile command. However it is working fine in all version of Windows except XP. In Windows XP it gives error connection was closed by server. What can I do ? How to...
  18. G

    Question Can I use SQLITE with Reportviewer

    I have used SQL Server to create an local database in a vb.net application. SQL are giving me all sorts of headaches. I want to migrate to SQLITE. My Questions is can I still use ReportViewer in my application with SQLITE ?
  19. D

    Calling SQL stored proc from web app - SP runs but does not update

    I am attempting to update a SQL 2008R2 database from a VB.NET web page, and it appears the SQL stored proc is executing properly, but absolutely nothing is being updated. I have run debug and there are no errors on the VB side, and the SP runs fine within SQL. I fully admit to being rather new...
  20. G

    Question reports does not show external image

    I have the following code to generate a report. The external images only shows a red x. After three days of trying everything I am about to give up as I have tried many suggestions. None are working. Dim path As String = "file:///" &...
Top Bottom