Hi I think you can use expression vbNull! something like this: If you have a function like: Private Function LoadData() As DataReader So your code can be like this: If LoadData = vbNull Then . . . End IfYou can find more about it on MSDN(search for VisualBasic Namespace). Hope it can help Have a nice programming day
namazikhah
Posts
-
Checking for a void -
hurry plz!!!!(activex control or how to use optical pen & too scanner in vb.netHi friend! there were great sample code on the web even in code project! you can see the link below on codeproject, I think it can help you alot. 1. http://www.codeproject.com/dotnet/wiascriptingdotnet.asp?df=100&forumid=3908&exp=0&select=839885 2. http://www.codeproject.com/dotnet/twaindotnet.asp you can find more active x on web but you have to buy them. hope it could help you! have a nice programming day!;)
-
How to parse a string with double quoteshi have you test the String.Split method? or you need something more than it?
-
Form Loadinghi, if you want to reset some of you form properties or change them you can go to windows form desirner generated code and in InitializedComponent you will see the properties of each component on your form(they are seperated with comments) then you can chenge them. If you delete a line of code it means that you have reset it! If you like to have a better performance you can use property windows(View>property windows or F4) if you want to reset a property right click on it and then select reset. thats all! have a nice programming day!