Search Results

Showing results 1 to 26 of 26
Search took 0.01 seconds.
Search: Posts Made By: selvaganapathy ; Forum: VB.NET and child forums
Forum: VB.NET Oct 10th, 2008
Replies: 17
Solved: Guessing Game
Views: 2,317
Posted By selvaganapathy
Hi,
You can Use Array of Three Number for Computer Guess and User Guess, instead of having a single number.

Ex

Dim UserGuess(2) As Integer
Dim ComGuess(2) As Integer

Sub...
Forum: VB.NET Sep 30th, 2008
Replies: 3
Views: 1,023
Posted By selvaganapathy
Hi, Object.ToString() to format the string
Forum: VB.NET Sep 23rd, 2008
Replies: 2
Views: 1,204
Posted By selvaganapathy
Here you made mistake.

change

If "Average grade: " >= 90 Then
letterGrade = "A"
ElseIf "Average grade: " >= 80 Then
letterGrade = "B"
ElseIf...
Forum: VB.NET Sep 12th, 2008
Replies: 1
Views: 853
Posted By selvaganapathy
Hi, I think you are trying to display Multiple columns. Why dont you consider about the other controls that capable of display multiple columns (Like Grid control or ListView).

In listbox all the...
Forum: VB.NET Sep 4th, 2008
Replies: 3
Views: 4,553
Posted By selvaganapathy
Hi Luke,
Instead of converting Label to Integer (Label1 to Minutes), Use DateTime Class for Date or Time operations.

It has methods and Properties to manipulate it.
Forum: VB.NET Aug 29th, 2008
Replies: 3
Views: 1,113
Posted By selvaganapathy
Is Timer1 the member of Current Form? Have you check it?

Also Where you declared Timer1?
Forum: VB.NET Aug 19th, 2008
Replies: 11
Views: 1,620
Posted By selvaganapathy
Hi harry,

> Use Form level array(say A) to hold all the words in a file
> Use form level integer to hold the current index(say ci)
> When Form loads read the words in the file and store it in...
Forum: VB.NET Aug 17th, 2008
Replies: 11
Views: 1,620
Posted By selvaganapathy
You need to know GDI+ or some other technique

Other Technique:

> Draw a Label in Form,
> Set Autosize Property to False
> Set Dock Property To Fill
> Set TextAlign Property to Middle Center...
Forum: VB.NET Aug 9th, 2008
Replies: 6
Views: 5,530
Posted By selvaganapathy
Somewhat correct. But you have to declare the variable at Form level not inside Click Event Handler


Dim bBtnClicked As Boolean = False
Private Sub cmdOne_Click(ByVal sender As...
Forum: VB.NET Aug 9th, 2008
Replies: 6
Views: 5,530
Posted By selvaganapathy
Hi,
> Use a boolean variable (bBtnClicked)
> Initially Keep it false (bBtnClicked = false)
> Whenever user click the button Make it True (bBtnClicked = True in Click Event)
> Now the boolean...
Forum: VB.NET Jul 27th, 2008
Replies: 2
Views: 1,733
Posted By selvaganapathy
Hi, You have to override Window Procedure for the particular form. I give example that shows Context menu when user right click on the Title bar


Public Const WM_NCRBUTTONDOWN = &HA4
...
Forum: VB.NET Jul 27th, 2008
Replies: 2
Views: 1,035
Posted By selvaganapathy
Hi,
We cannot find the square root for negative number. Thus System.Math.Sqrt() raises OverFlowException

You are trying to FInd the Roots of an Quadratic Equation. Am I right?

To find...
Forum: VB.NET Jul 17th, 2008
Replies: 2
Views: 539
Posted By selvaganapathy
Hi, this mean you want to raise error, while delete this record?.

One idea
You are loading the records from File to Listview. For deleting do the reverse, that is clear the file (or open file in...
Forum: VB.NET Jul 12th, 2008
Replies: 8
Solved: Extract icons
Views: 1,659
Posted By selvaganapathy
Sorry Not understandable. Please specify from where you have to extract the Icons. From Dll or Exe ?
Forum: VB.NET Jul 12th, 2008
Replies: 6
Solved: Hot keys app
Views: 2,331
Posted By selvaganapathy
Thanks Jx_Man
Forum: VB.NET Jul 12th, 2008
Replies: 6
Solved: Hot keys app
Views: 2,331
Posted By selvaganapathy
I give example using Win32 API. You have to refer it. I am not sure it is error free. But just try
Draw a form and Try this code. Run the Project. Press Ctrl + Alt + Up Arrow

Public Enum...
Forum: VB.NET Jul 11th, 2008
Replies: 6
Solved: Hot keys app
Views: 2,331
Posted By selvaganapathy
One way to do this, Register you hot key in Registry. Or Hook the Keyboard Procedure. The second one is hard.
Forum: VB.NET Jul 11th, 2008
Replies: 8
Solved: Extract icons
Views: 1,659
Posted By selvaganapathy
Hi, Do you mean Extract Icon from an Exe file?
Forum: VB.NET Jul 6th, 2008
Replies: 5
Views: 2,321
Posted By selvaganapathy
I think You want your program should not be display in TaskBar?

I Hope, Form.ShowInTaskbar Property may Help you.

Set This property to false, your application will not show in the TaskBar
Forum: VB.NET Jun 26th, 2008
Replies: 7
Views: 2,073
Posted By selvaganapathy
I understand the problem, Try this

Private Sub ListView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click
If ListView1.SelectedItems.Count > 0 Then
...
Forum: VB.NET Jun 26th, 2008
Replies: 7
Views: 2,073
Posted By selvaganapathy
Hi
This may help u.
Draw a ListView Control (ListView1)

Try the Following code

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
...
Forum: VB.NET Jun 25th, 2008
Replies: 7
Views: 2,073
Posted By selvaganapathy
To select ListItems you can use ListView1.SelectedItems. This is a collection of Selected List Items. You can refer first selected item as ListView1.SelectedItems(0)


if...
Forum: VB.NET Jun 17th, 2008
Replies: 7
Views: 688
Posted By selvaganapathy
Can you tell specifically, when selecting an item which item(control) is not visible.
Forum: VB.NET Jun 7th, 2008
Replies: 4
Views: 5,209
Posted By selvaganapathy
Hi

In this coding just Ctrl is Control reference not a PictureBox. so You Need to Cast it to PictureBox reference

Your Coding is

If TypeOf ctrl Is PictureBox And ctrl.Name = PictureBoxName...
Forum: VB.NET Jun 6th, 2008
Replies: 4
Views: 5,209
Posted By selvaganapathy
Hi,
I give example for iterate currently selected tab controls
The code is

For Each ctrl As Control In TabControl1.SelectedTab.Controls
If TypeOf ctrl Is TextBox Then
...
Forum: VB.NET May 25th, 2008
Replies: 1
Views: 912
Posted By selvaganapathy
Hi
I think Show the form modally will help u.

Refer

Form.ShowDialog() method
or
Form.ShowDialog(Owner) method
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC