|
-
Jun 15th, 2008, 03:01 PM
#1
Thread Starter
Addicted Member
output statements
hi i need help if finding out what an output statement is. i know what an input statements (where ther user enters data in a input box) is but not an output statement? can any body help me? an example would be great.
-
Jun 15th, 2008, 04:30 PM
#2
Re: output statements
Not sure what you do know about the "Input" but there several flavors of it:
Code:
'get some text input from the user
some_input_from_userinputbox = InputBox("Type Something", "Test Input", "Hello")
Open "c:\test" For Input As #1
'read entire file using Input function
entire_text = Input(LOF(1), #1)
'or read it line by line using Line Input
Do While Not EOF(1)
Line Input #1, current_line
Loop
Close #1
many other sample may follow...
Anyway, what type of Output are you looking to achieve?
-
Jun 16th, 2008, 01:08 PM
#3
Thread Starter
Addicted Member
Re: output statements
i want to find out ALL the available output statements. by the way is a message box an output statement or not?
-
Jun 16th, 2008, 01:14 PM
#4
Re: output statements
Output to what? Sure a MsgBox "could" be considered an output to screen type of statement but is this some kind of assignment.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2008, 01:37 PM
#5
Re: output statements
 Originally Posted by adam786
i want to find out ALL the available output statements.
How something is output is pretty much limited to your own imagination. You can pretty much output it to anything you want.
-
Jun 16th, 2008, 01:41 PM
#6
Re: output statements
A question like this sure sounds like an assignment. Did your teacher mean outputs to screen, printer or other periphial devices?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2008, 03:41 PM
#7
Thread Starter
Addicted Member
Re: output statements
nope no kind of assignment just trying to get my head round it because i saw this on some other forums and just wanted to investigate. so i would say message boxes, print to screen, printers, etc are output statements. thanks for all your help its appreciated.
-
Jun 16th, 2008, 03:43 PM
#8
Re: output statements
There are way too many to list. It should be you tell us what you are trying to do and we can help you easier then trying to list out everything as there are probably thousands of ways and functions etc to "output".
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2008, 03:48 PM
#9
Re: output statements
 Originally Posted by Hack
...You can pretty much output it to anything you want.
... without actually using the "output" keyword.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|