- Strength to Increase Rep
- +14
- Strength to Decrease Rep
- -3
- Upvotes Received
- 81
- Posts with Upvotes
- 67
- Upvoting Members
- 48
- Downvotes Received
- 16
- Posts with Downvotes
- 8
- Downvoting Members
- 15
Re: AndreRet, The code you provided will end the application (if there are only two forms) and I'll tell you why... When you go Form2.Show vbModal from Form1, code execution stops in Form1 and begins in Form2, because of this, Form1 is now not accessible because Form2 has been shown modal. … | |
Re: Well a picture box is meant to hold graphics while the adobe acrobat 7.0 browser control type library 1.0 will allow you display pdf files... So are you wanting to put this control into a picture box, or are you wanting to use one of those print to Tiff drivers … | |
Re: First off, UserForm1 denotes that you are using VBA and NOT vb6.0 so in the future you might want to search out VBA forums... Second off, you could use a loop or two to cut down on the amount of code you have... I have a few more comments but … | |
Re: If you want to talk directly to the printer, you will need to use the API. On the index tab type in OpenPrinter and hit enter. Scroll down to the bottom and click on Printing and Print Spooler Functions to see the other API's you will need. Good Luck | |
Re: Allowing teachers to have the address of the student could get you into trouble. Also, more than one student could live at the same address. So best bet is to move the address information to another table all by itself. Same can be said for semester information, classes, and so … | |
Re: First off, your code does not take into account if the month starts on a saturday or any other day other than what is considered to be the first day of the week. Second, in a month with 31 days there could actually be 6 weeks in the month depending … | |
Re: sharif, boya, both of you need to read this thread as your answer is contained within, and on future inquiries, let it be known to both of you that raising the dead is looked down upon around most forums. If you need to reference an older thread, then copy its … | |
Re: Wrong forum!!! This is the [b]"CLASSIC"[/b] forum! You need the .NET forum! Sheesh! These up and comming programmers don't even know what language they are using! | |
Re: I believe this should get you started... [code] DTPicker1.Format = dtpCustom DTPicker1.CustomFormat = "MM/dd/yyyy hh:mm:ss tt" [/code] Good Luck | |
Re: Don't forget the files extension... App.Path & "\student.mdb" Also: To set the path, use ChDir (see help) Good Luck | |
Re: >all this code is for vb6. [B]and the DAODC AKA Data1[/B] Use the data form wizard, of which you will find under add-ins>add-in manager. Start a new standard exe project and then run the wizard as many times as necessary so that you have selected each form type and use … | |
Re: Using the ADODC1 or the MSRDC1 is not the best idea as you should use ADO, RDO, or DAO ODBC Direct with an ODBC DSN. However, with a visit to [url]http://www.connectionstrings.com[/url], you can use a DNS Less connection string with ADO (preferred technology by most people). Now, if you are … | |
Re: abisek_cts, In the future please create your own thread and if you need to, copy the older threads url that you want to reference into your post. Also please use code tags when submitting code. [ code ]your code goes here[ /code ] (without spaces as shown) Now, I think … | |
Re: Huh? How do you record the infinite? You can't! That is why it is infinite. As soon as you come up with a measure of the infinite you find it is larger and thus unquantifiable. Perhaps you should try to explain in detail what you are wanting to accomplish especially … | |
Re: Ahhhh!!! A necrophiliac!!!! It plays with the dead threads!!! Please, in the furture, if you need to reference and old thread, copy it's URL into your new thread... As for your question, it is time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 rs232. You … | |
Re: To do what you are wanting to do, I believe you will need to delve into the API... See this yahoo search for some hints on where to get started... [url]http://search.yahoo.com/search?fr=yfp-t-701-s&toggle=1&cop=mss&ei=UTF8&rd=r2&p=vb6%20parallel%20port[/url] Good Luck | |
Re: Okay, I normally use SQL Server Authentication but presently surrounded by machines with no SQL Server so this is from memory... Start SQL manager (MMC?) (on the server). Connect to the instance that you eventually want to connect to. Connect to the database and if you right click??? I think … | |
Re: Instructions and simple code here... [url]http://www.codeproject.com/KB/COM/netclasslistvb6.aspx[/url] [url]http://www.codeproject.com/KB/vb-interop/Using_NETLibraryinVB6.aspx[/url] Here is the search that found the above and more... [url]http://search.yahoo.com/search;_ylt=A0oGkia5FqdKbuAAlShXNyoA?p=use+.net+with+vb6&fr=yfp-t-152-s&fr2=sb-top&sao=2[/url] Good Luck | |
Re: It is real easy to define a sub or function but the choice on which may be the hard part. For example... [code] Public Function MyFunction() As Long End Function Public Sub MySub() End Sub [/code] So your choices are... Public/Private Function/Sub (optional argument list) as somethingoranother End Function/Sub Just … | |
Re: SELECT INTO Table2 (Field1, Field2, Field3) SELECT Table1.Field1, Table1.Field2, Table1.Field3 FROM Table1 As table2 already exists. Good Luck | |
Re: [quote]It's also possible that your license to whatever library you're using has expired, especially if you're trying to use Access and you only had a trial version of Office inst called. [/quote] Oh contraire Sendoshin... The data access methods for communicating with access databases is seperate from MS office products. … | |
Re: What you may want/need to do is to capture the currentx/y of the printer object, use the textwidth property of the form, and calculate where you want to have the right side of the text to line up minus the textwidth. After that you would set the currentx/y as needed, … | |
Re: Follow the two links in the last post of this thread [url]http://www.daniweb.com/forums/thread293210.html[/url] Good Luck | |
Re: Okay, there is more than one way in which to use excel with visual basic 6.0. Now, you said as a database so you will need to use your friends (yahoo, google, ask, answers, bing) and search for vb6 ado tutorial. Then see [url]http://www.connectionstrings.com[/url] for a DNS LESS connection string … | |
Re: Time to use your frinds (yahoo, google, ask, answers, bing) and search for vb6 ado tutorial... Good Luck | |
Re: See this thread [url]http://www.vbforums.com/showthread.php?t=346752[/url] Good Luck | |
Re: In form view, select control. GoTo controls Properties window. Click on ... (Custom). Set Format to 3 - dtpCustom. Then in CustomFormat enter HH:mm . Good Luck | |
Re: I think I'm going to have to second the fontsize/fontcolor/backcolor arguement. As I hope I still have near 20/20 vision but I find myself sometimes leaning my head forward to read it. How about this... Keep the background color, fontcolor=black, and size = normal post size and keep current padding … | |
Re: You have declard your variable as integer, which max amount it holds is 32767. Try as Long or as Double. See help on variables for more information... Good Luck |