Search Results

Showing results 1 to 40 of 108
Search took 0.02 seconds.
Search: Posts Made By: Jx_Man ; Forum: VB.NET and child forums
Forum: VB.NET Feb 4th, 2009
Replies: 16
Views: 2,045
Posted By Jx_Man
use condition on your select statment.
Forum: VB.NET Jan 25th, 2009
Replies: 5
Views: 2,006
Posted By Jx_Man
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,320
Posted By Jx_Man
write this on the top of codes
Imports System.Data.Odbc
Forum: VB.NET Sep 17th, 2008
Replies: 7
Views: 943
Posted By Jx_Man
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,779
Posted By Jx_Man
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
Solved: String
Views: 433
Posted By Jx_Man
Try this

Microsoft.VisualBasic.Right("Daniweb",3)
Forum: VB.NET Sep 16th, 2008
Replies: 6
Views: 1,518
Posted By Jx_Man
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: VB.NET Sep 15th, 2008
Replies: 13
Views: 10,782
Posted By Jx_Man
Then post your code, it more help.
and which line of error...
Forum: VB.NET Sep 15th, 2008
Replies: 13
Views: 10,782
Posted By Jx_Man
Forum: VB.NET Sep 12th, 2008
Replies: 10
Solved: Mdi Form
Views: 1,676
Posted By Jx_Man
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,942
Posted By Jx_Man
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,121
Posted By Jx_Man
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,728
Posted By Jx_Man
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,728
Posted By Jx_Man
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
Posted By Jx_Man
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
Solved: Process monitor
Views: 2,001
Posted By Jx_Man
>> ListBox1.Items.Add(Prc(x).ProcessName)

thanks iamthwee for the correction.
Forum: VB.NET Aug 26th, 2008
Replies: 7
Views: 4,315
Posted By Jx_Man
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: 469
Posted By Jx_Man
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
Solved: Process monitor
Views: 2,001
Posted By Jx_Man
Try this :

Private Sub ProcessView()
Dim Prc As Process()
Dim x As Integer

Prc = Process.GetProcesses

For x = 0 To UBound(Prc)
...
Forum: VB.NET Jul 17th, 2008
Replies: 4
Views: 7,161
Posted By Jx_Man
dim string1 as string

string1 = gridview1.rows(row#).cells(cell#).text.tostring
Forum: VB.NET Jul 10th, 2008
Replies: 3
Views: 612
Posted By Jx_Man
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: VB.NET Jun 24th, 2008
Replies: 10
Views: 3,694
Posted By Jx_Man
if successfully then give a message.
Forum: VB.NET Jun 23rd, 2008
Replies: 3
Views: 3,649
Posted By Jx_Man
see this code, this my code to get data into combobox :
Private Sub BacaData()
Dim i, k As Integer
Dim cmdStudent As New SqlCommand
Dim daStudent As New SqlDataAdapter
...
Forum: VB.NET Jun 23rd, 2008
Replies: 10
Views: 3,694
Posted By Jx_Man
using timer.
in timer event you can change text color.
Forum: VB.NET Jun 22nd, 2008
Replies: 5
Views: 2,687
Posted By Jx_Man
Well, great..
Don't forget to mark this thread solved.
Forum: VB.NET Jun 21st, 2008
Replies: 5
Views: 2,687
Posted By Jx_Man
>> filelength = filelength + file.Length
it should be objfile.length

>> filelength = filelength + file.Length
why you add filelength with file.Length?
just filelength = file.length

i suggest...
Forum: VB.NET Jun 19th, 2008
Replies: 5
Views: 2,292
Posted By Jx_Man
Private Sub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll
Form1.ActiveForm.Opacity = TrackBar1.Value / TrackBar1.Maximum
End Sub
Forum: VB.NET Jun 19th, 2008
Replies: 5
Views: 1,401
Posted By Jx_Man
try this following code :
Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged
If Val(TextBox3.Text) > 32 Then
...
Forum: VB.NET Jun 15th, 2008
Replies: 6
Views: 9,339
Posted By Jx_Man
To call form2 you must to make an object of form2 :

Dim MainMenu as New Form2
MainMenu.show

To close form1 after called form2 :
- Don't use Me.Close cause it will close application.
- Use...
Forum: VB.NET Jun 10th, 2008
Replies: 3
Views: 2,223
Posted By Jx_Man
try this following code :
First Textboxt to input words = textbox2
Second to input certain char = textbox1
Button to execute and label to show result.
Private Sub btnSearch_Click(ByVal sender As...
Forum: VB.NET Jun 10th, 2008
Replies: 2
Views: 751
Posted By Jx_Man
see this code :
Dim cn As OleDbConnection
Dim cmd As OleDbCommand
Dim dr As OleDbDataReader
cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\MyDB.mdb;")
cn.Open()
cmd...
Forum: VB.NET Jun 10th, 2008
Replies: 2
Solved: running script
Views: 836
Posted By Jx_Man
Hi...
You want to add it and run with vb.net.
.Net doesn't have a special Script Control.
Download the Script Control (ActiveX) from Microsoft
See this link...
Forum: VB.NET Jun 10th, 2008
Replies: 5
Views: 810
Posted By Jx_Man
I hope that will solved your problem.
Forum: VB.NET Jun 10th, 2008
Replies: 2
Solved: SQL Server
Views: 520
Posted By Jx_Man
First add reference Microsoft SQLDMO Object Library.
then add this code :
Dim i As Integer
Dim oNames As SQLDMO.NameList
Dim oSQLApp As SQLDMO.Application
oSQLApp = New...
Forum: VB.NET Jun 10th, 2008
Replies: 3
Solved: Faktorial
Views: 641
Posted By Jx_Man
try this :
Public Function Factorial(ByVal Number As Integer) As String
Try
If Number = 0 Then
Return 1
Else
Return Number *...
Forum: VB.NET Jun 9th, 2008
Replies: 5
Solved: Mouse button
Views: 2,205
Posted By Jx_Man
this will detect if mouse button clicked :

Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button =...
Forum: VB.NET Jun 9th, 2008
Replies: 5
Solved: Datagrid
Views: 583
Posted By Jx_Man
Well, try this code :
add this code in datagrid click event.

Dim i As Integer
i = dgAuthor.CurrentRowIndex()
MsgBox(Trim(dgAuthor.Item(i, 0)) & " - " & Trim(dgAuthor.Item(i, 1)) & " - " &...
Forum: VB.NET Jun 9th, 2008
Replies: 5
Solved: Datagrid
Views: 583
Posted By Jx_Man
you mean get data on each row?
Forum: VB.NET Jun 4th, 2008
Replies: 2
Views: 3,022
Posted By Jx_Man
the easiest way is copying current access database to backup folder.
Use FileCopy to copying file.
this following code is an example :

Private Sub Button1_Click(ByVal sender As System.Object,...
Forum: VB.NET Jun 4th, 2008
Replies: 2
Views: 3,022
Posted By Jx_Man
just copying a .mdb file to backup folder.
Showing results 1 to 40 of 108

 


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

©2003 - 2009 DaniWeb® LLC