Forum: Visual Basic 4 / 5 / 6 Sep 25th, 2007 |
| Replies: 3 Views: 5,509 Try this:
Sub DeleteSheets()
dim xl as new excel.application
dim wb as excel.workbook
set wb=xl.workbooks.open("c:\test.xls"
xl.application.displayalerts=false
If... |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,358 Here is another way of doing it. After you populate your excel file with all the records. Run this function.
Public Sub InsertRows()
Dim xl As Excel.Application
Dim wb As Excel.Workbook
... |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,358 Which version of excel are you using? And are you on vb6 or vb.net? |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,358 |
Forum: Visual Basic 4 / 5 / 6 Sep 10th, 2007 |
| Replies: 9 Views: 3,358 Use this
xlWksht.Range(i + 1:1).Insert(Shift:=xlDown)
instead of xlWksht.Cells(i + 1, 1).Value = Chr(10) 'Add a blank line after each record.
Let me know. |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2007 |
| Replies: 19 Views: 3,393 Also let me know if you can take care of the popup reminders. |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2007 |
| Replies: 19 Views: 3,393 I would suggest the popup reminder to be part of VB6 app and not within Outlook. So when the user gets the reminder he can select from the list and click the send button and it will trigger the email... |
Forum: Visual Basic 4 / 5 / 6 Aug 29th, 2007 |
| Replies: 19 Views: 3,393 If you are ready to pay then its fine with me. But i can surely help you integrate Outlook with VB. Give me a rough spec and i will see what i can do. |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007 |
| Replies: 7 Views: 1,068 You can change the form name "frmSystray" to your main form name. and also add a button named "cmdAddIcon" on your main form. When you click this button your form would goto the Tray Icon |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2007 |
| Replies: 19 Views: 3,393 please visit this site and login to see the free download. click here (http://www.coderewind.com)
Iam working on the code to share it on this site. |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2007 |
| Replies: 19 Views: 3,393 well, when you say messages do you mean regular email or chat messages? |
Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2007 |
| Replies: 19 Views: 3,393 means, what exactlydo you want to do? |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 SELECT *
FROM tblusers
WHERE (name = 'Martin' and StrComp(tblusers.name, 'Martin', 0) = 0);
Note: You can replace the parameters with any variable instead of giving constant values to compare. |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 ok! for ms access database the previous SQL COLLATE statement wont work, that's why you were getting the error.
For MS Access you have to do like this:
Select * from tblusers where name =... |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 Just a flash back. Are you using MsAccess Database? You can find SQL Query Analyzer only if you have SQL Server installed on your machine. Iam guessing at this point that you dont have SQL server... |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 You can check the SQL version by opening Query Analyzer and click on "Help" --> "About"
Also send me the error message. |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 Use this query and it should definitely work
Select * from tblusers where name COLLATE Latin1_General_CS_AS = 'Martin'
WHich version of SQL are you using? |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 well the ideal way to handle this is follow a uniform data storage in the database, that will give more control over the database.
You should always follow proper casing when storing the data back... |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 2 Views: 742 Depends on what you wnt to achieve, They are two different approaches to present the data and controls. |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 14 Views: 2,809 SO you mean to say that the function should treat the upper nad lower case word as two seperate words? Can you be nore specific. I can help you if you explain a bit. |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 19 Views: 3,393 Let me know what do you want to implement. We can even Zip and FTP also using VS 2005. |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007 |
| Replies: 7 Views: 1,068 you have to add the structure of that API also when you add the API itself. |
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2007 |
| Replies: 19 Views: 3,393 yes definetely this can be done?
If you want i can write the app for you. let me know. |
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2007 |
| Replies: 7 Views: 1,068 This icon position is usually called the Tray Icon. To do this you have to make use of some API calls. You have to use Shell_NotifyIconA() to set the Tray Icon. This is how you set the tray.
... |