Jx_Man 987 Nearly a Senior Poster Featured Poster

If you knows answer then give answer but don't give advises

It kind of Laziness....Show the effort, how far you have done with this.

You Need To See This Rule :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

SS Tab is a control on Component (Ctrl + T or Project ->Component).

dnk commented: pleasee details +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

explain more detail...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Post your question on PHP Section. This section just for VB.Net

Jx_Man 987 Nearly a Senior Poster Featured Poster

what do you want exactly?
did u cannot import System.Data.SqlClient on your codes?

Jx_Man 987 Nearly a Senior Poster Featured Poster

alternatively :

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
    ComboBox1.Items.Remove(ComboBox1.SelectedItem)
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

set the timer interval.

Jx_Man 987 Nearly a Senior Poster Featured Poster

you're Welcome. Don't forget to mark this thread as Solved.

Jx_Man 987 Nearly a Senior Poster Featured Poster

if this thread was solved then please mark it as Solved. so other member can find it easily if they had a same problem. :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

First you must to know the pattern of prime number then u can write the code.
see wikipedia and FactMonster

Vega_Knight commented: linkers +1
Naruse commented: N/A +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

>> what should be installed on client machine
install .net framework to run a vb.net 1.0 application smoothly...

Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster

>> anything is wrong in my code?
post the code

Jx_Man 987 Nearly a Senior Poster Featured Poster

ex :

Interaction.MsgBox(Math.Sqrt(9));
Jx_Man 987 Nearly a Senior Poster Featured Poster

ohhhh, i was wrong....
im so sorry friend, i m not read carefully.
the answer was given by veena.

Jx_Man 987 Nearly a Senior Poster Featured Poster

try this :

Private Sub HScroll1_Change()
Text1.Text = HScroll1.Value
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

if successfully then give a message.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Using Blob...

Jx_Man 987 Nearly a Senior Poster Featured Poster

thnx for sharing friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

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
        Dim dsStudent As New DataSet
        Dim dtStudent As New DataTable
        Dim conn As SqlConnection

        conn = GetConnect()
        Try

            cmdStudent = conn.CreateCommand
            cmdStudent.CommandText = "SELECT * FROM Student"
            daStudent.SelectCommand = cmdStudent
            daStudent.Fill(dsStudent, "Student")
            dtStudent = dsStudent.Tables("Student")
            For i = 0 To dtStudent.Rows.Count - 1
                cmbNis.Items.Add(dtStudent.Rows(i).Item(0))
            Next

        Catch ex As Exception
            MsgBox("Error: " & ex.Source & ": " & ex.Message, MsgBoxStyle.OKOnly, "Connection Error !!")
        End Try
        conn.Close()
    End Sub
ITKnight commented: nice snippet +1
dnk commented: thanks +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

In form2 :

Private Sub Form_Load()
Command1.Caption = Form1.Text1
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

using timer.
in timer event you can change text color.

Sawamura commented: rite +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

i think its textbox

Jx_Man 987 Nearly a Senior Poster Featured Poster

just put your code in function method.
this an example :

Public Function GetSpecialFolder(ByVal mFolder As Environment.SpecialFolder) As String
        GetSpecialFolder = Environment.GetFolderPath(mFolder)
End Function

Private Sub Form1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Label1.Text = GetSpecialFolder(Environment.SpecialFolder.System)
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

Well, great..
Don't forget to mark this thread solved.

Jx_Man 987 Nearly a Senior Poster Featured Poster

well, i don't have experience with this topic but i found this thread. Hope it make a sense and helping u a little bit.
http://www.daniweb.com/forums/showthread.php?t=112440&highlight=Voice+Recognition
http://www.daniweb.com/forums/showthread.php?t=40204&highlight=Voice+Recognition

Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster

>> 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 to make a function, so it looks neat.

Imports System.IO
...
Private Function GetFileSize(ByVal MyFilePath As String) As Long
        Dim MyFile As New FileInfo(MyFilePath)
        Dim FileSize As Long = MyFile.Length
        Return FileSize
    End Function

to call this function :

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim temp As String
        temp = GetFileSize("D:\Address.txt") / 1000

        MsgBox(temp)
    End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

just convert c# example into vb.net.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Try this following code :

Private Sub Text1_Change()
    If IsNumeric(Right(Text1, 1)) = True Then
     ' is a number
        Text1 = Left(Text1, Len(Text1) - 1)
        'Text1.Text = ""
    Else
     'anything but a number
 
    End If
End Sub

Or This code :

Private Sub Text1_KeyPress(KeyAscii As Integer)
    Select Case KeyAscii
        Case 65 To 90, 8, 32
        'Let these key codes pass through
        Case 97 To 122, 8, 32
        'Let these key codes pass through
        Case Else
        'All others get trapped
        KeyAscii = 0
    End Select
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

You're Welcome friend...
Don't forget to mark this thread Solved :)

Jx_Man 987 Nearly a Senior Poster Featured Poster
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
	if ((Interaction.MsgBox("Are you sure want to quit?", MsgBoxStyle.YesNo, "Exit")) == MsgBoxResult.Yes)
	{
		ProjectData.EndApp();
	}
	else
	{
		e.Cancel = true;
	}
}
Jx_Man 987 Nearly a Senior Poster Featured Poster

ok.
so this thread was solved or not?

Jx_Man 987 Nearly a Senior Poster Featured Poster

you didn't make a connection to sql server..

Jx_Man 987 Nearly a Senior Poster Featured Poster

hmmm, how far u have done?show the code and other member can correct any mistaken..

Jx_Man 987 Nearly a Senior Poster Featured Poster

61 views and no reply..... no good will to help me out there???

it can be non member / guest who make it 61 views.

Post your question on Computer Science and Software Design section for any idea from other member.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hello,

Thanks for the info not sure if that will work but i will try, i found the answer which is below, i was missing the using system.media on top including the information below. hope this helps everyone as it did me.

thanks to share the answer and don't forget to mark this thread solved to make it easy to find.

Jx_Man 987 Nearly a Senior Poster Featured Poster
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
Jx_Man 987 Nearly a Senior Poster Featured Poster

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
            TextBox3.Text = TextBox3.Text.Remove(0, Len(TextBox3.Text))
            MsgBox("input under 33")
        End If
    End Sub
jaytheguru commented: Just Superb! +1
dnk commented: cool :) +1
Jade_me commented: Great simple code +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

how far u do this?

Jx_Man 987 Nearly a Senior Poster Featured Poster

specify more..
to select two table u can use JOIN in your sql statement.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Great Idea...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Just asking,
where a province of indonesia that u live on? i mean an origin place...
>>im studying computer/informatics engineering
what's the university name?
(btw jarang lho ada org indonesia di sini :))

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi all,
Welcome to Daniweb Friends...
actually this section just for introducing your self. So if u have any problem please post on current section. :)

Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster

i have a problem to put an image on my MDI form which i also using an active skin in all forms including the MDI form..

You mean to show picture as you mdi form background?
- On MDIForm Properties set Picture with your current picture.

n ehm..wat syntax should i use to close an mdi child forms using the EXIT button on top right ?

Private Sub MDIForm_Unload(Cancel As Integer)
Dim pil As Variant
  pil = MsgBox("Anda Yakin ingin Keluar?", vbOKCancel, "Exit Confirm")
  If pil = 1 Then
    End
  Else
    Cancel = 1
  End If
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

hmmm, you can post this thread on Computer Science and Software Design section

Jx_Man 987 Nearly a Senior Poster Featured Poster

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 Dispose(), set it to false.
e.g :

Dim MainMenu as New Form2
MainMenu.show
Me.Dispose(False)
debasisdas commented: great, this is No 1 hit in google search. +13
Jx_Man 987 Nearly a Senior Poster Featured Poster

what a questions?

Jx_Man 987 Nearly a Senior Poster Featured Poster

do u have the exe file of visual C++?
if u have the exe file u can run that file from vb.net using Shell Function.