Friday, July 31, 2009
How in Visual Basic 2005 can you replace first character of string with a different character?
Dim string1 As String = "Replace me"
Dim string2 As String = string1.Remove(0, 1)
string1 = "D" + string2
How in Visual Basic 2005 can you replace first character of string with a different character?
Sure. You can do this a couple of ways. Just set the string = the new character plus the remaining characters of the string. Look at the Mid, SubStr, and Right functions. All of those should work.
Reply:Here's how to do it using Substring...
Dim oldString As String = "Replace me"
Dim newString As String = "D" %26amp; oldString.Substring(1)
Dim string2 As String = string1.Remove(0, 1)
string1 = "D" + string2
How in Visual Basic 2005 can you replace first character of string with a different character?
Sure. You can do this a couple of ways. Just set the string = the new character plus the remaining characters of the string. Look at the Mid, SubStr, and Right functions. All of those should work.
Reply:Here's how to do it using Substring...
Dim oldString As String = "Replace me"
Dim newString As String = "D" %26amp; oldString.Substring(1)
How do you get microsoft visual basic on your computer?
can i just get it on a website or i have to buy it? if i have to buy it, do you know where they sell it?
How do you get microsoft visual basic on your computer?
Search for it on microsoft.com.
your search should be :
Visual Basic 2005 Express Edition or Visual Basic 2008 Express Edition
Because these two are the best but 2008 Version takes a long time to download
Reply:Get the express version.
Reply:australia sucks!
Reply:get the softwares here for free:
http://www.freewarefiles.com/cat_10_115_...
How do you get microsoft visual basic on your computer?
Search for it on microsoft.com.
your search should be :
Visual Basic 2005 Express Edition or Visual Basic 2008 Express Edition
Because these two are the best but 2008 Version takes a long time to download
Reply:Get the express version.
Reply:australia sucks!
Reply:get the softwares here for free:
http://www.freewarefiles.com/cat_10_115_...
How do i open a file in a program i made with visual basic?
I made a text editing program and i want it to be able to save and open files. i have the savefiledialog and oenfiledialog things and the buttons that display them, but when i click ok, it doesnt do anything. Also when i print it, it jsut prints a blank page. Any ideas?
How do i open a file in a program i made with visual basic?
It sounds like you haven't assigned function to the events triggered after the open and save dialogs. The save function would take the text that has been entered into your application, I'm assuming either a text box or a richtext box and output it to a file as a stream. The load function would take an existing file as a stream and output the stream to a control in your application.
How do i open a file in a program i made with visual basic?
It sounds like you haven't assigned function to the events triggered after the open and save dialogs. The save function would take the text that has been entered into your application, I'm assuming either a text box or a richtext box and output it to a file as a stream. The load function would take an existing file as a stream and output the stream to a control in your application.
Can Visual Basic programs be imported into Dreamweaver?
I created a program in Visual Basic 6.0 and was wondering if it would be in any way possible to load this program into a Dreamweaver MX 2004 document?
Can Visual Basic programs be imported into Dreamweaver?
no, but you can re-make the program through VBScript. it's similar to Visual Basic but makes it a little more friendly to HTML
Reply:No. Only web based code (code created that can be executed only on a web server) can be imported, say asp using vbscript or asp.net pages using vb.net, php, cold fusion, etc.
Visual Basic your talking about runs in the operating system and not on a web server.
Hope this helps.
stalk
Can Visual Basic programs be imported into Dreamweaver?
no, but you can re-make the program through VBScript. it's similar to Visual Basic but makes it a little more friendly to HTML
Reply:No. Only web based code (code created that can be executed only on a web server) can be imported, say asp using vbscript or asp.net pages using vb.net, php, cold fusion, etc.
Visual Basic your talking about runs in the operating system and not on a web server.
Hope this helps.
stalk
How do you add a WMP (window media player) to a form on Visual Basic.net?
i want it to play the song when i activate the form.
Please note this is "visual basic.net". NOT "visual basic" or visual basic 2005
How do you add a WMP (window media player) to a form on Visual Basic.net?
Just add the control to it. More info here (works with whatever .net language you prefer btw).
Please note this is "visual basic.net". NOT "visual basic" or visual basic 2005
How do you add a WMP (window media player) to a form on Visual Basic.net?
Just add the control to it. More info here (works with whatever .net language you prefer btw).
How do I make a variable usable in multiple forms in Visual Basic 6?
Let say in Form1 the user chooses a text file, file A, to open containing the path of another file, file B. Then he will click a command button which opens file B in another form, displaying the text in the file in a text box.
How do I make a variable usable in multiple forms in Visual Basic 6?
don't understand the question
do you mean file A contains the path to file B ?
Reply:There are three ways of doing this.
When you Define Form 2, set the Tag command with the value.
or
When you define Form 2 put the value in the New Parameters list
or
Define the Variable as Public in Form 2, after it is defined move the value to the variable.
Reply:You will find the answer here
http://www.freetutes.com/VisualBasic
Reply:Use a module. A module in VB6 is essentially common code that can be referenced by all classes %26amp; forms within your project.
How do I make a variable usable in multiple forms in Visual Basic 6?
don't understand the question
do you mean file A contains the path to file B ?
Reply:There are three ways of doing this.
When you Define Form 2, set the Tag command with the value.
or
When you define Form 2 put the value in the New Parameters list
or
Define the Variable as Public in Form 2, after it is defined move the value to the variable.
Reply:You will find the answer here
http://www.freetutes.com/VisualBasic
Reply:Use a module. A module in VB6 is essentially common code that can be referenced by all classes %26amp; forms within your project.
Subscribe to:
Posts (Atom)