Visual Basic 6 - Help!?
960959
You can do this many ways.\nI will show you how to do it using the registry and a simple text file.\n\n1) I assume you have a control on your form that is supposed to save the data when it is clicked, double clicked or whatever.\n\n2) The "save" code will go in the appropriate event (click/double click/mouse over/whatever), the "load" code will go in either the form load event or the "Sub Main" of your startup object.  According to your description you want the data to "auto load" when the application is started.\n\nSAVE CODE Example 1:\n    SaveSetting applicationname, "Settings", "Last Name", txtLastName.Text\n    SaveSetting applicationname, "Settings", "First Name", txtFirstName.Text\n    SaveSetting applicationname, "Settings", "Address", txtAddress.Text\n    SaveSetting applicationname, "Settings", "City", txtCity.Text\n    SaveSetting applicationname, "Settings", "State", txtState.Text\n    SaveSetting applicationname, "Settings", "Zip", txtZip.Text\n\napplicationname is the name of your application (duh)\n"Settings" is a literal that can be anything meaningful that you want...such as;"Form1 Settings", "Address Settings", etc\nThe next parameter ("First Name","Last Name", etc.) is a meaningful name for each "thing" you want to save.\nThe last parameter is the actual data that you are wanting to save.\n\nSAVE CODE Example 2:\ndim intFileNum as integer\nintFileNum = FreeFile\nOpen "Settings.txt" for output as #intFileNum \nprint #intfilenum, txtLastName.Text\nprint #intfilenum, txtFirstName.Text\nprint #intfilenum, txtAddress.Text\nprint #intfilenum, txtCity.Text\nprint #intfilenum, txtState.Text\nprint #intfilenum, txtZip.Text\nClose #intFileNum\n\nThe above code open a text file on your default drive and in a default location, generally where you have saved your application.\nIt then writes data to this file one line at a time, no identifiers or anything, just data followed by carriage return and line feed (vbCRLF).\nThe last line flushes the write buffer and closes the file.\n\n\nREAD CODE Example 1:\n    txtLastName.Text = GetSetting(applicationname, "Settings", "Last Name", "")\n    txtFirstName.Text = GetSetting(applicationname, "Settings", "First Name", "")\n    txtAddress.Text = GetSetting(applicationname, "Settings", "Address", "")\n    txtCity.Text = GetSetting(applicationname, "Settings", "City", "")\n    txtState.Text = GetSetting(applicationname, "Settings", "State", "")\n    txtZip.Text = GetSetting(applicationname, "Settings", "Zip", "")\n\nThis is just the reverse of the SaveSetting, however, the last parameter ("") is a default is the setting cannot be found in the registry.\n\n\nREAD CODE Example 2:\ndim intFileNum as integer\nintFileNum = FreeFile\nOpen "Settings.txt" for input as #intFileNum \ninput #intfilenum, txtLastName.Text\ninput #intfilenum, txtFirstName.Text\ninput #intfilenum, txtAddress.Text\ninput #intfilenum, txtCity.Text\ninput #intfilenum, txtState.Text\ninput #intfilenum, txtZip.Text\nClose #intFileNum
441639
Use crystal reports or data report (for vb6). If you are using vb.net the you can use only crystal report
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.
1036488
what are you trying to set the location of? if a control then u can just use the mouse to drag it, lol (@ least in my version), but also check in the properties section of the object. My vb has location as a collapsible list (under properties). Expand "location" and I get places for X and Y coordinates on the grid of the form. hope i helped. BTW i use Visual Basic 2005
786635
what u want is ILLEGAL, VB6 is much better than .NET. You can get the hobby version of VB2005 from microsofts page
282906
Try using an includes file. If you have the VB script, then you can either put it into a file called VB.inc and then reference it like this:\n<!--#include virtual="VB.inc"-->\n\nThis should all you to use the code you currently have in your site. If you want to write to the page, try using\n<script language="visualbasic">\n//your script here.\n</script>\n\nFinally you can save it as a vbscript and reference it as shown above. \n\nGood luck!
425992
Put the following code in any sub u want:\n Dim i As Integer\n        For i = 1 To 100\n            If i Mod 2 = 1 Then\n                ListBox1.Items.Add(i)\n            End If\n        Next\n\nI retrieved all the values in a list box , u can retrieve it by any way u want, Hope this Helps :)
155130
Chuck Easttom has a good tutorial on his website. Somehow, I have it all in one Word document. But you can get it Chapter by chapter on his site:\n\nhttp://www.chuckeasttom.com/vb/index.htm
367046
your question is not quite clear, may be you can explain it to me and i hope i could be a help to you, I been working with Data Reports in VB6 lately, and it works fine with me.
381830
Visual Basic® 2005  \nLive Meeting 2005
7483
You can download (for free!) either Visual Basic 2005 Express or Visual C++ 2005 Express from Microsoft (see link below).  When you register the program (also free), you'll be able to download a free ebook called "Build a Program Now!".  I really, really liked the Visual Basic version but my guess is that the C++ version is just as good.
1002530
I have Microsoft Office X for my Mac, and with it came a Visual Basic program.  I don't know anything about it.  Take a look at Mactopia http://www.microsoft.com/mac/ , you might find something there.
397387
you can find great visual basic resources at \nhttp://www.vbcode.com/\n\nand \nhttp://www.hotscripts.com/search/9892723.html
438038
i would have a look at this site\n\nhttp://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5120&lngWId=2
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.
453113
Just do this=Make an compent.\nstartComp\nmergeTIFFToVisualBasic\nendComp\nOr\nDesigner f-filebox ok-okbutton c-cancel o-options e-edit\nMerge TIFF to Visual Basic\nf\n\no  c  e  ok\n\nSurley,it maybe work.\nGood.
234455
Try PlanetSourceCode:\n\nhttp://www.planetsourcecode.com/vb/default.asp?lngWId=4