Hi,
on button click I want to open new window each time. Currently when I m click on button second time then my new window is replaced with my original window.
We can do it in hyperlink by target="_blank" . But what for button ?
So, each time new popup window should be open.
My code is as following :
Dim onlineWindow As String
Dim onheightOff, onwidthOff As Integer
Dim onheightOn, onwidthOn As Integer
onheightOff = 555
onwidthOff = 565
onheightOn = 600
onwidthOn = 600
onlineWindow = "javascript : window.open(""v isitor.aspx?cid =" & strChatId & """,""ChatWindo w"",""toolbar=n o,location=no,d irectories=no,s tatus=yes,scrol lbars=no,resiza ble=no,copyhist ory=no,width=" & onwidthOn & ",height=" & onheightOn & """);"
btnSubmit.Attri butes.Add("oncl ick()", onlineWindow)
1 4682
Hi,
window.open( URL ,Name,Features, wReplace)
Use the Last Replace parameter to achieve your requirement.
Its a boolean parameter and make it as false.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: William Gill |
last post by:
I am trying to make a simple data editor in Tkinter where each data
element has a corresponding Entry widget. I have tried to use the
FocusIn/FocusOut events to set a 'hasChanged' flag (if a record has not
changed, the db doesn’t need updating). This seems to work fine except
that when the user finishes and clicks a ‘done’ button or the close
window button (in the root widget) no FocusOut event is triggered. I
can trigger a FocusOut...
|
by: Shiperton Henethe |
last post by:
Hi
Can anyone tell me how to open up a new normal, full-sized
browser window from a small popup window?
I'm using something like this.
<script language="javascript">
<!--
|
by: Mochuelo |
last post by:
Hi,
I know what "new" (and "delete") does in C++, which I've used for
years. I have worked with C# for some time, too, but ok, there are
some curious things about "new" in C# that I still don't grab. For
instance, independently on when the garbage collector kicks in, the
following code should make the amount of memory assigned to my
application grow from A to B and from B to C, right? Well, it doesn't.
At point A: 21488 KB.
|
by: Giorgio |
last post by:
Hi,
I have a dropdown menu with categories and when a category is selected
the Gridview is binded with sub-categories. Then when a sub-category is
selected a detailsview is displayed side-by-side to the gridview and
then I can click on "new" and isert a new subcategory or edit and
update the sub-category.
My problem is that when a category doesn't have any sub-categories then
the Gridview is not displayed therefore there's no way I can...
|
by: Kevin Frey |
last post by:
We have a web application that, for the purposes of reporting, launches a
new window to display the contents of the report in (PDF format). This is
implemented using a custom IHttpHandler implementation in our project.
The report is launched by a standard hyperlink with a target="blank" to
force the new window.
The one problem I have noticed is that if the user leaves the "launcher"
page open a long time, the web server will invariably...
| |
by: R Reyes |
last post by:
Hi,
For some reason, the website I made does not open pages in a new page
whenever I right-click "Open in New Tab" or "Open in New Window". But, as
soon as I navigate to any other website, the open in new tab/window button
works for them.
Is there some setting I am missing that allows this to feature to work
correctly? I don't have any code purposely preventing pages from being
opened in the same window...don't know why that happens.
|
by: mlw |
last post by:
Do not take anything about this, it is not a flame or troll, while I'm not
new to Java I favor C++. However, I may need to use it in a contract
position, and am concerned that the restrictions it places on application
code.
Take, for instance, this C++ construct:
class foo
{
char *m_name;
|
by: Lloyd Bonafide |
last post by:
I followed a link to James Kanze's web site in another thread and was
surprised to read this comment by a link to a GC:
"I can't imagine writing C++ without it"
How many of you c.l.c++'ers use one, and in what percentage of your
projects is one used? I have never used one in personal or professional
C++ programming. Am I a holdover to days gone by?
|
by: Medvedev |
last post by:
i see serveral source codes , and i found they almost only use "new"
and "delete" keywords to make they object.
Why should i do that , and as i know the object is going to be destroy
by itself at the end of the app
for example:
class test
{
public:
int x;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |