Search 5,000,000+ questions and answers.

Frequently Asked Questions

How can I run another application or batch file from my Visual Basic .NET code?

Visual Basic Frequently Asked Questions
The answer for all of these examples is the same, you can use the classes and methods in System.Diagnostics.Process to accomplish these tasks and more. Example 1. Running a command line application, without concern for the results: Private Sub Button1_Click(ByVal sender As System.Object, _ Example 2. Retrieving the results and waiting until the process stops (running the process synchronously): Private Sub Button2_Click(ByVal sender As Object, _ Example 3.
Related Questions

Can I run Visual Basic 6.0 and Visual Basic .NET on the same machine?

Visual Basic Frequently Asked Questions
J. Henshaw asks "Is it possible to run both VB6 and VB.Net on the same machine,or do I have to remove VB6 to be able to use VB.NET", and the answer is a definite yes. You can run them both on the same machine. Many people, including myself, run VB6 on the same machine as their installation of Visual Basic .NET. If you look at this KB article from Microsoft Support, you will even see that it recommended to run VB6 and VB.NET on the same machine when upgrading projects from one to another.
Related Questions

What percentage of my Visual Basic .NET project will be converted?

Frequently Asked Questions (FAQ) about C-Sharpener For VB
The percentage of the project that will be converted is typically more than 99%. However, the percentage can vary greatly depending on the structure of your code. For instance, if Option Strict is On then it is significantly easier to convert your code because C# is more type strict. Please see Limitations and Workarounds (PDF file) for more details. You may also want to look at some sample converted projects.
Related Questions

Why did Visual Basic .NET introduce AndAlso and OrElse?

Visual Basic Frequently Asked Questions
Paul Vick, Technical Lead on VB.NET, and the author of the Visual Basic .NET Language Specification, discusses the new short-circuiting boolean operators added in Visual Basic .NET 2002.
Related Questions

Can I integrate STATISTICA into other applications, such as a custom Visual Basic application?

FAQ 5
Yes. STATISTICA can be controlled from within other applications, such as Visual Basic, using the STATISTICA Command Language (SCL). Programs written in SCL can be executed from within Visual Basic using the SHELL command. This allows for the complete integration of STATISTICA into your custom application or other applications such as ms Excel, ms Access, or ms Word. See the STATISTICA Development Environment for information about how to manage STATISTICA data files from within Visual Basic.
Related Questions

Will code from Visual Basic 6.0 work in Visual Basic 2008 Express?

Frequently Asked Questions
Visual Basic 2008 Express includes a migration wizard that will help import existing Visual Basic 6.0 projects. You may need to make some manual adjustments to the code you port over, but the migration wizard is a good first step towards moving your code forward.
Related Questions

How do I call a batch file from within another batch file?

Environment settings set by a batch file are not working.
It is possible to just enter the name of the batch file in a batch file which will run the called batch file however once completed it will not pass control back to the calling batch file leaving the rest of the calling batch file unrun. For example suppose we had the batch files If you then run calling.bat you would not get the line "Back to Calling bat" displayed as after called.bat terminates it does not return to calling.bat.
Related Questions

How do I debug JavaScript and other script code in my application using Visual Studio .Net?

ASP .NET FAQ - Debugging and Error Handling
In IE go to Tools/Internet Options.../Advanced Tab and clear the "Disable Script Debugging" check box options. In VS.Net in your project properties dialog, select "Debugging" under "Configuration Properties" and make sure that "Enable ASP.Net Debugging" is turned on. You can then set break points in script code in VS.Net in custom script files or the application aspx file. VS.Net should give you detailed debugging information for variables in the scope just like other high-level languages.
Related Questions

What is a batch file?

Environment settings set by a batch file are not working.
A batch file is just a text file with a .bat or .cmd extension that adheres to a syntax and a set of valid commands/instructions. To run a batch file just enter the name of the file, you don't need to enter the .cmd or .bat extensions. In line with programming tradition the first batch file we write will output "Hello World". Echo means output to the screen anything after it (the @ suppresses the command being printed to the screen, try it with and without the @).
Related Questions

Do you have Visual Basic sample code?

Lincoln & Co. - PageView PCL/PS Viewer FAQs
If the PCL contains a pagesize command, it will override the default. If the file is ASCII, the page size will be either the default or that size otherwise specified by the user. The default pagesize can be specified on the command line or in the .ini file.
Related Questions

Will code from Visual Basic 2005 Express work in Visual Basic 2008 Express?

Frequently Asked Questions
Visual Basic 2008 Express includes a migration wizard that will help import existing Visual Basic 2005 Express projects. You may need to make some manual adjustments to the code you port over, but the migration wizard is a good first step towards moving your code forward.
Related Questions

What is your batch code system?

FAQs - Riddhi Siddhi
It is not purposely there to confuse customers, but for historic reasons each site has a slightly different system. Penford NZ LTD: The batch number is 7 digits. The first 2 digits denote product code. the third is always 0, fourth and fifth digits denotes the date of manufacture and the sixth and seventh digits denotes the month code. This is based on a 100-month system from 00 to 99.
Related Questions

How can I print to Pdf995 from my Visual Basic application?

PDF Create
Collate:=False, Background:=True, PrintToFile:=False, PrintZoomColumn:=0, _ PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
Related Questions

How do I run Abaqus in batch?

FAQS for CSM Software
Interactive limits on IBM p690 30 minutes and 1Gb. All jobs that exceed these limits will be stopped, and should be submitted through the batch system. Script abaqus_batch on IBM scripts has been written to automate the process of submitting Abaqus jobs to the batch system. All input files that run serially on a local workstation can be executed in parallel on the IBM p690 Array without any modifications.
Related Questions

What commands can be used in a batch file?

Environment settings set by a batch file are not working.
Windows NT 4.0 introduced some extensions to cmd.exe, so to use these make sure HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions is set to 1. The following is a list of the more common commands you will use This is used to call one batch from inside another. The execution of the current batch file is suspended until the called batch file completes Used to stop batch file execution.
Related Questions

How can I pass parameters to a batch file?

Environment settings set by a batch file are not working.
When you call a batch file you may enter data after the command which the batch file refers to as %1, %2 etc, for example the batch file hello.bat if called as "hello.bat john" (you don't need to enter .bat extension, I just use it here as I used bad file names :-) ) expands %1 to a fully qualified path name. If you only passed a file name from the current directory it would expand to the drive/directory as well changes the meaning of n and x options to reference the short name.
Related Questions

How can I change colour within a batch file?

Environment settings set by a batch file are not working.
You can use the Windows NT Workstation 4.0 Color command to set the Command Prompt window colors. For example: sets the colour to yellow on black. The first part is background colour, the second the foreground and are:
Related Questions

How can I call a subroutine in a batch file?

Environment settings set by a batch file are not working.
An easy way to do this is to have the batch file call itself recursively and pass itself a couple of parameters, like so: Be careful! Recursive batch files can be dangerous, especially if your subroutine fires off another program. Note the syntax for calling subroutines (with parameters) and the special construct for returning (goto :eof).
Related Questions

How can I get the Visual Basic .NET 2003 software?

Frequently Asked Questions
Borrow the Visual Studio .NET 2003 Professional CD's from our SCC Computer Lab. If you don't bring them back you can't enroll again. Comment: If you are only going to take ITSE 1431 then the Standard Edition is OK. If you will continue studying VB .NET you need the Professional edition or better.
Related Questions

Can I use SpeechStudio Suite for Visual Basic? C#? .NET?

SpeechStudio Inc. Frequently Asked Questions
Yes! SpeechStudio provides tutorials for C++, VB, VB.NET and C#. You can use any language that supports automation.
Related Questions

How do I run the code on my computer?

Internet Junkbuster Frequently Asked Questions
If you have a C compiler and are using UNIX ® or Windows 95 or NT, you download it, compile it, start it running, and then configure your browser. If you are using any other operating system you would need to port the code. You are welcome to do this, and if you would like us to consider publishing your ported version, please tell us.
Related Questions

What are the hardware and software requirements of Visual Basic .NET / Visual Studio .NET 2003?

Frequently Asked Questions
I recommend a fast computer with lots of hard disk space and lots of memory. Note that if you want to run all the features of VB .NET you need to have Windows 2000 Professional or Windows XP Professional.
Related Questions

What do I need to run a Visual WebGui application?

Faq
Visual WebGui requires IIS installed and .NET1.1 or .NET2.0 installed. You also need to install a new ".wgx" script map in the IIS with the same definitions as the ".aspx" script map but you should remove the "check file exist" checkbox as Visual WebGui uses virtual pages.
Related Questions

How do I reformat all Visual Basic code in all files in a project in Visual Studio?

IDE - Windows Forms FAQs
VB.NET can perform decent auto-formatting for code. Here is a macro that can call this Auto Formatting command for all the files in a project. Contributed from George Shepherd's Windows Forms FAQ
Related Questions

What languages in Microsoft Visual Studio .NET are supported?

Google SOAP Search API
The service has been tested with a C# client auto-generated from WSDL by the wsdl.exe tool. It should work fine from any .NET language.
Related Questions

Is it better to write code in C# or Visual Basic?

Frequently Asked Questions
You can write code for your Web application in any language supported by the .NET Framework. That includes Visual Basic, C#, J#, JScript, and others. Although the languages have different syntax, they all compile to the same object code. The languages have small differences in how they support different features. For example, C# provides access to unmanaged code, while Visual Basic supports implicit event binding via the Handles clause.
Related Questions

Why does VB RezQ not recover the actual Visual Basic code within the subroutines?

VB RezQ for Visual Basic Source Recovery.
When VB source is compiled to Native Code the result is x86 machine code and in the process the VB compiler with its various code optimisation features erases much of the structure of the high level Basic language. It's a formidable job to try to reverse engineer this x86 code back into VB code and it's not at all clear to us that it's possible to automate the reversing process.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact