473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VB.NET: Email and Popups in VB.NET

Hi friends

I am makin a system in VB.Net . Currently I am facing two problems.

Problem 1 : I cannot add Send Email functionality as I do not know how to write the code.

Problem 2: When i refresh the page ,which i need to do every 5 secs as the data gets updated from the RFID reader, the popup forms get closed automatically. I need to make these forms in separate tabs. I cannot do so as i do not know how to make UI in Separate tabs .

Kindly help me out in these two issues as the product launch date is near. I hope you people can realize how imp it is

Thank You
With regards
Nov 17 '08 #1
5 1799
Frinavale
9,735 Expert Mod 8TB
Hi kushagra tiwari,

Welcome to the .NET forum.
I have changed your title to better reflect your problem. In the future please use a title that is more descriptive of the problem that you are facing. This will help you get your question answered much more quickly. Check out How to get a faster answer to your question for more details on how to format your title in the .NET forum. Also, when you have time, please check out the posting guidelines.

Problem 1 : I cannot add Send Email functionality as I do not know how to write the code.
Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics.

For instance, if you had searched this forum, you would have come across this article outlining a quick reference on how to use email.

Problem 2: When i refresh the page ,which i need to do every 5 secs as the data gets updated from the RFID reader, the popup forms get closed automatically. I need to make these forms in separate tabs. I cannot do so as i do not know how to make UI in Separate tabs .
Tabs are handled by the web browser. Since most web broswers don't let you manipulate the functionality of their tabs I think you are going to have great difficulty managing your tabs.

You can implement a timer on each page/tab using JavaScript...if these pages were opened with JavaScript in the first place you should have no problem using JavaScript to close them after the allotted time has passed.

-Frinny
Nov 17 '08 #2
Hi kushagra tiwari,

Welcome to the .NET forum.
I have changed your title to better reflect your problem. In the future please use a title that is more descriptive of the problem that you are facing. This will help you get your question answered much more quickly. Check out How to get a faster answer to your question for more details on how to format your title in the .NET forum. Also, when you have time, please check out the posting guidelines.



Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics.

For instance, if you had searched this forum, you would have come across this article outlining a quick reference on how to use email.



Tabs are handled by the web browser. Since most web broswers don't let you manipulate the functionality of their tabs I think you are going to have great difficulty managing your tabs.

You can implement a timer on each page/tab using JavaScript...if these pages were opened with JavaScript in the first place you should have no problem using JavaScript to close them after the allotted time has passed.

-Frinny
Hi frinny

You are right in sayin that popups are made of javascript. but the refresh time is of 5 sec and the popup forms are also require user and admins to enter or edit various kinds of details . So 5 sec is very less time for that and on refreshing the popup closes. thats why i needed to make these popups in seperate tabs ...plz tell if dere is a beter way to do or tell how to manage tabs

Thank you for ur help and support ..lukin frwd to rply
Nov 18 '08 #3
Frinavale
9,735 Expert Mod 8TB
..So 5 sec is very less time for that and on refreshing the popup closes.
I don't understand why your popups close when your page refreses unless you are using Panels (or <div>s) to serve as your popup.

What are you referring to when you are talking about "popups"?

thats why i needed to make these popups in seperate tabs ...plz tell if dere is a beter way to do or tell how to manage tabs
When the user clicks the Link or Button you could specify that it be opened in a new window by setting the target="_blank".

For example, the following hyperlink will open the page in a new window:
<a target="_blank" href="thePageURL"> click here </a>

Some browsers will open the page in a new window, where others will open the page in a new tab.

There is no way to ask the user's browser to open the content in a new tab. It all depends on how the browser treats the target="_blank".

If you're using Panels (or <div>s) to display your popups you may be able to get around the issue of the content closing when the page refreshes by placing the content that updates within UpdatePanels.

-Frinny
Nov 18 '08 #4
I don't understand why your popups close when your page refreses unless you are using Panels (or <div>s) to serve as your popup.

What are you referring to when you are talking about "popups"?



When the user clicks the Link or Button you could specify that it be opened in a new window by setting the target="_blank".

For example, the following hyperlink will open the page in a new window:
<a target="_blank" href="thePageURL"> click here </a>

Some browsers will open the page in a new window, where others will open the page in a new tab.

There is no way to ask the user's browser to open the content in a new tab. It all depends on how the browser treats the target="_blank".

If you're using Panels (or <div>s) to display your popups you may be able to get around the issue of the content closing when the page refreshes by placing the content that updates within UpdatePanels.

-Frinny

Hi Frinny

The code is written in VB.net and not ASP.net . Also, in the VB code part the Javascript is written to call the popup e.g Response.write" <Script>" and so on
the window dimensions and all are given. I think that in VB.Net the popup closes when the Parent Form Refreshes. So i Need to figure out a way that this does not happen.

Another Bug cropped up while testing is that on refreshing ,the Parent Page scrolls back on the top. This is very annoying as the Client wont be able to see the details. Is there a way we can stop this. An e.g which comes to my mind is the way Yahoo ppl implement it in their sites . On yahoo sports , on refresh of the page the scroll bar or the page stays dere only
Nov 18 '08 #5
Frinavale
9,735 Expert Mod 8TB
The code is written in VB.net and not ASP.net
How can this not be an ASP.NET application??????
Are you developing a web application or desktop application?
Nov 18 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Art | last post by:
NEWBIE ALERT! Esteemed List Participants and Lurkers: (System: P-II 350, 192 meg, Win98 SE, Python 2.2.3, wxPythonWIN32-2.4.1.2-Py22.exe) I'm having a lot of fun getting started with Python...
52
by: Harlan Messinger | last post by:
Can you help me figure out what to do about popups? Sometimes we develop web applications where popups make very good sense for precisely the same reasons they make sense in traditional...
7
by: Bob Wightman | last post by:
I've had a look through the archives but cannot find anything that really answers this so... I have a menu system composed of a series of "buttons" (actually span elements) that react to the...
3
by: PSERVE | last post by:
Is the a way of preventing popups from other sites while your page is loading? -- Regards Nik http://www.itconsultancy.org
6
by: Todd | last post by:
Hello, How do I register and non .net dll(with the OS) in a .net enviroment? I have a third party dll I need to register(REGSVR32.EXE). What is the best approach to this in a .Net enviroment. ...
6
by: szabelin | last post by:
Hello, I am trying to call a function inside the javascript block from asp.net during the postback (NOT button's OnClick event handler though). The javascript function creates new popup window. I...
24
by: Rob R. Ainscough | last post by:
I was reading yet another book on .NET - VB 2005 Professional (wrox) and read the statement; "Microsoft has staked their future on .NET and publicly stated that henceforth almost all their...
4
by: dd | last post by:
I have a scenario where my popups are being blocked by IE6+ and Firefox. The problem is that although the popup is a direct result of the user clicking on the link (meaning that they WANT the...
1
by: YotamElal | last post by:
Hello, I have a popup problem. When a popup is opened, I want all other popups to close immediatly. (except for its self and it's child popups) Here is my code: code: <!DOCTYPE HTML PUBLIC...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.