Forum: Viruses, Spyware and other Nasties Dec 23rd, 2007 |
| Replies: 3 Views: 998 Hi,
Go to below link and download the AVG anti virus free addition. Its a greate antivirus, install it and it will catch some trojans that no other anti virus has even detected (name it macafee,... |
Forum: Visual Basic 4 / 5 / 6 Dec 18th, 2007 |
| Replies: 4 Views: 2,308 Hi,
[code]xlApp.ActiveWorkbook.Close True, App.Path & "\gegevens.xls"
xlApp.Quit
Set xlApp = Nothing[/close] |
Forum: VB.NET Dec 13th, 2007 |
| Replies: 2 Views: 1,631 Hi,
If IsNumeric(Me.txtInput.Text) And Me.txtInput.Text > 10 And Me.txtInput.Text < 100 Then
'you action
End If |
Forum: Visual Basic 4 / 5 / 6 Nov 1st, 2007 |
| Replies: 4 Views: 2,196 Hi,
And if you are using access use "*" instead of "%" ex:
select ename from emp where ename like 'A*' |
Forum: Visual Basic 4 / 5 / 6 Oct 3rd, 2007 |
| Replies: 9 Views: 1,584 Hi,
I don't know what is generating the error as I tested my code and it worked correctly. Try to debug in order to find where the error is. A for Me. you can remove it where the "Me" word... |
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007 |
| Replies: 3 Views: 2,947 Hi,
EOF will be reading the cells or the sheets ?? |
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007 |
| Replies: 9 Views: 1,584 Hi,
Check this:
Dim xl As Object
Dim xlsheet As Object
Dim xlwbook As Object
Set xl = CreateObject("Excel.Application") |
Forum: IT Professionals' Lounge Sep 28th, 2007 |
| Replies: 2 Views: 3,825 Hi,
Ususally after cleaning any virous that strikes registry or system files it is advised to reinstall windows to avoid any similar cases. |
Forum: Windows NT / 2000 / XP Sep 20th, 2007 |
| Replies: 4 Views: 898 Hi,
Sometimes some window files gets corrupted which slows down the startup of the computer. And sometimes a missing driver does that. So first of all try reinstalling all drivers, then go to run... |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2007 |
| Replies: 3 Views: 887 Hi,
It will look something like this:
Select tbluser.id, tblinfo.* from tbluser, tblinfo where tbluser.id=tblinfo.id |
Forum: VB.NET Sep 12th, 2007 |
| Replies: 2 Views: 2,516 Hi,
Add the below code within your sub where xxx is the name of the button you want to click:
xxx.PerformClick() |
Forum: Visual Basic 4 / 5 / 6 Sep 9th, 2007 |
| Replies: 6 Views: 7,130 Hi,
Just replace the wdFormatRTF with number 6 (this code is for VB6, if you are using different IDE please advise).
Dim Oword As Object
Dim Odoc As Object
Private Sub Command1_Click()
Set... |
Forum: Visual Basic 4 / 5 / 6 Sep 4th, 2007 |
| Replies: 6 Views: 7,130 Hi,
Try this, I haven't been able to test it:
Dim Oword As Object
Dim Odoc As Object
Private Sub Command1_Click()
Set Oword = CreateObject("Word.Application")
Set Odoc =... |
Forum: Visual Basic 4 / 5 / 6 Sep 4th, 2007 |
| Replies: 2 Views: 4,926 Hi,
Use the below code while changing just the file name:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal... |
Forum: Visual Basic 4 / 5 / 6 Sep 3rd, 2007 |
| Replies: 2 Views: 1,080 Hi,
What I ususaly do is call the below SQL through regular ADO "Select GetDate()" so the statment is implemented on the SQL server on our main server. |
Forum: Windows NT / 2000 / XP Sep 2nd, 2007 |
| Replies: 17 Views: 5,393 Hi,
I don't know if it is possible to remove windows without format, but I will till you how to control the boot list and how to skip the selection of OS.
Right click My computer and choose... |
Forum: VB.NET Sep 2nd, 2007 |
| Replies: 2 Views: 2,348 Hi,
Check this sample it may be a little complicated but you can isolate the code you need out of it. |
Forum: Visual Basic 4 / 5 / 6 Sep 2nd, 2007 |
| Replies: 4 Views: 1,736 Hi,
To disable the possibility of adding the same record twice I have amended the example a little. |
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2007 |
| Replies: 4 Views: 1,736 Hi,
Check the attached example. |
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2007 |
| Replies: 3 Views: 945 Hi,
What is the problem you are facing ... As syntax I don't see any mistake. If you are retriving wrong records try to format the value of the date picker. |
Forum: Viruses, Spyware and other Nasties Aug 29th, 2007 |
| Replies: 2 Views: 1,213 Hi,
Most of the IE problems are resulted from the addons that most of the time you don't know that it is on your computer and some of them are really bad to your computer. In all cases go to tools... |
Forum: Viruses, Spyware and other Nasties Aug 27th, 2007 |
| Replies: 2 Views: 3,914 Hi,
This not a virus. It is a normal office process that happens once after trying to open office applications for the first time, or over a new user. Mainly it is overcomed by leaving the office... |
Forum: Visual Basic 4 / 5 / 6 Aug 26th, 2007 |
| Replies: 3 Views: 1,890 Hi,
Attached file shows an example of this. |
Forum: Visual Basic 4 / 5 / 6 Aug 22nd, 2007 |
| Replies: 4 Views: 2,454 Hi,
I can't check your code right now but below is a similar code I used once for a login form (no need for the module):
Option Explicit
Dim rs As Recordset
Dim db As Connection
Private... |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007 |
| Replies: 2 Views: 518 Hi,
Just replace the 0 by 1 for the start index:
MsgBox Mid$(txtFirst.Text, 1, 2) |
Forum: IT Professionals' Lounge Aug 19th, 2007 |
| Replies: 21 Views: 3,313 Hi,
If never messed with Java I advise you not to start now :) |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2007 |
| Replies: 3 Views: 2,521 Hi,
Your problem is in line 10 where you have seperated the If Then statment from their result without using End If. Just get line 11 to be directly after Then in line 10 (without going down to a... |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2007 |
| Replies: 4 Views: 6,149 Hi,
I think you are looking for:
Me.Combo1.AddItem " Select "
Me.Combo1.ListIndex = 0 |
Forum: IT Professionals' Lounge Aug 16th, 2007 |
| Replies: 21 Views: 3,313 Hi,
If you can unsertand some VBA (and it is very user friendly) you can simply use access or excel. Am sure as you start you can get very good suport. |
Forum: IT Professionals' Lounge Aug 15th, 2007 |
| Replies: 21 Views: 3,313 Hi,
That depends on what you need to do. Please provide further information. |
Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2007 |
| Replies: 4 Views: 3,314 Hi,
For the extra spacing problem use the built in excel function clean which will remove all non printable chars.
As for the problem of row height it is becuase you are exceding the accepted... |