Click here to Skip to main content
15,898,588 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Question.dbf files Pin
vijay24824-May-09 23:03
vijay24824-May-09 23:03 
Answer[Message Deleted] Pin
Dinesh Vitharana4-May-09 23:31
Dinesh Vitharana4-May-09 23:31 
GeneralRe: .dbf files Pin
Dinesh Vitharana4-May-09 23:47
Dinesh Vitharana4-May-09 23:47 
GeneralRe: [Message Deleted] Pin
vijay24825-May-09 0:01
vijay24825-May-09 0:01 
AnswerRe: .dbf files Pin
Samir Ibrahim4-May-09 23:55
Samir Ibrahim4-May-09 23:55 
AnswerRe: .dbf files Pin
Rajesh Anuhya5-May-09 0:36
professionalRajesh Anuhya5-May-09 0:36 
GeneralRe: .dbf files[SOLVED] Pin
vijay24826-May-09 10:51
vijay24826-May-09 10:51 
Questionproblem with assignment Pin
blackstar14614-May-09 23:02
blackstar14614-May-09 23:02 
The value of w doesnt increase or decrease once it reaches the value 2 .. can someone please tell me why..
Thanks in advance

<br />
Public Class Form1<br />
    Dim g As Graphics<br />
    Dim db As Boolean<br />
    Dim x As Integer = 100<br />
    Dim y As Integer = 100<br />
    Dim w As Integer = 150<br />
    Dim h As Integer = 150<br />
<br />
   <br />
    Private Sub Form1_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseWheel<br />
        Console.WriteLine(e.Delta.ToString)<br />
        If (e.Delta > 0) Then<br />
            Console.WriteLine("in zoomin")<br />
            w = w * (e.Delta / 100)<br />
            Console.WriteLine("inside zoomin e.delta " & e.Delta.ToString)<br />
            Console.WriteLine("w" & w)<br />
            h = h * (e.Delta / 100)<br />
        End If<br />
        If (e.Delta < 0) Then<br />
            Console.WriteLine("zoomout")<br />
            w = w / ((e.Delta * -1) / 100)<br />
            h = h / ((e.Delta * -1 / 100))<br />
<br />
        End If<br />
        Console.WriteLine("w" & w)<br />
        Me.Refresh()<br />
    End Sub<br />
<br />
    Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint<br />
 <br />
        e.Graphics.DrawRectangle(Pens.Black, x, y, w, h)<br />
    End Sub<br />
<br />
End Class<br />
<br />

AnswerRe: problem with assignment Pin
Christian Graus4-May-09 23:11
protectorChristian Graus4-May-09 23:11 
AnswerRe: problem with assignment Pin
Dinesh Vitharana4-May-09 23:19
Dinesh Vitharana4-May-09 23:19 
GeneralRe: problem with assignment Pin
Christian Graus5-May-09 12:17
protectorChristian Graus5-May-09 12:17 
GeneralRe: problem with assignment Pin
_Damian S_5-May-09 15:05
professional_Damian S_5-May-09 15:05 
QuestionAn existing connection was forcibly closed by the remote host? [modified] Pin
AliAmjad4-May-09 18:43
AliAmjad4-May-09 18:43 
AnswerRe: An existing connection was forcibly closed by the remote host? Pin
Dinesh Vitharana4-May-09 23:06
Dinesh Vitharana4-May-09 23:06 
AnswerRe: An existing connection was forcibly closed by the remote host? Pin
daveice19-Oct-09 2:28
daveice19-Oct-09 2:28 
QuestionVisual Basic 2008 Express: Sendkeys Pin
helen004-May-09 16:46
helen004-May-09 16:46 
AnswerRe: Visual Basic 2008 Express: Sendkeys Pin
Dave Kreskowiak4-May-09 17:21
mveDave Kreskowiak4-May-09 17:21 
GeneralRe: Visual Basic 2008 Express: Sendkeys Pin
helen004-May-09 18:08
helen004-May-09 18:08 
GeneralRe: Visual Basic 2008 Express: Sendkeys Pin
Christian Graus4-May-09 19:51
protectorChristian Graus4-May-09 19:51 
GeneralRe: Visual Basic 2008 Express: Sendkeys Pin
Dave Kreskowiak5-May-09 3:24
mveDave Kreskowiak5-May-09 3:24 
QuestionConstructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 10:30
professionalAlaric_4-May-09 10:30 
AnswerRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
MidwestLimey4-May-09 10:39
professionalMidwestLimey4-May-09 10:39 
GeneralRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 11:30
professionalAlaric_4-May-09 11:30 
AnswerRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) [modified] Pin
Alaric_4-May-09 10:52
professionalAlaric_4-May-09 10:52 
GeneralRe: Constructor problems - Receiving T, need to indirect to a Constructor that accepts List(Of T) Pin
Alaric_4-May-09 10:57
professionalAlaric_4-May-09 10:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.