Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: MehdiAnis
Forum: PHP Jun 17th, 2009
Replies: 8
Views: 1,528
Posted By MehdiAnis
For small and CAPITAL letters in PassWord we need to check Password. No need to check username though. username is not case sensitive, but Password is. Thanks.
Forum: VB.NET Nov 19th, 2007
Replies: 3
Views: 1,677
Posted By MehdiAnis
VB .NET and C# both will last long enough. But, as a programmer we all should be adaptable to new tchnologies - as nothing lasts forever : Ya nafsi, Ya Nafsi, Ya Nafsi
Forum: VB.NET Nov 19th, 2007
Replies: 1
Views: 2,574
Posted By MehdiAnis
A list box item has Text Member and Value Member. When you are adding item into the listbox, you have to set the TEXT property to the name of the product and VALUE propertry to the inventory number....
Forum: VB.NET Nov 19th, 2007
Replies: 3
Views: 814
Posted By MehdiAnis
Dim fsInput As New FileStream(sInputFilename, _
FileMode.Open, FileAccess.Read)
...
..
.
'Read the file text to the byte array.
Dim...
Forum: VB.NET Nov 19th, 2007
Replies: 6
Views: 5,460
Posted By MehdiAnis
Try THis:
======

Me.ComboBox1.DataSource = dt 'Can be any other table
Me.ComboBox1.DisplayMember = "Type"
Me.ComboBox1.ValueMember = "Type"
Me.ComboBox1.Refresh()
Forum: VB.NET Nov 19th, 2007
Replies: 4
Views: 21,714
Posted By MehdiAnis
To Get File Size:
=============

Imports System.IO

Private Function GetFileSize(ByVal MyFilePath As String) As Long
Dim MyFile As New FileInfo(MyFilePath)
Dim FileSize As...
Forum: VB.NET Nov 19th, 2007
Replies: 1
Views: 2,584
Posted By MehdiAnis
Have you tried the MEMO type field to save the rtf text?

On the otherhand, make sure you are getting the TEXT+FORMATTING from your textbox.
Forum: VB.NET Nov 19th, 2007
Replies: 4
Views: 1,010
Posted By MehdiAnis
You have to have a loop to read all the rows. I am not sure about the code, but I am giving you the idea:-

While Record.Read = true
If TextBox1.Text = record.Fields(0).Value And TextBox2.Text...
Forum: VB.NET Nov 18th, 2007
Replies: 2
Views: 512
Posted By MehdiAnis
You can have two different function to get ABC and XYZ. In OnButtonClick function you decide which function to call. Exsmple:

Private Sub ButtonClicked_Method(..) Handles MyButton_Click
If...
Showing results 1 to 9 of 9

 


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

©2003 - 2009 DaniWeb® LLC