|
Hi All
I am a new user of vb.net so i havent quite found my feet yet, the question i have im hoping a gaurdian angel can answer ASAP as i have to implement it ASAP
: I want to find out how to check the size/status of an email account eg: a user must get notification everytime a new message is recieved in their mail account(eg yahoo) so what should happen(i think) is that a query be run constantly(in loop) that will check the size of the account and if the size increases from the last state a message box should appear stating a new message recieved.
I dont want to do this through outlook but i dont know how to do it in VB HELP
|
|
|
|
|
email clients implementing email protocols
like pop3 which have commands to get this info
you check at interval time by using timer
Pop3 Protocol[^]
|
|
|
|
|
How can we check to see if a directory is empty?
I need to delete directories whenever they're empty.
E.g. <c:\example\hi.txt> If i delete the Hi.txt, the application should know that there are no more files in C:\Example, thus it will delete this entire directory as well.
|
|
|
|
|
If you're using VB.NET, see this.[^]
<italic>Work hard, Work effectively.
|
|
|
|
|
Hi guys, wonder whether any of you guys have any good links to tutorials that teach you how to make our vb.net program access the notepad and enter data in it and all. Or better yet, make out program straight make a *.txt file and input data into it.. I tried searching around and couldn't find any.. Any help offered is greatly appreciated...Thanz
|
|
|
|
|
VB6 or VB.NET ? Either way, creating a .txt file is pretty trivial, you should google for it. Manipulating Notepad is sure the hard way to go about doing that, by a significant degree.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
VB.net... Yea, did that, came out empty handed.. Googled it, and even search for it here in Codeproject.. But the first time I search here, there was one article on it, but couldn't access it because of page not availble or something,. reload the search page and the article is gone...Any other ideas?
|
|
|
|
|
|
Man, u guys make it seem so easy... Hahaha,
Once again, I am deeply indebted to you, Christian Grauz. Thanz man...
|
|
|
|
|
Hi! Anybody can help me how to add databind of simple combobbox to a listview using vb.net like many items in property box contains boolean values you can select either true of false
|
|
|
|
|
What do you want to do ? How do you want to select boolean items ? Do you want to embeed a combobox in a listview ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Yes i want to embed a combobox in a listview so that i select items directly from listview For example In an order filling form .
|
|
|
|
|
I doubt you can do that. A datagrid may allow you to do that, I'd give that a 95% chance of being the case.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I'll much thankful to you if you can tell me how to add a combobox in a datgrid , i'll be your fast friend
|
|
|
|
|
|
Thank you Graus i'm going to check it now , Anyone who helps you is your friend "A friend in need is friend in deed now we are friends"
Thanks alot!
|
|
|
|
|
hi, can anyone help me on how to add a row of data in an existing datagird, can i add new row of data without using database or hidden row in datagrid? i have a webform which creates pop up. In that pop up, the users are required to key in data, and the data will add to the datagrid in the main page. i cannot add a new row of data there...
i am new to vb.net, anyone can help? thanks in advance
|
|
|
|
|
Is there a single command that will tell me if an Array = nothing i.e. no data in array
This would be a 2 dimensional array. What I am looking for is something list this
If Array <> Nothing then
****do something
else
****do something else
endif
|
|
|
|
|
(In .NET) You are right about the <> Nothing part, but if the array has been initialized then this will not work. You could try If (Array.Length > 0 Then), this will tell you if anything is in the array if it has already been initialized.
|
|
|
|
|
hi there ,
say i have a few tables ... is it possible to search for the data i want by using a form .. ??
i have done so by using filters .. but is there other ways of doing it ?? 1 more thing .. i can only filter by the data in the columns , but what if i want to display only the few columns i select in the form ... how do i go about it ...
<br />
pnl.text , pf.text and product.text are combo boxes .. the rest of the combo boxes contain columns as the data not rows ...<br />
<br />
If pnl.Text = "ON" Then<br />
Range("B6:CJ178").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
ElseIf pnl.Text = "OFF" Then<br />
Range("B180:CJ291").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
ElseIf pnl.Text = "ON & OFF" Then<br />
Range("B293:CJ504").Select<br />
<br />
Selection.AutoFilter Field:=1, Criteria1:=pf.Text<br />
Selection.AutoFilter Field:=2, Criteria1:=product.Text<br />
<br />
End If<br />
|
|
|
|
|
Hi
Could anyone help me with a small problem. I am trying to print using vb.net. I can use the following line of code to print using vb6.
Printer.Print "Reference No.: " & frmWorkOrder.txtFindWO.Text
How do I do the same in VB.net
Thanks
|
|
|
|
|
Is it possible to simulate the following key press sequence in a VB program.
Sequence <alt> <prnt scrn="">
i.e. so it acts as if these keys were actually pressed.
Thanks,
|
|
|
|
|
The sequence was ALT PRNT SCRN, but used angle brackets so not show in original post.
|
|
|
|
|
hi , can anyone help me please?
i'm new to the vb.net
i want to download web pages from the web into local files , i used URLDownloadToFile from the microsoft site :
Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _
(ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Dim llRetVal As Long
llRetVal = URLDownloadToFile(0, "http://www.yahoo.com", "c:\Temp.htm", 0, 0)
but nothing happened .
why?
|
|
|
|
|
You used the declaration for VB6, which won't work in VB.NET because the type names are now different sizes. By this, I mean that in VB6, a Long is a 32-bit signed integer. In VB.NET, the Long type is a 64-bit signed integer. The declaration should be:
Private Declare Auto Function URLDownloadToFile Lib "urlmon" _
(ByVal pCaller As IntPtr, ByVal szURL As String, ByVal szFileName As String, _
ByVal dwReserved As Integer, ByVal lpfnCB As IntPtr) As Integer
You'll call this with:
Dim returnCode as Integer
returnCode = URLDownloadToFile( IntPtr.Zero, "http://www.whatever.com", "C:\MyDownloadedStuff", 0, IntPtr.Zero )
I don't know if it'll work exactly like this because I haven't tried it...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|