• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Missing vbc.rsp file

Joined
Nov 29, 2009
Messages
46 (0.01/day)
Location
NC
Processor AMD Phenom II X 4 955
Motherboard Gigabyte 890GX
Cooling Xigmatek Dark Knight
Memory G.Skill Ripjaw 4gb
Video Card(s) MSI R6850 Cyclone
Storage WD Caviar Black 500gb
Display(s) Asus 23.6" LCD
Case CM Storm Scout
Audio Device(s) N/A
Power Supply Corsair Enthusiast 650TX
Software W7 Pro
Hello everyone, I had a problem today when I tried to compile a program using vbc. I was getting errors saying InputBox$ was not declared. I found a quick fix by adding two lines at the beginning of the program:

Imports System
Imports Microsoft.VisualBasic.Interaction

A student in the class informed me that those lines are usually found in a file named vbc.rsp. Although the latest version of .NET that I use as my path variable does not have this file, all the older versions did.

The same student with the same version of Windows and .NET sent me his vbc.rsp file. I added it to the folder where it should have been and tried again but with the same errors. Any idea why I do not have the file or why adding it does not work?

Win7 Pro
.NET framework v4.0.30319

Thanks for any help!
Richie
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
You can try making sure Microsoft.VisualBasic is included in the references (if it is a Visual Basic project, it will have it already) and have Imports Microsoft.VisualBasic at the top of the document.

Only Visual Basic has the InputBox method. The other .NET languages want you to make your own form with the DialogResult button properties set.
 
Last edited:
Joined
Nov 29, 2009
Messages
46 (0.01/day)
Location
NC
Processor AMD Phenom II X 4 955
Motherboard Gigabyte 890GX
Cooling Xigmatek Dark Knight
Memory G.Skill Ripjaw 4gb
Video Card(s) MSI R6850 Cyclone
Storage WD Caviar Black 500gb
Display(s) Asus 23.6" LCD
Case CM Storm Scout
Audio Device(s) N/A
Power Supply Corsair Enthusiast 650TX
Software W7 Pro
You can try making sure Microsoft.VisualBasic is included in the references (if it is a Visual Basic project, it will have it already) and have Imports Microsoft.VisualBasic at the top of the document.

Only Visual Basic has the InputBox method. The other .NET languages want you to make your own form with the DialogResult button properties set.

As of now we are importing most of the program from text book downloadable material. Then we use a text editor to finish writing the programs and compile/run them in cmd. So maybe when we actually start using the Visual Studio IDE it will not be a problem. I was told that if I just use the two imports lines that I added tomy first project and named it vbc.rsp, instead of trying to use his whole file, that it would work. I should be able to give this a shot tomorrow. Another thing we seemed to have found out is that this is only a problem with custom installs of Win7. Everyone with a prebuilt system has the .rsp file.

Thanks for your time,
Richie
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Top