what is string in visual basic.net?
356591
a string is a group of character like "My name is robert" is a string
551354
It's a bit tricky, but the function you want to call is the Interaction.Command function  This exists in both VB6 and VB.NET, although the .NET version is enhanced to a be a bit more powerful.  \n\nWhen you call the interaction.command function, it returns a variant data type containing everything in the line after the program name.  So, if you had typed something like:\n\nmyExecutable.exe /a=myName /b=myHeight\n\nyou would do the following:\n\ndim strCommand as string\nstrCommand=interaction.command\n\nThe value in strCommand at this point would be:  \n\n/a=myName /b=myHeight\n\nYou have to parse through the return to find whatever separator characters you defined, count arguements, etc. The best way I've found to do this in VB6 is with a loop from 1 to the len(strCommand).  Test each character looking for your separator charactors, and then you just use the MID function to extract thos parts to wherever you need to put them.
330673
Well for an official and thorough comparison between Visual Basic 6.0 and Visual Basic .net refer http://www.microsoft.com/learning/syllabi/en-us/2562bfinal.mspx\n\nCoz let me tell you will find wat you are looking for and which we all also won't be able to tell you.
465084
string alpha="AAAABBBBAAAA"\n\nstring one=alpha.substring(0,4)\nstring b=alpha.substring(4,4)\nstring three=alpha.substring(8,4)\n\ni hav used substring which is valid in java,c,c++,visual basic,c#.
148785
ignacionr2 has the most correct response to this question.  The standard C++ library has a 'string' type in the standard ('std') namespace that allows you to declare and initialize an abstract string type.\n\nNote, the header files for the standard C++ library no longer have the ".h" extension on them.  So for I/O streams, you'd use: "#include <iostream>" and for strings, you'd use: "#include <string>".\n\nTo declare instances of a string, you could use:\n\nstd::string myString = "string one";\n\nor\n\nstd::string myString("string two");\n\nYou can add a "using std::string;" to your local scope as a shortcut to avoid typing "std::" to qualify the standard string's namespace.
408935
Hey,\nthe code in JAVA would look like this ::\n\nclass test {\npublic static void main(String a[]) {\nfor(int i=1;i<100;i++) {\nSystem.out.print("&#92;t"+i+"&#92;n");\n}\n}\n}
434435
It may be easier to use an array list.\n\n  Dim al As New ArrayList()\n\n   al.Add("This")\n   al.Add("Is")\n   al.Add("My")\n   al.Add("New")\n   al.Add("ArrayList")\n   al.Add("Control")\n\n   Console.WriteLine("Before Sort:")\n   WriteElements(al)\n\n   al.Sort()\n\n   Console.WriteLine("After Sort:")\n   WriteElements(al)\n End Sub\n\n Private Sub WriteElements(ByVal al As ArrayList)\n   Dim i As Integer\n   \n   For i = 0 To al.Count - 1\n     Console.WriteLine(CStr(al.Item(i)))\n   Next
204091
you can get a free version of visual basic here\n\nhttp://msdn.microsoft.com/vstudio/express/default.aspx
1122755
hi...................u will get complete information on vb.net . Just u have to search for VB.NET TUTORIAL   on yahoo.........hope i helped u in finding what u wanted.
727732
The following code connects to an excel file the same way it would connect to a Database and reads the values from it.\n\nPublic Function daReadExcel(ByVal strExcelPath As String, ByVal strSheet As String) As OleDbDataAdapter\n   Try\n\n      Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strExcelPath & "; Extended Properties=""Excel 8.0""")\n\n      cn.Open()\n\n      Dim strSqlStmt as String = "SELECT * FROM [" & strSheet & "$]"\n      Dim da = New OleDbDataAdapter(strSqlStmt, cn)\n\n      cn.Close()\n      cn = Nothing\n\n      Return da\n   Catch ex As Exception\n      MessageBox.Show(ex.Message)\n   End Try\n\nEnd Function
295277
#include <iostream.h>\n#include <string.h>\n\nstruct String\n{\npublic:\nchar * Data;\nint Length;\n};\nString operator+(const String & s1,const String & s2)\n{\nchar * s3=new char [s1.Length+s2.Length];\nstrcpy(s3,s1.Data);\nstrcat(s3,s2.Data);\n\nString Out;\nOut.Data=s3;\nOut.Length=s1.Length+s2.Length;\nreturn Out;\n}\n\n//you can't directly overload char * because at least one operand of any overloaded operator must be of some user-defined type.\n\n//u can use strcat
383056
what kind of program are you doing?? all i know is visual basic stuff
408532
Unfortunately, .NET doesn't have this as a built-in property or method for the DataGridTextBox control.\n\nIf you are working on a Web page, you could access that information client-side via JavaScript's Selected property.
1151425
it's been a while since i've used VB but give this a try\n\nIF (listbox.listitem[0].selected) AND (listbox.listitem[1].selected) THEN\nEND IF
171625
Request.ServerVariables["REMOTE_ADDR"].ToString() \n\n\n"REMOTE_ADDR" is just string. It's built in.
834196
Visual Basic is interpreted code, not compiled.
560789
char a;\n\nString s = new String(a);