2,155 Posted Topics
Re: I have attached a sample for you. This should put you on the right track. This is not my own code, but something I fond on the net, it works fine though. Thank you for opening your own post here.:) | |
Re: This looks more like a collection of labels and text boxes. a Datagrid will have continues lines and rows. | |
Re: Welcome to Daniweb. I'm sure you will find all the answers to your problems (forum wise) here. Enjoy your stay. | |
Re: Welcome Homer (or should I say Frederick?) Thanks for the offer of help here. I'm sure a lot people will appreciate your help. | |
Re: Welcome to Daniweb Sylvester. Enjoy your time here and we look forward to hear from you a lot. | |
Re: Welcome to Daniweb "Old Timer":icon_biggrin: (Only Kidding) Enjoy your time here. You will find that as in the case of your studies every day of the machine and testing, the same happens here. We just can't let go....LOL | |
Re: Welcome to Daniweb. Enjoy your stay and I believe you will find all the answers you need to your applications AS WELL as some chatting on the Geeks Lounge forum. | |
Re: Mark, you will have to give us a bit more info here. What do you mean by - [QUOTE] Create a new line in vb 2008[/QUOTE], a new line of code, a string etc? What kind of database are you using, Sql, MySql, Access etc? In the mean while, have … | |
Re: Try the following - [CODE]Public Sub InitData() On Error GoTo err: If rs.State = adStateOpen Then rs.Close rs.Open "Select * from tblEmp", cn, adOpenStatic, adLockPessimistic 'Keyset changed to static If rs.BOF = True Or rs.EOF = True Then 'No records txtIDNo.Text = "10000" rs.Close Exit Sub Else rs.MoveLast Dim xIdNo … | |
Re: [QUOTE]What are the Components i will use for my VB App?[/QUOTE] There are no extra components needed, only your MS ActiveX data objects reference which looks as you already have the reference selected if I look at your code. [QUOTE]Do I have to run my Program on both unit?[/QUOTE] No, … | |
Re: Try the following select statement - [CODE]rsVisit.Open "SELECT * FROM MyTable WHERE DateVisited >= DateValue('" & txtDate.Text & "')", cnReport, adOpenStatic, adLockOptimistic 'Adjust the txtdate as you wish to say 6 months or 12 months etc. [/CODE] | |
Re: If you are not running the newest service pack of VB6, the ATL will change the registry setting for the referenced dll, resulting in major errors. Read more about this from Microsoft, which rectified the bug at - [URL="http://support.microsoft.com/kb/237175"]http://support.microsoft.com/kb/237175[/URL] The following sites might help out as well - [URL="http://stackoverflow.com/questions/1730515/how-to-create-a-vb6-collection-object-with-atl"]http://stackoverflow.com/questions/1730515/how-to-create-a-vb6-collection-object-with-atl[/URL] Or … | |
Re: Try and change the following - [QUOTE]filesys.CopyFolder "L:\Voice Profiles\*", "c:\Documents and Settings\%USERNAME%\My Documents\"[/QUOTE] to [CODE]filesys.CopyFolder "L:\Voice Profiles\*", "c:\%homepath%\My Documents\"[/CODE] | |
Re: Try the following by changing your sql statement - [CODE]'pubsql = "SELECT * FROM table1 WHERE transaction_date " = "09/23/2010" to pubsql = "SELECT * FROM table1 WHERE transaction_date = DateValue('09/23/2010')[/CODE] | |
Re: Download Windows Easy Transfer from microsoft from - [URL="http://windows.microsoft.com/en-US/windows7/products/features/windows-easy-transfer"]http://windows.microsoft.com/en-US/windows7/products/features/windows-easy-transfer[/URL] and you should be ok. You can also try the following link, it has some usefull links there that might answer your question - [URL="http://www.computing.net/answers/windows-7/win-7-file-association-problems-with-runcmd/2920.html"]http://www.computing.net/answers/windows-7/win-7-file-association-problems-with-runcmd/2920.html[/URL] | |
Re: I agree, upgrade the graphics card. I am however sure that after you have installed win7 and probably Office 2007 up with some other odds and ends software you will have no more space left on your 40GB drive. Also by using aero turned on, your system will be slower … | |
Re: I am not that cluded up on obfuscators (meaning to To darken; to obscure; to becloud; hence, to confuse; to bewilder. To make so confused or opaque as to be difficult to perceive or understand as per Randy Birch), but I did find a few links which might put you … | |
Re: Welcome (again) Steve. Enjoy your stay, I am sure we will still hear a lot from you in the future. | |
Re: Welcome to Daniweb Blair. Enjoy your stay. Did you know that Dani hosts an annual get together in NYC? Around the corner from you then... | |
Re: Welcome to Daniweb Mike. We will see you aroung at C++ I suppose. Wear a life jacket when the treading becomes too much...:icon_cheesygrin: Enjoy your stay. | |
Re: Paste us your select statement. I think your problem lies there because it seems to be locked. [CODE]rs.Open "SELECT....", cnLoad, adOpenStatic, adLockOptimistic 'might do the trick.[/CODE] | |
Re: Rather try to use the following - [CODE]'In a private sub the following... Private Sub ClearAll(frm As Form) Dim Control As Control For Each Control In frm.Controls If TypeOf Control Is TextBox Then Control.Text = vbNullString End If Next Control End Sub 'Call event in your form activate Call ClearAll … | |
Re: Welcome to Daniweb. I'm sure you will find all your answers on C++ here. Just go to software at the top of the page and select "C++". Good luck. | |
Re: I agree, have played ALL COD's to date, this seems like just so much more fun. Can't wait for the official launch. | |
Re: Welcome here. I'm sure we will hear a lot more from you in the future. Enjoy your stay. | |
Re: This is something I used a while back, try it out for it gives you basically all the options available when working with charts. | |
Re: The following link gives you a full sample of opening and saving files - [URL="http://www.developerfusion.com/article/11/common-dialog-control/3/"]http://www.developerfusion.com/article/11/common-dialog-control/3/[/URL] | |
Re: I remember to have used On-Time a while back which was fairly basic and freeware at the time. Try them out. It lets you add tasks, keep track of who is it assigned to, when the closing date is, with warnings about falling behind etc. | |
Re: Welcome Marietta. Enjoy your stay with us (Again!...LOL). I have asked the moderators to move your poll to our Geeks lounge, it will be more appropriate there than under the community welcome forum. | |
Re: Welcome to Daniweb. I am sure with hard enough work and effort from your side you will make you one of the best. Enjoy your stay. | |
| |
Re: Welcome to Daniweb and enjoy your stay. | |
Re: Your problem is that the random number is not saved to your system, hence the same number every time it starts. Save the random number to your registry and let the app select a random number from this number. Google "Save number to registry in VB6", plenty of samples to … | |
Re: Try the following - [CODE]Dim myDate As Date, ExpiryDate As Date rsDates.Open "SELECT TheDate FROM MyTableDates", cnDate, adOpenStatic, adLockOptimistic MyDate = rsDates!TheDate ExpiryDate = Now If MyDate < ExpiryDate Then 'Whatever to happen here Else 'Flash code here End If[/CODE] You can refine this much more by using the DateDiff … | |
Re: Refer my previous post to your question on 'Question Answer Program' > Our Software Development forum category encompasses topics related to application programming and software design. When posting programming code, encase it in (code), (code=syntax), where 'syntax' is any language found within our Code Snippets section, or (icode), for inline … | |
Re: It will be time and pc resources consuming to load every tab with data if the user only wants to view a certain tab, so, first determine which tab is open by using the following code and then populate said tab with data - [CODE]If ssTab.Tab = 0 Then txtBox0(0).Text … | |
Re: Go to www. clickatell.co.za. After downloading the code and support files you only have 5 FREE sms's to send. After that you need to purchase more. This includes a few language option, i.e. VB6, .net, delphi etc. | |
Re: Use the LIKE function when a user searches. [CODE]SELECT FROM MyBooks WHERE Title LIKE %Chateau%[/CODE] | |
Re: First you will need to view the source code for the specific web site and get their searchbox name and the submit button name from the source code. Add a webbrowser to your form. In code the following - [CODE]WebBrowser1.Navigate2 "http://www.MySiteToSearch.com/" WebBrowser1.Document.All("TheSearchedSitesTextboxName").Value = MySearchTextboxName WebBrowser1.Document.All("TheSearchedSitesSubmitButtonName").Click[/CODE] Does this help? | |
Re: Thanks for the new thread, ignore my post on the previous. It seems that your call to the date is incorrect in your select statement. Try the following - (If you had this in encoded brackets, I could have told you on which line..) [CODE]rstimekeeping.Open "select * from time_info where … | |
Re: Sophisticated, I have asked that your post be moved to .Net, this is the VB6 forum. I'm sure you will find your answer there, good luck | |
Re: Try the following - [CODE]con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Aianski\Desktop\Cliente ko\SGO_Tally.mdb;Persist Security Info=False" 'First change the long path to - con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\SGO_Tally.mdb;Persist Security Info=False" 'This will eliminate future install errors when installing your application on a users pc, GIVEN the fact that the database do exist … | |
Re: Try the following link with plenty of code samples right here on Daniweb - [URL="http://start.speedbit.com/search.aspx?site=suggest&cnl=7645705662&sitesearch=daniweb.com&q=rs232&bi=263752&si=7124&cc=ZA&pop=0"]http://start.speedbit.com/search.aspx?site=suggest&cnl=7645705662&sitesearch=daniweb.com&q=rs232&bi=263752&si=7124&cc=ZA&pop=0[/URL] | |
Re: Sajahan, I see that you are a new poster, welcome. Could you however start a new thread with your question, because this is a very old thread already. In your NEW thread, give us some more information on what you need help with, i.e. connection to database on server, what … | |
Re: Jhai, his looking for something similar to a analog wrist watch with a second, minute and hour arm. This took me a while, so enjoy fourty (Some reputation points will help me as well...:$) FIRST, copy the attached ocx to your windows system32 file.[B][I][U]IMPORTANT[/U][/I][/B], >>> remove the d from the … | |
Re: We will have to get some more information from you. What database is used, what fields in the table when deleting Is the user deleting on the system, in other words in the database? Are you using VB6? | |
Re: I agree, IE8, there is no fantasies oops fire to be seen. |
The End.