Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Resizing Forms Pin
Paul Conrad28-Nov-07 12:45
professionalPaul Conrad28-Nov-07 12:45 
QuestionIssue with form activate [modified] Pin
nishkarsh_k27-Nov-07 20:42
nishkarsh_k27-Nov-07 20:42 
AnswerRe: Issue with form activate Pin
Dave Kreskowiak28-Nov-07 4:26
mveDave Kreskowiak28-Nov-07 4:26 
QuestionChat Lan(Help Me) Pin
link_night27-Nov-07 20:26
link_night27-Nov-07 20:26 
AnswerRe: Chat Lan(Help Me) Pin
Tom Deketelaere28-Nov-07 1:00
professionalTom Deketelaere28-Nov-07 1:00 
AnswerRe: Chat Lan(Help Me) Pin
pmarfleet28-Nov-07 2:57
pmarfleet28-Nov-07 2:57 
AnswerRe: Chat Lan(Help Me) Pin
Paul Conrad28-Nov-07 12:46
professionalPaul Conrad28-Nov-07 12:46 
QuestionThreads in Vb.NET Pin
Vimalsoft(Pty) Ltd27-Nov-07 20:26
professionalVimalsoft(Pty) Ltd27-Nov-07 20:26 
Good morning all

am a new to the subject of threads in vb.net,i have a book that explain, but am not satified, i googled some tutorials and article, and found something.in the examples in the book, they sub's than functions, in my case, i have a function that return a dataset, now i follow the code correctly and i have a problem, when i try to do this, i know the function accept parameters and return a dataset.

Public Function SaveProperties_Lis(ByVal dsDAta As PropDAL.Dssearchlis) As PropDAL.Dssearchlis
    SyncLock GetType(Properties)
        Dim ws As PropDAL.Properties
        Try
            ws = New PropDAL.Properties
            'check  the Business Rules
            Me.CheckRules_Lis(dsDAta)

            'Updating the dataset
            dsDAta.EndInit()
            ws.UpdateLis_search(dsDAta)

        Catch ex As Exception
            MsgBox(ex.Message)

        End Try

    Return dsDAta
    End SyncLock
End Function
.
Am trying to save data, but before i check for business rules violation and save, the whole process is working , but now because of Concurency, i thought i could use threads to lock the Function when two instances of my application try to run update function.

Dim a1 As New Properties
  Dim thread1 As New System.Threading.Thread(AddressOf a1.SaveProperties_Lis())
.

In the above the Errors screems inside this Function, it says

Argument not Specified for Parameter Dsdata
.

What parameter should i use?
The above Function take a dataset as a parameter, so what should i use?
i would like to confirm, if the above code, is Delegating?

Thanks


Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Threads in Vb.NET Pin
Dave Kreskowiak28-Nov-07 4:23
mveDave Kreskowiak28-Nov-07 4:23 
QuestionApplication Installation Problem Pin
Suresh Belur27-Nov-07 20:09
Suresh Belur27-Nov-07 20:09 
AnswerRe: Application Installation Problem Pin
Vimalsoft(Pty) Ltd28-Nov-07 2:02
professionalVimalsoft(Pty) Ltd28-Nov-07 2:02 
GeneralRe: Application Installation Problem Pin
Dave Kreskowiak28-Nov-07 4:20
mveDave Kreskowiak28-Nov-07 4:20 
AnswerRe: Application Installation Problem Pin
Dave Kreskowiak28-Nov-07 4:17
mveDave Kreskowiak28-Nov-07 4:17 
GeneralRe: Application Installation Problem Pin
Suresh Belur28-Nov-07 16:47
Suresh Belur28-Nov-07 16:47 
Questiondelivery report Pin
rishidubey27-Nov-07 12:44
rishidubey27-Nov-07 12:44 
AnswerRe: delivery report Pin
Dave Kreskowiak27-Nov-07 15:30
mveDave Kreskowiak27-Nov-07 15:30 
GeneralRe: delivery report Pin
rishidubey27-Nov-07 15:55
rishidubey27-Nov-07 15:55 
GeneralRe: delivery report Pin
Dave Kreskowiak28-Nov-07 3:27
mveDave Kreskowiak28-Nov-07 3:27 
QuestionSystem.Speech in VB.net for Voice recognition Pin
Slickuser27-Nov-07 11:43
Slickuser27-Nov-07 11:43 
AnswerRe: System.Speech in VB.net for Voice recognition Pin
Christian Graus27-Nov-07 12:24
protectorChristian Graus27-Nov-07 12:24 
AnswerRe: System.Speech in VB.net for Voice recognition Pin
Dave Kreskowiak27-Nov-07 15:31
mveDave Kreskowiak27-Nov-07 15:31 
GeneralRe: System.Speech in VB.net for Voice recognition Pin
Slickuser27-Nov-07 19:29
Slickuser27-Nov-07 19:29 
GeneralRe: System.Speech in VB.net for Voice recognition Pin
Dave Kreskowiak28-Nov-07 3:32
mveDave Kreskowiak28-Nov-07 3:32 
GeneralRe: System.Speech in VB.net for Voice recognition Pin
Slickuser28-Nov-07 11:08
Slickuser28-Nov-07 11:08 
QuestionDinamic Chart in Visual Basic 6 Pin
leaveu27-Nov-07 8:58
leaveu27-Nov-07 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.