2,155 Posted Topics
Re: Try this code, it needs a form and a button(Command1) - [CODE]Option Explicit Private Declare Function SHFileOperation _ Lib "shell32.dll" _ Alias "SHFileOperationA" _ (lpFileOp As SHFILEOPSTRUCT) As Long Private Type SHFILEOPSTRUCT hWnd As Long wFunc As Long pFrom As String pTo As String fFlags As Integer fAborted As Boolean … | |
Re: Guys, PLEASE!!! Do not hack the other threads, they are like sooooo old. No one will be reading them. If you have something to say, post a NEW THREAD! and we will all respond.;) | |
Re: To access your ps3 on a network, have a look at [URL="http://www.youtube.com/watch?v=DYxTdcJYiWw"]THIS[/URL] link. If you are finding problems with the connection, have a look at [URL="http://en.kioskea.net/forum/affich-22104-fixing-your-ps3-network-connection"]THIS[/URL] link. To make your drives accessible, on your pc, do the following - Right-click on the drive in My Computer, click Properties, click the … | |
Re: The best way to see if all is still working is to switch on the laptop, wait for it to boot up properly. Now connect the modem, the laptop should pick up as new hardware. If not, go to my computer and test the drivers installed for the modem. The … | |
Re: VBNew, although Kinwang is correct in his code, it will cause a lot of duplication. Your problem lays in your code, calling myDb, which resides in a different sub. Add this to your function and then call it - [CODE]Public Sub GetDB() Set Mydb = New ADODB.Connection With Mydb .Provider … | |
Re: Welcome to Daniweb.:) Post your question in our Community Feedback or even our Geek Lounge. You will get much more feedback from there.;) | |
Re: Welcome to Daniweb.:) Post your interest and question in our IT Professional Lounge. I'm sure you will get more response from there. Good luck in your career.:) | |
| |
Re: [QUOTE]But when a new account is added I can't get the list to update but when you close the database and reopen it the new account shows[/QUOTE] This is the easy part, just run the population code of the listbox AFTER the new record was added. I'm not sure what … | |
Re: Yeah right,;) It looks like google offices in their early stages...:) At least it seems that some "new" techno stuff is tested out according to the pics.:) | |
Re: Remove the refresh statement, it should solve your problem. Also, as PoisenedHeart pointed out, under your click event. Also check your code that you are not calling a clean up of all text in your text boxes. | |
Have a look at [URL="http://www.bgr.com/2010/12/29/hello-my-name-is-9649e796e8b23900dc9629a18f2d47306430e62f/"]THIS[/URL] link. Your every move can be tracked via your mobile's UD (mobile device unique identifier) and a lot of spam etc can be send. It does not seem that we have any say over this at all, although two people already started legal action in … | |
Re: Interesting post. Let us know if you have managed to find more information.:) | |
Re: Here is the complete code on building a calculator app.:) Just add the controls as required.... [CODE]Option Explicit Dim tempstore As Double Dim operation As Byte Private Sub cmd0_Click() If Len(txtbox.Text) > 10 Then Exit Sub Else: txtbox.Text = txtbox.Text + "0" End If End Sub Private Sub cmd1_Click() If … | |
Re: Same here, use to code until I drop when I was working from home. Since we set up offices, I have a set schedule and I tend to stick to it no matter what. I think it all boils down to time management.:) | |
Re: Please read my private message. I'll answer as soon as the new thread has been posted in VB4/5/6.:) | |
Re: To convert the times before doing the sum, use the following - [CODE]Dim BrowseTime As Integer, BrowseTimeUnit As String If BrowseTime < 60 Then BrowseTimeUnit = BrowseTime & " Mins" ElseIf BrowseTime >= 60 And BrowseTime < 1440 Then BrowseTime = BrowseTime / 60 BrowseTimeUnit = BrowseTime & " Hrs" … | |
Re: What kind of report? What database, access, sql, Mysql? What code and what data? You need to give us more information if you want a solution.:) | |
Re: Welcome to Daniweb Conor. Check out our various forums for some useful tips.:) | |
Re: Guys, if you want any response on your questions, open a NEW thread of your own. Very little members will respond on posts as old as 2005. We hate to raise the dead.;) | |
Re: I have asked the mods to move this to Snippets.:) | |
Re: I have no idea of what you really need.:) Lets start with the language first, are you using vb6 or vba? How do you want to manage these excel coloumns? Lastly, incorporate them into the project, which project? | |
How did your new year resolutions from 2010 pan out during the year? Mine was a total disaster. I think there was only one that lasted until February. All the others fell out of the bus during January... ;) This year, mmmmm. Definitely grow my business by at least 35%. … | |
Re: mmm, I see this is solved, good. I still don't understand the question though.:) | |
Re: [QUOTE]If you give a wrong answer, someone will likely correct you, which leads to you learning more on top of the original question being answered. I don't see a downside to this process.[/QUOTE] My view exactly. If we all knew all of the answers, Daniweb would not have existed.;) Go … ![]() | |
Re: If you read through all the other posts (FROM 2007!) you will see that there are multiple ways of getting the screen resolution. | |
Re: Welcome to Daniweb Nicky.:) | |
Re: Although the samples given is working towards the solution. it is way too extended. The simplest way is as follow - [CODE]rs.Open "SELECT * FROM MyTable WHERE MyFeldName = '" & Text1.Text & "'", cn, adOpenStatic, adLockOptimistic If rs.BOF = True Or rs.EOF = True Then 'All your code here, … | |
What do you have planned for the holidays? We have decided to have a very quiet family get together at my place for the holidays. | |
Re: What do you have so far? This is a lot of code, we need to see what you have already. | |
Re: To all out there, all the best and blessings for this season. | |
Re: Read through [URL="http://www.control.com/thread/1026198113"]THIS[/URL] link. It has all the sample code you need. | |
Re: Welcome to Daniweb Sara.:) If you want more exposure on your site, I would suggest that you post a thread in our IT Professional Lounge. I'm sure more people will browse from there than they are at the introductions. | |
Re: [CODE]Dim i As Integer i = 0 Label1.Caption = i For i = 0 To rsRec.RecordCount Label1.Caption = Label1.Caption + 1 rsRec.MoveNext Next i[/CODE] | |
Re: After your code call, use - [CODE]MyCR.Show 'Where MyCR is your report name...[/CODE] | |
The End.