Forum: VB.NET Feb 4th, 2009 |
| Replies: 16 Views: 2,032 use condition on your select statment. |
Forum: VB.NET Jan 25th, 2009 |
| Replies: 5 Views: 2,002 on datagrid double click event, get data on selected then show it on main form. |
Forum: VB.NET Jan 22nd, 2009 |
| Replies: 5 Views: 1,316 write this on the top of codes
Imports System.Data.Odbc |
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008 |
| Replies: 20 Views: 2,090 |
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008 |
| Replies: 20 Views: 2,090 1. Yes, its for input name.
2. Yes, sohel used to know input name and show in msgbox. (same for jewel)
3. Yes, it connected.
First, sohel in CheckWinner function parameter and sohel in global... |
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008 |
| Replies: 20 Views: 2,090 >> Call CheckWinner(Text1, Text2, Text3)
here text1 mean t1 what was write in the module?
Yes. text1 will assigned with T1, then T1 used to check back color of textbox.
>> Public Sub... |
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008 |
| Replies: 20 Views: 2,090 I already see your project.
You write too many if statement (make me dizzy) and it redundant.
Actually you can simplify your if statement become a function. so you just call function in each... |
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008 |
| Replies: 5 Views: 1,251 SELECT * FROM participants WHERE Date between DTPicker1.Value and DTPicker2.Value |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 7 Views: 942 Actually i didn't agree with your if statement :
If you want to know check box is checked or not then use Checked function :
Try this :
Private Sub chkboxLadiesShoes_CheckedChanged(ByVal sender As... |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 4 Views: 1,774 Try This code :
Dim path as String
path = "D:\Test\Music.wav"
My.Computer.Audio.Play(path) |
Forum: VB.NET Sep 17th, 2008 |
| Replies: 3 Views: 433 Try this
Microsoft.VisualBasic.Right("Daniweb",3) |
Forum: VB.NET Sep 16th, 2008 |
| Replies: 6 Views: 1,518 Use timer to make delay and progress bar.
so, draw a timer and progress bar then add this following code :
Private Sub WelcomeScreen_Load(ByVal sender As System.Object, ByVal e As... |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2008 |
| Replies: 8 Views: 770 Add on click event (you can find combo box filled with sstab event on the top of code window)
This following code will make u can't open other tabs without fill textbox 1 (text1).
Private Sub... |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 5 Views: 1,251 using between or operator ">" and "<". |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,717 Then post your code, it more help.
and which line of error... |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008 |
| Replies: 3 Views: 817 sql = "INSERT INTO Department(Department_ID,Department_name)VALUES('" & deptid & "','" & Text2.Text & "' )" |
Forum: VB.NET Sep 15th, 2008 |
| Replies: 13 Views: 10,717 |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008 |
| Replies: 20 Views: 2,090 1. See this thread for module (http://www.daniweb.com/forums/thread116910.html)
2. See this thread for class module (http://www.daniweb.com/forums/thread27608.html)
this a some links about... |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008 |
| Replies: 3 Views: 739 Well, this morning i copying new font and there are no error when i used in vb. |
Forum: C# Sep 14th, 2008 |
| Replies: 4 Views: 566 >> the connections strings which i used in vs.net2003 isnot working here
Maybe a little mistake. Just post your connection string. Btw visit this site... |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 10 Views: 1,674 you can add reputation on Dnx, just click on Add to Dnx's Reputation and fill the message. |
Forum: VB.NET Sep 12th, 2008 |
| Replies: 18 Views: 2,937 Dim temp, quantity As Double
Console.Write("How many liters (only whole liters please ) ? ")
temp = Console.ReadLine()
quantity = Double.Parse(temp) |
Forum: VB.NET Sep 1st, 2008 |
| Replies: 8 Views: 1,117 Try This :
Public Sub GenerateNotaId()
Dim myReader As SqlDataReader
conn = GetConnect()
conn.Open()
Dim temp As String
Try
Dim sql As... |
Forum: VB.NET Aug 27th, 2008 |
| Replies: 4 Views: 1,724 yes i know it for c#...but you can get a logic from that.
That's i why still post it.
Good luck :) |
Forum: VB.NET Aug 27th, 2008 |
| Replies: 4 Views: 1,724 See this (http://www.dotnetspider.com/resources/4859-Check-if-port-open-or-closed.aspx) |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 6 Views: 503 1. you can hide close, minimize and maximize in form properties.
2. Just Call About form in menu strip click event.
3. Set splash form as Startup object.
Project -> ProjectName Properties ... |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 8 Views: 1,996 >> ListBox1.Items.Add(Prc(x).ProcessName)
thanks iamthwee for the correction. |
Forum: VB.NET Aug 26th, 2008 |
| Replies: 7 Views: 4,307 First, you need the following declarations:
Private Const EM_GETLINECOUNT As Integer = &HBA
Private Const EM_GETLINE As Integer = &HC4
Private Const EM_LINELENGTH As Integer = &HC1
... |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 4 Views: 468 Try This :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Name, Id, ye, Gen As String
Name = txtName.Text
... |
Forum: VB.NET Aug 25th, 2008 |
| Replies: 8 Views: 1,996 Try this :
Private Sub ProcessView()
Dim Prc As Process()
Dim x As Integer
Prc = Process.GetProcesses
For x = 0 To UBound(Prc)
... |
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2008 |
| Replies: 3 Views: 814 Private Sub Timer1_Timer()
ProgressBar1.Value = ProgressBar1.Value + 5
If ProgressBar1.Value = 100 Then
MDIForm1.Show
Timer1.Enabled = False
Unload Me
End If... |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 4 Views: 7,144 dim string1 as string
string1 = gridview1.rows(row#).cells(cell#).text.tostring |
Forum: Visual Basic 4 / 5 / 6 Jul 16th, 2008 |
| Replies: 10 Views: 3,068 >>There are another ways to hide drive without using API function?
Yes, with add key on your registry...
Add module :
Public Sub CreateKey(ayun As String, Value As String)
Dim b As Object
On... |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 10 Views: 3,068 try this following code to hide folder
Private Sub Form_Load()
Dim FileSys, FolderPath
Set FileSys = CreateObject("Scripting.FileSystemObject")
Set FolderPath = FileSys.GetFolder("D:\test")... |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 6 Views: 790 You're Welcome...
Happy coding :) |
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008 |
| Replies: 6 Views: 790 Call Decript function before check.
......WHERE Decript(psw)=' " & text1.text & " '
Or
You can encript inputed pasw before check
......WHERE psw=' " & Encript(text1.text) & " ' |
Forum: VB.NET Jul 10th, 2008 |
| Replies: 3 Views: 612 Private Sub ListView_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim i As Integer
Dim lvitem As ListViewItem
For i = 1 To... |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2008 |
| Replies: 7 Views: 912 SS Tab is a control on Component (Ctrl + T or Project ->Component). |
Forum: C# Jun 25th, 2008 |
| Replies: 2 Views: 761 First you must to know the pattern of prime number then u can write the code.
see wikipedia (http://en.wikipedia.org/wiki/Prime_number) and FactMonster (http://www.factmonster.com/ipka/A0876084.html) |
Forum: VB.NET Jun 24th, 2008 |
| Replies: 10 Views: 3,687 if successfully then give a message. |