how do I postion a messagebox in a VB.net program?
816808
I don't think you can, I think it automatically defaults to the middle of the screen.  I know you can change the size of the message box, but I haven't seen any position changes.\n\nWhen I have VB questions, I like to check out this forum\nhttp://www.ipdg3.com/forums/forumdisplay.php?f=8\n\nMaybe they can help you.
134967
Yes, by using the BB code phrase manager. or just go to Vbulletin.org for more info.
798018
In the buttons click event create a New form and call its "Show()" or "ShowDialog()" methods.\n\nSub Btn_Click(sender As Object, e As System.EventArgs)\n\nDim newfrm as New Form\nnewfrm.Show()\n\nEnd Sub\n\nI personally use ShowDialog() more; because, it doesn't allow the user to access the main form again until the child form is closed.
861503
you will need to at least write (save) all the items in the listbox to a text file before the program exits so you can retrieve them later.\n\nwhen the program starts (in form load is the best place), then you would load them all back into the listbox by reading each line and using additem again.
123651
You can do it in Visual Basic by defining a subroutine that will be called just before the document is printed:\n\nPublic WithEvents appWord As Word.Application\n\nPrivate Sub appWord_DocumentBeforePrint _\n        (ByVal Doc As Document, _\n        Cancel As Boolean)\n\nDim s As Shape\n\nFor Each s In Doc.Shapes\nIf s.Type = msoTextBox Then\n    s.Line.Visible = msoFalse\n    End If\nNext s\n\nEnd Sub\n\nThe problem is, it's a little bit tricky getting this routine hooked into the application event handler.  Translation:  I didn't get it to work.  Look at the documentation for the DocumentBeforePrint event for details on what to do.
66876
Here's a pretty good one I wrote:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=58476&lngWId=1\n\nYou'll need Visual Basic to compile it or you can e-mail me and I'll send it to you...
592278
by using asp u can do as -------\n<%\nString val= request.getparameter("name of the text box")\ndocument.write(val);\n%>\n\nsave this page as .asp extension and palced it at webroot directory.\n\ncall this page from form action="/name.asp"
758087
You don't need two msgboxes.\n\nfor intCounter = 0 to lstListBox.Listcount-1\n   msgbox lstListBox.List(intCounter)\nnext intCounter\n\nthat should do it.
701124
Try to place your code inside a textarea field on a form. \n\neg\n\n<form>\n<textarea>your code</textarea>\n</form>
992875
could you be more specific?\n\nYou could do this in Java script. \n\ndepends upon what the Dialog box is supposed to do
1169309
You have to program a SMTP server and a client.it will keep different accounts and stores the messages and when you login it will show you your list.thus you can use JAVA with MS-Access.
22451
Do you want the program to retrieve the mails (like via a POP3 function) or to retrieve emails from another email client?\n\nThere are gobs of options to retrieve email with VB.Net and pop3.  Just google for it or check this sample article:  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun03282003.asp
198051
dim msg as MailMessage\nmsg=new MailMessage\n \nmsg.To = "abc@yahoo.com"\nmsg.From = "cdb@yahoo.com"\nmsg.Subject = "A msg for  " & request("problem")\n\nmsg.BodyFormat = MailFormat.Html\n\ndim stf as string\n\nstf="<h1>" & request("msg") & "</h1>" \nmsg.Body = stf\n\nSmtpMail.Send(msg)
667631
Add your HTML Code in the specified place \n\nReplace fieldname with the textbox name. For example if your text box name was "age", and it should redirect the user if the user is below 18 years, the statement should read:\nif (document.formname.age.value<18) {\n\n\n<form name="formname"> \n<!--- Your HTML here --->\n<input type="button" onclick="gotopage();"\n</form>\n<Script language="javascript">\nfunction gotopage()\n{\nif (document.formname.fieldname.value=="Option1") {\nlocation.href="page1.htm";\n}\nelse {\nlocation.href="page2.htm"; \n}\n}\n</script>
367046
your question is not quite clear, may be you can explain it to me and i hope i could be a help to you, I been working with Data Reports in VB6 lately, and it works fine with me.
401046
Set the action of your form as mailto:\n\n<form method="post" action="mailto:someone@somewhere.com">\n\nNote that this will invoke the user's e-mail program and compose the message; it will be up to the user to actually send you the message.\n\nIf you don't want to do that, you'll need a mail gateway of some sort, such as a Perl / CGI script, PHP's mail() function or ASP.NET's MailMessage() or Message() classes.\n\nCheck with your Web hosts to see what gateway you have, update your question here and I can be more specific.
666643
Put the following code in the <head> section of the html.\n\n<script type="text/javascript">\n<!--\nalert ("this is where your first message goes");\nalert ("this is where your second message goes");\nalert ("and so on");\n-->\n</script>\n\n\nHope this is waht you wanted\n\n - - - - - - - - - - - - - - - - - - - - - - - - \nhttp://www.3doms.com \nTechSupport@3doms.com (free)\n - - - - - - - - - - - - - - - - - - - - - - - -