Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 20-04-2007, 03:39 AM   #1
JJXB
Pi-voh
 
JJXB's Avatar

 
Join Date: Oct 2004
Location: Godmanchester, England
Posts: 850
Default

I'm Learning how to code in Visual Basic (with VB Express 2005) and i'm trying to code A ZDoom Frontend but i'm stumbling upon problems with getting the filename for the PWAD's that people might want to use in the command line. here's the little bit of code that's the problem:
Code:
********Dim WAD As System.Type
********If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
************TextBox3 = WAD(OpenFileDialog1.OpenFile())
********End If
it comes up with the error:
"Class 'System.Type' cannot be indexed because it has no default property."
now i'm not sure why this is happening but please keep in mind that i've only just started learning how to code and i'm managing to get my head around the logic behind most of what i have seen so far but i can't figure some things out.
__________________
~Ceramic White PSP Status~
FW: 5.00 M33-6
Memory Stick: 8gb
JJXB is offline                         Send a private message to JJXB
Reply With Quote
 


Similar Threads
Thread Thread Starter Forum Replies Last Post
A slight (resolution-related) DOSBox problem. Simoneer Tech Corner 13 31-05-2009 03:53 PM
Slight Delay When I Run Cd-rom Games, Why? Razors78 Troubleshooting 8 31-05-2007 03:58 PM
Slight Problem. Please help.ASAP!!!! Anonymous Troubleshooting 5 17-07-2004 01:36 PM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 02:52 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.