How to use a tree view Control in VB6.0?
606674
First of all add a treeview form to your form... \n\nfrom there I recommend using the file system object to get the hard drives from the system and all all of them as nodes, then when a folder is clicked, make it a child node of the parent folder...ect.\n\nTry a yahoo search for information on the File System object and tree nodes if you do not have any practical examples.....\n\nthanks
693009
This code is from 4guysfromrolla.com.  There are other ways to accomplish this as well.  Hope this helps!\n\n\n<script language="vb" runat="server">\n  ...\n   \n  Sub dgPopularFAQs_ItemDataBound(sender as Object, e as DataGridItemEventArgs)\n    ' First, make sure we're NOT dealing with a Header or Footer row\n    If e.Item.ItemType <> ListItemType.Header AND _\n         e.Item.ItemType <> ListItemType.Footer then\n      'Now, reference the LinkButton control that the Delete ButtonColumn \n      'has been rendered to\n      Dim deleteButton as LinkButton = e.Item.Cells(0).Controls(0)\n\n      'We can now add the onclick event handler\n      deleteButton.Attributes("onclick") = "javascript:return " & _\n                 "confirm('Are you sure you want to delete FAQ #" & _\n                 DataBinder.Eval(e.Item.DataItem, "FAQID") & "?')"    \n    End If\n  End Sub\n</script>\n\n<form runat="server">\n  <asp:datagrid id="dgPopularFAQs" runat="server"\n      ...\n      OnItemDataBound="dgPopularFAQs_ItemDataBound">\n\n      ...\n  </asp:datagrid>\n</form>
1019358
Here's 17 different implementations. Take your pick...\nhttp://www.planetsourcecode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?txtCriteria=Tic+Tac+Toe&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=10&optSort=Alphabetical
166903
control panel > mouse > pointer options
316664
Select View then Toolbars.  Standard buttons should be checked.
1179894
yes using widows Api\nHere is a sample created in visual basic\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=22553&lngWId=1&txtForceRefresh=62020068412516566
114327
http://vb-helper.com/index_categories.html
224603
in your parent form\nDim withevents myChildForm as new frmChildForm\n\nIf you plan to notify the parent form that button in child form is clicked then do this at your child form\ndeclare the event at the form declaration\n===========================\nEvent ButtonClick()\n===========================\n\nfire the event when button click\n============================================================\n    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click\n        RaiseEvent ButtonClick()\n    End Sub\n============================================================\n\n\nAnd back to your parent form do this\n============================================================\n    Private Sub myChildForm_ButtonClick() Handles myChildForm.ButtonClick\n        MsgBox("Child form button  click")\n    End Sub\n============================================================\n\nDone.
24321
What you're looking for is something called a Browser Helper Object (BHO) ...  The process is rather elegantly explained on the Microsoft web site.  See the attached source.\n\nedit - I also should mention that the easiest and most straightforward way to use the Toolbar control is through the ASP.NET forms designer in Visual Studio .NET.  To use a Toolbar on a web form, drag it onto the form as you would any other control.
28836
Use CreateProcess instead.  In the startupinfo parameter (2nd to last), set the wShowWindow parameter to SW_HIDE.  Also, since you're using command-line switches, put the entire string in the lpCommandLine parameter and leave lpApplicationName NULL (switches don't work right in lpApplicationName).\n\nSorry, I'm a Delphi guy and don't have any VB samples for you.
465093
Just search on yahoo for vb tutorials. If you are specific enough with your problem, it will display many forums, that people have had the same problems with, and others have answered.
543630
Here is the code for VB.NET that would allow you to create a text file, and read from it.  Drag a Button and a RichTextBox control onto the form. Paste the following code which is shown below between Code Start and Code End.\n\n'***CODE START\nImports System.IO\n'NameSpace required to be imported to work with files\nPublic Class Form1 Inherits System.Windows.Forms.Form\nPrivate Sub Button1_Click(ByVal....., Byval.....)Handles Button1.Click\nDim fs as New FileStream("file.doc", FileMode.Create, FileAccess.Write)\n'declaring a FileStream and creating a document file named file with\n'access mode of writing\nDim s as new StreamWriter(fs)\n'creating a new StreamWriter and passing the filestream object fs as argument\ns.WriteLine("This is an example of using file handling concepts in VB .NET.")\ns.WriteLine("This concept is interesting.")\n'writing text to the newly created file\ns.Close()\n'closing the file\n\nfs=New FileStream("file.doc",FileMode.Open,FileAccess.Read)\n'declaring a FileStream to open the file named file.doc with access mode of reading\nDim d as new StreamReader(fs)\n'creating a new StreamReader and passing the filestream object fs as argument\nd.BaseStream.Seek(0,SeekOrigin.Begin)\n'Seek method is used to move the cursor to different positions in a file, in this code, to\n'the beginning\nwhile d.peek()>-1\n'peek method of StreamReader object tells how much more data is left in the file\nRichTextbox1.Text &= d.readLine()\n'displaying text from doc file in the RichTextBox\nEnd while\nd.close()\nEnd Sub\n'***CODE END\n\nAs far as commom commands, they are not as easily adaptable as they are in Visual Basic.  You have to learn a bit more object referencing and explicit assignments along with the commands.  Use the code above to give you an initial start into how the commands are used, then go to the msdn link for more information.\n\nhttp://www.microsoft.com/net/default.mspx
778420
OLE Control eXtension
791942
First off, the program you designede in visual, are you running it in another visual basic program or are you importing it into another program.  Second, all you need to do to run the program by single key execution is to set the program to a macro.  For more detailed info go to the help section in visual (or press f1) and type in "macro".  Everything you need should be there.  You can send me a direct e-mail if you have any other issues the help won't help with (flyingrizzly@yahoo)
629422
You do that with a dialog box:\n\nhttp://www.c-sharpcorner.com/Code/2002/Aug/PassingDataInForms.asp
386679
What version of VB? \nVB6: In the Project Explorer (the one you navigate between forms and such), right click on the project you're creating (e.g. Project1), click ProjectName Properties. In the General Tab fo to startup object\nVB.NET: In the Solution Explorer, Right click on the WindowsApplication1 thingies by default name, the click properties. Change the startup form to the one you intend to be the startup form
1161577
This is called 'Column View'. This is a hold over into OS X from the old NeXTStep "Workspace Manager", the specific part is called 'File Viewer'. A File Viewer work-alike was implemented into MacOS 9 in an app called "Greg's Browser"\n\nIt has been implemented in X-Windows under the name 'Afterstep' I know of no MS Windows implementation.