2,155 Posted Topics

Member Avatar for ramaliah

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.:)

Member Avatar for AndreRet
0
45
Member Avatar for VBNew

This looks more like a collection of labels and text boxes. a Datagrid will have continues lines and rows.

Member Avatar for AndreRet
0
84
Member Avatar for Kim01

Welcome to Daniweb. I'm sure you will find all the answers to your problems (forum wise) here. Enjoy your stay.

Member Avatar for DianeBrandt
0
69
Member Avatar for FredrikDuwell

Welcome Homer (or should I say Frederick?) Thanks for the offer of help here. I'm sure a lot people will appreciate your help.

Member Avatar for DianeBrandt
0
124
Member Avatar for sylvesterraj

Welcome to Daniweb Sylvester. Enjoy your time here and we look forward to hear from you a lot.

Member Avatar for DianeBrandt
0
19
Member Avatar for krutynow

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

Member Avatar for DianeBrandt
0
128
Member Avatar for smarto

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.

Member Avatar for DianeBrandt
0
26
Member Avatar for Preeya
Member Avatar for DianeBrandt
0
48
Member Avatar for markdean.expres

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 …

Member Avatar for markdean.expres
0
165
Member Avatar for abelingaw

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 …

Member Avatar for AndreRet
0
136
Member Avatar for abelingaw

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

Member Avatar for AndreRet
0
265
Member Avatar for tomo_uni

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]

Member Avatar for AndreRet
0
185
Member Avatar for SpiritualMadMan

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 …

Member Avatar for AndreRet
0
142
Member Avatar for cwestern

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]

Member Avatar for AndreRet
0
193
Member Avatar for maichy

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]

Member Avatar for AndreRet
-1
409
Member Avatar for Shackbase
Member Avatar for harikrishna439

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]

Member Avatar for CimmerianX
0
75
Member Avatar for malrofo

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 …

Member Avatar for mr_mark_king
0
104
Member Avatar for vbnetskywalker

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 …

Member Avatar for AndreRet
0
2K
Member Avatar for remarkablyso

Welcome (again) Steve. Enjoy your stay, I am sure we will still hear a lot from you in the future.

Member Avatar for remarkablyso
0
119
Member Avatar for blairjohnson

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

Member Avatar for AndreRet
0
20
Member Avatar for SpiritualMadMan

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.

Member Avatar for AndreRet
0
261
Member Avatar for tomo_uni

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]

Member Avatar for tomo_uni
0
206
Member Avatar for dc_fdl

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 …

Member Avatar for AndreRet
0
136
Member Avatar for kakaliki

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.

Member Avatar for kakaliki
0
99
Member Avatar for Glass_Joe

I agree, have played ALL COD's to date, this seems like just so much more fun. Can't wait for the official launch.

Member Avatar for AndreRet
0
434
Member Avatar for tgaudet

Welcome here. I'm sure we will hear a lot more from you in the future. Enjoy your stay.

Member Avatar for jib
0
206
Member Avatar for cristey

This is something I used a while back, try it out for it gives you basically all the options available when working with charts.

Member Avatar for debasisdas
0
103
Member Avatar for fourty

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]

Member Avatar for AndreRet
0
136
Member Avatar for maxelcat

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.

Member Avatar for AndreRet
0
89
Member Avatar for lhayes

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.

Member Avatar for AndreRet
0
58
Member Avatar for mainaa

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.

Member Avatar for AndreRet
0
30
Member Avatar for HeadrickBones

Welcome Headrick and I am sure you will enjoy your stay with us.

Member Avatar for AndreRet
0
14
Member Avatar for jems5
Member Avatar for russjb

Welcome to russjb and samortan. Enjoy your stay here at Daniweb.

Member Avatar for AndreRet
0
74
Member Avatar for Ghost34

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 …

Member Avatar for AndreRet
0
121
Member Avatar for mrthomasbkk

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 …

Member Avatar for AndreRet
0
247
Member Avatar for wondering_ed

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 …

Member Avatar for AndreRet
0
105
Member Avatar for prasadbby

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 …

Member Avatar for AndreRet
0
138
Member Avatar for Bardoel

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.

Member Avatar for nisu
1
539
Member Avatar for Baxtula

Use the LIKE function when a user searches. [CODE]SELECT FROM MyBooks WHERE Title LIKE %Chateau%[/CODE]

Member Avatar for Baxtula
0
171
Member Avatar for AienTech

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?

Member Avatar for silwar
0
216
Member Avatar for Retsel_ter

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 …

Member Avatar for fourty
0
147
Member Avatar for sophisticated19

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

Member Avatar for marketingmaniac
0
175
Member Avatar for alleybye

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 …

Member Avatar for AndreRet
0
99
Member Avatar for danilomayojr

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]

Member Avatar for AndreRet
0
163
Member Avatar for hell_tej

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 …

Member Avatar for AndreRet
0
233
Member Avatar for fourty

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 …

Member Avatar for AndreRet
0
180
Member Avatar for bryt

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?

Member Avatar for DenisOxon
0
80
Member Avatar for GrimJack
Member Avatar for david osborn
0
274

The End.