Forum: Visual Basic 4 / 5 / 6 6 Days Ago |
| Replies: 3 Views: 200 One of the requirements in a new project in VB is that 'it should good look'. Naturally the client doesn't have any clear idea about 'good looking apps' but wants it to look 'real good'. I can give... |
Forum: Visual Basic 4 / 5 / 6 14 Days Ago |
| Replies: 2 Views: 195 You mean you want to create several users for Oracle ? Use the connection string method given above and change the username and password as required. For example
For User1
ConnString =... |
Forum: Visual Basic 4 / 5 / 6 29 Days Ago |
| Replies: 4 Views: 2,900 As you can see, my last post in this thread was more than 2 years ago. In the meantime, of course this particular problem has been solved though I can't recall exactly what solution I used. And I... |
Forum: Visual Basic 4 / 5 / 6 Mar 4th, 2009 |
| Replies: 1 Views: 697 My project needs to read records from a CSV file. The file contains 3 columns of data. Record is continuously being appended to the file by another application (about once every 6-8 seconds), and my... |
Forum: Visual Basic 4 / 5 / 6 Dec 18th, 2008 |
| Replies: 8 Views: 4,326 Pritkoff
1. The last post was almost 3 yrs ago. Do u really think I am still bothered about it ?
2. I made it clear in my first post that I can't use any other third party software, so no need to... |
Forum: Visual Basic 4 / 5 / 6 Dec 1st, 2008 |
| Replies: 3 Views: 1,282 Not really sure what you are looking for, please give more details. You can create a countdown using a loop. If you want to add or subtract a number from a date, use dateadd() function. |
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2008 |
| Replies: 3 Views: 1,657 For MS Access, use * (asteriks) instead of %
"Select * from <table> where <field> like '" & text1.text & "*'"
For other databases, it will depend on the database. Oracle uses "%" (IIRC, not... |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 14 Views: 1,887 Please give the line of code where u r connecting to the database |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 6 Views: 1,000 It would certainly be more useful if you tell us what the problem is. |
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2008 |
| Replies: 7 Views: 876 If the 2 records are identical in all respects, then any change to one will affect the other. If there is some field (say Address or City) where they differ, you have to include that field in your... |
Forum: Visual Basic 4 / 5 / 6 Jun 27th, 2008 |
| Replies: 8 Views: 891 Since row is actually representing a record, shouldn't it be
set row = PayrollDatabaseDataSet.Allowances_Pay_Table.Rows(current_row)
?
Since you have just declared row as a variant, there might... |
Forum: Visual Basic 4 / 5 / 6 Apr 20th, 2008 |
| Replies: 7 Views: 2,665 I gave the solution for rolled paper, not pages (fanfold or otherwise). For rolled paper, there is naturally no concept of next page. If you are printing to pages of fixed height, using a data report... |
Forum: Visual Basic 4 / 5 / 6 Aug 10th, 2007 |
| Replies: 4 Views: 2,900 When I am trying to connect to a MS Access database to display a data report, I am getting a dialog-box pop-up showing the different parameters for the connection string. Clicking on either the 'OK'... |
Forum: Visual Basic 4 / 5 / 6 Aug 3rd, 2007 |
| Replies: 4 Views: 1,735 Don't use the & immedietly after the = . (I suspect that's just a typo). Otherwise yes |
Forum: Visual Basic 4 / 5 / 6 Aug 3rd, 2007 |
| Replies: 2 Views: 1,325 Use the Row and Col values to specify a cell.
Flex.Row = 10
Flex.Col = 5
Will select the cell in the intersection of 11th row and 6th column. Remember the Row and Column values start from Zero |
Forum: Visual Basic 4 / 5 / 6 Aug 3rd, 2007 |
| Replies: 4 Views: 1,735 Most probably Excel is trying to compute "3/21/2005" as a number or date. Then it is finding some text and getting messed up. If possible, try putting the 3/21/2005 part within quotes : "'3/21/2005'... |
Forum: Visual Basic 4 / 5 / 6 Aug 3rd, 2007 |
| Replies: 8 Views: 5,145 If the form2 is not showing, try
form2.show
form2.setfocus
This should bring the form2 window in front. |
Forum: Visual Basic 4 / 5 / 6 Aug 2nd, 2007 |
| Replies: 0 Views: 677 Is there any utility that allows you to develop card playing games (like go fish, bridge, etc) ? Where can I get the playing card pictures and how to understand which card has been clicked ? Does... |
Forum: Visual Basic 4 / 5 / 6 May 9th, 2007 |
| Replies: 5 Views: 3,043 I am not sure if there is a direct way of getting the path of another app. One way could be having the 2nd app write it's path somewhere (in a text file for example) when it's launched. Then the 1st... |
Forum: Visual Basic 4 / 5 / 6 May 7th, 2007 |
| Replies: 1 Views: 3,679 You haven't really specified what problem you are facing so it is difficult to offer any suggestions. For copying files in VB, you can use the FileCopy function.
FileCopy <SourcePath>... |
Forum: Visual Basic 4 / 5 / 6 Apr 27th, 2007 |
| Replies: 4 Views: 1,217 I am sorry, but I don't really understand your statement. What is a 'record' property ? And 'Primary key' property applies to a field in a database table, not to a text box. Do you mean the field... |
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2007 |
| Replies: 10 Views: 3,657 I am sorry, I don't get you. Do you know VB programming ? How to connect to a database and retrieve records etc ? If not, it would be better if you read up on that first. |
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2007 |
| Replies: 4 Views: 1,103 Use the datediff function.
TimeDiff = DateDiff("n", Time1, Time2)
will give the time difference in minutes. For difference in seconds, use "s" instead of "n". Look up the datediff function in... |
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2007 |
| Replies: 10 Views: 3,657 Sorry to say, I won't. The purpose of this forum is to HELP a fellow programmer WHEN he is stuck with a problem, NOT to provide coding. You should try writing the program yourself. Of course, I or... |
Forum: Visual Basic 4 / 5 / 6 Apr 20th, 2007 |
| Replies: 10 Views: 3,657 Do You want to do the program and coding in MS Access 2003 ? Then sorry, I cannot be of any help. MS Access uses VBA (Visual Basic For Applications) for programming and I do not know VBA. |
Forum: Visual Basic 4 / 5 / 6 Apr 20th, 2007 |
| Replies: 2 Views: 5,957 Putting data into Excel File is not a big problem. In the VB project Refernces add the "Microsoft Excel X Object Library" where X will depend on whatever version of Excel you have in the computer.
... |
Forum: Visual Basic 4 / 5 / 6 Apr 20th, 2007 |
| Replies: 8 Views: 2,257 You can place a Command Button in the form and set it's Cancel Property to True. In the Button_Click Event write
Unload Me
To give the illusion of the Escape Key working directly on the form, set... |
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2007 |
| Replies: 1 Views: 910 How can anyone give you a solution when you haven't mentioned what error you are getting ?? |
Forum: Visual Basic 4 / 5 / 6 Apr 12th, 2007 |
| Replies: 5 Views: 2,346 Use ExitWindowsEx API function |
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2007 |
| Replies: 10 Views: 3,657 Storing & displaying words using Tamil fonts in a VB program will require a lot of quite high level programming. I don't work in related field so don't really have much knowledge or experience to... |
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2007 |
| Replies: 10 Views: 3,657 Your program is not really complicated, but I don't think it ill serve any useful purpose. First, how to do the program
Use any database (Access, Oracle, whatever) you are comfortable with.... |
Forum: Visual Basic 4 / 5 / 6 Apr 9th, 2007 |
| Replies: 2 Views: 1,087 I am not sure whether this is possible, unless u write TSR or something like that to read the keyboard events. When any other application (like notepad) has the focus, ur program loses focus and no... |
Forum: Visual Basic 4 / 5 / 6 Apr 9th, 2007 |
| Replies: 1 Views: 1,685 If you want to play a sound file (*.wav), you can use the PlaySound API function. |
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2007 |
| Replies: 2 Views: 1,182 Thanks, Great resource site !! |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2007 |
| Replies: 2 Views: 1,182 Does anybody know how to extract the tag information (Title, Artist, album etc ) from a .mp3 file ? And how to edit the information from VB ?
Regards |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2007 |
| Replies: 1 Views: 914 Dim db as database
Dim rs as recordset
set db = opendatabase("Access_Database_Path")
set rs = db.Open("Table_Name")
Dim mTotal
Do until rs.EOF
mTotal = mTotal + rs("ColumnName")
... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2007 |
| Replies: 4 Views: 1,245 You can connect to the Excel sheet using an ODBC connection or using ADO, whichever you feel more comfortable with.
For connecting to SQL server with a server name and database name, you can use... |
Forum: Visual Basic 4 / 5 / 6 Apr 5th, 2007 |
| Replies: 4 Views: 1,245 Your description of the problem is almost incomprehensible. Please specify correctly, using correct grammer and sentences. If You get a reply like this
"take access table then like open sql , and if... |
Forum: Visual Basic 4 / 5 / 6 Feb 15th, 2007 |
| Replies: 5 Views: 2,201 That would of course depend on your tables and fields.
For example, if you have a table called Table1 and want to print records where the column Field1 contains the value 'ABC', your SQL will be... |
Forum: Visual Basic 4 / 5 / 6 Feb 13th, 2007 |
| Replies: 5 Views: 1,901 As far as I know, you cannot use a child window hwnd for opening a separate program. ShellExecute will launch the associated program with the file specified (Adobe Acrobat usually for pdf files). You... |