Hi,
I am writing some VB.NET code that compiles to a dll. There is some
code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because
sometimes Powerpoint is remaining running (powerpnt.exe in Task
Manager). One action of my smart tags calls InsertChart (code below).
The designated line causes powerpoint to remain running even after the
user has manually closed the program--when that line is commented out,
powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the
active presentation (and would require a save), powerpoint doesn't exit.
If I don't actually change the presentation, it exits fine. (I
replaced the troublesome line below with one that changed the text of a
text box and had the same problem.)
If anyone has some insight into what's going on and how I need to
properly release my references to Powerpoint, I would be most
appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range
Public Sub InsertChart(ByV al target As Object, ByVal imagePath As
String) Implements IOfficeInteract .InsertChart
Dim pptApp As PowerPoint.Appl ication
Dim rng As PowerPoint.Text Range
Dim shp As PowerPoint.Shap e
Try
'try to grab powerpoint from target
rng = DirectCast(targ et, PowerPoint.Text Range)
pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED,
POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES
SUCCESSFULLY ********
'shp =
pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _
' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse,
Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _
' 0, 0, 100, 100)
*************** *******
Catch ex As Exception
MsgBox("PPT:Err or inserting chart:" & ex.Message)
End Try
'clean up is important so that references aren't left in memory
Try
If Not pptApp Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp)
End If
If Not rng Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(rng)
End If
If Not shp Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(shp)
End If
If Not target Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(targ et)
End If
Catch ex As Exception
'just eat it at this point
MsgBox("PPT Clean UP ERror: " & ex.Message)
End Try
End Sub 6 3389
This doesn't solve your problem but you might consider a hack.
Save the modified PPT under temp name. Delete the modifed PPT. Then Release
the refs as currently done to make it close.
"C Williams" wrote: Hi,
I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the program--when that line is commented out, powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the active presentation (and would require a save), powerpoint doesn't exit. If I don't actually change the presentation, it exits fine. (I replaced the troublesome line below with one that changed the text of a text box and had the same problem.)
If anyone has some insight into what's going on and how I need to properly release my references to Powerpoint, I would be most appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range Public Sub InsertChart(ByV al target As Object, ByVal imagePath As String) Implements IOfficeInteract .InsertChart Dim pptApp As PowerPoint.Appl ication Dim rng As PowerPoint.Text Range Dim shp As PowerPoint.Shap e
Try 'try to grab powerpoint from target rng = DirectCast(targ et, PowerPoint.Text Range) pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED, POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES SUCCESSFULLY ******** 'shp = pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _ ' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse, Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _ ' 0, 0, 100, 100)
*************** *******
Catch ex As Exception MsgBox("PPT:Err or inserting chart:" & ex.Message) End Try
'clean up is important so that references aren't left in memory Try If Not pptApp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp) End If If Not rng Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(rng) End If If Not shp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(shp) End If If Not target Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(targ et) End If
Catch ex As Exception 'just eat it at this point MsgBox("PPT Clean UP ERror: " & ex.Message) End Try End Sub
Hi,
Add GC.Collect after you release the com objects.
Ken
----------------
"C Williams" <no****@thank.y ou> wrote in message
news:RNotd.5342 $Wy.250@trndny0 6...
Hi,
I am writing some VB.NET code that compiles to a dll. There is some
code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because
sometimes Powerpoint is remaining running (powerpnt.exe in Task
Manager). One action of my smart tags calls InsertChart (code below).
The designated line causes powerpoint to remain running even after the
user has manually closed the program--when that line is commented out,
powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the
active presentation (and would require a save), powerpoint doesn't exit.
If I don't actually change the presentation, it exits fine. (I
replaced the troublesome line below with one that changed the text of a
text box and had the same problem.)
If anyone has some insight into what's going on and how I need to
properly release my references to Powerpoint, I would be most
appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range
Public Sub InsertChart(ByV al target As Object, ByVal imagePath As
String) Implements IOfficeInteract .InsertChart
Dim pptApp As PowerPoint.Appl ication
Dim rng As PowerPoint.Text Range
Dim shp As PowerPoint.Shap e
Try
'try to grab powerpoint from target
rng = DirectCast(targ et, PowerPoint.Text Range)
pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED,
POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES
SUCCESSFULLY ********
'shp =
pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _
' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse,
Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _
' 0, 0, 100, 100)
*************** *******
Catch ex As Exception
MsgBox("PPT:Err or inserting chart:" & ex.Message)
End Try
'clean up is important so that references aren't left in memory
Try
If Not pptApp Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp)
End If
If Not rng Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(rng)
End If
If Not shp Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(shp)
End If
If Not target Is Nothing Then
System.Runtime. InteropServices .Marshal.Releas eComObject(targ et)
End If
Catch ex As Exception
'just eat it at this point
MsgBox("PPT Clean UP ERror: " & ex.Message)
End Try
End Sub
Casey,
Have you tried calling Close and Exit/Quit on your pptApp? I believe
you need to do this before releasing the reference to them. I don't have
the reference up just now so I don't remember whether the call is Exit or
Quit.
Ron Allen
"C Williams" <no****@thank.y ou> wrote in message
news:RNotd.5342 $Wy.250@trndny0 6... Hi,
I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the program--when that line is commented out, powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the active presentation (and would require a save), powerpoint doesn't exit. If I don't actually change the presentation, it exits fine. (I replaced the troublesome line below with one that changed the text of a text box and had the same problem.)
If anyone has some insight into what's going on and how I need to properly release my references to Powerpoint, I would be most appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range Public Sub InsertChart(ByV al target As Object, ByVal imagePath As String) Implements IOfficeInteract .InsertChart Dim pptApp As PowerPoint.Appl ication Dim rng As PowerPoint.Text Range Dim shp As PowerPoint.Shap e
Try 'try to grab powerpoint from target rng = DirectCast(targ et, PowerPoint.Text Range) pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED, POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES SUCCESSFULLY ******** 'shp = pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _ ' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse, Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _ ' 0, 0, 100, 100)
*************** *******
Catch ex As Exception MsgBox("PPT:Err or inserting chart:" & ex.Message) End Try
'clean up is important so that references aren't left in memory Try If Not pptApp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp) End If If Not rng Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(rng) End If If Not shp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(shp) End If If Not target Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(targ et) End If
Catch ex As Exception 'just eat it at this point MsgBox("PPT Clean UP ERror: " & ex.Message) End Try End Sub
Thank you, Ken. I'm kicking myself for that one because I WAS garbage
collecting earlier and I removed it for testing reasons but then forgot
to put it back in.
Thanks!
Ken Tucker [MVP] wrote: Hi,
Add GC.Collect after you release the com objects.
Ken ----------------
"C Williams" <no****@thank.y ou> wrote in message news:RNotd.5342 $Wy.250@trndny0 6... Hi,
I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the program--when that line is commented out, powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the active presentation (and would require a save), powerpoint doesn't exit. If I don't actually change the presentation, it exits fine. (I replaced the troublesome line below with one that changed the text of a text box and had the same problem.)
If anyone has some insight into what's going on and how I need to properly release my references to Powerpoint, I would be most appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range Public Sub InsertChart(ByV al target As Object, ByVal imagePath As String) Implements IOfficeInteract .InsertChart Dim pptApp As PowerPoint.Appl ication Dim rng As PowerPoint.Text Range Dim shp As PowerPoint.Shap e
Try 'try to grab powerpoint from target rng = DirectCast(targ et, PowerPoint.Text Range) pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED, POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES SUCCESSFULLY ******** 'shp = pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _ ' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse, Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _ ' 0, 0, 100, 100)
*************** *******
Catch ex As Exception MsgBox("PPT:Err or inserting chart:" & ex.Message) End Try
'clean up is important so that references aren't left in memory Try If Not pptApp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp) End If If Not rng Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(rng) End If If Not shp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(shp) End If If Not target Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(targ et) End If
Catch ex As Exception 'just eat it at this point MsgBox("PPT Clean UP ERror: " & ex.Message) End Try End Sub
Hi C Williams,
You are getting close with the previous suggestions, but PowerPoint does not
like to give up without a fight. Use the following set of code at the end of
your method:
ppApp.Quit()
ppApp = DBNull.Value
GC.Collect
GC.WaitForPendi ngFinalizers()
GC.Collect
GC.WaitForPendi ngFinalizers()
(then the end of your Try -- Catch -- End Try
One needs to do the Garbage Collection Collect and WaitForPendingF inalizers
methods twice to make sure it clears out everything. Sometimes it does not.
Get a copy of Andrew Whitechapel's book "Microsoft .Net Development for
Microsoft Office", MicrosoftPress, ISBN 0-7356-2132-2. While the book is
heavy on Word and Excel and very light on PowerPoint, Whitechapel does a very
good job of explaining the need for good and complete garbage collection when
using the Office applications.
Good luck and enjoy.
Will
"C Williams" wrote: Hi,
I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the program--when that line is commented out, powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the active presentation (and would require a save), powerpoint doesn't exit. If I don't actually change the presentation, it exits fine. (I replaced the troublesome line below with one that changed the text of a text box and had the same problem.)
If anyone has some insight into what's going on and how I need to properly release my references to Powerpoint, I would be most appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range Public Sub InsertChart(ByV al target As Object, ByVal imagePath As String) Implements IOfficeInteract .InsertChart Dim pptApp As PowerPoint.Appl ication Dim rng As PowerPoint.Text Range Dim shp As PowerPoint.Shap e
Try 'try to grab powerpoint from target rng = DirectCast(targ et, PowerPoint.Text Range) pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED, POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES SUCCESSFULLY ******** 'shp = pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _ ' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse, Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _ ' 0, 0, 100, 100)
*************** *******
Catch ex As Exception MsgBox("PPT:Err or inserting chart:" & ex.Message) End Try
'clean up is important so that references aren't left in memory Try If Not pptApp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp) End If If Not rng Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(rng) End If If Not shp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(shp) End If If Not target Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(targ et) End If
Catch ex As Exception 'just eat it at this point MsgBox("PPT Clean UP ERror: " & ex.Message) End Try End Sub
One correction to my previous listing of 1/3/2005:
Change line 2 from ppApp = DBNull.Value to ppApp = Nothing
ppApp = DBNull.Value will cause an InvalidCastExce ption. Of course, Option
Strict turned on will catch the casting exceptions.
Will
"WillRead" wrote: Hi C Williams,
You are getting close with the previous suggestions, but PowerPoint does not like to give up without a fight. Use the following set of code at the end of your method:
ppApp.Quit() ppApp = DBNull.Value GC.Collect GC.WaitForPendi ngFinalizers() GC.Collect GC.WaitForPendi ngFinalizers()
(then the end of your Try -- Catch -- End Try
One needs to do the Garbage Collection Collect and WaitForPendingF inalizers methods twice to make sure it clears out everything. Sometimes it does not.
Get a copy of Andrew Whitechapel's book "Microsoft .Net Development for Microsoft Office", MicrosoftPress, ISBN 0-7356-2132-2. While the book is heavy on Word and Excel and very light on PowerPoint, Whitechapel does a very good job of explaining the need for good and complete garbage collection when using the Office applications.
Good luck and enjoy.
Will "C Williams" wrote:
Hi,
I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the program--when that line is commented out, powerpoint exits successfully.
Some quick testing I have done indicates that when my code changes the active presentation (and would require a save), powerpoint doesn't exit. If I don't actually change the presentation, it exits fine. (I replaced the troublesome line below with one that changed the text of a text box and had the same problem.)
If anyone has some insight into what's going on and how I need to properly release my references to Powerpoint, I would be most appreciative!
Thanks!
-Casey
'target is of type Powerpoint.Text Range Public Sub InsertChart(ByV al target As Object, ByVal imagePath As String) Implements IOfficeInteract .InsertChart Dim pptApp As PowerPoint.Appl ication Dim rng As PowerPoint.Text Range Dim shp As PowerPoint.Shap e
Try 'try to grab powerpoint from target rng = DirectCast(targ et, PowerPoint.Text Range) pptApp = rng.Application
*****THE FOLLOWING LINE CAUSES THE PROBLEM. WHEN IT ISN'T COMMENTED, POWERPOINT REMAINS RUNNING, WHEN IT IS COMMENTED, POWERPOINT CLOSES SUCCESSFULLY ******** 'shp = pptApp.ActiveWi ndow.Selection. SlideRange.Shap es.AddPicture(i magePath, _ ' Microsoft.Offic e.Core.MsoTriSt ate.msoFalse, Microsoft.Offic e.Core.MsoTriSt ate.msoTrue, _ ' 0, 0, 100, 100)
*************** *******
Catch ex As Exception MsgBox("PPT:Err or inserting chart:" & ex.Message) End Try
'clean up is important so that references aren't left in memory Try If Not pptApp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(pptA pp) End If If Not rng Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(rng) End If If Not shp Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(shp) End If If Not target Is Nothing Then System.Runtime. InteropServices .Marshal.Releas eComObject(targ et) End If
Catch ex As Exception 'just eat it at this point MsgBox("PPT Clean UP ERror: " & ex.Message) End Try End Sub This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ata |
last post by:
Hello,
I am trying to copy the contents of the output of SQL Reporting Services to
a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an
IMAGE stream, which I paste to the Windows clipboard. Then, using automation,
I am trying to copy this information from the clipboard to a PowerPoint
slide. However, I get an error...
|
by: WillRead |
last post by:
I have a VB.Net application and a PowerPoint presentation explaining how each
form in the application works, etc.. I would like to select and display the
slide appropriate for each form by pressing the F1 key. In other words, I
want to use the powerpoint presentation for my help system. I am calling the
SlideShow from the applications menu,...
|
by: Colleyville Alan |
last post by:
I have an app that uses Access to grab various PowerPoint slides using the
followhyperlink command. I have set the PPT window to run in a minimized
state:
FollowHyperlink link
Set oPres = oPPT.ActivePresentation
oPPT.WindowState = ppWindowMinimized
Then I do the copy and paste part:
With oPres
|
by: Joseph |
last post by:
I am trying to open a 3 powerpoint presentation simultaneously afte
each other without interruption, the operator of the application doe
not need to notice anything or interfere in the operation of th
transition between the 3 presentations.
Let us say I have three powerpoint presentation Presentation 1
Presentation 2, and Presentation 3.
...
|
by: Marc Eggenberger |
last post by:
Hi there.
I have an webapp (asp.net) which should use powerpoint to create a
presentation and then send that presentation to the user.
I'm using VS2003 and Office2003 (project req.).
The webapp runs find but when I try to open powerpoint in my asp.net
code I get an error
| |
by: Rut |
last post by:
Does anyone know how to start powerpoint from vb.net without the ppt
screen appearing. I want to keep it hidden? Using this code:
Try
pp = New PowerPoint.Application
pp.Visible = Office.MsoTriState.msoTrue
pp.WindowState =
PowerPoint.PpWindowState.ppWindowMinimized
Application.DoEvents()
|
by: C Williams |
last post by:
Hi,
I am writing some VB.NET code that compiles to a dll. There is some
code within it that manipulates Powerpoint 2003.
The dll I am writing is for smart tags, and I am having trouble because
sometimes Powerpoint is remaining running (powerpnt.exe in Task
Manager). One action of my smart tags calls InsertChart (code below).
The...
|
by: chrizstone |
last post by:
Hi Guys,
What i want to do is:
I want to create a Slide programmatically where a Table is on it! Here´s my Code:
String strTemplate;
strTemplate = template;
String tableSlide = @"C:\Temp\TableSlide_" + guid.ToString();
|
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. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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.
| |