473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Writing settings to a file??? XML control???

I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?
Nov 21 '05 #1
19 2505
You want to create an application configuration file, "yourappname.config".
In the MSDN, check out configuration files > application configuration
files.

"Noozer" <do*******@me.here> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?

Nov 21 '05 #2
That only works if you don't want to save user settings they choose inside
the program. You can't write to "application.config" files on the fly like
you could an ini file. I wrote my own settingshandler class to handle the
xml settings.

Chris

"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
You want to create an application configuration file,
"yourappname.config". In the MSDN, check out configuration files >
application configuration files.

"Noozer" <do*******@me.here> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?


Nov 21 '05 #3
Thanks!
"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
You want to create an application configuration file, "yourappname.config". In the MSDN, check out configuration files > application configuration
files. "Noozer" <do*******@me.here> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?

Nov 21 '05 #4
UGH!

Read only... So how do I save the users settings into a read only file?

"Noozer" <do*******@me.here> wrote in message
news:eb****************@tk2msftngp13.phx.gbl...
Thanks!
"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
You want to create an application configuration file,

"yourappname.config".
In the MSDN, check out configuration files > application configuration
files.

"Noozer" <do*******@me.here> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?


Nov 21 '05 #5
See my post. There is no class that I know of that will do what you want.
Search around codeproject and such, I've seen examples around for doing it
though.

Chris
"Noozer" <do*******@me.here> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
UGH!

Read only... So how do I save the users settings into a read only file?

"Noozer" <do*******@me.here> wrote in message
news:eb****************@tk2msftngp13.phx.gbl...
Thanks!
"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
> You want to create an application configuration file,

"yourappname.config".
> In the MSDN, check out configuration files > application configuration
> files.

> "Noozer" <do*******@me.here> wrote in message
> news:uF**************@tk2msftngp13.phx.gbl...
> >I need to keep my application settings in a file that users can
> > copy/backup/etc.
> >
> > Before I start using the old INI file standard, is there any easy way to > > use
> > XML files to hold application settings?
> >
> > What is the standard method of saving user settings for VB.Net apps?



Nov 21 '05 #6
Well, XML is obviously not a "read-only" file. Except for the fact that you
want it to be read-only (binary?), you can easily save those settings to the
application.config file.

"Noozer" <do*******@me.here> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
UGH!

Read only... So how do I save the users settings into a read only file?

"Noozer" <do*******@me.here> wrote in message
news:eb****************@tk2msftngp13.phx.gbl...
Thanks!
"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
> You want to create an application configuration file,

"yourappname.config".
> In the MSDN, check out configuration files > application configuration
> files.

> "Noozer" <do*******@me.here> wrote in message
> news:uF**************@tk2msftngp13.phx.gbl...
> >I need to keep my application settings in a file that users can
> > copy/backup/etc.
> >
> > Before I start using the old INI file standard, is there any easy way to > > use
> > XML files to hold application settings?
> >
> > What is the standard method of saving user settings for VB.Net apps?



Nov 21 '05 #7
I'm not sure what you are saying ... that you cannot save to the config file
on the fly? Surely you can, it's simply an XML file.

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> wrote
in message news:%2***************@TK2MSFTNGP09.phx.gbl...
That only works if you don't want to save user settings they choose inside
the program. You can't write to "application.config" files on the fly
like you could an ini file. I wrote my own settingshandler class to
handle the xml settings.

Chris

"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
You want to create an application configuration file,
"yourappname.config". In the MSDN, check out configuration files >
application configuration files.

"Noozer" <do*******@me.here> wrote in message
news:uF**************@tk2msftngp13.phx.gbl...
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?



Nov 21 '05 #8
"Noozer" <do*******@me.here> schrieb:
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?

People tend to prefer XML, but I still prefer old-style INI formats for
simple settings, because human-readability is better and it's harder to make
the file invalid.

You'll find some links to articles, code, and libraries for storing user
settings here:

Storing and loading user preferences
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=userpreferences&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #9
Noozer,

Just use a dataset when it are your own application settings. (Not the users
settings for that is in my opinion the registry)

You can read that from disk with ds.readXML(path) and write it with
ds.writeXML(path)

Getting the elements using the datatable/datarow methods is than much easier
than by instance a nodereader.

Just my thought,

Cor
"Noozer" <do*******@me.here>
..
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?

Nov 21 '05 #10
Herfried,

"Herfried K. Wagner [MVP]"
"Noozer" <do*******@me.here> schrieb:
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?

People tend to prefer XML, but I still prefer old-style INI formats for
simple settings, because human-readability is better and it's harder to
make the file invalid.

How you can say "human-readability" is better, are you not our link
providing computer.

You know that I know better, however I have forever hated those Ini files. I
even find the registry more readable, so to say human-readability is in my
opinion very much a matter of taste. As you know I prefer XML for
application settings and the registry for user settings and that as well for
readability.

Cor
Nov 21 '05 #11
My application isn't allowed to write to the application.config file.

How many users do you let access your sourcecode and compile their own
settings into the app?

Microsoft provides the application read only access to the
application.config file.
"Earl" <br******@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Well, XML is obviously not a "read-only" file. Except for the fact that you want it to be read-only (binary?), you can easily save those settings to the application.config file.

"Noozer" <do*******@me.here> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
UGH!

Read only... So how do I save the users settings into a read only file?

"Noozer" <do*******@me.here> wrote in message
news:eb****************@tk2msftngp13.phx.gbl...
Thanks!
"Earl" <br******@newsgroups.nospam> wrote in message
news:up****************@TK2MSFTNGP11.phx.gbl...
> You want to create an application configuration file,
"yourappname.config".
> In the MSDN, check out configuration files > application configuration > files.

> "Noozer" <do*******@me.here> wrote in message
> news:uF**************@tk2msftngp13.phx.gbl...
> >I need to keep my application settings in a file that users can
> > copy/backup/etc.
> >
> > Before I start using the old INI file standard, is there any easy way
to
> > use
> > XML files to hold application settings?
> >
> > What is the standard method of saving user settings for VB.Net

apps?



Nov 21 '05 #12

"Cor Ligthert" <no************@planet.nl> wrote in message
news:eO**************@TK2MSFTNGP11.phx.gbl...
Noozer,

Just use a dataset when it are your own application settings. (Not the users settings for that is in my opinion the registry)

You can read that from disk with ds.readXML(path) and write it with
ds.writeXML(path)

Getting the elements using the datatable/datarow methods is than much easier than by instance a nodereader.

Just my thought,

Cor
"Noozer" <do*******@me.here>
.
I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?


Nov 21 '05 #13
> >I need to keep my application settings in a file that users can
copy/backup/etc.

Before I start using the old INI file standard, is there any easy way to
use
XML files to hold application settings?

What is the standard method of saving user settings for VB.Net apps?
Just use a dataset when it are your own application settings. (Not the users settings for that is in my opinion the registry)

You can read that from disk with ds.readXML(path) and write it with
ds.writeXML(path)

Getting the elements using the datatable/datarow methods is than much easier than by instance a nodereader.


This is what I'm doing... Just getting my head around the use of the Dataset
now.

I can't use the registry as it doesn't follow the user and they don't always
sit at the same machine. They also don't have the ability to import data
into the registry. So, a portable configuration file is the next best thing.
Nov 21 '05 #14
I'm not sure why your "application isn't allowed to write to the app.config
file", unless you mean a decision by someone in your company. There seems to
be a lot of misguided understanding about how app.config works.

Your app should determine which settings are allowed -- without code to
accomodate the .config file, whatever the user could even maliciously put in
there is pointless gibberish and has no effect whatsoever. It certainly has
nothing to do with the functioning of your code or your app unless you code
your app to respond to it. That one is on the developer.

But one use that I have for app.config is to let my users write which SQL
server they are connected to (obviating the need to use SQLDMO). Not sure
why you would not want to allow your app to do something similar.

In any event, no, "Microsoft does not "provide the application read-only
access to the application config file". App.config (renamed to your
exe.config on compile) loads into a cache when the application loads, but it
CAN be modified during running of the program -- it's simply a static XML
file. I do exactly this in one of my apps. However, although the settings
are changed, the program will NOT reload those settings until the app is
restarted.

You can take another tack on the same scenario that WILL allow you to reload
user settings while the program is running, by writing those user settings
to a file.config which you name whatever you like. You can then write and
read to your heart's content and make changes on the fly and reload changes
on the fly.

"Noozer" <do******@me.here> wrote in message
news:Lcizd.563645$Pl.361332@pd7tw1no...
My application isn't allowed to write to the application.config file.

How many users do you let access your sourcecode and compile their own
settings into the app?

Microsoft provides the application read only access to the
application.config file.
"Earl" <br******@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Well, XML is obviously not a "read-only" file. Except for the fact that

you
want it to be read-only (binary?), you can easily save those settings to

the
application.config file.

"Noozer" <do*******@me.here> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> UGH!
>
> Read only... So how do I save the users settings into a read only file?
>
> "Noozer" <do*******@me.here> wrote in message
> news:eb****************@tk2msftngp13.phx.gbl...
>> Thanks!
>>
>>
>> "Earl" <br******@newsgroups.nospam> wrote in message
>> news:up****************@TK2MSFTNGP11.phx.gbl...
>> > You want to create an application configuration file,
>> "yourappname.config".
>> > In the MSDN, check out configuration files > application configuration >> > files.
>>
>> > "Noozer" <do*******@me.here> wrote in message
>> > news:uF**************@tk2msftngp13.phx.gbl...
>> > >I need to keep my application settings in a file that users can
>> > > copy/backup/etc.
>> > >
>> > > Before I start using the old INI file standard, is there any easy way > to
>> > > use
>> > > XML files to hold application settings?
>> > >
>> > > What is the standard method of saving user settings for VB.Net apps? >>
>>
>
>



Nov 21 '05 #15
Noozer,

I made a little sample for you which I typed in this message, so watch typos

To create
\\\
Dim ds as new dataset
dim dt as new datatable
dt.columns.add("TheLastDate",gettype(system.dateti me))
dt.rows.add(dt.newrow)
ds.tables.add(dt)
dt.rows(0)("TheLastDate") = date.Now
ds.writeXML("C:\path")
///
To use
\\\
ds.read(XML"C:\path")
dim mydate as datetime = ds.tables(0).rows(0)("TheLastDate")
///

I hope this helps?

Cor
This is what I'm doing... Just getting my head around the use of the
Dataset now.

I can't use the registry as it doesn't follow the user and they don't
always
sit at the same machine. They also don't have the ability to import data
into the registry. So, a portable configuration file is the next best
thing.

Nov 21 '05 #16
> To create
\\\
Dim ds as new dataset
dim dt as new datatable
dt.columns.add("TheLastDate",gettype(system.dateti me))
dt.rows.add(dt.newrow)
ds.tables.add(dt)
dt.rows(0)("TheLastDate") = date.Now
ds.writeXML("C:\path")
///
To use
\\\
ds.read(XML"C:\path")
dim mydate as datetime = ds.tables(0).rows(0)("TheLastDate")
///

I hope this helps?


Very helpful... It works great!!! I do have one more question though...

It would be great to be able to store object properties so I tried the code
included below, but it doesn't work. The program complains that the
"Specified cast is not valid". Since the data was written out with a
specific data type, why wouldn't the cast be valid when reading it back in?
I can break these properties down to simple data types, but I'd rather do it
this way if it's possible.

'Write settings...
Private Sub Write()

'Declare dataset objects
dim ds as new dataset("Settings")
dim dt as new datatable("Textbox")

'Add columns to the table
dt.columns.add("Foreground", GetType(System.Drawing.Color))
dt.columns.add("Font", gettype(System.Drawing.Font))

'Add a row to the table
dt.Rows.Add(dt.NewRow)

'Add the table to the dataset
ds.Tables.Add(dt)

'Update data in table
dt.Rows(0)("Foreground") = txtBox.Forecolor
dt.Rows(0)("Font") = txtBox.Font

'Write dataset to disk
ds.WriteXML("C:\File.xml")

'Destroy objects
dt = Nothing
ds = Nothing

End Sub

Private Sub Read()
'Declare objects
Dim ds as Dataset
Dim dt as Datatable

txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
txtBox.ForeColor = ds.Tables("Textbox").Rows(0)("Foreground")

dt = Nothing
ds = Nothing

End Sub

'**********************
The resulting file looks like this:

<?xml version="1.0" standalone="yes"?>
<Settings>
<Textbox>
<Foreground>Color [WindowText]</Foreground>
<Font>[Font: Name=Arial, Size=12, Units=3, GdiCharSet=0,
GdiVerticalFont=False]</Font>
</Textbox>
</Settings>
Nov 21 '05 #17
Your sub Read() does not read in the data from the xml file.
(and you are not using dt)

Try this:
//
Private Sub Read()
'Declare objects
Dim ds as Dataset
ds.readXML("C:\path") = ds.tables(0)

txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
txtBox.ForeColor = ds.Tables("Textbox").Rows(0)("Foreground")

ds = Nothing

End Sub
\\

"Noozer" <do*******@me.here> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
To create
\\\
Dim ds as new dataset
dim dt as new datatable
dt.columns.add("TheLastDate",gettype(system.dateti me))
dt.rows.add(dt.newrow)
ds.tables.add(dt)
dt.rows(0)("TheLastDate") = date.Now
ds.writeXML("C:\path")
///
To use
\\\
ds.read(XML"C:\path")
dim mydate as datetime = ds.tables(0).rows(0)("TheLastDate")
///

I hope this helps?


Very helpful... It works great!!! I do have one more question though...

It would be great to be able to store object properties so I tried the
code
included below, but it doesn't work. The program complains that the
"Specified cast is not valid". Since the data was written out with a
specific data type, why wouldn't the cast be valid when reading it back
in?
I can break these properties down to simple data types, but I'd rather do
it
this way if it's possible.

'Write settings...
Private Sub Write()

'Declare dataset objects
dim ds as new dataset("Settings")
dim dt as new datatable("Textbox")

'Add columns to the table
dt.columns.add("Foreground", GetType(System.Drawing.Color))
dt.columns.add("Font", gettype(System.Drawing.Font))

'Add a row to the table
dt.Rows.Add(dt.NewRow)

'Add the table to the dataset
ds.Tables.Add(dt)

'Update data in table
dt.Rows(0)("Foreground") = txtBox.Forecolor
dt.Rows(0)("Font") = txtBox.Font

'Write dataset to disk
ds.WriteXML("C:\File.xml")

'Destroy objects
dt = Nothing
ds = Nothing

End Sub

Private Sub Read()
'Declare objects
Dim ds as Dataset
Dim dt as Datatable

txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
txtBox.ForeColor = ds.Tables("Textbox").Rows(0)("Foreground")

dt = Nothing
ds = Nothing

End Sub

'**********************
The resulting file looks like this:

<?xml version="1.0" standalone="yes"?>
<Settings>
<Textbox>
<Foreground>Color [WindowText]</Foreground>
<Font>[Font: Name=Arial, Size=12, Units=3, GdiCharSet=0,
GdiVerticalFont=False]</Font>
</Textbox>
</Settings>

Nov 21 '05 #18
Noozer,

You first have to set all the parts of a font appart or to serialize the
font befor you set that to a dataset and for the colours you can in my
opinion use the best the integer which you can get with drawing.color.toargb
http://msdn.microsoft.com/library/de...oargbtopic.asp

bellow a sample by Tom Shelton for serializing a font.

I hope this helps again?

Cor

\\\Tom Shelton
Private Function SerializeFontObject(ByVal fnt As Font) As String
Dim bf As New BinaryFormatter
Dim mem As New MemoryStream
Try
bf.Serialize(mem, fnt)
Return Convert.ToBase64String(mem.ToArray())
Catch
Return String.Empty
Finally
mem.Close()
End Try
End Function
///
\\\
Private Function DeserializeFontObject(ByVal fnt As String) As Font
Dim bf As New BinaryFormatter
Dim mem As New MemoryStream(Convert.FromBase64String(fnt))
Try
Return DirectCast(bf.Deserialize(mem), Font)
Finally
If Not mem Is Nothing Then
mem.Close()
End If
End Try
End Function
///

Very helpful... It works great!!! I do have one more question though...

It would be great to be able to store object properties so I tried the
code
included below, but it doesn't work. The program complains that the
"Specified cast is not valid". Since the data was written out with a
specific data type, why wouldn't the cast be valid when reading it back
in?
I can break these properties down to simple data types, but I'd rather do
it
this way if it's possible.

Nov 21 '05 #19
I must have miskeyed someplace as I do have the ReadXML in my code. I've
corrected it below.

You have the following line:
ds.readXML("C:\path") = ds.tables(0)
...which doesn't go into my editor. "Expression is a value and therefore
cannot be the targed of an assignment"

....and I still get the Casting error here:
txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
And as an aside, I just tried to write a dataset to a dataset without luck.
i.e.

dt.columns.add("data", GetType(System.Data.Dataset))
....
dt.rows(0)("data") = ds 'DS contains a verified valid dataset.

....writes ... "<data>System.Data.Dataset</data>"... into the XML file
instead of
...."<data><dsname><dtname><colname>value</colname></dtname></dsname></data>"
....

I think I'm going to need a bit more practice with non-simple data types as
well as finding the limitations of datasets.

Definately helpful stuff though!!!

"Jim Hughes" <NO*********@Hotmail.com> wrote in message
news:u3**************@TK2MSFTNGP11.phx.gbl...
Your sub Read() does not read in the data from the xml file.
(and you are not using dt)

Try this:
//
Private Sub Read()
'Declare objects
Dim ds as Dataset
ds.readXML("C:\path") = ds.tables(0)

txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
txtBox.ForeColor = ds.Tables("Textbox").Rows(0)("Foreground")

ds = Nothing

End Sub
\\

"Noozer" <do*******@me.here> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
To create
\\\
Dim ds as new dataset
dim dt as new datatable
dt.columns.add("TheLastDate",gettype(system.dateti me))
dt.rows.add(dt.newrow)
ds.tables.add(dt)
dt.rows(0)("TheLastDate") = date.Now
ds.writeXML("C:\path")
///
To use
\\\
ds.read(XML"C:\path")
dim mydate as datetime = ds.tables(0).rows(0)("TheLastDate")
///

I hope this helps?


Very helpful... It works great!!! I do have one more question though...

It would be great to be able to store object properties so I tried the
code
included below, but it doesn't work. The program complains that the
"Specified cast is not valid". Since the data was written out with a
specific data type, why wouldn't the cast be valid when reading it back
in?
I can break these properties down to simple data types, but I'd rather do it
this way if it's possible.

'Write settings...
Private Sub Write()

'Declare dataset objects
dim ds as new dataset("Settings")
dim dt as new datatable("Textbox")

'Add columns to the table
dt.columns.add("Foreground", GetType(System.Drawing.Color))
dt.columns.add("Font", gettype(System.Drawing.Font))

'Add a row to the table
dt.Rows.Add(dt.NewRow)

'Add the table to the dataset
ds.Tables.Add(dt)

'Update data in table
dt.Rows(0)("Foreground") = txtBox.Forecolor
dt.Rows(0)("Font") = txtBox.Font

'Write dataset to disk
ds.WriteXML("C:\File.xml")

'Destroy objects
dt = Nothing
ds = Nothing

End Sub

Private Sub Read()
'Declare objects
Dim ds as Dataset

ds.ReadXml("C:\File.xml") '***MISSING FROM NEWS POST

txtBox.Font = ds.Tables("Textbox").Rows(0)("Font")
txtBox.ForeColor = ds.Tables("Textbox").Rows(0)("Foreground")

ds = Nothing

End Sub

'**********************
The resulting file looks like this:

<?xml version="1.0" standalone="yes"?>
<Settings>
<Textbox>
<Foreground>Color [WindowText]</Foreground>
<Font>[Font: Name=Arial, Size=12, Units=3, GdiCharSet=0,
GdiVerticalFont=False]</Font>
</Textbox>
</Settings>


Nov 21 '05 #20

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

Similar topics

6
by: msnews.microsoft.com | last post by:
Hi all, I was trying to find an easy way to write in the standard configuration (like app.config) xml-based files. I found classes that can be used to read this information (in...
5
by: Phil Kelly | last post by:
Hi I need to write the contents of a structure to a binary file - there is one string and 2 integers, but I can't seem to figure out how to write the data correctly. If I am simply writing...
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
5
by: t f | last post by:
Hi Okay this should be a simple one... In my solution i have 2 projects (one class library and one control library) - they both share the name default namespace - question is I want to be...
6
by: John | last post by:
Hi I am trying to save settings of controls on my form to a file so I can read them back later and recreate the controls on the form. I have figured out how to go through all controls and get...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.