1,130 Posted Topics

Member Avatar for DaveyMoyes

Look up the shell function... [code] Shell "C:\mybat.bat", vbHide [/code] and see if it will work for you... Good Luck

Member Avatar for vb5prgrmr
0
80
Member Avatar for samira1993

Okay, we can see what your homework requirements are but what we cannot see is which part you are having a problem with. Where is your question on what part of that you are having a problem with? Good Luck

Member Avatar for vb5prgrmr
-2
486
Member Avatar for r_k46211

Which mean that the data access layer (the provider or the dll's that provide that service) are not found. You may have to download a MDAC from MS to solve this problem... [url]http://search.microsoft.com/results.aspx?qsc0=0&q=MDAC&mkt=en-US&FORM=QBME1&l=1[/url] Good Luck

Member Avatar for AndreRet
0
128
Member Avatar for adamsn

Without having to change any of your code you can still accomplish what you want. In the forms design view, highlight the button and then goto its properties. Find the "default" property and make it true. This property tells the OS that this button is the default button to press …

Member Avatar for adamsn
0
138
Member Avatar for samira1993

Please stop posting the same question... I have reported this and the rest of your duplicate threads [url]http://www.daniweb.com/forums/thread233750.html[/url] [url]http://www.daniweb.com/forums/thread233757.html[/url] [url]http://www.daniweb.com/forums/thread233748.html[/url]

Member Avatar for AndreRet
-1
127
Member Avatar for ivankenny

Celt.Max, the code you are using is for the VBA Listbox control found in Excel, access, etc. and while it is usable from VB6, it is not redistributable... IvanKenny, There are two ways in which to accomplish what you want... 1.) Use a listview control. 2.) Do a bit of …

Member Avatar for vb5prgrmr
0
324
Member Avatar for jusmas

Time to use your friends (yahoo, google, ask, answers, bing) and search for... vb6 run at startup vb6 GetAsyncKeyState Good Luck

Member Avatar for vb5prgrmr
0
69
Member Avatar for Lida_pink

Lida_Pink, Lets make sure of our definitions first... The [b]sum[/b] of numbers is, those numbers being added together, while the [b]product[/b] of numbers is, those numbers being multiplied together. So if you want the sum of numbers in a string then celt.max's code does work... [code] Option Explicit Private Sub …

Member Avatar for Lida_pink
0
723
Member Avatar for Domus BRASIL

It may also depend upon your local settings on your computer. I don't know about brazil but some countries use the decimal/period character as a thousands seperator and since you have 30.5 and not 30.500 it may be stripping it. So to perhaps solve this you may want to read …

Member Avatar for AndreRet
-1
160
Member Avatar for Lida_pink

None Case Sensitive [code] Option Explicit Option Compare Text Private Sub Form_Load() Dim S As String S = "This is a test" If Left(S, 1) = Right(S, 1) Then MsgBox Left(S, 1) & " matches" End Sub [/code] For case sensitive remove the option compare text.... Good Luck

Member Avatar for vb5prgrmr
0
132
Member Avatar for manisha_v

Please stop using SMS code it makes your post hard to decipher... First, create an access97 mdb or your sql database. Then use the data form wizard to create the base code for you. Good Luck

Member Avatar for manisha_v
0
115
Member Avatar for nareshkumar131

Plz, Correct my Code:[code] RS.Find "'" & Text1.Text & "'='" & Text2.Text & "'" [/code] Good Luck

Member Avatar for vb5prgrmr
0
56
Member Avatar for Zooker

Okay, let first start by reminding you of code tags... Then let me say where are you getting this error? What line and what are the state of your variables? Next up is how do you add, i.e. the use of addition, two string together? (Sarcastic, yes, I know). But …

Member Avatar for vb5prgrmr
0
367
Member Avatar for AhmedAltigani

Using the common dialog control with the flag of defaultprinter=true is one way. The other is the API... [url]http://vbnet.mvps.org/index.html?code/system/defaultprinter.htm[/url] [url]http://www.tek-tips.com/faqs.cfm?fid=5479[/url] However, the API seems a bit outdated but checking with MS... [url]http://support.microsoft.com/kb/266767[/url] [url]http://support.microsoft.com/kb/246772/EN-US/[/url] [quote] With Windows NT 4.0 (and earlier versions), you cannot use: Either SetPrinter or SetDefaultPrinter to set …

Member Avatar for vb5prgrmr
0
231
Member Avatar for OldQBasicer

OldQ, for future reference you are using .NET code and are presently in the wrong forum. You need to post your Q's in the .NET forum... In vb6 there are two different ways to accomplish what you want. One is setfocus and the other is zorder. Good Luck

Member Avatar for vb5prgrmr
0
124
Member Avatar for mimi8469

A sequential file, text file, whatever, would be easy enough to search for contents so yes. As for copying a file from a CD to the hard drive is as simple as using FileCopy but going the other way will not be so easy. Good Luck

Member Avatar for vb5prgrmr
0
242
Member Avatar for BeeS

Simple search from one of your friends (yahoo, google, ask, answers, bing) would provide you some information... [url]http://search.yahoo.com/search?p=vb6+multiple+instances+of+activex&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] Good Luck

Member Avatar for vb5prgrmr
0
140
Member Avatar for tomafik

Lets not forget the new speech recognition technology... [url]http://search.microsoft.com/results.aspx?form=MSHOME&mkt=en-US&setlang=en-US&q=voice+to+text+command[/url] Good Luck

Member Avatar for vb5prgrmr
0
378
Member Avatar for abu taher

Hit CTRL+Break and see where the error is if this is your program you are talking about... Good Luck

Member Avatar for vb5prgrmr
0
91
Member Avatar for OldQBasicer
Member Avatar for ipodkilla

As for tutorials for either vb6 or any of the flavors of vb.net, you can use your friends (yahoo, google, ask, answers, bing) to find them. So you keywords would be vb6 read write consol. Then in this thread, is just a small sample of sites I have collected up …

Member Avatar for ipodkilla
0
143
Member Avatar for PoisonedHeart

Look at the dateadd function.... Dim LastDayOfMonth As Integer LastDayOfMonth = Day(DateAdd("d", -1, Month(Now) + 1 & "/1/" & Year(Now))) Good Luck

Member Avatar for elkhartlynn
0
158
Member Avatar for Israelsimba

Search for automating outlook for the actual email part. Then search for ADO Tutorial and see [url]http://www.connectionstrings.com[/url] Good Luck

Member Avatar for debasisdas
0
113
Member Avatar for kcasmir

If you are using an object, i.e. ADO and a Do While Loop you could do something like... [code] Dim Cnt As Integer adoRs.MoveLast Prog1.Max = adoRs.RecordCount adoRs.MoveFirst Do While Not adoRs.EOF 'populate grid... Cnt = Cnt + 1 Prog1.Value = Cnt adoRs.MoveNext Loop [/code] Good Luck

Member Avatar for ImMoRtAl-
0
209
Member Avatar for abu taher

[code] If Val(Text1.Text) < 0 Then Text1.Text = "-" & Text1.Text Else '... [/code] Good Luck

Member Avatar for Vineeth K
0
130
Member Avatar for Ednutt

Well it might be because you are in the wrong forum. This forum is for classic vb and not .net so it might be wise of you to PM a mod and have this thread moved to the correct forum. Good Luck

Member Avatar for vb5prgrmr
0
72
Member Avatar for Jithan_palakkal

And you problem is??? What piece of code? What are you trying to accomplish???

Member Avatar for vb5prgrmr
0
83
Member Avatar for vineeth5march19
Member Avatar for OldQBasicer

There are several ways in which to add data to an array... [code] Dim S As String, MyArray() As String S = "test1,test2,test3,test4" MyArray = Split(S, ",") [/code][code] Dim MyArray() As Integer ReDim MyArray(3) As Integer MyArray(0) = 0 MyArray(1) = 12 MyArray(2) = 34 MyArray(3) = 43 [/code] [code] …

Member Avatar for OldQBasicer
0
983
Member Avatar for abu taher

Hit CTRL+Break and see which/where code is highlighted. Do you have Option Explicit (Require Variable Declaration) turned on? Good Luck

Member Avatar for abu taher
0
102
Member Avatar for Israelsimba
Member Avatar for Israelsimba
0
83
Member Avatar for xWiredx

The shortest easiest way as mentioned above is through creating a menu with a shortcut key... Use the menu editor and create the shortcut you need. Good Luck

Member Avatar for vb5prgrmr
0
78
Member Avatar for Israelsimba

should it not be... [code] Adodc1.Recordset.fields("name") = txtname.text [/code] Good Luck

Member Avatar for vb5prgrmr
0
105
Member Avatar for Roebuc

Ya, know... I found a web site once that had a lot of information on this subject but now I can't find it.... Can't remember the name or search terms I used to find it.... Oh well.... See microsoft... [url]http://search.microsoft.com/results.aspx?form=MSHOME&mkt=en-US&setlang=en-US&q=speech+sdk[/url] Good Luck

Member Avatar for Roebuc
0
179
Member Avatar for snurd

Well reading the help file on this it says that for better performance that you should use a query with a where clause... so... strSQL = "SELECT * FROM SomeTable WHERE SomeField = somevalue Set Rs = Db.OpenRecordset(strSQL,... Good Luck

Member Avatar for snurd
0
245
Member Avatar for dernel4u

So it seems shashanderson, that you are making a fully independent database and front end. And I have to ask why? Accounting department of most large firms that do inhouse accounting will have this information and, hr will have access to some of this information already. Also, HR normally has …

Member Avatar for shashanderson
0
92
Member Avatar for amharper

maheshsayani has it... For variables delclared publically within a form the variable must be qualified by the form name it was declared in... Form1.MyForm1Var = SomeValue SomeVariable = Form2.MyForm2Variable Good Luck

Member Avatar for vb5prgrmr
0
97
Member Avatar for culebrin

No, but if you search Nextag.com or ebay you should be able to find full versions for real cheap. Good Luck

Member Avatar for vb5prgrmr
0
346
Member Avatar for zoiyeeh

Add list box to form. Double click it. (makes code window appear with default event for list box). Type in the controls name and then the period symbol ".". A list will/should pop up. Select the AddItem method and press F1. Read about it in help. Now select something else …

Member Avatar for vb5prgrmr
0
94
Member Avatar for 4ukh
Member Avatar for coollife
Member Avatar for vb5prgrmr
0
89
Member Avatar for abinmd

Start new project, add text box, make sure text box has focus when you run it, scan something... Good Luck

Member Avatar for vb5prgrmr
0
121
Member Avatar for coollife

For almost any scheme that can be thought of to protect files on a drive, usb or otherwise, there are ways in which to get around that scheme. One of the simplest ways is to either try and hide the files or encrypt them or to setup your program with …

Member Avatar for vb5prgrmr
0
75
Member Avatar for jonathannavarro
Re: hi

Usually periphials like these come with SDK's or at least a program that installs a few dlls that allow you or the program to access the device. I would suggest that you contact the manufacturer for the SDK if the device did not come with one but I'm betting it …

Member Avatar for vb5prgrmr
0
40
Member Avatar for is2kid
Member Avatar for vb5prgrmr
0
77
Member Avatar for rsk_beckon

I thought I answered this before but then again... could have been a connection hiccup When comparing two text files for differences, there are many ways to accomplish this but since you have narrowed it down to a visual display, I would suggest that you use RTB's for the visual …

Member Avatar for debasisdas
0
154
Member Avatar for coollife

You have two choices. The first is make your program a service (search for NTSVC.OCX). The second is to enter your program in the "run at startup" list (those are your keywords to search with). Good Luck

Member Avatar for omoridi
0
228
Member Avatar for jatinder_44
Member Avatar for gothic1989

Time to use your friends (yahoo, google, ask, answers, bing) and do some searching as you will find many an example. Also MS or the disks you installed from and/or the MSDN CD's have examples (not sure what you need but they are still there). Good Luck

Member Avatar for omoridi
0
74
Member Avatar for xWiredx

Well first, you are going to have to impersonate a user that has the rights to the folder... [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;285879[/url] Then see [url]http://www.connectionstrings.com[/url] for proper formatting of your connection string. Good Luck

Member Avatar for vb5prgrmr
0
84

The End.