开发者

using timer to read file in vb.net

i'm trying to parse a huge csv file in vb.net application but it gets stuck...i think using timer will be a good option but i dont know how to implement fi开发者_如何学JAVAle reading through timer...can someone please guide me how to read a complete file through timer


If by stuck, you mean that your GUI stops functioning, you should consider running your parse function on a background thread. This will keep your UI functioning while your file is parsed.

Here is an article about implementing async callbacks in .Net. It's actually written in C#, but hopefully you can translate it VB.Net.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜