Wait .5 seconds before continuing code VB.net

I have a code and I want it to wait somewhere in the middle before going forward. After the WebBrowser1.Document.Window.DomWindow.execscript(“checkPasswordConfirm();”,”JavaScript”) I want it to wait .5 seconds and then do the rest of the code.

VB6 to VB.net conversion

There is one that comes with vb.net. When you open a .vbp vb6 project, it asks if you would like to automatically convert it to vb.net. It does a pretty good job, exclusive of third party add-ons.

.NET graph library around?

Use a combination of QuickGraph (GitHub, CodePlex) and Graph# for WPF (GitHub fork, CodePlex) – both top notch libraries. They work really well for me but the documentation for Graph# is almost non-existant.

How should I cast in VB.NET?

Those are all slightly different, and generally have an acceptable usage. var.ToString() is going to give you the string representation of an object, regardless of what type it is. Use this if var is not a string already. CStr(var) is the VB string cast operator. I’m not a VB guy, so I would suggest avoiding it, but it’s not … Read more

How to use \n new line in VB msgbox() …?

for VB: vbCrLf or vbNewLine for VB.NET: Environment.NewLine or vbCrLf or Constants.vbCrLf Info on VB.NET new line: http://msdn.microsoft.com/en-us/library/system.environment.newline.aspx The info for Environment.NewLine came from Cody Gray and J Vermeire

Cannot access a disposed object – How to fix?

Try checking the IsDisposed property before accessing the control. You can also check it on the FormClosing event, assuming you’re using the FormClosed event. We do stop the Timer on the FormClosing event and we do check the IsDisposed property on the schedule component before using it in the Timer Tick event but it doesn’t help. Calling GC.Collect before … Read more

Cannot access a disposed object – How to fix?

Try checking the IsDisposed property before accessing the control. You can also check it on the FormClosing event, assuming you’re using the FormClosed event. We do stop the Timer on the FormClosing event and we do check the IsDisposed property on the schedule component before using it in the Timer Tick event but it doesn’t help. Calling GC.Collect before … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)