2,155 Posted Topics
Re: Create a data access object - [CODE]Dim MyConnection As ADODB.Connection Set MyConnection = New ADODB.Connection Dim MyReport As ADODB.Recordset Set MyReport = New ADODB.Recordset[/CODE] Open the connection and the recordset by using a Sql Statement - [CODE]MyReport.Open "SELECT * FROM MyWifesBooks ORDER BY Author", MyConnection,adOpenStatic, adLockOptimistic[/CODE] If there are records … | |
![]() | Re: I think by the time we get the solution to this the man might have died from hunger already. So why bother solving it. Shoot the rabbit and live with it I say. ![]() |
Re: If I understand your question correctly, the following - [CODE]Private Sub txtString_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Form2.txtString.Text = txtString.Text End If End Sub[/CODE] | |
Re: Have a look at the following link, with code samples. [URL="http://www.resco.net/forums/ShowPost.aspx?PostID=32900"]http://www.resco.net/forums/ShowPost.aspx?PostID=32900[/URL] | |
Re: I agree with Frank. 2020 will be most probably home/work/social integrated systems that can not be reffered to as computers any more. a Few years back we used to say "Check your phone, I have send you a text message/sms". Now we just say, "check your messages, I've text-ed you. … | |
Re: Welcome to Daniweb. You can post your requirements in our IT Professional lounge, Business Exchange or Internet Marketing. I'm not sure if the Community forum will help. Good luck in obtaining your clients.:) | |
Re: Have a look at the following link. I think this is what you are looking for. [URL="http://bytes.com/topic/visual-basic-net/answers/355871-determine-file-size-before-download-httpwebrequest-httpwebresponse"]http://bytes.com/topic/visual-basic-net/answers/355871-determine-file-size-before-download-httpwebrequest-httpwebresponse[/URL] | |
Re: Lee250, please read our posting rules. This thread is almost 2 1/2 years old. No one will answer your question here. I have asked for it to be moved to its own post. Then, please give us more information. How do you expect us to give you a solution on … | |
Re: It is possible, but a few words of caution. Don't ever try to hide an already hidden process, or else, no one can tell how your system gonna act! I hope it is not spy/malware you are planning on writing......:) Have a look at the attachment, not written by myself, … | |
Re: Welcome to Daniweb Quazy. I'm sure you will find all the answers you need in the .Net forum. | |
Re: Any flash drive comes with its own "installation Software" if you want. Have you noticed when you plug a new flash into a usb, your pc picks it up with a message "Found New Hardware". It then "installs" the drivers for the specific flash, hence the files and not exact … | |
Re: This is strange. The code looks fine. Did you have a look at your database? Does it save the data into a new recordset, even though nothing seems to happen? | |
Re: view the following link which gives you all the connection strings you might need - [URL="http://www.connectionstrings.com"]http://www.connectionstrings.com[/URL] | |
Re: Nah, not my kind a game.:cool: | |
Re: Have a look at the following link - [URL="http://www.c-sharpcorner.com/UploadFile/mgold/HowToPrintaDataGridinCsHARPand.NET11212005060838AM/HowToPrintaDataGridinCsHARPand.NET.aspx"]http://www.c-sharpcorner.com/UploadFile/mgold/HowToPrintaDataGridinCsHARPand.NET11212005060838AM/HowToPrintaDataGridinCsHARPand.NET.aspx[/URL] I'm sure this will help. | |
Re: It depends on what your SCHEMA refers to, a .ini file, access schema, other database schema etc. | |
Re: It has been rated as one of the best!!! Have a look at our menus at the top covering every aspect in the IT industry with some very clever posters out there to assist you in every question you might have (IT related of course:) | |
Re: Under your timer, subtract 1 second from your original start seconds criteria. Everytime the timer fires, another second is deducted from the previous value. I have asked that your post be moved to .Net, this is currently in VB6. | |
Re: As far as I know DateTimePicker has a value and not text as in - [CODE]DateTimePicker.Value[/CODE] | |
Re: The following link shows tons of tutorials WITH sample code on class modules. [URL="http://www.google.com/search?q=vb6+class+modules&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en"]http://www.google.com/search?q=vb6+class+modules&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en[/URL] | |
Re: Welcome to Daniweb Nanda. I'm sure you will find all the help you need in the PHP forum. Enjoy. | |
Re: Welcome to Daniweb. Yes it does cover about all you can think of. Have a look at the top at all the different forums available. | |
Re: Welcome to Daniweb Ifeanyi. I'm sure you will enjoy your stay here with us. | |
Re: [QUOTE]TXT1 = "SELECT * FROM Profile ORDER BY sID = '" & Text2[/QUOTE] Try the following - [CODE]TXT1 = "SELECT * FROM Profile ORDER BY sID =" & "'" & Text2.Text & "'"[/CODE] The data type mismatch normally refers to a field in your database table that is for instance … | |
Re: Welcome to Daniweb. I have asked that your question be moved to .NET. I'm sure you will find the answer there. | |
Re: 208..., please read our posting rules. Open a NEW thread with your own question. In the question tell us what your problem is. The code you supplied above makes no sense. Where did the error occur etc. Open the new post and I will gladly answer your question. | |
Re: Please post a NEW question under vb.Net. I'm sure someone over there will be able to answer your question. "Software Development/VB.NET" | |
Never thought this will happen to me, but, guess what, IT DID!!! I have accidentally let my drive slip from my hands yesterday with almost a terrabyte size of data on there. Obviously after re-inserting the drive into my hard drive dock, all the funny noises started and my system … | |
Re: There is numerous tutorials when you use Google search. Try the search criteria "Class objects in VB6". Have a look at the following link, choose the one you need and happy learning. [URL="http://www.google.com/search?q=w&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en"]http://www.google.com/search?q=w&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en[/URL] Or have a look at the following - "class in vb6 tutorial" [URL="http://www.google.com/search?q=w&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en#sclient=psy&hl=en&rls=com.microsoft:en-US%3A%7Breferrer%3Asource%3F%7D&rlz=1I7WZPA_en&source=hp&q=class+in+vb6+tutorial&aq=1&aqi=g2g-m8&aql=&oq=class+in+vb6&gs_rfai=&fp=499faa430ac3503f"]http://www.google.com/search?q=w&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7WZPA_en#sclient=psy&hl=en&rls=com.microsoft:en-US%3A%7Breferrer%3Asource%3F%7D&rlz=1I7WZPA_en&source=hp&q=class+in+vb6+tutorial&aq=1&aqi=g2g-m8&aql=&oq=class+in+vb6&gs_rfai=&fp=499faa430ac3503f[/URL] | |
Re: The .update is to follow after the .add, then the data to update and then the .update. The textboxes clearing its contents has nothing to do with your data connection at all. Post us the code for your add new data and the code currently under the text box. Somewhere … | |
Re: Welcome to Daniweb. I will definitely see you around in the vb6 forum. Enjoy and happy coding. | |
Re: Welcome to Daniweb Jack. I'm sure you will find all answers in their respective forums. Happy coding. | |
Re: [QUOTE]Me.form9.label5.text=Form2.textbox3.text[/QUOTE] Firstly your code is incorrect. a Label's text property is referred to as caption in VB6. In your code the following - [CODE]With Form2 .Label1.Caption = Text1.Text .Show End With[/CODE] | |
Re: Have a look at the following link. It includes all the code you might need. [URL="http://www.exceltip.com/st/Create_User_Forms_in_Microsoft_Excel/629.html"]http://www.exceltip.com/st/Create_User_Forms_in_Microsoft_Excel/629.html[/URL] | |
Re: Good luck to both of you! It can only be downloaded, (only parts of it). I doubt it that someone will just send you a copy... | |
Re: Pardeep, you should know after 70 posts that you need to give us more information AND what you have done so far. Irrespective though, this is something I am using that you can alter to suit your needs. Enjoy! | |
Re: I have tested your code in ms word 11 and no problems there. I think that the problem might be with the file extension name. As far as I know, a ms word document is saved as docx in 2010 and not .doc???? I might be wrong. This from MS … | |
Re: Use a for loop once cboOwner has been populated. - [CODE]Dim x As Integer For x = 0 To cboOwner.ListCount cboIssuer.AddItem cboOwner.Text Next x cboIssuer.AddItem "Mothership"[/CODE] | |
Re: If I understand this correctly, the following - [CODE]"SELECT * FROM MyTableName WHERE UserId =" & "'" & MyUserIdNumber & "'" 'Now move the returned recordset to the last record in the table set.[/CODE] | |
The End.