I start my app using the Sub_Main() in a module, and from there it launches the first form called frmBackImg.
On the form_load event of frmBackImg it loads a setting (using "GetSetting" ) and it detects whether it is the first time the user runs this app or not.
If it is not the first time, it loads a form called frmWeather (after executing some other lines of codes needed in the form_load event ofc ).
Meanwhile, this is what is going on in frmWeather:
There are two DOM documents referenced to MSXML v. 3 and one checks a XML file for a node, while the other checks the same XML file for another node's attributes.
There are two error checks: one is to check whether there was any error while loading the XML target and the other one checks whether there was any error with parsing the XML. (thanks to a user here on the forums who helped me. Btw, all the names of those that really helped me here, will be in my app :) )
I am using the Personal Hotspot feature on my iPhone in order to connect my PC to the internet using my phone's network. But I have no credits on my phone, so the internet cannot be accessed although the PC is connected. So, when I launch my app, it freezes while executing the two error checks I think.
When I hover the mouse on the form, it turns to an hourglass, and if I click the form it freezes and Windows asks me to end the program or wait. I tried using DoEvents but it didn't work. I even added DoEvents after every line of the frmWeather_load events and it still freezes. When I am not connected to the internet the app doesn't freeze and it just shows that there is no internet connection so the Weather is not available. How can I solve this? Should I use the inet control to check whether the user is connected to the internet or not? Any suggestions? Thanks in advance :)
On the form_load event of frmBackImg it loads a setting (using "GetSetting" ) and it detects whether it is the first time the user runs this app or not.
If it is not the first time, it loads a form called frmWeather (after executing some other lines of codes needed in the form_load event ofc ).
Meanwhile, this is what is going on in frmWeather:
There are two DOM documents referenced to MSXML v. 3 and one checks a XML file for a node, while the other checks the same XML file for another node's attributes.
There are two error checks: one is to check whether there was any error while loading the XML target and the other one checks whether there was any error with parsing the XML. (thanks to a user here on the forums who helped me. Btw, all the names of those that really helped me here, will be in my app :) )
I am using the Personal Hotspot feature on my iPhone in order to connect my PC to the internet using my phone's network. But I have no credits on my phone, so the internet cannot be accessed although the PC is connected. So, when I launch my app, it freezes while executing the two error checks I think.
When I hover the mouse on the form, it turns to an hourglass, and if I click the form it freezes and Windows asks me to end the program or wait. I tried using DoEvents but it didn't work. I even added DoEvents after every line of the frmWeather_load events and it still freezes. When I am not connected to the internet the app doesn't freeze and it just shows that there is no internet connection so the Weather is not available. How can I solve this? Should I use the inet control to check whether the user is connected to the internet or not? Any suggestions? Thanks in advance :)