.NET Framework - inputbox (Neube)

Asked By Uwe Conradi
20-Nov-09 06:27 AM
Hallo zusammen,
ich erhalte hier
Dim s As String = s = InputBox("dfdf")
die Fehlermeldung: Klasse kann nicht indiziert werden, da sie keine
Standardeigenschaft hat.
Was soll ich tun?
Danke!
Gruss
Uwe
Visual
(1)
Standardeigenschaft
(1)
Chefredakteur
(1)
Fehlermeldung
(1)
Schreibweise
(1)
Symbolsuche
(1)
Allerdings
(1)
Entweder
(1)
  Harald M. Genauck replied to Uwe Conradi
20-Nov-09 07:04 AM
Hallo Uwe,


Wo hast Du diese Syntax (Schreibweise) her ...?


Entweder korrekt


Dim s As String
s = InputBox("dfdf")


oder


Dim s As String = InputBox("dfdf")


schreiben.


Viele Gr??e

Harald M. Genauck
  Armin Zingler replied to Uwe Conradi
20-Nov-09 07:06 AM
Uwe Conradi schrieb:

Wenn die Zeile so dasteht wie oben, dann verwende Option Strict On und beseitige
den Fehler.

Jedoch bekomme ich auch mit Option Strict Off nicht den
von dir genannten Laufzeitfehler. Allerdings auch nicht, wenn ich die Zeile
auf zwei aufteile (dim s as string....  s = inputbox(...))

Ich vermute, du hast eine eigene Klasse geschrieben oder eine importiert,
die InputBox hei?t. L?sst sich mit "gehe zu definition" auf dem Wort Inputbox
feststellen. Den voll qualifizierten Namen der Inputbox findest du ?ber die
Symbolsuche bzw dann im Objektbrowser.

--
Armin
  Uwe Conradi replied to Harald M. Genauck
20-Nov-09 03:18 PM
Sorry, ich wollte schreiben:
Dim s As String =  InputBox("dfdf")
Darauf bekomme ich den gesagten Fehler.
  Uwe Conradi replied to Armin Zingler
20-Nov-09 03:23 PM
Hallo Armin,
Ja, vielen Dank Armin, so war das! Geschrieben und dann noch vergessen, was
ich geschrieben habe!
Vielen Dank nochmals!
Gruss
Uwe
Create New Account
help
Is Visual Studio self-hosting ? .NET Framework Does Microsoft use Visual Studio IDE, Visual Studio Debugger, Visual Studio Linker and Visual Studio compiler for developing Visual Studio ? Or is Visual Studio not good enough for them and are they in fact using something else ? Visual Studio Development Discussions Visual Studio (1) Linker (1) Don't spread it around but they
Visual Studio vs Visual Web Developer .NET Framework Hi! The Visual Web Developer is better than Visual Studio 2005 for web development? All the Ajax examples are developed in Visual Web Developer. Thanks ASP.NET Discussions Visual Studio 2005 (1) Visual Studio (1) Office (1) Compiler (1) Library (1) Control (1) Coverage (1) Database (1) I think you're confusing the products here. Visual Web Developer IS the web design portion of Visual Studio. Visual Studio includes a number
Upgrade Visual Studio 6 to Visual Studio 2008? .NET Framework I have Visual Studio 6 Professional. Can I install the upgrade version of Visual Studio 2008 Professional? I cannot find this info on Microsoft's website. Visual Studio General Discussions Visual Studio 2008 (1) Visual Studio (1) ArchibaldMartel (1) If VS6 is not listed as a possible upgrade, then the be a licensed user of one of the following products: * An earlier version of Microsoft Visual Studio * Any other developer tool (including free developer tools, such as Visual Studio Express Editions
Visual Basic / Visual Studio 2008 Embedded SQL .NET Framework What is the easiest (as most like simple embedded SQL) to declare and open / then process a cursor in Visual Basic / Visual Studio 2008? I wish it were as simple as it was in MF Cobol or and its flavors where your could just use EXEC SQL . . . . . . . . . . END EXEC. VB.NET Discussions Visual Studio 2008 (1) Office (1) Table1.ClassOffice (1) DateTime (1) ADO.NET (1) ADODB (1 can do it. for ext - Yes, but what is the "Classic ADO" syntax / implementation in Visual Studio / Basic 2008? On Mar 12, 11:22 am, "aaron.ke. . .@gmail.com" <aaron.ke. . .@gmail.com> - -Yes, but what is the "Classic ADO" syntax / implementation in Visual - -Studio / Basic 2008? Be careful about listening to him. He was trolling pretty heavily in your original request? If you clarify, someone will probably help you. RobinS. GoldMail.com keywords: Visual, Basic / Visual, Studio, 2008, Embedded, SQL description: What is the easiest (as most like simple