Search results for query: *

  1. M

    Problems with InputBox

    Exactly that. I avoided using Inputbox in that case as nobody else hit the answer. But checking now, you have. I'm using Net 5.0 as a target framework now and can confirm that it is there and available. So thanks.
  2. M

    Problems with InputBox

    You complained last time I didn't give you enough information so obviously I do not know what is relevant and what is not. So I gave you everything. I said it was a "WinFormsApp" template: I simply clicked on that template on the newly installed version of the above version of Visual Studio...
  3. M

    Problems with InputBox

    This is a newly downloaded version of everything - totally vanilla - nothing modified. According to the VS help box it is Version 16.9.4 (c) 2021 Microsoft Corporation Microsoft .Net framework Version 4.8.04084 (c) 2021 Microsoft Corporation. The project is a WinFormsApp. Full Copy info...
  4. M

    Problems with InputBox

    Exact steps 1. Open a new project 2. In a blank form create a button 3. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim s As String = InputBox("Enter value") End Sub That's it. At this point InputBox is given a wiggly red line under it with the...
  5. M

    Problems with InputBox

    As I have said Microsoft.VisualBasic.Interaction.InputBox ,e Microsoft.VisualBasic.InputBox , Interaction.InputBox and InputBox all do not work. I have tried it in a brand new open project. All of these flag an error. The first and thirdreport that InputBox is not a member of Interaction...
  6. M

    Problems with InputBox

    I am trying to upgrade an old visual basic program and have hit one problem. The use of InputBox() fails with "InputBox is not declared". Error BC30451 Various sources say it is a member variously of Microsoft.VisualBasic or Microsoft.VisualBasic.Interaction namespaces But Dim s as string=...
Back
Top