vb.net

  1. J

    Resolved Need help with adapting C DLL function prototype to VB.Net

    Hi all, I am creating the vb.net application based on C described DLL. I am trying to solve the problem with declaration and using callback function which causing AccessViolationException: The original callback function prototype: typedef void(* NOTIFY_FUNC) (uint32_t MsgId, uint32_t wParam...
  2. luca89

    Question Unable to populate RDLC from DataSet

    I manually created a DataSet with a DataTable inside. I would to add with the code values to columns in this DataTable and show them in a Report. But I get different errors. In my RDLC file I have a DataSource named `companyReportBudget` and a Dataset named `Report`. This dataset has...
  3. RobertAlanGustafsonII

    Question How do I host an arbitrary custom control in a DataGridView cell?

    WHAT I HAVE: Visual Basic 2019, .NET Framwork 4.0+, WinForms MY ISSUE: I've read the help topic "How to: Host Controls in Windows Forms DataGridView Cells", which shows how to host a DateTimePicker control in a cell via having a class that derives from it and implements...
  4. RobertAlanGustafsonII

    Question How can my desktop app download and install another app?

    WHAT I HAVE: Visual Basic 2019, .NET Framework 4.6+, WinForms MY ISSUE: I want my desktop app to be able to, should it find that a secondary program (say, Skype for Desktop or some other freeware that my code invokes) not present on my system (that's relatively easy to determine), attempt to...
  5. N

    Question Passing variable to another sub routine

    Good afternoon, Please be gentle, i'm only a begineer at coding! I have the following sub routine which extracts information from a datagrid. It's only 2 columns so quite simple. The variable which is passed to the sub "SaveREGtxt(reg)" needs to be available outside of the below sub routine and...
  6. Pixel-Ink

    Resolved No Windows Explorer in Enumerated Window List in Listbox

    I have this working code (below) that gets a list of all opened windows. However, it doesn't show 2 Windows Explorer windows I have open on the desktop. What do I use to make those to show up in the list?? Thanks in advance. I would really appreciate your input. Imports System.IO Imports...
  7. S

    SQLite in vb display all rows.

    I am doing a school preoject and have looked into a lot of things but cannot seem to find a way to display all rows of a database. i have been using .ExecuteScalar but it will only display the first result. I cannot post my code in case i am accused of copying as this is an important project for...
  8. nurmans

    How to implement plugin?

    I know this is probably a frequently asked question, but I've been spending all day trying to find a solution to this problem. Now, I am working on a project in which VB is partially used. And in a program that has been made by someone else, there is a VB class that I want to develop little a...
  9. L

    Question How do I add commas in numbers automatically?

    Hi! I am creating a system where when i type a number in textbox1, it automatically add commas. ive searched in the internet and found almost similar functions on what i am looking for. but i have a problem, i dont want the < .00 > decimal to show during i enter the numbers and i will only add...
  10. L

    Resolved output of .Location.X/.Y is not accurate?

    Hi, im having difficulty in getting the accurate location of the image i want to capture, how do i correct this? ive tried to manually put the X and Y number but the result was the same. (Please see Attached Image, The First Image is the whole form and the second image was the result after...
  11. Taiizor

    FYI .NET WinForms UI/UX Component Library

    Welcome to ReaLTaiizor ReaLTaiizor is a UI/UX component library. It allows you to make modern designs using the various components it offers. Usage Step 1:Add a reference to ReaLTaiizor or search for ReaLTaiizor on the NuGet; Install-Package ReaLTaiizor Step 2:Enjoy designing Examples...
  12. S

    How to save hindi data from textbox to SQL server?

    Hello Friends, This is regarding an issue in vb.net application. In a textbox, we have set the font of a textbox as Kruti Dev 010. While typing the text is shown in hindi. But when we convert it into string say, Dim s As String = txthindiname.Text This string shows the data in english, and...
  13. L

    Camera app - Help?

    Hi, im a student, new here and new to vb.net. we have this assignment, to create camera application using webcam with the following features : crop/save/upload i already did this, but i want to change it after seeing this in youtube and i like it and i thank him. i tried to make it in .net...
  14. 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) '...
  15. 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 =...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top