Jx_Man 987 Nearly a Senior Poster Featured Poster

are you copied the code or use my current project??

Jx_Man 987 Nearly a Senior Poster Featured Poster

open connection is required to connect.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi David...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 Babs...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 johnny...Welcome to Daniweb Friend:)

Jx_Man 987 Nearly a Senior Poster Featured Poster

needed a combobox to display,textbox for input and button.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        ComboBox1.Items.Add(TextBox1.Text)
    End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

there are 12 types of messagebox...:)

Jx_Man 987 Nearly a Senior Poster Featured Poster

i didn't understand what you want to do...
but you can use keypress event to accomodate this.

Jx_Man 987 Nearly a Senior Poster Featured Poster

It seems as though in your version of Crystal
Reports, the file path that points to the DB that your report uses cannot
exceed 127 characters in length.
to more clearly see this link or this Link

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Kerstin...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

hi...
this program run as windows application or smart device??

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

see this link

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi AsgarothXc...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Steve...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

i thinks all is depend on your ability. both of this language is great. as narue said a "Popular" language is not going to save your company but a language which u capable to write. If you prefer C# than VB but you didn't have an ability or experience in C# it will reattack you. But if you still want migrate to C# i suggest do step-by-step. so when you fully change to c# you have ready to facing the problems in front.
happy coding friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

thanx! much appreciated for ur help!

its means your problem solved or not??

Jx_Man 987 Nearly a Senior Poster Featured Poster

thanks neji...

Jx_Man 987 Nearly a Senior Poster Featured Poster

thx estella...
hope it helps you :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

ha...3x, google is great searcher machine...:)

Vega_Knight commented: :D jokes +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

well great...
happy coding friend :)

ITKnight commented: thanks for direction +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Ko...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

HI CaribbeanOSX...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Eating and listening to reggae music.

yes eating....

Jx_Man 987 Nearly a Senior Poster Featured Poster

maybe missing reference :
Click Project menu and click Add Reference.

Microsoft.WindowsCE.Forms
System.Data.Common
System.Data.SqlServerCE
System.Windows.Forms

Set the references then we will import SqlServerCE namespace.

for more clearly see this link

Jx_Man 987 Nearly a Senior Poster Featured Poster

you're welcome friend...
don't forger to mark this thread solved :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

you're welcome...
Happy coding :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Reader = dbCommand.ExecuteReader

Reader declared as what??

Jx_Man 987 Nearly a Senior Poster Featured Poster

> what require if someone want to be a team colleague, featured poster,moderator, etc ??

Don't think a lot about it. If you are good enough, these things will anyways come to you sooner or later. Just keep helping out people and above all, have fun. :-)

yes..absolutely agree. the point in this forums is helping out people who needs help. :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

i have read your other thread. i guest you do this in smart device, right?
i never do this in smart device...

Jx_Man 987 Nearly a Senior Poster Featured Poster
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim mySound As New Sound("\windows\alarm1.wav")

mySound.Play()

End Sub
End Class

Public Class Sound

Private m_soundBytes() As Byte

Private m_fileName As String

Public Declare Function WCE_PlaySound Lib "CoreDll.dll" Alias "PlaySound" (ByVal szSound As String, ByVal hMod As IntPtr, ByVal flags As Integer) As Integer

Public Declare Function WCE_PlaySoundBytes Lib "CoreDll.dll" Alias "PlaySound" (ByVal szSound() As Byte, ByVal hMod As IntPtr, ByVal flags As Integer) As Integer

Private Enum Flags

SND_SYNC = &H0 ' play synchronously (default)

SND_ASYNC = &H1 ' play asynchronously

SND_NODEFAULT = &H2 ' silence (!default) if sound not found

SND_MEMORY = &H4 ' pszSound points to a memory file

SND_LOOP = &H8 ' loop the sound until next sndPlaySound

SND_NOSTOP = &H10 ' don't stop any currently playing sound

SND_NOWAIT = &H2000 ' don't wait if the driver is busy

SND_ALIAS = &H10000 ' name is a registry alias

SND_ALIAS_ID = &H110000 ' alias is a predefined ID

SND_FILENAME = &H20000 ' name is file name

SND_RESOURCE = &H40004 ' name is resource name or atom

End Enum

' Construct the Sound object to play sound data from the specified file.

Public Sub New(ByVal fileName As String)

m_fileName = fileName

End Sub

' Construct the Sound object to play sound data from the specified stream.

Public Sub New(ByVal stream As System.IO.Stream)

' read the data from the stream

m_soundBytes = New Byte(stream.Length) {}

stream.Read(m_soundBytes, 0, Fix(stream.Length))

End Sub 'New

' Play the sound

Public Sub …
Jx_Man 987 Nearly a Senior Poster Featured Poster

well i never do this in smart device...

Jx_Man 987 Nearly a Senior Poster Featured Poster

reader is not declared..

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Griffin54...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Good Info :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

kelly

Jx_Man 987 Nearly a Senior Poster Featured Poster

Kungfu Dunk

Jx_Man 987 Nearly a Senior Poster Featured Poster

129 = 10000001

Jx_Man 987 Nearly a Senior Poster Featured Poster

4493

Jx_Man 987 Nearly a Senior Poster Featured Poster

whom

Jx_Man 987 Nearly a Senior Poster Featured Poster

-831

Jx_Man 987 Nearly a Senior Poster Featured Poster

rime
qua
game

acquaint

Jx_Man 987 Nearly a Senior Poster Featured Poster

Words under attack...

Jx_Man 987 Nearly a Senior Poster Featured Poster

Funny movies...
i heard sometimes people drink to keep their body still warm (in winter). this reason can be accepted or not?

Jx_Man 987 Nearly a Senior Poster Featured Poster

Got Two...:P