Forum: Visual Basic 4 / 5 / 6 Feb 7th, 2009 |
| Replies: 3 Views: 793 Hi,
You can also use PaintPicture () to get the portion of image
Code
Option Explicit
Dim iX As Integer, iY As Integer, iHeight As Integer, iWidth As Integer
Private Sub... |
Forum: Visual Basic 4 / 5 / 6 Jan 18th, 2009 |
| Replies: 2 Views: 556 Hi,
Use DeviceIoControl() API, to eject the removable storage media. Refer http://support.microsoft.com/kb/165721 |
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2008 |
| Replies: 2 Views: 3,080 Hi,
In vb, MOD is an operator to find Remainder
Ex
Dim iRemainder As Integer
iRemainder = 2008 MOD 10 'Here 8 is the Remainder
If you divide one number by another number... |
Forum: Visual Basic 4 / 5 / 6 Aug 2nd, 2008 |
| Replies: 11 Views: 1,794 I give example for drag and drop
> Place two label (Label1, Label2)
> Change DragMode Property of Label2 to 1 - Automatic
> And try the below code
Private Sub Label1_DragDrop(Source As... |
Forum: Visual Basic 4 / 5 / 6 Jun 26th, 2008 |
| Replies: 5 Views: 3,102 Good, I just given example to use array. Is your problem solved? |
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008 |
| Replies: 5 Views: 568 Hi,
You can refer the filename.txt like
App.Path & "\FileName.txt"
Here App refers your application and App.Path refers the directory where your project file located. So App.Path will work... |
Forum: Visual Basic 4 / 5 / 6 Apr 30th, 2008 |
| Replies: 4 Views: 871 I think you mean
The execution of Call function1(var_Name, intValue) should be after closing or hiding Form1
If so, you can show the form Modally
that is
Form1.Show vbModal
The execution... |