Forum: Visual Basic 4 / 5 / 6 10 Days Ago |
| Replies: 7 Views: 419 Please post your code that you are working on. Our experts will advice you to improve the same. Don't expect the complete code. |
Forum: Visual Basic 4 / 5 / 6 13 Days Ago |
| Replies: 3 Views: 335 the first one uses client side cursor. |
Forum: Visual Basic 4 / 5 / 6 16 Days Ago |
| Replies: 7 Views: 632 There are different ways to connect to database.
you can either you code or components.
try using ADO or DAO.
What is the database that you are using. |
Forum: Visual Basic 4 / 5 / 6 27 Days Ago |
| Replies: 6 Views: 557 you need to copy the activex component also to the system and register that using REGSVR32 command. |
Forum: Visual Basic 4 / 5 / 6 29 Days Ago |
| Replies: 6 Views: 500 What happens when you call the function / event in Form_Resize event ?
Is that not getting executed ? |
Forum: Visual Basic 4 / 5 / 6 Nov 10th, 2009 |
| Replies: 16 Views: 1,079 try the following code, make changes as desired
Dim CN As New ADODB.Connection
Dim RS As ADODB.Recordset
Dim DataFile As Integer, Fl As Long, Chunks As Integer
Dim Fragment As Integer,... |
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2009 |
| Replies: 3 Views: 260 that has nothing to do with database connection . check your other code. |
Forum: Visual Basic 4 / 5 / 6 Oct 6th, 2009 |
| Replies: 4 Views: 302 you should get correct output with your code. there is nothing wrong with it. |
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2009 |
| Replies: 14 Views: 810 You can't disable the windows key. |
Forum: Visual Basic 4 / 5 / 6 Aug 26th, 2009 |
| Replies: 1 Views: 430 what is the source of data in the control ? is it getting populated from database ? |
Forum: Visual Basic 4 / 5 / 6 Aug 26th, 2009 |
| Replies: 3 Views: 486 * is not required in delete statement. use this
strSQL = "DELETE FROM Product WHERE Expiry_Date = '" & Text1.Text & "'" |
Forum: Visual Basic 4 / 5 / 6 Aug 9th, 2009 |
| Replies: 8 Views: 594 but where is the loop in your code ? |
Forum: Visual Basic 4 / 5 / 6 Aug 7th, 2009 |
| Replies: 4 Views: 666 i don't see and disadvantages. |
Forum: Visual Basic 4 / 5 / 6 May 26th, 2009 |
| Replies: 10 Views: 785 You need to pass more information. |
Forum: Visual Basic 4 / 5 / 6 May 1st, 2009 |
| Replies: 3 Views: 620 What do you mean by when an exe is ended ? |
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2009 |
| Replies: 5 Views: 2,134 There are many applications that can be finished in your time frame. Now it depends on you what you decide to develop. |
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009 |
| Replies: 1 Views: 424 If you are looking for the connection string find it here (http://www.connectionstrings.com/).
from vb 6.0 you need to use ADO. |
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2009 |
| Replies: 5 Views: 835 try this sample function for the job.
Code:
Public Function NumToWord(numstr As Variant) As String
Dim newstr As String
numstr = CDec(numstr) |
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2009 |
| Replies: 3 Views: 406 You need to work with CDO. |
Forum: Visual Basic 4 / 5 / 6 Mar 16th, 2009 |
| Replies: 4 Views: 342 i didn't understand your question .
What is a forum window ?
What do you mean by update without saving ? |
Forum: Visual Basic 4 / 5 / 6 Mar 11th, 2009 |
| Replies: 5 Views: 316 comment Unload Me in your code and i hope the rest wills tart working. use Me.Hide instead of unload Me. |
Forum: Visual Basic 4 / 5 / 6 Mar 11th, 2009 |
| Replies: 8 Views: 470 You need to format the date to proper format before pasing the same to database. |
Forum: Visual Basic 4 / 5 / 6 Mar 11th, 2009 |
| Replies: 18 Views: 2,461 what is that CON in your code ?
What type of object is that ? |
Forum: Visual Basic 4 / 5 / 6 Mar 10th, 2009 |
| Replies: 18 Views: 2,461 Are you using ADO to connect to the database ? |
Forum: Visual Basic 4 / 5 / 6 Mar 9th, 2009 |
| Replies: 18 Views: 2,461 i don't think that is VB 6.0 code.
if vb 6.0 then try this
Dim Sql As String = "insert into Customer_tbl (Custsql )values '" & txtFirstName.Text & "','" & txtLastName.Text & "')"
con.begintrans ... |
Forum: Visual Basic 4 / 5 / 6 Mar 7th, 2009 |
| Replies: 10 Views: 996 then you need to push the power button on your computer. |
Forum: Visual Basic 4 / 5 / 6 Mar 4th, 2009 |
| Replies: 10 Views: 948 you need to convert the date and time to proper format before passing the same to database for processing through SQL statement. |
Forum: Visual Basic 4 / 5 / 6 Feb 27th, 2009 |
| Replies: 7 Views: 513 you need to use the function REPLACE. |
Forum: Visual Basic 4 / 5 / 6 Feb 27th, 2009 |
| Replies: 8 Views: 554 what exactly you mean by over internet ?
are you in the same network as the server ? |
Forum: Visual Basic 4 / 5 / 6 Feb 26th, 2009 |
| Replies: 1 Views: 1,356 try the simple code
con.begintrans 'con-----adodb connection object.
con.execute "your DML statement here"
con.committrans |
Forum: Visual Basic 4 / 5 / 6 Feb 26th, 2009 |
| Replies: 8 Views: 554 you must be connected to the database. |
Forum: Visual Basic 4 / 5 / 6 Feb 24th, 2009 |
| Replies: 2 Views: 396 if you are using oracle as database then can use external table for the best solution,but you need to extract the zip first. |
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2009 |
| Replies: 3 Solved: vb Views: 276 try the following
dim con as new adodb.connection
con.open "your connection string here"
add my previous code after this line |
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2009 |
| Replies: 3 Solved: vb Views: 276 better use ADODB library for the purpose. try the sample code below
con.begintrans 'con-----adodb connection object
con.execute "your sql insert statment here"
con.committrans |
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2009 |
| Replies: 2 Views: 525 try the following code with ADO
con.begintrans 'con--ADODB connection object
con.execute "put your sql statement here "
con.commitrans |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2009 |
| Replies: 8 Views: 1,500 1. select the month.
2. findout all the dates.
3. findout the days by passing the dates ---use WEEKDAYNAME function for the purpose. |
Forum: Visual Basic 4 / 5 / 6 Dec 24th, 2008 |
| Replies: 11 Views: 1,059 since you will need to display a lot of records why not use a grid instead of number of textboes. |
Forum: Visual Basic 4 / 5 / 6 Dec 10th, 2008 |
| Replies: 9 Views: 804 only practise can make you perfect as there is no shortcut to success. |
Forum: Visual Basic 4 / 5 / 6 Nov 3rd, 2008 |
| Replies: 4 Views: 650 how are you calling the report ? |
Forum: Visual Basic 4 / 5 / 6 Nov 3rd, 2008 |
| Replies: 27 Views: 3,493 you need to frame the sql dynamically at runtime and pass the same to the report. |