473,672 Members | 2,600 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get a usercontrol to automatically add code to the initialization code in a form...

Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #1
21 1879
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #2
Terry,

No it's a Windows Form..

It refers to my question last week about data binding to a simple object. Which works fine... except that you need to manually add some code to databind the text boxes to the object in your main form...

I'm trying to get is so that somehow this step is automated.

I've created an inherited text box that allows me to enter the name of the object and the property to bind to. This is the easy bit.. I'm still working on some way of getting the actual binding to be "automatic" ie not require the binding code to be added manually. I'd therefore like the binding code to be added automatically in the control intialization code where it sets all the control properties.. or alternatively, find some way of doing the binding from the control itself, once the object and property names are set...

Does this make sense?

Regards
Simon
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eF******** ******@TK2MSFTN GP11.phx.gbl...
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #3
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft .com> scripsit:
I assume this is a webform you are talking about.


The OP mentioned "Windows Form"...

:-)

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
Hi Simon,

I might be entirely "off track" but if I understand your issue well, you could use a "IComponentChan geService".
I have created a Component which "Watches" all Components/Controls Added, Removed, Property Edited, ... on a Windows Form.
You could also use a "IComponentChan geService" directly in your Custom Control.

Having this done you could catch the "OnComponentAdd ed"-Event and put some code in it to set your bindings.

As I said: I'm not sure if I fully understood your problem, but if I did I think this might be a solution.

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Terry,

No it's a Windows Form..

It refers to my question last week about data binding to a simple object. Which works fine... except that you need to manually add some code to databind the text boxes to the object in your main form...

I'm trying to get is so that somehow this step is automated.

I've created an inherited text box that allows me to enter the name of the object and the property to bind to. This is the easy bit.. I'm still working on some way of getting the actual binding to be "automatic" ie not require the binding code to be added manually. I'd therefore like the binding code to be added automatically in the control intialization code where it sets all the control properties.. or alternatively, find some way of doing the binding from the control itself, once the object and property names are set...

Does this make sense?

Regards
Simon
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eF******** ******@TK2MSFTN GP11.phx.gbl...
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #5
Michael,

Thanks for the reply... I'm not 100% sure I'm following how I would use your advice!

I've done some more work on the subject, and ideally it looks like I need some way of dynamically "getting" the object that I want to bind to from within my control.

eg something like...

ObjectName="nam e_of_object_on_ form"
PropertyName="n ame_of_property _to bind_to"
dim obj as object
obj=XXXXXX(obje ctname) <---- this is the line I need which retrieves the object from the parent form.
me.databinding. add("text",obj, PropertyName)

I think if I could work this out then I would solve the problem?

Regards
Simon
"Michael Maes" <mi*****@merlot .com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi Simon,

I might be entirely "off track" but if I understand your issue well, you could use a "IComponentChan geService".
I have created a Component which "Watches" all Components/Controls Added, Removed, Property Edited, ... on a Windows Form.
You could also use a "IComponentChan geService" directly in your Custom Control.

Having this done you could catch the "OnComponentAdd ed"-Event and put some code in it to set your bindings.

As I said: I'm not sure if I fully understood your problem, but if I did I think this might be a solution.

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Terry,

No it's a Windows Form..

It refers to my question last week about data binding to a simple object. Which works fine... except that you need to manually add some code to databind the text boxes to the object in your main form...

I'm trying to get is so that somehow this step is automated.

I've created an inherited text box that allows me to enter the name of the object and the property to bind to. This is the easy bit.. I'm still working on some way of getting the actual binding to be "automatic" ie not require the binding code to be added manually. I'd therefore like the binding code to be added automatically in the control intialization code where it sets all the control properties.. or alternatively, find some way of doing the binding from the control itself, once the object and property names are set...

Does this make sense?

Regards
Simon
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eF******** ******@TK2MSFTN GP11.phx.gbl...
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #6
to review how I got to this question.. maybe I've missed something obvious.

I want to create an inherited text box that can be "bound" to a object (this
object not being a dataset or anything else that can be "automatica lly bound
to").

I found that I can do this in code using a normal text box using:

dim myobj as myclass
txtbox.databind ings.add("text" ,myobj,"propert yname").

So, I thought that if I created an inherited textbox with extra properties
call "ObjectName " and "PropertyNa me" I would be able to key in the object
and propertyname into the textbox within the designer (which works fine)..
However, I'm now struggling to find a way to get this inherited text box to
"bind" using the dynamic properties set in the designer.. My aim is to do
all this so that the text box ends up being "bound" without adding any code
at runtime....

Does this clarify??

Thanks in advance

Simon

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2k******** *****@uni-berlin.de...
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft .com> scripsit:
I assume this is a webform you are talking about.


The OP mentioned "Windows Form"...

:-)

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #7
Hi Simon.

Just a "wild guess":

If your Object is on the Form or in the ComponentsTray, then you can iterate through that collection until you've found your Object during Design-Time. This can be done by capturing the OnComponentAdde d-Event of the IComponentChang eService (This service would be implemented in your custom control). You could also set a trigger in the OnComponentChan ged-Event when the Property of "PropertyNa me" has changed.

This all of course can only work if your Object to which you want to bind is on the Form or ComponentTray (during design-time).
If this approach could help you, I would be glad to "get you on the road" with the 'IComponentChan geService' .

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:uC******** ******@TK2MSFTN GP09.phx.gbl...
Michael,

Thanks for the reply... I'm not 100% sure I'm following how I would use your advice!

I've done some more work on the subject, and ideally it looks like I need some way of dynamically "getting" the object that I want to bind to from within my control.

eg something like...

ObjectName="nam e_of_object_on_ form"
PropertyName="n ame_of_property _to bind_to"
dim obj as object
obj=XXXXXX(obje ctname) <---- this is the line I need which retrieves the object from the parent form.
me.databinding. add("text",obj, PropertyName)

I think if I could work this out then I would solve the problem?

Regards
Simon
"Michael Maes" <mi*****@merlot .com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi Simon,

I might be entirely "off track" but if I understand your issue well, you could use a "IComponentChan geService".
I have created a Component which "Watches" all Components/Controls Added, Removed, Property Edited, ... on a Windows Form.
You could also use a "IComponentChan geService" directly in your Custom Control.

Having this done you could catch the "OnComponentAdd ed"-Event and put some code in it to set your bindings.

As I said: I'm not sure if I fully understood your problem, but if I did I think this might be a solution.

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Terry,

No it's a Windows Form..

It refers to my question last week about data binding to a simple object. Which works fine... except that you need to manually add some code to databind the text boxes to the object in your main form...

I'm trying to get is so that somehow this step is automated.

I've created an inherited text box that allows me to enter the name of the object and the property to bind to. This is the easy bit.. I'm still working on some way of getting the actual binding to be "automatic" ie not require the binding code to be added manually. I'd therefore like the binding code to be added automatically in the control intialization code where it sets all the control properties.. or alternatively, find some way of doing the binding from the control itself, once the object and property names are set...

Does this make sense?

Regards
Simon
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eF******** ******@TK2MSFTN GP11.phx.gbl...
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #8
So he did, sorry I muffed it up !

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2k******** *****@uni-berlin.de...
* "One Handed Man \( OHM - Terry Burns \)" <news.microsoft .com> scripsit:
I assume this is a webform you are talking about.


The OP mentioned "Windows Form"...

:-)

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #9
Michael,

If you have a code sample that you could post, I'd be eternally grateful ....

Regards
Simon
"Michael Maes" <mi*****@merlot .com> wrote in message news:eI******** ******@tk2msftn gp13.phx.gbl...
Hi Simon.

Just a "wild guess":

If your Object is on the Form or in the ComponentsTray, then you can iterate through that collection until you've found your Object during Design-Time. This can be done by capturing the OnComponentAdde d-Event of the IComponentChang eService (This service would be implemented in your custom control). You could also set a trigger in the OnComponentChan ged-Event when the Property of "PropertyNa me" has changed.

This all of course can only work if your Object to which you want to bind is on the Form or ComponentTray (during design-time).
If this approach could help you, I would be glad to "get you on the road" with the 'IComponentChan geService' .

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:uC******** ******@TK2MSFTN GP09.phx.gbl...
Michael,

Thanks for the reply... I'm not 100% sure I'm following how I would use your advice!

I've done some more work on the subject, and ideally it looks like I need some way of dynamically "getting" the object that I want to bind to from within my control.

eg something like...

ObjectName="nam e_of_object_on_ form"
PropertyName="n ame_of_property _to bind_to"
dim obj as object
obj=XXXXXX(obje ctname) <---- this is the line I need which retrieves the object from the parent form.
me.databinding. add("text",obj, PropertyName)

I think if I could work this out then I would solve the problem?

Regards
Simon
"Michael Maes" <mi*****@merlot .com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi Simon,

I might be entirely "off track" but if I understand your issue well, you could use a "IComponentChan geService".
I have created a Component which "Watches" all Components/Controls Added, Removed, Property Edited, ... on a Windows Form.
You could also use a "IComponentChan geService" directly in your Custom Control.

Having this done you could catch the "OnComponentAdd ed"-Event and put some code in it to set your bindings.

As I said: I'm not sure if I fully understood your problem, but if I did I think this might be a solution.

Regards,

Michael
"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Terry,

No it's a Windows Form..

It refers to my question last week about data binding to a simple object. Which works fine... except that you need to manually add some code to databind the text boxes to the object in your main form...

I'm trying to get is so that somehow this step is automated.

I've created an inherited text box that allows me to enter the name of the object and the property to bind to. This is the easy bit.. I'm still working on some way of getting the actual binding to be "automatic" ie not require the binding code to be added manually. I'd therefore like the binding code to be added automatically in the control intialization code where it sets all the control properties.. or alternatively, find some way of doing the binding from the control itself, once the object and property names are set...

Does this make sense?

Regards
Simon
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eF******** ******@TK2MSFTN GP11.phx.gbl...
I assume this is a webform you are talking about. If so, each userconrol has its owen Page_load event. In this you should be able to bind and object in the parent container, dont have time to look up the properties now but in psuedo I imagine if would be something like.
Me.Parent.Contr ol.DataBindings .Add( Text, me, Property)

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Simon Verona" <ne**@aphrodite uk.com> wrote in message news:OA******** ******@TK2MSFTN GP09.phx.gbl...
Hope somebody can help!

I want to automatically be able to add code to the initialize routine on a Windows form when I add a custom control that I've written to a form.

Specifically, I'm trying to data bind to a normal class. So I've extended the standard text box to include a field for object name and property name. I want to be able to add a line such as :

controlname.Dat aBindings.Add(" Text", objectName, "myPropertyName ")
I've tried using google and looking at the documentation but can't seem to find this... I don't know if there is an alternative way of doing it in the startup code of the form (I seem to have a thought that reflection could be used to get the instance of the object for the data binding code above but I can't work out how!!).

I would be grateful for any pointers.

Many thanks in advance

Simon
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4020
by: Rhy Mednick | last post by:
I'm creating a custom control (inherited from UserControl) that is displayed by other controls on the form. I would like for the control to disappear when the user clicks outside my control the same way a menu does. To do this my control needs to get notified when the user tried to click off of it. The Leave and LostFocus events of the UserControl work most of the time but not always. For example, if they click on a part of the form...
2
8304
by: Jaikumar | last post by:
Hi, 1) I have created one windows application, In the main form ( form1) i have added one usercontrol (usercontrol1), In that user control i am drawing one image. 2) In the UserControl1 i am showing one transparent form (form3) when ever user preseed left mouse button. 3) The form3 has one transparent user control (usercontrol2) that paints circles. That measn the circles will show on top the usercontrol1 image. 4) The form3 border style...
4
3110
by: Harry | last post by:
Hello, I have a page with a RadioButtonList and a PlaceHolder control. The RadioButtonList's AutoPostBack attribute is set to TRUE and its SelectedIndexChanged event loads one of three UserControls into the PlaceHolder's child control collection depending upon which of the three radio buttons is selected. Each of the three UserControls have postback events themselves triggered by button clicks. The problem I'm having is keeping track of...
0
2461
by: Matthew | last post by:
All, I have searched google and the newsgroups but can't find anything the same as what I am experiencing (though I may have missed something). I have controls (textboxes) within UserControls which are not behaving as I would expect. Specifically, if there is a command button external to the usercontrol which is activated by a shortcut key (eg Alt-B), the command button Click event handler code 'executes' even though the textbox set...
0
2432
by: Gary Shell | last post by:
I am experiencing some strange behavior between a UserControl's validating event and a treeview control. Initially, I thought it was related to an issue in the Knowledgebase article 810852 (http://support.microsoft.com/kb/810852), but then I realized that the hotfix mentioned was in .Net v1.1, which I am using. I took the sample from that article and recreated the situation I see in my application. (Code included below.) If you run the...
1
6856
by: Will Gillen | last post by:
I know this has probably been asked before, but I can't seem to find a solid answer in any of the archives. First, before my question, please forgive my limited knowledge of the event lifecycle and page loading/rendering lifecycle.... Ok, now for the question: I have an ASPX page (page.aspx), and I have a UserControl (control.ascx). The UserControl has one textbox on the control, and one button control. I have added a public property...
41
4288
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based on some initialization information obtained elsewhere. Basically, I'm going to create my own dynamic toolbar where the toolbarbuttons can change. I'm not using the VB toolbar because of limitations in changing things like backcolor (I can't get...
6
12128
by: MeowCow | last post by:
I have created a UserControl that encapsulates a third party data grid. My goal was to create my own DataSource and DataMember properties that forward the binding to the third party grid, then use binding like normal. The problem I am running into is that my UserControl ends up with a different BindingContext then the ParentForm it is contained in and thus all other controls on the parent form. (I want various controls on the form to...
0
952
by: Mark | last post by:
Hi, I'm new to ASP.Net, but not to c#, so I'm finding some things a little wierd in this internet based world, especially passing data from page to page. I have created a UserControl to search for data. It will first be displayed on the homepage of my website and then on a search results page. When the page loads up, I want to be able to repopulate the options that were first selected on the homepage.
0
8486
marktang
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...
0
8406
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8932
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, 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...
0
8831
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 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...
1
8609
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
5707
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();...
0
4419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2821
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
2
1819
bsmnconsultancy
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...

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.