vb6parse 1.0.1

vb6parse is a library for parsing and analyzing VB6 code, from projects, to controls, to modules, and forms.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="VB6Parse Library Reference - inputbox - Interaction">
    <title>inputbox - Interaction - VB6Parse Library Reference</title>
    <link rel="stylesheet" href="../../../assets/css/style.css">
    <link rel="stylesheet" href="../../../assets/css/docs-style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css">
    <script src="../../../assets/js/theme-switcher.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/vbnet.min.js"></script>
    <script>hljs.highlightAll();</script>
</head>
<body>
    <header class="docs-header">
        <div class="container">
            <h1><a href="../../../index.html">VB6Parse</a> / <a href="../../../library/index.html">Library</a> / <a href="../../../library/functions/interaction/index.html">Interaction</a> / inputbox</h1>
            <p class="tagline">VB6 Library Reference</p>
        </div>
    </header>

    <nav class="docs-nav">
        <div class="container">
            <a href="../../../index.html">Home</a>
            <a href="../../../library/index.html">Library Reference</a>
            <a href="../../../documentation.html">Documentation</a>
            <a href="https://docs.rs/vb6parse" target="_blank">API Docs</a>
            <a href="https://github.com/scriptandcompile/vb6parse" target="_blank">GitHub</a>
            <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
                <span class="theme-icon">🌙</span>
            </button>
        </div>
    </nav>

    <main class="container">
        
        <article class="library-item">
            <h1 id="inputbox-function">InputBox Function</h1>
<p>Displays a prompt in a dialog box, waits for the user to input text or click a button,
and returns a <code>String</code> containing the contents of the text box.</p>
<h2 id="syntax">Syntax</h2>
<pre><code class="language-vbnet">InputBox(prompt[, title][, default][, xpos][, ypos][, helpfile, context])</code></pre>
<h2 id="parameters">Parameters</h2>
<ul>
<li><code>prompt</code> (Required): <code>String</code> expression displayed as the message in the dialog box. Maximum length is approximately 1024 characters, depending on width of characters used. Can include line breaks using <code>vbCrLf</code>, <code>vbNewLine</code>, or <code>Chr(13) &amp; Chr(10)</code></li>
<li><code>title</code> (Optional): <code>String</code> expression displayed in the title bar of the dialog box. If omitted, the application name is displayed</li>
<li><code>default</code> (Optional): <code>String</code> expression displayed in the text box as the default response if no other input is provided. If omitted, the text box is displayed empty</li>
<li><code>xpos</code> (Optional): Numeric expression that specifies, in twips, the horizontal distance from the left edge of the screen. If omitted, the dialog box is horizontally centered</li>
<li><code>ypos</code> (Optional): Numeric expression that specifies, in twips, the vertical distance from the top of the screen. If omitted, the dialog box is positioned vertically approximately one-third down the screen</li>
<li><code>helpfile</code> (Optional): <code>String</code> expression that identifies the Help file to use. If provided, context must also be provided</li>
<li><code>context</code> (Optional): Numeric expression that identifies the Help context number assigned to the Help topic. If provided, helpfile must also be provided</li>
</ul>
<h2 id="return-value">Return Value</h2>
<p>Returns a <code>String</code>:
- If OK is clicked or Enter is pressed: Returns the text in the text box
- If Cancel is clicked: Returns an empty string ("")
- If Esc is pressed: Returns an empty string ("")
- If the default parameter is provided and user clicks OK without entering text: Returns the default value</p>
<h2 id="remarks">Remarks</h2>
<p>The <code>InputBox</code> function provides a simple way to get user input:
- Displays a modal dialog box that blocks execution until user responds
- The dialog always includes OK and Cancel buttons
- Pressing Enter is equivalent to clicking OK
- Pressing Esc is equivalent to clicking Cancel
- Cannot distinguish between Cancel and an empty string entered by user
- For multi-line input, use a custom form instead
- Maximum prompt length is approximately 1024 characters
- Position parameters (xpos, ypos) are in twips (1440 twips = 1 inch)
- Help integration requires both helpfile and context parameters
- The text box accepts a single line of text (no multi-line support)
- Input is returned as typed (no automatic validation or conversion)
- Always returns a <code>String</code>, even if numeric input is expected</p>
<h2 id="typical-uses">Typical Uses</h2>
<ol>
<li><strong>Simple User Input</strong>: Get basic text input from users</li>
<li><strong>Configuration Values</strong>: Prompt for settings or preferences</li>
<li><strong>Data Entry</strong>: Quick single-value data entry</li>
<li><strong>File Names</strong>: Prompt for file or folder names</li>
<li><strong>Search Terms</strong>: Get search queries from users</li>
<li><strong>Passwords</strong>: Simple password entry (though text is visible)</li>
<li><strong>Numeric Input</strong>: Get numeric values (requires validation)</li>
<li><strong>Confirmation Input</strong>: Request verification text from users</li>
</ol>
<h2 id="basic-usage-examples">Basic Usage Examples</h2>
<pre><code class="language-vbnet">&#x27; Example 1: Simple input
Dim userName As String
userName = InputBox(&quot;Enter your name:&quot;)
If userName &lt;&gt; &quot;&quot; Then
    MsgBox &quot;Hello, &quot; &amp; userName
End If
&#x27; Example 2: With title and default
Dim age As String
age = InputBox(&quot;Enter your age:&quot;, &quot;Age Entry&quot;, &quot;18&quot;)
If IsNumeric(age) Then
    MsgBox &quot;You are &quot; &amp; age &amp; &quot; years old&quot;
End If
&#x27; Example 3: With position
Dim response As String
response = InputBox(&quot;Enter response:&quot;, &quot;Input&quot;, &quot;&quot;, 1000, 1000)
&#x27; Example 4: Multi-line prompt
Dim email As String
email = InputBox(&quot;Please enter your email address:&quot; &amp; vbCrLf &amp; _
                 &quot;This will be used for notifications.&quot;, _
                 &quot;Email Address&quot;)</code></pre>
<h2 id="common-patterns">Common Patterns</h2>
<pre><code class="language-vbnet">&#x27; Pattern 1: Validate numeric input
Function GetNumericInput(prompt As String, Optional default As String = &quot;0&quot;) As Double
    Dim input As String
    Dim result As Double
    Do
        input = InputBox(prompt, &quot;Numeric Input&quot;, default)
        If input = &quot;&quot; Then
            GetNumericInput = 0
            Exit Function
        End If
        If IsNumeric(input) Then
            GetNumericInput = CDbl(input)
            Exit Function
        End If
        MsgBox &quot;Please enter a valid number&quot;, vbExclamation
    Loop
End Function
&#x27; Pattern 2: Required input (loop until provided)
Function GetRequiredInput(prompt As String, title As String) As String
    Dim input As String
    Do
        input = InputBox(prompt, title)
        If input &lt;&gt; &quot;&quot; Then
            GetRequiredInput = input
            Exit Function
        End If
        If MsgBox(&quot;Input is required. Try again?&quot;, vbYesNo) = vbNo Then
            GetRequiredInput = &quot;&quot;
            Exit Function
        End If
    Loop
End Function
&#x27; Pattern 3: Input with validation
Function GetEmailAddress() As String
    Dim email As String
    Do
        email = InputBox(&quot;Enter your email address:&quot;, &quot;Email&quot;)
        If email = &quot;&quot; Then
            GetEmailAddress = &quot;&quot;
            Exit Function
        End If
        If InStr(email, &quot;@&quot;) &gt; 0 And InStr(email, &quot;.&quot;) &gt; 0 Then
            GetEmailAddress = email
            Exit Function
        End If
        MsgBox &quot;Please enter a valid email address&quot;, vbExclamation
    Loop
End Function
&#x27; Pattern 4: Input with range validation
Function GetIntegerInRange(prompt As String, minVal As Long, maxVal As Long) As Long
    Dim input As String
    Dim value As Long
    Do
        input = InputBox(prompt &amp; vbCrLf &amp; _
                        &quot;Range: &quot; &amp; minVal &amp; &quot; to &quot; &amp; maxVal, _
                        &quot;Input&quot;, CStr(minVal))
        If input = &quot;&quot; Then
            GetIntegerInRange = minVal
            Exit Function
        End If
        If IsNumeric(input) Then
            value = CLng(input)
            If value &gt;= minVal And value &lt;= maxVal Then
                GetIntegerInRange = value
                Exit Function
            End If
        End If
        MsgBox &quot;Please enter a value between &quot; &amp; minVal &amp; &quot; and &quot; &amp; maxVal, vbExclamation
    Loop
End Function
&#x27; Pattern 5: File name input with validation
Function GetFileName(prompt As String, Optional extension As String = &quot;&quot;) As String
    Dim fileName As String
    Do
        fileName = InputBox(prompt, &quot;File Name&quot;)
        If fileName = &quot;&quot; Then
            GetFileName = &quot;&quot;
            Exit Function
        End If
        &#x27; Check for invalid characters
        If InStr(fileName, &quot;\&quot;) &gt; 0 Or InStr(fileName, &quot;/&quot;) &gt; 0 Or _
           InStr(fileName, &quot;:&quot;) &gt; 0 Or InStr(fileName, &quot;*&quot;) &gt; 0 Or _
           InStr(fileName, &quot;?&quot;) &gt; 0 Or InStr(fileName, &quot;&quot;&quot;&quot;) &gt; 0 Or _
           InStr(fileName, &quot;&lt;&quot;) &gt; 0 Or InStr(fileName, &quot;&gt;&quot;) &gt; 0 Or _
           InStr(fileName, &quot;|&quot;) &gt; 0 Then
            MsgBox &quot;File name contains invalid characters&quot;, vbExclamation
        Else
            If extension &lt;&gt; &quot;&quot; And Right$(fileName, Len(extension)) &lt;&gt; extension Then
                fileName = fileName &amp; extension
            End If
            GetFileName = fileName
            Exit Function
        End If
    Loop
End Function
&#x27; Pattern 6: Password input (simple - visible text)
Function GetPassword(prompt As String) As String
    Dim password As String
    Dim confirm As String
    password = InputBox(prompt, &quot;Password&quot;)
    If password = &quot;&quot; Then
        GetPassword = &quot;&quot;
        Exit Function
    End If
    confirm = InputBox(&quot;Confirm password:&quot;, &quot;Confirm Password&quot;)
    If password = confirm Then
        GetPassword = password
    Else
        MsgBox &quot;Passwords do not match&quot;, vbExclamation
        GetPassword = &quot;&quot;
    End If
End Function
&#x27; Pattern 7: Multiple inputs in sequence
Sub GetUserInfo()
    Dim firstName As String
    Dim lastName As String
    Dim email As String
    firstName = InputBox(&quot;Enter first name:&quot;, &quot;User Information&quot;)
    If firstName = &quot;&quot; Then Exit Sub
    lastName = InputBox(&quot;Enter last name:&quot;, &quot;User Information&quot;)
    If lastName = &quot;&quot; Then Exit Sub
    email = InputBox(&quot;Enter email:&quot;, &quot;User Information&quot;)
    If email = &quot;&quot; Then Exit Sub
    MsgBox &quot;User: &quot; &amp; firstName &amp; &quot; &quot; &amp; lastName &amp; vbCrLf &amp; _
           &quot;Email: &quot; &amp; email
End Sub
&#x27; Pattern 8: Input with list of options in prompt
Function GetOption() As String
    Dim choice As String
    Dim prompt As String
    prompt = &quot;Select an option:&quot; &amp; vbCrLf &amp; _
             &quot;1 - Create new file&quot; &amp; vbCrLf &amp; _
             &quot;2 - Open existing file&quot; &amp; vbCrLf &amp; _
             &quot;3 - Exit&quot; &amp; vbCrLf &amp; vbCrLf &amp; _
             &quot;Enter choice (1-3):&quot;
    choice = InputBox(prompt, &quot;Main Menu&quot;, &quot;1&quot;)
    Select Case choice
        Case &quot;1&quot;, &quot;2&quot;, &quot;3&quot;
            GetOption = choice
        Case Else
            GetOption = &quot;&quot;
    End Select
End Function
&#x27; Pattern 9: Trim and clean input
Function GetCleanInput(prompt As String, title As String) As String
    Dim input As String
    input = InputBox(prompt, title)
    &#x27; Trim whitespace
    input = Trim$(input)
    &#x27; Remove multiple spaces
    Do While InStr(input, &quot;  &quot;) &gt; 0
        input = Replace(input, &quot;  &quot;, &quot; &quot;)
    Loop
    GetCleanInput = input
End Function
&#x27; Pattern 10: Cancel detection with default
Function GetInputWithCancelDetection(prompt As String, defaultValue As String) As Variant
    Dim input As String
    input = InputBox(prompt, &quot;Input&quot;, defaultValue)
    If input = &quot;&quot; And defaultValue &lt;&gt; &quot;&quot; Then
        &#x27; User likely clicked Cancel
        GetInputWithCancelDetection = Null
    Else
        GetInputWithCancelDetection = input
    End If
End Function</code></pre>
<h2 id="advanced-usage-examples">Advanced Usage Examples</h2>
<pre><code class="language-vbnet">&#x27; Example 1: Configuration manager with InputBox
Public Class ConfigManager
    Private m_settings As Collection
    Private Sub Class_Initialize()
        Set m_settings = New Collection
    End Sub
    Public Function GetSetting(key As String, prompt As String, _
                               Optional defaultValue As String = &quot;&quot;) As String
        On Error Resume Next
        GetSetting = m_settings(key)
        If Err.Number &lt;&gt; 0 Or GetSetting = &quot;&quot; Then
            Err.Clear
            GetSetting = InputBox(prompt, &quot;Configuration: &quot; &amp; key, defaultValue)
            If GetSetting &lt;&gt; &quot;&quot; Then
                m_settings.Add GetSetting, key
            End If
        End If
        On Error GoTo 0
    End Function
    Public Sub ClearSettings()
        Set m_settings = New Collection
    End Sub
End Class
&#x27; Example 2: Data validation wrapper
Public Class InputValidator
    Public Enum ValidationType
        vtText = 0
        vtInteger = 1
        vtDecimal = 2
        vtEmail = 3
        vtDate = 4
    End Enum
    Public Function GetValidatedInput(prompt As String, _
                                      validationType As ValidationType, _
                                      Optional title As String = &quot;Input&quot;, _
                                      Optional defaultValue As String = &quot;&quot;) As Variant
        Dim input As String
        Dim isValid As Boolean
        Do
            input = InputBox(prompt, title, defaultValue)
            If input = &quot;&quot; Then
                GetValidatedInput = Null
                Exit Function
            End If
            isValid = ValidateInput(input, validationType)
            If isValid Then
                GetValidatedInput = ConvertInput(input, validationType)
                Exit Function
            Else
                MsgBox &quot;Invalid input. Please try again.&quot;, vbExclamation
            End If
        Loop
    End Function
    Private Function ValidateInput(input As String, vType As ValidationType) As Boolean
        Select Case vType
            Case vtText
                ValidateInput = Len(input) &gt; 0
            Case vtInteger
                ValidateInput = IsNumeric(input) And InStr(input, &quot;.&quot;) = 0
            Case vtDecimal
                ValidateInput = IsNumeric(input)
            Case vtEmail
                ValidateInput = InStr(input, &quot;@&quot;) &gt; 0 And InStr(input, &quot;.&quot;) &gt; 0
            Case vtDate
                ValidateInput = IsDate(input)
            Case Else
                ValidateInput = False
        End Select
    End Function
    Private Function ConvertInput(input As String, vType As ValidationType) As Variant
        Select Case vType
            Case vtInteger
                ConvertInput = CLng(input)
            Case vtDecimal
                ConvertInput = CDbl(input)
            Case vtDate
                ConvertInput = CDate(input)
            Case Else
                ConvertInput = input
        End Select
    End Function
End Class
&#x27; Example 3: Wizard-style input sequence
Function RunWizard() As Boolean
    Dim step1 As String, step2 As String, step3 As String
    Dim prompt As String
    &#x27; Step 1
    prompt = &quot;Step 1 of 3:&quot; &amp; vbCrLf &amp; _
             &quot;Enter project name:&quot;
    step1 = InputBox(prompt, &quot;Project Wizard&quot;)
    If step1 = &quot;&quot; Then
        RunWizard = False
        Exit Function
    End If
    &#x27; Step 2
    prompt = &quot;Step 2 of 3:&quot; &amp; vbCrLf &amp; _
             &quot;Enter project location:&quot;
    step2 = InputBox(prompt, &quot;Project Wizard&quot;, &quot;C:\Projects&quot;)
    If step2 = &quot;&quot; Then
        RunWizard = False
        Exit Function
    End If
    &#x27; Step 3
    prompt = &quot;Step 3 of 3:&quot; &amp; vbCrLf &amp; _
             &quot;Enter description:&quot;
    step3 = InputBox(prompt, &quot;Project Wizard&quot;)
    If step3 = &quot;&quot; Then step3 = &quot;(No description)&quot;
    &#x27; Create project
    MsgBox &quot;Creating project:&quot; &amp; vbCrLf &amp; _
           &quot;Name: &quot; &amp; step1 &amp; vbCrLf &amp; _
           &quot;Location: &quot; &amp; step2 &amp; vbCrLf &amp; _
           &quot;Description: &quot; &amp; step3
    RunWizard = True
End Function
&#x27; Example 4: Search query builder
Function BuildSearchQuery() As String
    Dim searchTerm As String
    Dim filters As String
    Dim query As String
    searchTerm = InputBox(&quot;Enter search term:&quot;, &quot;Search&quot;)
    If searchTerm = &quot;&quot; Then
        BuildSearchQuery = &quot;&quot;
        Exit Function
    End If
    filters = InputBox(&quot;Enter filters (optional):&quot; &amp; vbCrLf &amp; _
                      &quot;Examples: category:books, year:2020&quot;, _
                      &quot;Search Filters&quot;)
    query = &quot;search=&quot; &amp; searchTerm
    If filters &lt;&gt; &quot;&quot; Then
        query = query &amp; &quot;&amp;filters=&quot; &amp; filters
    End If
    BuildSearchQuery = query
End Function</code></pre>
<h2 id="error-handling">Error Handling</h2>
<p>The <code>InputBox</code> function rarely raises errors, but should be used with error handling:</p>
<pre><code class="language-vbnet">On Error GoTo ErrorHandler
Dim userInput As String
userInput = InputBox(&quot;Enter value:&quot;, &quot;Input&quot;)
If userInput = &quot;&quot; Then
    MsgBox &quot;No input provided&quot;, vbInformation
Else
    ProcessInput userInput
End If
Exit Sub
ErrorHandler:
    MsgBox &quot;Error getting input: &quot; &amp; Err.Description, vbCritical</code></pre>
<h2 id="performance-considerations">Performance Considerations</h2>
<ul>
<li><strong>Modal Dialog</strong>: Blocks execution until user responds</li>
<li><strong>User Interaction</strong>: Performance depends entirely on user response time</li>
<li><strong>String Returns</strong>: Always returns a <code>String</code> regardless of expected data type</li>
<li><strong>No Timeout</strong>: Dialog waits indefinitely for user action</li>
<li><strong>Lightweight</strong>: Minimal overhead for displaying dialog</li>
</ul>
<h2 id="best-practices">Best Practices</h2>
<ol>
<li><strong>Clear Prompts</strong>: Write clear, concise prompts that explain what input is needed</li>
<li><strong>Validate Input</strong>: Always validate and convert input as needed (<code>InputBox</code> returns <code>String</code>)</li>
<li><strong>Handle Cancel</strong>: Check for empty string return value (could be Cancel or empty input)</li>
<li><strong>Provide Defaults</strong>: Use default parameter for common or suggested values</li>
<li><strong>Error Handling</strong>: Wrap <code>InputBox</code> calls in error handling</li>
<li><strong>Alternative UI</strong>: For complex input, use custom forms instead of <code>InputBox</code></li>
<li><strong>Accessibility</strong>: Consider users who need keyboard navigation</li>
<li><strong>Multi-line Prompts</strong>: Use <code>vbCrLf</code> to create multi-line prompts for clarity</li>
</ol>
<h2 id="comparison-with-other-functions">Comparison with Other Functions</h2>
<table>
<thead>
<tr>
<th>Function</th>
<th>Purpose</th>
<th>Return Type</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>InputBox</code></td>
<td>Get user text input</td>
<td><code>String</code></td>
</tr>
<tr>
<td><code>MsgBox</code></td>
<td>Display message, get button click</td>
<td><code>VbMsgBoxResult</code></td>
</tr>
<tr>
<td>Custom Form</td>
<td>Complex input with multiple fields</td>
<td>Varies</td>
</tr>
<tr>
<td><code>FileDialog</code></td>
<td>Get file/folder selection</td>
<td><code>String</code></td>
</tr>
</tbody>
</table>
<h2 id="platform-and-version-notes">Platform and Version Notes</h2>
<ul>
<li>Available in all VB6 versions</li>
<li>Dialog appearance follows Windows theme</li>
<li>Maximum prompt length is approximately 1024 characters</li>
<li>Position parameters use twips (1440 twips = 1 inch)</li>
<li>No built-in password masking (text is visible)</li>
<li>Help integration requires compiled help files (.hlp or .chm)</li>
</ul>
<h2 id="limitations">Limitations</h2>
<ul>
<li>Single-line text input only (no multi-line support)</li>
<li>Cannot distinguish between Cancel and empty input</li>
<li>No input masking for passwords</li>
<li>No built-in validation</li>
<li>Modal dialog blocks all application interaction</li>
<li>No timeout option (waits indefinitely)</li>
<li>Limited formatting options for prompt text</li>
<li>Cannot customize button labels (always OK/Cancel)</li>
<li>No progress indication for long operations</li>
</ul>
<h2 id="related-functions">Related Functions</h2>
<ul>
<li><code>MsgBox</code>: Display messages and get button responses</li>
<li><code>Input</code>: Read from files (different from <code>InputBox</code>)</li>
<li>Custom Forms: For complex input scenarios</li>
<li><code>Shell</code>: Execute external programs for advanced input</li>
</ul>
        </article>
        
        <div style="margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-color);">
            <p>
                <a href="index.html">← Back to Interaction</a> |
                <a href="../index.html">View all functions</a>
            </p>
        </div>

    </main>

    <footer>
        <div class="container">
            <p>&copy; 2024-2026 VB6Parse Contributors. Licensed under the MIT License.</p>
        </div>
    </footer>
</body>
</html>