1,130 Posted Topics
Re: Well Ben, I have some advice for you... 1st, Don't necropost as you have because most everyone who has replied to this thread recieves an email. Instead, create your own thread and if necessary, copy the url of the old dead thread into your new thread posting. 2nd, Make sure … | |
Re: GoTo project>add form>login dialog. This will give you a framework for you to add your own code... see [url]http://www.vb6.us/tutorials/database-access-ado-vb6-tutorial[/url] Good Luck | |
Re: Have you seen this tutorial that you may answer your question??? [url]http://www.vb6.us/tutorials/database-access-ado-vb6-tutorial[/url] Good Luck | |
Re: Are you sure you are using Visual Basic 6.0? I'm almost ready to say that you need to be in the VB.NET forum and if you are using VB.NET, well then you will need to PM a mod to have your thread moved... Good Luck | |
Re: Yes, that is the expected output of the listbox when sorted is set to true. Now, there are a couple of ways in which to get around that... One is to do the sorting yourself and with a search for vb6 sorting routines with your friends (yahoo, google, ask, answers, … | |
Re: You will need to set the picture boxes scalemode to vbpixels. Then using the currentx/y properties, you can then print the text to the graphic using the left/top property of the textbox as a guide for the currentx/y properties. You might also want to use the me.textwidth just in case … | |
Re: While in the IDE, when that error comes up, press CTRL+Break. If you are in a error handler, type in resume next as the next line in the error handler (don't forget to remove it when your done debugging) and then press F8 twice. This should bring you to the … | |
Re: Being that you can automate visio from visual basic, there should be no need to expose your code inside of a visio document... but with that said, you should have a look over at PSC (Planet-source-code.com) and give a search for the type of diagrams you want to create as … | |
Re: Hmmm... You might have problems with that... see [url]http://en.wikipedia.org/wiki/Symbian_OS[/url] and the subsection Developing on Symbian OS Good Luck | |
Re: See third code segment in second post of this tutorial... [url]http://www.vbforums.com/showthread.php?t=384076[/url] Good Luck | |
Re: If you click on the Go Advanced button you will come to a more advanced input box. On it there will be a (code) button. Click it and you will see that it creates this for you (without the spaces) ( code)( /code). Now, all you need to do is … | |
Re: Here are some seach terms for you and some ideas... There are the api's sndPlaySound and PlaySound and then of course there is the MMC, which is otherwise known as Microsoft Music Control (which can also play AVI's). So use your friends (yahoo, google, ask, answers, bing) to search for … | |
Re: I'm thinking you might be in the wrong forum... because if you are wanting to do this from your site, i.e. clicking a button/link in IE that is from your site and logging into yahoo, then you need a forum for web sites. PHP, ASP.NET or classic asp.... whatever you … | |
Re: Just so you and others know, this is not a place where you can request code. These forums are for recieving help on the code that you are having problems with... Now run along over to [url]http://www.rentacoder.com[/url] or [url]http://www.odesk.com[/url] and post your request up for bid and hope that you … | |
Re: No, and you are not saving the contents of each line into a variable so you can then later write out the corrected file. Presently you are doing nothing but reading the file and not even closing it, but beyond that, you logic is sound so far... Good Luck | |
Re: Okay, so you are saying that you went to access and created a query, saved it (from within access) and now in VB, it is not showing up. Have you tried closing VB and reopening the project? It just may be a quirk with VB... Good Luck | |
Re: Go over to adobe.com and download their pdf print driver. Then search with your friends (yahoo, google, ask, answers, bing) for vb6 webbrowswer.exec or vb6 printing webbrowser... Good Luck | |
Re: Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 convert mp3 or vb6 mp3 converter or vb6 wav converter or,... well you get the idea. Don't forget to search PSC (Planet-source-code.com) and if you really want to get down to the nuts and bolts, search … | |
Re: Oh what is that (this is from memory...), something like SB.Panels(0).Caption/Text = FormName.Caption... Best bet is to read all about the properties in the help files... Good Luck | |
Re: As pointed out DOM is one way but you can also use a reference to one of the XML v?.0 objects under project references... Good Luck | |
Re: Yes it is possible to do such a thing and as debsasisdas says you will need to write some extra code... see these examples... [url]http://www.vbaccelerator.com/home/VB/Code/Libraries/Writing_CDs/index.asp[/url] Good Luck | |
Re: Via ADO and using the command object to execute the appropriate commands with the appropriate parameters. So I suggest you do some reading and if need be use your friends (yahoo, google, ask, answers, bing) to search for tutorials like vb6 ado tutorial... Good Luck | |
Re: How about I tell you how to figure it out yourself. First place one on your form and when it is selected, press F1 and read all about it and its properties like min, max, value, smallchange, and largechange... Good Luck | |
Re: Download adobe's print driver... [url]http://www.adobe.com/products/printerdrivers/[/url] and print directly to it just as you would with any printer. Formatted text??? Create a RTF file, save to disk, shellexecute with the "print" verb... Good Luck | |
Re: First, increase the page file size and second, never use a varient array... In vb's help type, on index tab, type in "data types" and hit enter. When the dialog comes up, scroll down to Data Types Keyword Summary Visual Basic Reference>Display. Click on Boolean (2nd line first word). Click … | |
Re: hmmm... not sure... but should that not be fieldDate = " & Date ??? Good Luck | |
Re: [code] If Rs.BOF = True And Rs.EOF = True Then 'do something and exit sub Else MsgBox "Exists!" End If [/code] Of course you are always going to get the msgbox that tells you your information exists. A recordset cannot be both BOF AND EOF at the same time even … | |
Re: Probably the reason you cannot find [b]Crystal[/b] Reports is because your are spelling it incorrectly. Now, certain versions of VB6.0 came with Crystal reports 4.5 but you have to install it seperately. Look on your VB CD for a folder called Crystal and if you have it, install it. You … | |
Re: Just use a recordset object as you normally would. i.e. say your SP has a name of MySP and it accepts one parameter. So you query string would be something like... [code] MyQueryString = "MySp " & MyValue [/code] Then execute the query as you normally would. Good Luck | |
Re: Well how can we help you with your syntax error if you do not post the relavent code??????? Use the AddItem method... Good Luck | |
Re: And while you are reading... look up Now()... Good Luck | |
Re: Welcome rahul, With a quick search with one of your friends (yahoo, google, ask, answers, bing) you could find this information... like this search... [url]http://search.yahoo.com/search?p=vb6+hard+drive+serial+number&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] Good Luck | |
Re: Look into Printer.Print "MyString" followed by Printer.EndDoc. You may also want to look at the Printer.CurrentX and Y properties along with me.textwidth/height if you need to line up colums. Good Luck | |
Re: To begin with, this is not a code snippet! It is a question! [code] Option Explicit '... Private Sub ReadFileUpdateCombo() Dim FName As String, FNumb As Integer Dim LineContents As String FName = "PathToFileandName" FNumb = FreeFile Open FName For Input As #FNumb Do While Not EOF(FNumb) Line Input #FNumb, … | |
Re: Here is a site for you... [url]http://www.shrinkwrapvb.com/[/url] (scroll down a little bit) Good Luck | |
Re: Okay, so you don't know how to use Paint?... Were missing something here, like what is graphics original format? Why cannot you use paint to do a save as? Is the file not supported by VB? Why cannot you use the Picture property of the form in the design environment … | |
Re: Try recording a macro and then looking at the code... Good Luck | |
Re: Technically sidnie, Access the application is a DBMS just as SQL server is while the *.mdb and *.mdf (access and sql server) are the data files in question and an ASP application could use the *.mdb but I would suggest that you upgrade your DBMS to a better one because... … | |
Re: omoridi, You have been around long enough to know that you should not be necroposting. Raising the old dead threads... | |
Re: Close... [code] Dim MyString As String, MyStringArray() as String, ForLoopCounter As Integer '...open rs etc.. Do While Not Rs.EOF MyString = MyString & "," Rs.MoveNext Loop MyStringArray = Split(MyString, ",") For ForLoopCounter = 0 To UBound(MyStringArray) '.... [/code] Good Luck | |
Re: To answer your first question... [code] Me.ZOrder = 0 [/code] Also, don't forget making a menu item as a window list... Now, for enumeration... [code] Dim F As Form For Each F In Forms If F.Name <> "MDIForm1" Then If F.MDIChild = True Then Debug.Print F.Name End If End If … | |
Re: Well that depends upon what you want to do... and how the application works... Okay, lets see if I can simplify my thoughts.... Biggest initial payday for you is to sell them the code base and wash your hands of it an any further development for X number of years. … | |
Re: If the Make Project.exe is greyed out, then that means you must be using the Control Creation Edition of Visual Basic 6.0 and you will need to go over to either nextag.com or ebay to purchase a legal copy. I would suggest that you purchase Visual Studio 6.0 Enterprise edition... … | |
Re: You have the right keyword!!! Mid... type it in and press F1 to read all about it... Good Luck | |
Re: For a start see... [url]http://www.shrinkwrapvb.com/[/url] and then use your friends (yahoo, google, ask, answers, bing) to search for vb6 mp3 extract as I know there is some code out there already (Remember, if you have thought of it, more than likely so has someone else...). Good Luck | |
Re: Type in FormatCurrency and Press F1... [code] MsgBox FormatCurrency(12345678.9, 2, vbUseDefault, vbUseDefault, vbUseDefault) [/code] Good Luck | |
Re: A select case statement might help or you could use and if elseif structure... [code] Select Case Combo1.Text Case "Orange" 'formorange.show Case "Apple" 'formapple.show Case "Grape" 'formgrape.show Case Else 'sometimes the combo box may not have text in it... End Select [/code] Good Luck | |
Re: Look into the intrisic Shell Function or ShellExecute API... Good Luck | |
Re: Okay, it is time to use your friends (yahoo, google, ask, answers, bing) but, you will need to do multiple searches as I don't think there is a complete solution for what you are looking for out there... First was a search on vb6 enumerate machines lan which found this... … | |
Re: So what is your problem? Are you trying to figure out how to replace those values? Open the file for Output... See in VB's help... FreeFile Function Open Statement Line Input or Input Function 'for reading Print Statement 'for writing Close Statement Good Luck |
The End.