1,130 Posted Topics

Member Avatar for jawsykilla

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, …

Member Avatar for vb5prgrmr
-1
1K
Member Avatar for shena

[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

Member Avatar for shena
0
131
Member Avatar for shena

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 …

Member Avatar for shena
0
7K
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for alkeshnayak

Look up Lead Technologies, Pegasus Software, or just use your friends (yahoo, google, ask, answers, bing) to search for ocr sdk... Good Luck

Member Avatar for vb5prgrmr
0
86
Member Avatar for anlmember437
Member Avatar for AndreRet
0
259
Member Avatar for LloydFarrell

Check out the Dir Function, the MkDir Statement, and the FileCopy Statement... Good Luck

Member Avatar for vb5prgrmr
0
544
Member Avatar for Mueni

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 …

Member Avatar for papaa
0
244
Member Avatar for kcasmir

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

Member Avatar for michael magwila
0
256
Member Avatar for jjemphoung
Member Avatar for AndreRet
0
103
Member Avatar for athan20

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 …

Member Avatar for athan20
0
371
Member Avatar for Talguy

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

Member Avatar for Talguy
0
92
Member Avatar for fourty

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 …

Member Avatar for fourty
0
132
Member Avatar for fourty
Re: 3D

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

Member Avatar for vb5prgrmr
0
107
Member Avatar for insane708

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 …

Member Avatar for vb5prgrmr
0
101
Member Avatar for leesysmuthu
Re: VB

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

Member Avatar for kinwang2009
0
83
Member Avatar for 3d0army

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 …

Member Avatar for 3d0army
0
162
Member Avatar for gurupts

See [url]http://www.connectionstrings.com[/url] and your friends (yahoo, google, ask, answes, bing) to search for vb6 ado tutorial... Good Luck

Member Avatar for fourty
0
247
Member Avatar for lucky29

Remove the WithEvents keyword as it is telling you that it does not support callback events... Good Luck

Member Avatar for vb5prgrmr
0
76
Member Avatar for santosh5471

Yes we can, show us what you have so far, tell us what you want to do, where are you having problems?

Member Avatar for jhai_salvador
0
175
Member Avatar for shawarmah

You really need to loop up the Get Function in help... and then look up the Input Function or the InputB Function... Good Luck

Member Avatar for vb5prgrmr
0
162
Member Avatar for marluke

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 …

Member Avatar for anmisha
-3
322
Member Avatar for lazylearner

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, …

Member Avatar for vb5prgrmr
0
544
Member Avatar for andy_aphale

Instead of using the select case there OP and Andre, how about the Chr function... [code] ?Chr(101) e [/code] Good Luck

Member Avatar for vb5prgrmr
0
221
Member Avatar for InfrequentCoder
Member Avatar for vb5prgrmr
0
261
Member Avatar for Baz_Singh

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

Member Avatar for vb5prgrmr
0
138
Member Avatar for pritesh2010

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 …

Member Avatar for labq5
0
1K
Member Avatar for DrPhil
Member Avatar for runnerme

Friends time (yahoo, google, ask, answers, bing) vb6 insert picture into database or vb6 retrive picture from database... Good Luck

Member Avatar for debasisdas
0
121
Member Avatar for navingupta52

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

Member Avatar for vb5prgrmr
0
86
Member Avatar for mrnervios

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 …

Member Avatar for vb5prgrmr
0
189
Member Avatar for shweta102030

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

Member Avatar for vb5prgrmr
0
212
Member Avatar for jiya rathore
Member Avatar for leverin4

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, …

Member Avatar for leverin4
0
168
Member Avatar for java_programmer

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

Member Avatar for vb5prgrmr
0
168
Member Avatar for jenmhack

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 …

Member Avatar for vb5prgrmr
0
94
Member Avatar for revieperizh

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 …

Member Avatar for Rexan
-1
2K
Member Avatar for kings_mitra

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 …

Member Avatar for ~s.o.s~
0
311
Member Avatar for KhairilSyahrin

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... …

Member Avatar for KhairilSyahrin
0
146
Member Avatar for realheaven

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 …

Member Avatar for vb5prgrmr
0
95
Member Avatar for gurupts
Re: vb

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 …

Member Avatar for vb5prgrmr
0
124
Member Avatar for ChocoCrisp

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 …

Member Avatar for abu taher
0
104
Member Avatar for PM312

Try... [code] Text4.Text = Format(CDbl(Text1.Text) + CDbl(Text2.Text) + CDbl(Text3.Text), "#,#.00") [/code] Good Luck

Member Avatar for AndreRet
0
205
Member Avatar for amass

Make the date a string... [code] ...dDateField = '" & Now & "'" [/code] Good Luck

Member Avatar for Ionelul
0
295
Member Avatar for WildBamaBoy

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 …

Member Avatar for vb5prgrmr
0
144
Member Avatar for myfootballfacts

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 …

Member Avatar for vb5prgrmr
0
149
Member Avatar for Geek_Cyborg
Member Avatar for eng.jawad
0
118
Member Avatar for KhairilSyahrin
Member Avatar for vb5prgrmr
0
80
Member Avatar for 082100
Member Avatar for M.rahul

The End.