473,509 Members | 2,950 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set control property as the result of a function taking a data-bound paramater?

Hi,

Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.

Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.

But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.

For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.

Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.

Any ideas?

Jul 30 '07 #1
7 1876
On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <Co**********@NeoSmart.netwrote:
Hi,

Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.

Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.

But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.

For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.

Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.

Any ideas?

It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.

--
Happy coding!
Morten Wennevik [C# MVP]
Jul 30 '07 #2
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?

It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.

--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -

- Show quoted text -
Hi Morten, thanks for your reply.

I'm not sure I follow:

I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).

The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));

So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)

Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....

Weird, I know.

Thanks :)

Jul 30 '07 #3
On Mon, 30 Jul 2007 20:17:56 +0200, Computer Guru <ComputerGuru@NeoSmart..netwrote:
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
>On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?

It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.

--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -

- Show quoted text -

Hi Morten, thanks for your reply.

I'm not sure I follow:

I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).

The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));

So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)

Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....

Weird, I know.

Thanks :)

Well, if your BindingSource contained a list of your own objects insteadof the DataSet you could easily create a CalculateImage property, although you would lose the ability to update the Database easily.

Something like

List<MyObjectlist = FillListFromDatabase();
BindingSource source = new BindingSource(list);
pictureBox1.DataBindings.Add("ImageLocation", source, "Location");

class MyObject()
{
public Image Image{ get; set; } // C# 3 syntax
public Point Location
{
get{ return CalculateImageLocation(); }
}
}

--
Happy coding!
Morten Wennevik [C# MVP]
Jul 30 '07 #4
On Jul 30, 9:35 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 20:17:56 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?
It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.
--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -
- Show quoted text -
Hi Morten, thanks for your reply.
I'm not sure I follow:
I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).
The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));
So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)
Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....
Weird, I know.
Thanks :)

Well, if your BindingSource contained a list of your own objects instead of the DataSet you could easily create a CalculateImage property, although you would lose the ability to update the Database easily.

Something like

List<MyObjectlist = FillListFromDatabase();
BindingSource source = new BindingSource(list);
pictureBox1.DataBindings.Add("ImageLocation", source, "Location");

class MyObject()
{
public Image Image{ get; set; } // C# 3 syntax
public Point Location
{
get{ return CalculateImageLocation(); }
}

}

--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -

- Show quoted text -
Gotcha. So basically there is no easy way to add a proxy between the
bindingsource and the PictureBox alone; leaving the original
connection from other objects to the bindingsource and from the
bindingsource to the dataset/DB intact.

*just occurred to me*

Create a new control that inherits from PictureBox, and overrides just
the Location property.

customPictureBox : PictureBox
{
string ImageLocation {
get { return base.ImageLocation; }
set { base.ImageLocation = CalculatePath(value); }
}

Wouldn't that work?

Jul 30 '07 #5
On Mon, 30 Jul 2007 21:25:44 +0200, Computer Guru <ComputerGuru@NeoSmart..netwrote:
On Jul 30, 9:35 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
>On Mon, 30 Jul 2007 20:17:56 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to sendthat
value to a function and use the output as the location property.
Any ideas?
>It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUIand the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.
>--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -
>- Show quoted text -
Hi Morten, thanks for your reply.
I'm not sure I follow:
I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).
The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));
So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)
Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....
Weird, I know.
Thanks :)

Well, if your BindingSource contained a list of your own objects instead of the DataSet you could easily create a CalculateImage property, although you would lose the ability to update the Database easily.

Something like

List<MyObjectlist = FillListFromDatabase();
BindingSource source = new BindingSource(list);
pictureBox1.DataBindings.Add("ImageLocation", source, "Location");

class MyObject()
{
public Image Image{ get; set; } // C# 3 syntax
public Point Location
{
get{ return CalculateImageLocation(); }
}

}

--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -

- Show quoted text -

Gotcha. So basically there is no easy way to add a proxy between the
bindingsource and the PictureBox alone; leaving the original
connection from other objects to the bindingsource and from the
bindingsource to the dataset/DB intact.

*just occurred to me*

Create a new control that inherits from PictureBox, and overrides just
the Location property.

customPictureBox : PictureBox
{
string ImageLocation {
get { return base.ImageLocation; }
set { base.ImageLocation = CalculatePath(value); }
}

Wouldn't that work?

That should work, although you may need to have your customPictureBox implement INotifyPropertyChanged. Not sure, and the base might take care of it, but if not it would look something like this

public string ImageLocation
{
get{ return base.ImageLocation; }
set
{
base.ImageLocation = CalculatePath(value);
notifyPropertyChanged("ImageLocation");
}
}
public event PropertyChangedEventHandler PropertyChanged;
private void notifyPropertyChanged(string property)
{
if(PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(property));
}
--
Happy coding!
Morten Wennevik [C# MVP]
Jul 30 '07 #6
On Jul 30, 10:25 pm, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 9:35 pm, "Morten Wennevik [C# MVP]"

<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 20:17:56 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
>On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?
>It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.
>--
>Happy coding!
>Morten Wennevik [C# MVP]- Hide quoted text -
>- Show quoted text -
Hi Morten, thanks for your reply.
I'm not sure I follow:
I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).
The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));
So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)
Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....
Weird, I know.
Thanks :)
Well, if your BindingSource contained a list of your own objects instead of the DataSet you could easily create a CalculateImage property, although you would lose the ability to update the Database easily.
Something like
List<MyObjectlist = FillListFromDatabase();
BindingSource source = new BindingSource(list);
pictureBox1.DataBindings.Add("ImageLocation", source, "Location");
class MyObject()
{
public Image Image{ get; set; } // C# 3 syntax
public Point Location
{
get{ return CalculateImageLocation(); }
}
}
--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -
- Show quoted text -

Gotcha. So basically there is no easy way to add a proxy between the
bindingsource and the PictureBox alone; leaving the original
connection from other objects to the bindingsource and from the
bindingsource to the dataset/DB intact.

*just occurred to me*

Create a new control that inherits from PictureBox, and overrides just
the Location property.

customPictureBox : PictureBox
{
string ImageLocation {
get { return base.ImageLocation; }
set { base.ImageLocation = CalculatePath(value); }

}

Wouldn't that work?- Hide quoted text -

- Show quoted text -
Just for the record, it worked great.

Add this class:

class cPictureBox : PictureBox
{
public new string ImageLocation
{
get
{
return base.ImageLocation;
}
set
{
base.ImageLocation = CalculatePath(value);
}
}

string CalculatePath(string dvdid)
{
return "C:\\" + dvdid;
}
}
}

Search for the declaration and intialization of pictureBox1 and change
the type from PictureBox to cPictureBox.
All done :-)

Jul 30 '07 #7
On Jul 31, 12:20 am, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 21:25:44 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 9:35 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 20:17:56 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
On Jul 30, 8:58 pm, "Morten Wennevik [C# MVP]"
<MortenWenne...@hotmail.comwrote:
On Mon, 30 Jul 2007 19:47:51 +0200, Computer Guru <ComputerG...@NeoSmart.netwrote:
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?
It's not entirely clear how your DataBinding is set up, but it shouldn't be too difficult to achieve if you have an object between the GUI and the DataBase. The object should have a property you can bind to a Control.Location property. Calculating the location is done by the object and can be as complex or simple as you like.
--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -
- Show quoted text -
Hi Morten, thanks for your reply.
I'm not sure I follow:
I have a GUI (datagrid), a bindingsource, and a dataset. The
PictureBox.ImageLocation property is the one I'd like to set via a
function - but the function needs to get it's parameter from the
bindingsource (which obviously changes every time a new row is
selected in the datagrid).
The current code (takes the information directly from the database and
sticks it directly in .ImageLocation):
this.pictureBox1.DataBindings.Add(new
System.Windows.Forms.Binding("ImageLocation", this.dvdsBindingSource,
"Image", true));
So what I need is somehow:
pictureBox1.ImageLocation = new
System.Windows.Forms.Binding("CalculateImage", this.dvdsBindingSource,
"Image", true)
Where CalculateImage is a delegate/callback to a function that takes a
single parameter (the field "Image" from the database) and returns a
value to store it in .ImageLocation....
Weird, I know.
Thanks :)
Well, if your BindingSource contained a list of your own objects instead of the DataSet you could easily create a CalculateImage property, although you would lose the ability to update the Database easily.
Something like
List<MyObjectlist = FillListFromDatabase();
BindingSource source = new BindingSource(list);
pictureBox1.DataBindings.Add("ImageLocation", source, "Location");
class MyObject()
{
public Image Image{ get; set; } // C# 3 syntax
public Point Location
{
get{ return CalculateImageLocation(); }
}
}
--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -
- Show quoted text -
Gotcha. So basically there is no easy way to add a proxy between the
bindingsource and the PictureBox alone; leaving the original
connection from other objects to the bindingsource and from the
bindingsource to the dataset/DB intact.
*just occurred to me*
Create a new control that inherits from PictureBox, and overrides just
the Location property.
customPictureBox : PictureBox
{
string ImageLocation {
get { return base.ImageLocation; }
set { base.ImageLocation = CalculatePath(value); }
}
Wouldn't that work?

That should work, although you may need to have your customPictureBox implement INotifyPropertyChanged. Not sure, and the base might take care of it, but if not it would look something like this

public string ImageLocation
{
get{ return base.ImageLocation; }
set
{
base.ImageLocation = CalculatePath(value);
notifyPropertyChanged("ImageLocation");
}}

public event PropertyChangedEventHandler PropertyChanged;
private void notifyPropertyChanged(string property)
{
if(PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(property));}

--
Happy coding!
Morten Wennevik [C# MVP]- Hide quoted text -

- Show quoted text -
btw, it wasn't necessary to use the notifyPropertyChanged function to
get it to work.

Thanks for all your help.

Jul 30 '07 #8

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

Similar topics

0
1344
by: Mike Barrett | last post by:
I have a strange one here and I believe it is a bug. I googled it and saw others having a similar issue and nobody seems to have a fix. I will take another shot. I get this ERROR MESSAGE... ...
9
2914
by: ckerns | last post by:
I want to loop thru an array of controls,(39 of them...defaults = 0). If value is null or non-numeric I want to assign the value of "0". rowString = "L411" //conrol name if (isNaN(eval...
16
25390
by: sneill | last post by:
How is it possible to take the value of a variable (in this case, MODE_CREATE, MODE_UPDATE, etc) and use that as an object property name? In the following example I want 'oIcon' object to have...
2
3732
by: John Hargrove | last post by:
I'm having trouble setting decimal place values in the results field of a sample management database I'm building for an environmental testing laboratory. The degree of sensitivity varies among...
8
2251
by: David Lozzi | last post by:
Howdy, I have a user control that is a report to display data. On the page the control is inserted in, I have filter options to filter the report. When I try to do something like this, nothing...
0
5545
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
0
1893
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
15
1811
by: Hamed | last post by:
Have I posted the message to wrong newsgroup? Or Does the question is so much strage? Would someone please kindly direct me to a true newsgroup or resource? Best Regards Hamed
4
2094
by: Rick | last post by:
Hello, I built a composite web control that has a textbox and a date control. added my custom control on a webform where there are other standard controls. Each control on the form has a...
0
1930
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
0
7234
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,...
0
7136
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
7344
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
7412
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...
1
7069
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...
0
4730
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...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
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 ...

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.