vb.net

  1. KenQui

    Resolved Syntax error in INSERT INTO statement

    What is wrong in my code below? How to fix the error? Private Sub AddAdmin() ' ADD PARAMETERS aAccess.AddParam("@admin_no", txtANo.Text) aAccess.AddParam("@username", txtAUsername.Text) aAccess.AddParam("@password", txtAPassword.Text) '...
  2. K

    window.open not working in Edge

    I am fixing issues with Edge in a VB.Net Visual Studio 2010 application and window.open does not open the print screen. The code below show the "url" and "script" variables are correct when debugging; however, the screen is not opening. Dim url As String =...
  3. Someone123

    Resolved Label not showing whole sentence

    I'm making a project through and I'm trying to add review feature in it. I can add the review easily but I got stuck when I tried showing reviews. It only shows 2-3 words from each reviews only. I thought the datatable may have incomplete info but it had complete info after checking with msgbox...
  4. Vardan

    Converted WinForms .NET core to .NET Framework project...Facing errors

    I was trying to convert a existing Windows Form Application (VB.NET) to Windows Form Application (VB.NET Framework) as I wanted to use Data Sources. After copying all the sources files and form design files and making necessary changes in the code, the application is running but with some kind...
  5. L

    Resolved Send email function error

    I have issue with my code, what i receive as error is : System.ArgumentException: 'Argument 'Prompt' cannot be converted to type 'String'.' and it's always shows Catch ex As System.Exception MsgBox(ex, MsgBoxStyle.Critical) End Try i have try to add in my google account...
  6. L

    Question Fetch items from Datagridview to Attachment

    Hello can someone help me, How i can fetch the items from datagridview to attach them to email How it will be in function SendMail() Can someone tell me is it correct now , how to read files from Datagridview in attachment Public Sub SendMail() Dim oEmail As MailItem = CType(New...
  7. V

    Unable to add and Delete controls Programmatically

    Hi there !! I am currently working in a desktop based application where I have to add controls programmatically and then to get the name of the control to remove it. Now the issue which I am facing is the name for the control changes as I add more controls to the form and I am unable to remove...
  8. T

    Converting Curl command to Httpwebrequest with request body.

    Hello Everyone, I hope I found the right platform to ask this question. I have searched a lot but didn't find any right answer to my problem. I have a few API calls that I can run with Curl and they work totally fine. I can easily make GET request and converted that into httpwebrequest and it...
  9. D

    mixing StreamGeometry and shapes

    I'm drawing a chart from a binary file with StreamGeometry, and work fine; I need to do a "selection effect" so I tryed to add the code that I have tested alone that draw a semitrasparent rectangle clicking the mouse, but it have an odd behavier: before to draw the chart(done by clicking the...
  10. Sriram Surampudi

    Question How to open popup window and redirect to another page

    I have a situation, when I click on a button, I need to open a URL in browser's pop-up window and then redirect the current page to another page using VB.NET. But when I click on the button, I am not seeing the pop-up window but page is redirecting based on the condition. To open the popup...
  11. Kirito

    VB.Net in Jetbrains Rider - Help!?

    Hi :) I'm using Jetbrains Rider. It's nice, but the VB.Net support is kinda buggy currently. There are some tickets open for some quite important stuff, but jetbrains decided now to not further investigate until the tickets get enough upvotes. I guess they think there are not enough people...
  12. L

    quickly ping a range of ip addresses

    Good day! Tell me how to quickly ping a range of ip addresses with Resp output. Time, HostName, Mac? The form has a datagridview 2 text boxes and a button. Enter the range of ip addresses in the text fields, click on the button and the datagridview is filled. there is the following code, which...
  13. Deva

    Is it safe method to connect database in online?

    Is it safe method to connect mysql database in online using vb.net ? help me out is there is any other way ? Public MysqlConnection As String = "Data Source=.;Database=newDatabase;User Id=root; Password=admin"
  14. A

    Question how do I code a button to select an image?

    I want the user to select an image by clicking the button and then clicking select that will close the form. I have the images in a separate folder that I have added as a picturebox and they are added above their respected button. So what I am trying to do is create an if-else statement, where...
  15. darshan

    Question Identify the wrong code

    Public Sub Main(sDocumentType() As String) Try _dtParameters = DjjData.GetApplicationParameters(ApplicationType) ErrorPanel.DJJ_ApplicationType = ApplicationType ErrorPanel.DJJ_BizType = BizType ErrorPanel.DJJ_Emailonerror = True...
  16. M

    Question win32_portconnector is used for ?

    what win32_portconnector is used for ? This question have 3 parts. What is the use case of win32_portconnector ? Can I get state of ports using it like Mouse cable, charger, HDMI cables etc ? Why VM have null results on this query :Get-WmiObject Win32_PortConnector ? On VM: PS...
  17. LMCKC207

    Resolved how to display text in a listbox?

    Hello, I need some help, please. I'm trying to replicate this image but I have no idea how to do the squared one. It is a list box but I don't know how to display the text like that inside of that.
  18. Innww

    Resolved Drag & Drop uwp app to winforms for AUIMD

    I am trying to "Drag & Drop" icons from the Start Menu in windows 10 to get it's Target; Naturally this works with .lnk but when dealing with a UWP . FileName, FileNameW and FileDrop is always "Nothing" I can't figure this out. Is there a way to perhaps help me? I have tried everything I could...
  19. J

    Question Connecting individual programs to MySQL

    Hello all! To give a bit of background, I'm working on a program that allows customers (each with their own client) to scan a barcode and it uploads to a MySQL database. Now, my questions: What is the process for either making each client program that I install on their computer to be ID'd as...
  20. 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...
Top Bottom