Jx_Man 987 Nearly a Senior Poster Featured Poster

it cause your option button is an array control.. so vb doesn't recognize the control..
so your code must be :

If Opt1(0).Value = True Then
Jx_Man 987 Nearly a Senior Poster Featured Poster

so..you on form2 and after msg u want to back to form1?right?
so just showing form 1 after message..

Private Sub Command1_Click()

If Text1.Text = "" Then

MsgBox ("You have no content on your 1st Textbox")
Form1.Show
Unload Me
Else

End If
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

A. use Microsoft Multimedia Control. find this control on component.
add this code to play mp3 file :

Private Sub PlaySound()
      On Error GoTo ErrMsg
         AxMMControl1.Wait = True
         AxMMControl1.FileName = "D:\test.mp3"
         AxMMControl1.Command = "Open"
         AxMMControl1.Command = "Play"
         Exit Sub
         ErrMsg:
         MsgBox(Err.Description)
   End Sub

B. just call procedure name

Jx_Man 987 Nearly a Senior Poster Featured Poster

what kind of error came up?
are u added a merge file when u deployment it?

Jx_Man 987 Nearly a Senior Poster Featured Poster

Yes..you can

Jx_Man 987 Nearly a Senior Poster Featured Poster

thx majestic0110

Jx_Man 987 Nearly a Senior Poster Featured Poster

Just post simple code. Give a feedback if it helps u :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Simple code for matrix with pascal.

--Jery--

Jx_Man 987 Nearly a Senior Poster Featured Poster

as i tell before post this code is continuance from my previous post "Show Data in DataGrid with VB.Net 2003 and SQLServer 2000". so i didn't write code how to connect SQLServer 2000 with VB.Net 2003 cause this already in there.
Click this lick to go to my previous snippet :
Show Data in DataGrid with VB.Net 2003 and SQLServer 2000

Jx_Man 987 Nearly a Senior Poster Featured Poster

This code to save, Edit and delete data in VB.Net using SQLServer as backend. this code is continuance from my previous post "Show Data in DataGrid with VB.Net 2003 and SQLServer 2000". so i didn't write code how to connect SQLServer 2000 with VB.Net 2003 cause this already in there.
Please see and read a comment on code carefully so this code can implement goods.

Jx_Man 987 Nearly a Senior Poster Featured Poster

post your question in vb section. you can learn anything there. fell free to asked from others.

Jx_Man 987 Nearly a Senior Poster Featured Poster

>> please send me another codes for Email Address:mansoor480@gmail.com

i m sorry mansoor but you must browsing this forum to get many codes here. we supplied it for free so used it with a wise.

Jx_Man 987 Nearly a Senior Poster Featured Poster

This is code for Encrypt and Decrypt. this a simple logic of encryption. Please leave comment or feedback if this code helps you. Thanks. Jery. :)
the encrypt function place in a module.
This Code needed :
1 Module
1 combo box (For input before encryption) text1 in this program
2 label (For encryption result and encryption reading) --> label1 and label 3 in this program

Jx_Man 987 Nearly a Senior Poster Featured Poster

dg student is datagrid..

Jx_Man 987 Nearly a Senior Poster Featured Poster

Public Function GetConnect()
Dim ServerName As String = "SA1SQL19"
Dim DatabaseName As String = "APPRAISAL"
conn = New SqlConnection("server = ServerName;database = DatabaseName;Trusted_Connection = yes")
Return conn
End Function

try this :

Public Function GetConnect()
conn = New SqlConnection("server = SA1SQL19;database = APPRAISAL;Trusted_Connection = yes")
Return conn
End Function
Jx_Man 987 Nearly a Senior Poster Featured Poster

This Code is easy way to load / show data in Datagrid. This Code write in vb.net 2003 and use sqlserver 2000 as database. I use module to connected VB.Net with SqlServer 2000. so the function to connected can be use in every form in this project.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Actually this section for VB4/5/6
Post your question on VB.Net Section
then closed this thread.

Jx_Man 987 Nearly a Senior Poster Featured Poster

just checked id entered with id on database.
If same then display error message, if not same then add into database.

Jx_Man 987 Nearly a Senior Poster Featured Poster

I think a better way is convert as byte..
Some trouble can happen if you missing the path of image or moving some pics.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi there...Welcome to Daniweb friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi there...Welcome to Daniweb friend.
Hope u find what u needed here

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi there...Welcome to Daniweb friend.
Hope u enjoy this site :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

on timer tick event
- make randomize function to get new X and Y,so your button always get new location to moving every timer tick.

Jx_Man 987 Nearly a Senior Poster Featured Poster
Process.Start("explorer.exe", "/n, ::{645FF040-5081-101B-9F08-00AA002F954E}")
Jx_Man 987 Nearly a Senior Poster Featured Poster

use manifest file.

Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
Dim Phrase As String = "this is a test"
Dim TextArray As String() = Nothing
Dim Word As String
Dim NewString As String
TextArray = Phrase.Split(" ")
For Each Word In TextArray
NewString = NewString & (Word.Substring(0, 1).ToUpper() & Word.Substring(1, Word.Length
- 1).ToLower() & " ")
Next Word

Or
See this link :
http://msdn.microsoft.com/en-us/library/aa332127.aspx

Jx_Man 987 Nearly a Senior Poster Featured Poster

what event do you want?button event?click event?or what?

Jx_Man 987 Nearly a Senior Poster Featured Poster

use condition on your select statment.

Jx_Man 987 Nearly a Senior Poster Featured Poster

play wav?mp3?

Jx_Man 987 Nearly a Senior Poster Featured Poster

use
System.Diagnostics.Process.GetProcessesByName(processName);
to get all the process with this name. After this use the process properties like, process.ModuleName etc. to get the required process, then kill the process by calling function process.kill().

This section just for vb4/5/6. Don't make it become VB.Net Section...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Thx For sharing... :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

ADODC DATACOMBO PROBLEM.....
I have some text box, an ADODC data control and a datacombo object in my form.i filled up data control property correctly.also set text boxes property.Now for datacombo i have set datasouce,listfield,bound column propety.But text in the textbox don't change in accordance with changing item in datacombo.But i can change by datacontrol.

Heiiii....Please start your own thread

Jx_Man 987 Nearly a Senior Poster Featured Poster

very good. Would you like to share with us how to do it, so if other members get the same problem they can solved it.
And don't forget to mark this thread as solved..
Thanks :)

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

show us your effort :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

on datagrid double click event, get data on selected then show it on main form.

Jx_Man 987 Nearly a Senior Poster Featured Poster

are u sure saved it into txt file?i mean when your program is running..

Jx_Man 987 Nearly a Senior Poster Featured Poster

This following code just allowed you to entered numbers only (No alphabetics or any special characters) :

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
    If (Microsoft.VisualBasic.Asc(e.KeyChar) < 48) _
              Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 57) Then
            e.Handled = True
    End If
    If (Microsoft.VisualBasic.Asc(e.KeyChar) = 8) Then
            e.Handled = False
    End If
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

write this on the top of codes

Imports System.Data.Odbc
Sawamura commented: jaauh +2
Jx_Man 987 Nearly a Senior Poster Featured Poster

using ascii checking on your button event.

Jx_Man 987 Nearly a Senior Poster Featured Poster

show us ur effort

Jx_Man 987 Nearly a Senior Poster Featured Poster

use sendkeys or API Function.

Jx_Man 987 Nearly a Senior Poster Featured Poster

check the references of your project.

Jx_Man 987 Nearly a Senior Poster Featured Poster

try to get process of windows.
kill it by process name. its the easiest way.

Jx_Man 987 Nearly a Senior Poster Featured Poster

you mean Textbox, label, Button for basic controls????
please more details...not clear enough..

Jx_Man 987 Nearly a Senior Poster Featured Poster

what errors came up?
try to use Shared variable to accomodate your address data.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Not clearly enough...

Jx_Man 987 Nearly a Senior Poster Featured Poster

just copying your .exe file into startup folder.
you can use special folder to do this.

Jx_Man 987 Nearly a Senior Poster Featured Poster

use join on your sql query.