|
hi all,
I have made simple windows based application to illustrate the event fire when we click on the stop debugging button in VS 2008.
Actually, When i click on the "close" button of the form in the running application . It invokes the method as mentioned in the "form_load" event
e.g.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = "Hello"
AddHandler System.Windows.Forms.Application.ApplicationExit, AddressOf abcMethod
End Sub
Private Sub abcMethod()
End Sub
but when i directly click on the "stop" debugging in the menu option in VS 2008,it doesn't go to the breakpoint inserted at the form_load event. I want to know which event fires at click of the stop debugging button in the menu option in vs 2008.
Thank you
|
|
|
|
|
Wrong forum: delete your post and move it to the c# forum.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
|
Maybe the .Net Framework Forum as it is a Visual Studio question really, or possibly the vb forum as that is the programing language used in the question, but the c# forum is a definite no, no.
|
|
|
|
|
Stop debugging will never hit any event in your application code. It issues a Process Kill and unloads the application immediately.
|
|
|
|
|
hi
is there any code or process for opera,mozila that after logout i cant able to back to old logining page through click on back menu.
Thanks
|
|
|
|
|
When you logout ,clear all sessions.
And clear the cache also.
|
|
|
|
|
Not Able to Clear cache of Opera but work fine in IE
|
|
|
|
|
write this code
onload="window.history.forward(1);"
in Body tag of the page to which ur redirecting after Click of LogoutRashmi.M.K
|
|
|
|
|
Thank for reply.
Its is work fine in IE but not in Opera.If any way is there plz tell me.
|
|
|
|
|
|
|
Could you post your code please?
|
|
|
|
|
from one sqlsever2000 i have two database employeedb and companydb .how to create the connection string for this using asp.net with c#. give me simple example not a query.
|
|
|
|
|
developerit wrote: from one sqlsever2000 i have two database employeedb and companydb
You have to create 2 connection strings in web.config file..!
or
if You have to use it in code get the data source dynamically.
but its a bad idea to give connection string in code..!
Here is a link for connection strings..!
http://www.connectionstrings.com/[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
the site http://www.connectrings.com is giving idea for single connection string....i want for two connection string, can you give simple example
|
|
|
|
|
developerit wrote: i want for two connection string,
What do u mean by tht..!
You need to add 2 connection strings in web.config file..!
<appSettings> <add key="connectionString1" value="User Id=User ID;password=XXXX;Initial Catalog=company;Data Source=Name;Packet Size=4096"/>
<add key="connectionString2" value="User Id=User ID;password=XXXX;Initial Catalog=employee;Data Source=Name;Packet Size=4096"/> </appSettings>
Then If u want to call thr code..!if u want to call first connection string specify the name in the value like ConnectionString1/Connectionstring2
ConfigurationSettings.AppSettings["ConnectionString1"];<br />
ConfigurationSettings.AppSettings["ConnectionString2"];
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
You already asked this and got a good answer. Did you not understand the answers?Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
before the community was posted is the querry but i want the connection string for two database using asp.net with c#, can you give a simple example
|
|
|
|
|
If you can't get it form all the information you have been given you are in the wrong job. Read through all of the posts again: it is all there.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
why do u use 2 connection strings.
U create a login which has the access of two databases.and mention the login in your connection string.
|
|
|
|
|
hello all,
i want to create dynamic textboxes when i press enter keybutton.i dont know how to write code.
i want in asp.net with vb.net
plz help me.
|
|
|
|
|
|
thanku very much sir .its working
|
|
|
|
|
Glad To Hear tht Mam ..!
But Dont Forget to mark it as answer if it really helps..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|