2,155 Posted Topics

Member Avatar for consc197

If txtSearchThoughts.Text IsNot "" Then ''Change to .... If Not txtSearchThoughts.Text = "" Then Also, good conventional coding is to use vbNullString and not "" ... :) If Not txtSearchThoughts.Text = vbNullString Then To add error trapping, in the sub where you want to trap... On error GoTo MyErrTrap ''All …

Member Avatar for AndreRet
0
135
Member Avatar for Bile

SQL = "UPDATE Ministers SET Password='" & txtRetype_Password.Text & "', Prefix='" & cmbPrefix.Text & "', Passport='" & NewPicture_Name & "'" & _ " WHERE User_Name ='" & txtUser_Name.Text & "'" Should do it nicely. tried it in your app, it worked fine....

Member Avatar for Bile
0
1K
Member Avatar for Skate Bart

No, only the vb6 run time files is needed PLUS all thye other object.ocsdsx and dll files is needed, including the databases...

Member Avatar for AndreRet
0
173
Member Avatar for ksf.110

We need much more information, what code do you have already?... what language - vb6, vba?... etc.

Member Avatar for AndreRet
0
47
Member Avatar for jane.frasier

Which version of SQL server are you running on your server? Also, you have no username or password in the connection...

Member Avatar for AndreRet
0
134
Member Avatar for Mike_H

If I read this correctly, there is nothing wrong with your first SELECT statement. It is returning Anna because that is (in your own words) the first record returned. Ann is probably record 2. If you want to return the records sorted, add ORDER BY $member ... $query = "SELECT …

Member Avatar for Mike_H
0
485
Member Avatar for suji.karthik.3

"SELECT * FROM Table1 WHERE Accountnumber=" & TextBox1.Text & " AND PIN=" & TextBox2.Text & "" Assuming that account number and pin is ONLY an integer (number) and contains no text... If it does contain text .... "SELECT * FROM Table1 WHERE Accountnumber='" & TextBox1.Text & "' AND PIN='" & …

Member Avatar for kvprajapati
0
381
Member Avatar for BleepyE

As far as I know it is not possible. Have a look at [THIS](https://developers.facebook.com/docs/reference/plugins/like/) page, might contain an answer for you. :)

Member Avatar for AndreRet
0
163
Member Avatar for ryin012

In your SQL statement, use the WHERE clause... SELECT * FROM YourTableNameHere WHERE YourFieldNameHereHoldingTheIdNum ='" & idnum.Text & "'" Once the record is returned... lname.Text = rs!lname ''rs is your recordset, lname is your field name holding the name value... fname.Text = rs!fname dept.Text = rs!dept Also tru and use …

Member Avatar for AndreRet
0
191
Member Avatar for silversurf

To print the actual flexgrid, use the following - In a module add this code - Public Sub PrintFlexGridLandscape(ByVal Ptr As Object, ByVal flxData As MSHFlexGrid, ByVal xmin As Single, ByVal ymin As Single) Const GAP = 60 Dim xmax As Single Dim ymax As Single Dim X As Single …

Member Avatar for AndreRet
0
2K
Member Avatar for frnds2vivek

Assuming that all your numbers will be in the same format, less than 100 and in a listbox, use the following mid statement... Dim xCount As Integer, strNuls As String For xCount = 0 To List1.ListCount - 1 List1.ListIndex = xCount If Mid$(List1.Text, 4, 2) = "00" Then strNuls = …

Member Avatar for frnds2vivek
0
223
Member Avatar for abel626

You need to cancel the minimize property until ALL events are done. It seems that your pc resources are running low when you read from the text file (normally upon opening it). When you try and minimize your form whilst the file is opening, there is not enough resources available …

Member Avatar for AndreRet
0
84
Member Avatar for PinoyDev

By using the "LIMIT" function in Sql... SELECT * FROM YourTableName LIMIT 0 , 30 The 0 is where it will start from to how many records to show. If you want to move to the next 30 records, it will look like... SELECT * FROM YourTableName LIMIT 30 , …

Member Avatar for AndreRet
0
70
Member Avatar for opspl_programme

With watermark I presume you mean setting a background to a textbox? It is quite involved but I have attached a sample you can use.

Member Avatar for AndreRet
0
2K
Member Avatar for PinoyDev

You need to change your SELECT statement to - Sql="SELECT * FROM tml_employee WHERE empName LIKE '%" & TheEmpNameVAlueHere & "%' AND EmpSalRate ='" & TheRateValueHere & "' ORDER BY empName ASC"

Member Avatar for AndreRet
0
957
Member Avatar for shelexelex

Debasisdas is correct, you will use an INNER JOIN statement providing that you have indexed your fields in your tables as primary... As he did ask, show us the structure of all tables.

Member Avatar for AndreRet
0
92
Member Avatar for carlospuddwebb

What code do you have so far as the connection to the finger print reader is concerned, that you can show us. From their you will need to get the id, either from a saved picture of finger print or a newly obtained print.

Member Avatar for AndreRet
0
63
Member Avatar for snehavarade.24
Member Avatar for PrimeOutsourcin

Scrolling through Daniweb's forums and reply where I can (If I have any energy). :)

Member Avatar for Ene Uran
0
231
Member Avatar for alnor.ismail

Google is your friend.... See [THIS](https://www.google.co.za/search?q=introduction+to+vb6&sugexp=chrome,mod=9&sourceid=chrome&ie=UTF-8) link

Member Avatar for mustaffa hasan
0
145
Member Avatar for cheriesp

In vb6, add a reference to Excel object library... Open a workbook - Dim objExcl As Excel.Application Set objExcl = New Excel.Application objExcl.Workbooks.Open (Your path to excel file HERE) objExcl.Visible = True Now add some data to row and coloumns... objExcl.ActiveSheet.cells(1, 1).Value = Whatever Data Here

Member Avatar for AndreRet
0
108
Member Avatar for silversurf

> But the problem is I can't add more then one rows containing the data in the MSHFlexgrid. Whenever I put the nex series of data and click the add button it replace the first row data of MSHFlexgrid That is because you are telling the grid to place your …

Member Avatar for AndreRet
-1
850
Member Avatar for priyakumar

@fawa, This thread is 7 years old!!! Please read our posting rules [HERE](http://www.daniweb.com/community/rules).

Member Avatar for AndreRet
0
6K
Member Avatar for abulut

You need to give us much more information... DO you need a script for a web page? If so, wrong forum, this is vb6... Making use of ms outlook version? What code do you have so far to show some effort from your side?

Member Avatar for AndreRet
0
74
Member Avatar for Manu Krrish

Can you elaborate more on the something like part error of schema. With a full on error I'm sure we can help. It seems that the xml schema loaded incorrectly...

Member Avatar for AndreRet
0
820
Member Avatar for umesh.sahni.35

Nope, it will not work... Assuming that you are using vb6 (looks almost like php...), try the following - SELECT * FROM table1 WHERE p_date ='" & date$ & "'" ''All depends on what/where your date$ is coming from!!!

Member Avatar for Nutster
0
202
Member Avatar for GrimJack
Member Avatar for vinnitro
1
3K
Member Avatar for johncornelius23

Have a look at [THIS](http://www.connectionstrings.com/access-2007) link, it contains all the connection strings you might need to connect to an Acess database.

Member Avatar for Justinvzepeda
0
223
Member Avatar for Bile

Dim Picture_Path As String On Error GoTo Extention_Error With dlogPicture .DialogTitle = "Select a Picture to Upload." .Filter = "(*.bmp;*.jpg;*.gif;*.pcx)| *.bmp;*.jpg;*.gif;*.pcx|" .ShowOpen If .FileName <> "" Then Picture_Path = .FileName ‘Nothing to do with this by now imgPassport.Picture = LoadPicture(.FileTitle) lblPicture_Name.Caption = .FileTitle Picture_Name = .FileTitle ‘This is the Variable …

Member Avatar for AndreRet
0
311
Member Avatar for yosia.tama

Yosia, As a helping community, we can not write an entire application for you, sorry. :) What we can do is to help you with errors, help add code etc. You need to show some effort from your side by posting code that you already have, if there's error, where …

Member Avatar for Nutster
0
877
Member Avatar for Manu Krrish

Have a look at this [Link](http://www.excely.com/excel-vba/ie-automation.shtml), it has plenty of sample code.... If that does not work for you, please give us more information on what you want to do with form 3.... post values to what.... etc.

Member Avatar for Manu Krrish
0
150
Member Avatar for bLuEmEzzy

Use 'SelectedNode.Parent.Text'. If you are storing a value in the node's 'Tag' property, use 'SelectedNode.Parent.Tag.ToString()' to convert the value to a string - txtValue.Text = tvMyTreeview.SelectedNode.Parent.Text You will have something like this if you are using checkboxes in your treeview - Protected Sub Button1_Click(ByVal sender As Object, ByVal e As …

Member Avatar for AndreRet
0
106
Member Avatar for jarrodoliver1

Yes it is. Use google as your friend, plenty of code samples available.. [HERE](http://www.aspnet-answers.com/microsoft/VB-NET/35977681/how-to-capture-a-photo-from-my-web-cam-.aspx) is a link to a sample.

Member Avatar for Hpsvtw_1
0
146
Member Avatar for niall_heavey

It seems that the pivot table field name showing or reporting data has been changed. In lamens terms, if your macro used to get a name from your data field called "name" and displayed it in your pivot table field called "pivotname" and you changed "pivotname" to say "anothername", it …

Member Avatar for AndreRet
0
178
Member Avatar for ruudycruise

[QUOTE]bubble sort using the command buttons to swap textboxes from 1- 5.[/QUOTE] What exactly do you need here? Bubble can mean a lot, swap text boxes even more, swap to what. Give us what you need and we might be able to help.:)

Member Avatar for AndreRet
0
148
Member Avatar for Paddy
Member Avatar for vinnitro
0
464
Member Avatar for PinoyDev

Have a look at [THIS](http://stackoverflow.com/questions/5042379/in-vb6-what-is-the-difference-between-property-set-and-property-let) link which contains a link to some sample code as well.

Member Avatar for AndreRet
0
2K
Member Avatar for jarrodoliver1

Open a new module in your project - Click on "Project - Add New Module". In the module code form, add the following... Option Explicit Public xCounterClicks As Integer Save the module.... When your app starts up, in the form load event, add the following... xCounterClicks = 0 Make sure …

Member Avatar for AndreRet
0
120
Member Avatar for PinoyDev

Global was used in vb2/3, Public was used from vb4 onwards. It is the same as global, rather use Public throughout. Public replaced Global as Private replaced Dim...

Member Avatar for AndreRet
0
1K
Member Avatar for linabeb

> sql = "insert into Customer(Username, Password, Name, NumIC, Gender, Email, Address, PhoneNum)" & "values ('" & TxtUname.Text & "', '" & TxtPwd.Text & "','" & TxtName.Text & "','" & TxtICNum.Text & "','" & cmboxGndr.Text & "', '" & TxtMail.Text & "','" & Rtxtadd.Text & "','" & TxtPhone.Text & "' …

Member Avatar for Maligui
0
288
Member Avatar for frnds2vivek
Member Avatar for stillmarooned

Nicely done on solving your own problem. Also well done to Bolt, what an athlete!! Also, please mark as solved, thanx

Member Avatar for AndreRet
0
205
Member Avatar for Blank808

As you would count positive numbers... Dim xCount as Integer, xList as Integer xList = 0 For xCount = 0 To lstNumbers.Listcount - 1 lstNumbers.ListIndex = xCount xList = Val(xList) + Val(lstNumbers.Text) ''Assuming that you have checked that it is only numbers... Next xCount

Member Avatar for BitBlt
0
359
Member Avatar for stevenjs

Nothing seems to be techy about it!! It's all about wall street and you just broke the rules with this kind of spam! Not interested... Please do not post your personal ads here.

Member Avatar for stevenjs
-2
226
Member Avatar for bantex07

Google it, there is tons of sample code available - link listview with datareport in vb6

Member Avatar for AndreRet
0
66
Member Avatar for thabang.b.kekana

And then you will offer how much in payment? We do not do projects here, this is a community help based site. show us what you have developed so far and we will gladly help correcting errors etc.

Member Avatar for Bile
0
134
Member Avatar for amitash

You can use something like - ActiveWindow.SelectedSheets.PrintOut Copies:=1 ''Or as many pages as you need...

Member Avatar for AndreRet
0
848
Member Avatar for Abwada

And then you will offer how much in payment? We do not do projects here, this is a community help based site. show us what you have developed so far and we will gladly help correcting errors etc.

Member Avatar for AndreRet
-1
45
Member Avatar for yeeitsneo

Option Explicit Const sMatrix As String = "I~V~X~L~C~D~M" ''Holder of numerical converted value... Private Function toroman(ByVal sDecNum As String) As String Text1.Text = sDecNum ''Value to be converted from numerical to roman... If sDecNum <> "0" And sDecNum <> vbNullString Then ''Check to see if numerical value is valid... If …

Member Avatar for yeeitsneo
0
253
Member Avatar for johncornelius23

1) This post belongs to johncornelius, please open you own thread. 2) You need to give us much more info, where does the error occur etc. 3) This is a vb6 forum, not for .net

Member Avatar for AndreRet
0
139

The End.