J
Joel Vazquez
Visual Basic.NET Application RunTime Crashes and Stalls
Im a newbie if you could say in .NET ive been working with it the past
3 months and have done lots of things with it, without any prior
knowledge.
I have a few question regarding the stability of my application.
I have a synchronization application that connects to a service and
send the results to SQL Server 2000. I got all my code in just one
form.
This are the functions i have.
GetOrders()
GetPayments()
SyncCustomers()
SyncProducts()
SyncInvoices()
SyncBalances()
SetDate()
So i got a Synchronize Button and i execute them in that exact order.
Private Sub btnSync_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSync.Click
'Initizalize Functions
btnSync.Enabled = False
GetOrders()
GetPayments()
SyncCustomers()
SyncProducts()
SyncInvoices()
SyncBalances()
SetDate()
End Sub
This module handle a lot of data for example i could have 1350 Orders
for a whole month, have 1000 Payments, have 5000 customers and so on.
So as you can see It handles a lot of Data.
Ok the Main Problem when the application executes you cannot use the
PC not even touch a damn mouse cause if you do the Form disappears and
the Application Crashes. Dont get me wrong if I dont use the PC it
works well and it can finish in about 15 to 30 minutes depending on
the data and internet connection.
IS there a way to call this functions better for a nicer performace?
any help is greatly appreciated.
thank you
Im a newbie if you could say in .NET ive been working with it the past
3 months and have done lots of things with it, without any prior
knowledge.
I have a few question regarding the stability of my application.
I have a synchronization application that connects to a service and
send the results to SQL Server 2000. I got all my code in just one
form.
This are the functions i have.
GetOrders()
GetPayments()
SyncCustomers()
SyncProducts()
SyncInvoices()
SyncBalances()
SetDate()
So i got a Synchronize Button and i execute them in that exact order.
Private Sub btnSync_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSync.Click
'Initizalize Functions
btnSync.Enabled = False
GetOrders()
GetPayments()
SyncCustomers()
SyncProducts()
SyncInvoices()
SyncBalances()
SetDate()
End Sub
This module handle a lot of data for example i could have 1350 Orders
for a whole month, have 1000 Payments, have 5000 customers and so on.
So as you can see It handles a lot of Data.
Ok the Main Problem when the application executes you cannot use the
PC not even touch a damn mouse cause if you do the Form disappears and
the Application Crashes. Dont get me wrong if I dont use the PC it
works well and it can finish in about 15 to 30 minutes depending on
the data and internet connection.
IS there a way to call this functions better for a nicer performace?
any help is greatly appreciated.
thank you