Search Results

Showing results 1 to 40 of 112
Search took 0.02 seconds.
Search: Posts Made By: selvaganapathy ; Forum: VB.NET and child forums
Forum: VB.NET Feb 19th, 2009
Replies: 1
Views: 328
Posted By selvaganapathy
Hi,

Use a flag variable to decide you want to change the other dropdowns.


Dim bChangeID as Boolean

'On SelectedIndexChanged event
If bChangeID = True Then
'Do...
Forum: VB.NET Dec 28th, 2008
Replies: 2
Views: 916
Posted By selvaganapathy
May be this discussion is useful
http://www.daniweb.com/forums/thread135921.html
Forum: VB.NET Oct 27th, 2008
Replies: 1
Views: 364
Posted By selvaganapathy
Hi,

Is it necessary '@' symbol in

objcmd1.Parameters.Add("@PatName",txtname.text)
objcmd1.Parameters.Add("@PatId",txtid.text)


?
Forum: VB.NET Oct 27th, 2008
Replies: 1
Views: 1,331
Posted By selvaganapathy
Hi Friend,
Specify how u create splash screen in vb6. We will discuss how in VB.NET
Forum: VB.NET Oct 13th, 2008
Replies: 1
Views: 922
Posted By selvaganapathy
Hi,
Use Timer control instead of Thread.Sleep (). Because ur application will freeze for the given milliseconds.

if you use timer control, you can disable the timer when stop button is...
Forum: VB.NET Oct 12th, 2008
Replies: 3
Views: 418
Posted By selvaganapathy
Hi, Specify What type of data you want to save, add and edit?
Forum: VB.NET Oct 10th, 2008
Replies: 17
Solved: Guessing Game
Views: 2,299
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 Oct 2nd, 2008
Replies: 13
Views: 5,992
Posted By selvaganapathy
Your code

maybe changed as


Dim DIA As DialogResult = MsgBox(message, MsgBoxStyle.YesNo)
If DIA = Windows.Forms.DialogResult.No Then
TXT,Clear()
TXT.Focus()
Else
Forum: VB.NET Oct 2nd, 2008
Replies: 13
Views: 5,992
Posted By selvaganapathy
I agree Masked Textbox is much better than DateTimePicker for Data entry. But you can also type in DataTimePicker control. For example if you want to set 12/2/1950
Just type
> 12 Then Press Right...
Forum: VB.NET Oct 1st, 2008
Replies: 13
Views: 5,992
Posted By selvaganapathy
Hi,
Any specific reason for using Masked Text Box? If not, u can also use DateTimePicker control to get date / time input.
Forum: VB.NET Sep 30th, 2008
Replies: 3
Views: 1,003
Posted By selvaganapathy
Hi, Object.ToString() to format the string
Forum: VB.NET Sep 28th, 2008
Replies: 4
Views: 2,347
Posted By selvaganapathy
Hi,

I guess the error may be at line 19

SQLStmt = String.Format("insert into ACCOUNTS (LoginId, LoginPwd, PrimaryRole, FirstName, LastName,) Id values '{0}', '{1}', '{2}', '{3}', '{4}'),", _...
Forum: VB.NET Sep 27th, 2008
Replies: 1
Views: 411
Posted By selvaganapathy
Hi, Check the Path of the Correct Database where you have made the Table design changes.

Is your new table and old table having Same Name?

If it is, Change to different name and then try to...
Forum: VB.NET Sep 27th, 2008
Replies: 4
Views: 2,347
Posted By selvaganapathy
Hi, Check the Field Names in the data base with the name you given in the program.

if field name contains space use Square Brackets (like [Field Name])
Forum: VB.NET Sep 23rd, 2008
Replies: 2
Views: 1,173
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 21st, 2008
Replies: 5
Views: 618
Posted By selvaganapathy
Grid Control Means DataGridView control. With the DataGridView control, you can display data in tabular form.



I think you may consider about to draw polygon

Example

Dim Gr As...
Forum: VB.NET Sep 20th, 2008
Replies: 5
Views: 618
Posted By selvaganapathy
Hi, My suggestion, use Grid control.
> Get the input from single text box
> If it is not empty then add to the Grid
Forum: VB.NET Sep 20th, 2008
Replies: 3
Views: 839
Posted By selvaganapathy
Hi, Wayne is right. You consider about the Units.

Also specify the Location of the two Elevation Peek Points.
Forum: VB.NET Sep 18th, 2008
Replies: 1
Views: 1,608
Posted By selvaganapathy
Hi, I think more detail required

But some guess

If you have function like this

Public Function ProcessArrayList(ByVal AL As ArrayList) As ArrayList
AL.Add("Good")
...
Forum: VB.NET Sep 13th, 2008
Replies: 3
Views: 1,186
Posted By selvaganapathy
Yes, I am also meant the same thing.

To draw all the lines you need to store it. so you should have an ArrayList or some other dynamic data structure.

ArrayList can have any object. so you...
Forum: VB.NET Sep 13th, 2008
Replies: 3
Views: 1,186
Posted By selvaganapathy
Hi,
> Save the All lines Points (Make a class Line Has X and Y member and Save it in an ArrayList)
> Draw All the Lines (ArrayList) in Paint Event
Forum: VB.NET Sep 12th, 2008
Replies: 1
Views: 829
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 7th, 2008
Replies: 1
Views: 533
Posted By selvaganapathy
Hi, ReadLine () return a line from the Stream. you can use like this


Dim loadf As New System.IO.StreamReader("c:/text.txt")
TextBox1.Text = loadf.ReadLine()
...
Forum: VB.NET Sep 7th, 2008
Replies: 5
Views: 2,346
Posted By selvaganapathy
> Set the Timer interval 5000
> In Timer.Tick Event, Close the Form

I think you want to animate the form while closing .

If so Start the Timer while form closing.
Forum: VB.NET Sep 7th, 2008
Replies: 1
Views: 892
Posted By selvaganapathy
Hi,
From the Error, I think you are calling that Function without creating an Instance. For example Consider the Class

Public Class A
Public Sub Show()

End Sub
End Class
Forum: VB.NET Sep 5th, 2008
Replies: 3
Views: 2,283
Posted By selvaganapathy
Hi, You can try String.Format()

Try this


Dim str As String
'Here 20 is the width of the first string
'-means Left Align, 0 and 1 are index
str =...
Forum: VB.NET Sep 4th, 2008
Replies: 3
Views: 4,474
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 Sep 3rd, 2008
Replies: 2
Views: 1,640
Posted By selvaganapathy
Hi,
You want to record voice of the User? or the Application should produce the Audio (.wav) output of the Text?
Forum: VB.NET Sep 3rd, 2008
Replies: 2
Views: 271
Posted By selvaganapathy
Hi, Change your code

Public Function numeromenor()


If numero1 < numero2 And numero1 < numero3 Then
Return numero1
ElseIf numero2 < numero1 And numero2...
Forum: VB.NET Sep 3rd, 2008
Replies: 5
Views: 2,346
Posted By selvaganapathy
Close a Form ? or Before close the Form Animate it then Close?
Forum: VB.NET Aug 29th, 2008
Replies: 3
Views: 1,097
Posted By selvaganapathy
Is Timer1 the member of Current Form? Have you check it?

Also Where you declared Timer1?
Forum: VB.NET Aug 26th, 2008
Replies: 8
Views: 2,483
Posted By selvaganapathy
Hi,

Please google it for parsing HTML using Regex class. You will get a lot. Once you can able to parse HTML Tags, Ultimately you have to Use String.Trim() to remove unwanted white spaces .
Forum: VB.NET Aug 24th, 2008
Replies: 8
Views: 2,483
Posted By selvaganapathy
Regex is a Class that used for Regular Expressions. It is useful for Parsing.

For more detail, refer http://www.regular-expressions.info/dotnet.html
Forum: VB.NET Aug 24th, 2008
Replies: 8
Views: 2,483
Posted By selvaganapathy
Hi,
you specify, what method you are using to Scrape the Page . Have you heard Regex class?
Forum: VB.NET Aug 20th, 2008
Replies: 3
Views: 1,760
Posted By selvaganapathy
May be file corrupted or virus problem or Access Permission.
Forum: VB.NET Aug 19th, 2008
Replies: 2
Views: 513
Posted By selvaganapathy
Hi,
You can hold the all reference in an array.


Dim Labels(0 To 80) As Label

Then use a loop to create labels and add to array and form
Forum: VB.NET Aug 19th, 2008
Replies: 11
Views: 1,614
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 18th, 2008
Replies: 1
Views: 825
Posted By selvaganapathy
Hi,
I think you have to give the Browser filename as process name and Sites as Command line parameter to the browser.

For Example

FireFox www.Google.com www.Yahoo.com
Forum: VB.NET Aug 17th, 2008
Replies: 11
Views: 1,614
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 17th, 2008
Replies: 2
Views: 3,197
Posted By selvaganapathy
OutOfMemoryException is thrown when there is not enough memory to continue the execution of a program. So avoid unwanted usage of memory.
Showing results 1 to 40 of 112

 


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

©2003 - 2009 DaniWeb® LLC