Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I pass values between forms in a VB .NET application?

application forms pass values VB
0
10 Posted

How can I pass values between forms in a VB .NET application?

0
10

You can specify some public variables in a module and use them in any form (e.g. you can specify and use the values of v1 and v2 in any of your forms after you declare “Public v1 As String, v2 As String” in a module). – 56. When I used my web service routine to access the Access file, I got the error: The Microsoft Jet database engine cannot open the file ‘c:\northwind\northwind.mdb’. It is already opened exclusively by another user, or you need permission to view its data. It worked on my local server and some network servers but not on a hosting web server. Do you have any suggestion? A: Check the web method that gave you that error. If you used DAO in the problem web method you need to to rewrite the routine and use ADOX, ADODB or OleDB.

0

You can specify some public variables in a module and use them in any form (e.g. you can specify and use the values of v1 and v2 in any of your forms after you declare “Public v1 As String, v2 As String” in a module). – 56. When I used my web service routine to access the Access file, I got the error: The Microsoft Jet database engine cannot open the file ‘c:\northwind\northwind.mdb’. It is already opened exclusively by another user, or you need permission to view its data. It worked on my local server and some network servers but not on a hosting web server. Do you have any suggestion? A: You could get the above server error because the default ASPNET account does not have permission to view the database. You need to add to the web.config file. For a website hosted on a Vista you may need to change Advanced Security Settings for the web folder.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123