1,130 Posted Topics
Re: Andre! Really! .BLOAT code in the vb6.0 forum? Shame on you! :) Jaws, Using the shell function, shellexecute(ex) API with the open verbs will only open the destined file with the default program. If you want to open a file with another program than the one registered as the default, … | |
Re: [code] Dim MyArray() As String, MyString As String MyArray = Split("JK-501-3556-25-A-03#C", "-") MyString = MyArray(0) & "-" & MyArray(1) & "-" & MyArray(2) & MyArray(3) & "-" & MyArray(4) & "-" & MyArray(5) MsgBox MyString [/code] Good Luck | |
Re: Well, what the error is telling you is that the connection object (DB) is not connected to the database, which could mean that the sub connectDB has not been called, and I can see where you have commented it out... Step through your code to make sure you have opened … | |
Re: GoTo [url]http://www.microsoft.com[/url] then there is a navigation and the second from the right is Support. Click that and when the list appears click on MSDN. However, a lot of documentation is geared towards .NET so when you search you will need to add either VB6 or Visual Basic 6.0 to … | |
Re: Look up Lead Technologies, Pegasus Software, or just use your friends (yahoo, google, ask, answers, bing) to search for ocr sdk... Good Luck | |
Re: What do you mean SendMessage API will not work on vista? Or are you talking about sendkeys? | |
Re: Check out the Dir Function, the MkDir Statement, and the FileCopy Statement... Good Luck | |
Re: Yes, it can all be done with one button but you will need to do some reading first... Okay, first off, let me introduce you to your new best friends, and they are yahoo, google, ask, answers, and bing. What? You say! How can search engines be my new best … | |
Re: For the first part you need to look up an [B]alter table statement[/B] for the second part... [U]tblStaffDuty[/U] iSDID 'unique ID auto number iStaffID 'foreign key to staff name table iDutyID 'foreign key to descriptions of duties table dDate 'date of duty Good Luck | |
Re: Friends time (yahoo, google, ask, answers, bing) URLDownloadToFile API... Good Luck | |
Re: Hmmm... The choice of game you have decided upon gives me great concern but after reading what you wrote I understand that this is more of an excercise for you than an actual project. So with that said, all you need to do is to build a decision tree that … | |
Re: Because the cursor type you have chosen only knows about the first record, the record it sits on. To fix, do a movelast, movefirst and this will tell your cursor type how many records are in the recordset... Good Luck | |
Re: Andre, looks good but have a look at CDate to convert strings to a numerica value, then do the subtraction followed by the format function as in this abbreviated example... [code] Option Explicit Dim Start As Date Private Sub Command1_Click() Dim MyStop As Date, Difference As Date MyStop = Now … | |
Re: Time to use your friends (yahoo, google, ask, answers, bing) and search for vb6 directx tutorial. Also, over at PSC (planet-source-code.com) you could do a search for vb6 3d and find many examples on directx and a few that do it without the use of directx... Good Luck | |
Re: Okay,... *1*1* should do the trick but this is off the top of my head so you might also need a or *11* or % wildcard characters in stead of * then... *1*2*3* or *2*1*3* or *3*1*2* or *2*3*1* or *1*3*2* or *3*1*2* or *3*2*1* or *12*3* or .... and … | |
Re: Compile program and make an installable package with the PDW, VSI 1.1, Inno, or any other number of installers whether scripted or not... Good Luck | |
Re: Browse button = Microsoft Common Dialog Control (Press CTRL+T and select it) Open the file... Here is where you terminology is wrong as you do not need to open a file to rename it but the following is for opening any file... In help on index tab look up the … | |
Re: See [url]http://www.connectionstrings.com[/url] and your friends (yahoo, google, ask, answes, bing) to search for vb6 ado tutorial... Good Luck | |
Re: Remove the WithEvents keyword as it is telling you that it does not support callback events... Good Luck | |
Re: Yes we can, show us what you have so far, tell us what you want to do, where are you having problems? | |
Re: You really need to loop up the Get Function in help... and then look up the Input Function or the InputB Function... Good Luck | |
Re: Ahhh!!! Another necrophiliac, necromonger, necromancer!!! It raises the dead!!! Ahhh!!!! All kidding aside chupa charles, it is not nice to raise the dead threads. It gives people the willys! Please, in the future, if you need to reference another thread, copy its url into your new thread. Now, to answer … | |
Re: You need to calculate its aspect ratio... [code] Option Explicit Private Sub Form_Load() Dim P As StdPicture, AspectRatio As Double Set P = LoadPicture("your image path file name here") If P.Width > P.Height Then AspectRatio = P.Height / P.Width IMG.Width = Me.ScaleWidth - 60 IMG.Move 30, 30, Me.ScaleWidth - 60, … | |
Re: Instead of using the select case there OP and Andre, how about the Chr function... [code] ?Chr(101) e [/code] Good Luck | |
Re: Andre!... that would be... [code] For x = 0 to List1.ListCount - 1 [/code] Good Luck | |
Re: Have a look at [url]http://www.connectionstrings.com[/url] and use your friends (yahoo, google, ask, answers, bing) to search for vb6 ado tutorial... Good Luck | |
Re: Did you place a picture box on the mdi parent form and hope to show a mdi child form in it??? If so, the SetParent API is what you are looking for. If not, are you sure you set the mdichild propert to true in the intended child form??? Good … | |
Re: Select [b]DISTINCT[/b]... Have a look it up in help... Good Luck | |
Re: Friends time (yahoo, google, ask, answers, bing) vb6 insert picture into database or vb6 retrive picture from database... Good Luck | |
Re: Friends time... (yahoo, google, ask, answers, bing) and search for vb6 facial recognition... I know intel did a series of commercials about it so you might want to check their site... Good Luck | |
Re: Kinwang, Andre,... >Text1.text is contains the name of the file to be put into the database. Mr. Nervous is trying the insert the contents of a text file into the database, but as you can see from his select statement, and if you think about the logic here, you will … | |
Re: What version of access? because if *.mdb is either 2k or 97 or earlier, you may need MDAC 2.5 as the jet components were seperated out of the MDAC thereafter... Just a thought... Good Luck | |
Re: Then post your question in the correct forum! | |
Re: Yes it is possible, but not quite as easy. If you know how many dimensions there are to begin with, you can do it like so... [code] Dim MyArray(1 To 25, 1 To 2) As String 'or could be 0 to 24, 0 to 1 MyArray(1, 0) = "UserName1" MyArray(1, … | |
Re: Use either the Join Function and InStr to find ",5," or use a for loop to go from LBound to UBound and test for the value... Good Luck | |
Re: Search a persons name, retrieve their address (so far from personal data store), then maps.google api to pull over head from satellite image... is the way I take it and guess what IT IS AGAINST GOOGLE EULA! Google does not want thier API or system used by FAT Clients like … | |
Re: Well there are many more sites out their with much easier to read fonts. Using a proportional on code that programmers are used to seeing in a mono space font is just silly. If you have any pull at the site, perhaps you should tell them to fix up the … | |
Re: What you are talking about is a word I coined a few months back and that is Necroposting... Necroposting has been discussed before and the current suggestion or last suggestion to prevent this is, if the last post is greater than 30 days old do not show edit field but … | |
Re: Kin and Abu are talking about using the intrinsic timer control and not the SetTimeEvent API. Also, their values of 1000 to set its interval property, well it only equals 1 second. If you want one minute like you originally said, you will need to set its interval to 60000... … | |
Re: Okay, those doublets, doubles, pairs of characters are already in hex notation. To retrieve their values, put &h in front of them... [code] Dim Value As String Value = "FF" debug.print CByte("&h" & Value) debug.Print CInt("&h" & Value & Value) 'actually returns -1 so use clng debug.Print CLng("&h" & Value … | |
Re: and lets not forget the updated installer, visual studio installer 1.1 that is the replacement for the PDW and you can find a link to where it is at an archive site by looking in the top pinned thread of this forum where I posted the link to the archive … | |
Re: Let me introduce myself, I'm a... whopps wrong song here at the moment but let me intoduce you to your new best friends. They are yahoo, google, ask, answers, and bing. Now these guys will work tirelessly for you but they can be pretty dumb. So if you only want … | |
Re: Try... [code] Text4.Text = Format(CDbl(Text1.Text) + CDbl(Text2.Text) + CDbl(Text3.Text), "#,#.00") [/code] Good Luck | |
Re: Make the date a string... [code] ...dDateField = '" & Now & "'" [/code] Good Luck | |
Re: You can also get the username like so... [code] Debug.Print Environ("USERNAME") [/code] However, Andre's method is preferred in a lot of cases... Once you have the username, you can then check for the existence of the desktop by building the string yourself, but the path you are specifing you will … | |
Re: Actually if your database was normalized "correctly", it would be just 12 to 16 bytes to keep a reference to the sent mail, and when deleted from the sent items, you would only be changing 4 bytes to remove the reference. Then if the message was deleted from the reciepients … | |
Re: Have a look at the Hex Function... and BTW 10 = A, B = 11... Good Luck | |
Re: Please see... [url]http://www.a1vbcode.com/snippet-4386.asp[/url] Good Luck | |
Re: [code] Form1.Command1.Value = True [/code] Good Luck | |
Re: Andre... .NET code in the classic section??? Shame on you :) |
The End.