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

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

welcome to daniweb friend

Jx_Man 987 Nearly a Senior Poster Featured Poster

welcome to daniweb friend

Jx_Man 987 Nearly a Senior Poster Featured Poster

hi welcome to daniweb

Jx_Man 987 Nearly a Senior Poster Featured Poster

it same...
here is the code for vb :

Private dtTScomponent As ToolStripControlHost
Public Sub New()
   InitializeComponent()
   dtTScomponent = New ToolStripControlHost(dtMyDateTimePicker)
   MainToolStrip.Items.Add(dtTScomponent)
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Tina...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

what the problem?

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

When either of the 2 buttons are pressed

what buttons? login and ? or what ?

Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
        If txtPassword.text = "" Then
            MsgBox("Input Password", MsgBoxStyle.Critical, "Password text field empty")
            txtpassword.Focus()
        Else
            If txtpassword.Text = "1234" Then
                'continue to write file
            Else
                MsgBox("Wrong Password", MsgBoxStyle.Critical, "Wrong Password")
                txtpassword.Clear()
                txtpassword.Focus()
            End If
        End If
    End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

hmmm...
- you want to use text file to save password or you want to set password direct from coding (not change able) ??
if i see your code, i guess u want to use password in code. if just for personal use pasw in code more faster but it couldn't to change.

Jx_Man 987 Nearly a Senior Poster Featured Poster

If something = true then something = 45 And something = 65 And something = 83

what the result that you want it like be?
there are something is one variable or many?
i means there are many variable :
eg: A = 45 and B = 65 and c = 83
Or
it just have one variable to accomodate all :
eg : A = 45 and A = 65 and A = 83
clarify more...thx

Jx_Man 987 Nearly a Senior Poster Featured Poster

what kind of database?
using public shared variable to accomodate data on datagrid and will call in other form.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Use "Like" operand in your Select query.
eg : Select * from Author where Id Like "1234"

Jx_Man 987 Nearly a Senior Poster Featured Poster

you can start with write file and read file into text file. use read file to check password...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

what?!

Jx_Man 987 Nearly a Senior Poster Featured Poster

does this thread solved??
if yes please share the answer.. so others can learn from your thread friend.
Thank you :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)
are you tried to use animated picture? if yes, you didn't allowed to used it or your size of picture more big then require pic..

Jx_Man 987 Nearly a Senior Poster Featured Poster

HI Jess ...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Ronda Welcome to daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Visit this site
1. One
2. Two
3. Three

raymyster commented: benefited from this +0
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Sushil...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Jai...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Set IsMdiContainer in Parent form properties as True.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Vik...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

using system.io to write/read file. put in top of code.
try this following code :

Imports System.IO
...
    
    Public Function SaveTextToFile(ByVal strData As String, _
     ByVal FullPath As String, _
       Optional ByVal ErrInfo As String = "") As Boolean

        Dim Contents As String
        Dim bAns As Boolean = False
        Dim objReader As StreamWriter
        Try


            objReader = New StreamWriter(FullPath)
            objReader.Write(strData)
            objReader.Close()
            bAns = True
        Catch Ex As Exception
            ErrInfo = Ex.Message

        End Try
        Return bAns
    End Function
    
    Private Sub btnWrite_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnWrite.Click
        SaveTextToFile(TextBox1.Text, "D:\Jx_Man2.txt")
    End Sub
End Class
Jx_Man 987 Nearly a Senior Poster Featured Poster

post your code...
will help much to understand

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Kathy...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Anthony...Welcome to Daniweb Friend :)
You can post your problem in C# section

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

use code tags when you provide codes...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi dprescott01...Welcome to Daniweb friend.
you can introduce your self in Community Introduction.

Jx_Man 987 Nearly a Senior Poster Featured Poster

if this thread for .net please post in vb.net section.

Jx_Man 987 Nearly a Senior Poster Featured Poster

you cannot delete thread. just moderator can do this. you just can mark thread to solved.