473,480 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

From C to C#

I've been writing C for 20+ years and am finally making the transition to C#.
I understand generally how struct and enum have changed. The data I want to
represent can be thought of as "rows" so in C I'd use an array of structs -
not an option in C#. I'd like to combine an enum to make the code more
readable. My data looks something like:

string strShortName
int intIndex
string strLongName

The values for strIndex are not sequential. I'd like to be able to build a
single "structure" that contains all of the data. In C I'd have done
something like:

enum { Small = 2, Medium = 5, Large = 15 };

struct myStruct {
char *strShortName;
int intIndex;
char *strLongName;
}

Then I'd have used something like:

struct myStruct mydata[] = {
{ "Small", Small, "Something Small" },
{ "Medium", Medium, "Something Medium" },
{ "Large", Large, "Something Large" },
....
{ NULL, 0, NULL }
};

I'd have finished with a couple of functions to return my values for
intIndex or strLongName when passed a strShortName. Of course, they'd have to
iterate through the array but it's not a problem since it's relatively small.
I know that achieving this functionality in an elegant way in C# must be
possible but lacking a language "reference" (no, the "Teach Yourself" books
don't get it for language details) I'm a bit frustrated.

Thanks!
May 30 '07 #1
18 1424
Well, 2-out-of-3 are there immedately via enum; for the last...
perhaps attributes against the individual enums? How about:

public enum FooSize {
[Description("Small somet")]
Small = 2,
[Description("Medium thingy")]
Medium = 5,
[Description("Large wossit")]
Large = 15
}

public static class EnumHelper {
public static T ParseName<T>(string name) where T : struct {
return (T)Enum.Parse(typeof(T), name);
}
public static T ParseName<T>(string name, bool ignoreCase)
where T : struct {
return (T)Enum.Parse(typeof(T), name, ignoreCase);
}
public static string GetName<T>(T value) {
return value.ToString(); // trivial
}
public static string GetDescription<T>(T value) where T :
struct {
foreach (FieldInfo fi in
typeof(T).GetFields(BindingFlags.Static | BindingFlags.Public)) {
if (fi.FieldType == typeof(T) &&
(value.Equals((T)fi.GetValue(null)))) {
foreach (DescriptionAttribute attrib in
fi.GetCustomAttributes(typeof(DescriptionAttribute ), false)) {
return attrib.Description;
}
return fi.Name; // default to name if no
description
}
}
throw new InvalidOperationException(string.Format("Value
{0} not found for {1}", value, typeof(T).Name));
}
}

static void Main() {
FooSize size = FooSize.Medium;
string name = EnumHelper.GetName(size);
FooSize parsed = EnumHelper.ParseName<FooSize>(name);
string desc = EnumHelper.GetDescription(parsed);
}

May 30 '07 #2
Forgot to say - you can simply cast to get the int value:

FooSize size = FooSize.Medium;
int sizeValue = (int) size;

Marc

May 30 '07 #3
On Tue, 29 May 2007 23:58:00 -0700, BillP3rd
<Bi******@discussions.microsoft.comwrote:
>I've been writing C for 20+ years and am finally making the transition to C#.
I understand generally how struct and enum have changed. The data I want to
represent can be thought of as "rows" so in C I'd use an array of structs -
not an option in C#. I'd like to combine an enum to make the code more
readable.
Why do you think an array of structs is not an option in C#? Your
myStruct is a small data container, and if you don't need/want
reference semantics a C# struct would do just fine.

Here's a straightforward translation of your code to C#:

public enum DataSize
{
Small = 2,
Medium = 5,
Large = 15
}

public struct MyStruct
{
string ShortName;
DataSize Index;
string LongName;

public MyStruct(string shortName,
DataSize index, string longName)
{
ShortName = shortName;
Index = index;
LongName = longName;
}
}

public class NameOfYourClassSinceEverythingMustBeInAClass
{
public MyStruct[] MyData = new MyStruct[]
{
new MyStruct("Small", DataSize.Small, "Something Small" ),
new MyStruct("Medium", DataSize.Medium, "Something Medium"),
new MyStruct("Large", DataSize.Large, "Something Large")
};
}

You don't need an end-of-array marker with null data since .NET arrays
store their size internally.
>I'd have finished with a couple of functions to return my values for
intIndex or strLongName when passed a strShortName. Of course, they'd have to
iterate through the array but it's not a problem since it's relatively small.
Or you could use a Dictionary<K,Vinstead of an array, and use the
ShortName as the key.
>I know that achieving this functionality in an elegant way in C# must be
possible but lacking a language "reference" (no, the "Teach Yourself" books
don't get it for language details) I'm a bit frustrated.
If you have Visual Studio 2005 installed you will find the C# language
reference in this subdirectory: VC#\Specifications\1033

The same text is available as a printed book: "The C# Programming
Language" (2nd ed.) by Anders Heijlsberg, the language's architect.

That's very dry reading, though, and I'd prefer something like "A
Programmer's Introduction to C# 2.0" (3rd ed.) by Gunnerson/Wienholt
to get an idea of the C# language.
--
http://www.kynosarges.de
May 30 '07 #4
public enum EIndex
{
Small = 2,
Mediun = 5,
Large = 15
}

public struct MyStruct
{
public string strShortName;
public EIndex intIndex;
public string strLongName;

public MyStruct( string strShort, EIndex intI, string strLong )
{
strShortName = strShort;
intIndex = intI;
strLongName = strLong;
}
}

MyStruct[] myData = new MyStruct[]
{
new MyStruct( "Small", EIndex.Small, "Something Small" ),
new MyStruct( "Medium", EIndex.Medium, "Something Medium" ),
new MyStruct( "Large", EIndex.Large, "Something Large" )
}

for( int i = 0; i < myData.Length; i ++ )
{
if( myData[i].intIndex == EIndex.Small )
{
}
}

foreach( MyStruct myS in myData )
{
if( myS.strShortName.CompareTo( "Small" ) == 0 )
{
}
}
///// Now don't forget to "free" all your memory that is used by myData
array! :):):)
"BillP3rd" <Bi******@discussions.microsoft.comwrote in message
news:73**********************************@microsof t.com...
I've been writing C for 20+ years and am finally making the transition to
C#.
I understand generally how struct and enum have changed. The data I want
to
represent can be thought of as "rows" so in C I'd use an array of
structs -
not an option in C#. I'd like to combine an enum to make the code more
readable. My data looks something like:

string strShortName
int intIndex
string strLongName

The values for strIndex are not sequential. I'd like to be able to build a
single "structure" that contains all of the data. In C I'd have done
something like:

enum { Small = 2, Medium = 5, Large = 15 };

struct myStruct {
char *strShortName;
int intIndex;
char *strLongName;
}

Then I'd have used something like:

struct myStruct mydata[] = {
{ "Small", Small, "Something Small" },
{ "Medium", Medium, "Something Medium" },
{ "Large", Large, "Something Large" },
...
{ NULL, 0, NULL }
};

I'd have finished with a couple of functions to return my values for
intIndex or strLongName when passed a strShortName. Of course, they'd have
to
iterate through the array but it's not a problem since it's relatively
small.
I know that achieving this functionality in an elegant way in C# must be
possible but lacking a language "reference" (no, the "Teach Yourself"
books
don't get it for language details) I'm a bit frustrated.

Thanks!

May 30 '07 #5
One thought: I think the transition from C to C# is easier if you
understand that they are fundamentally unrelated languages that happen to
have a similar syntax on the surface.

In particular, in C a lot of pointer handling is up to you, while in C#, the
pointer handling is done automatically by the runtime system. Ditto for
memory management.

May 30 '07 #6
On May 30, 10:46 am, "Michael A. Covington"
<l...@ai.uga.edu.for.addresswrote:
One thought: I think the transition from C to C# is easier if you
understand that they are fundamentally unrelated languages that happen to
have a similar syntax on the surface.

In particular, in C a lot of pointer handling is up to you, while in C#, the
pointer handling is done automatically by the runtime system. Ditto for
memory management.
Also keep in mind that C is a functional programming paradigm, while
C# is an object oriented one. That's a huge difference.

May 30 '07 #7
On Wed, 30 May 2007 08:52:20 -0700, Andy <an***@med-associates.comwrote:
On May 30, 10:46 am, "Michael A. Covington"
<l...@ai.uga.edu.for.addresswrote:
>One thought: I think the transition from C to C# is easier if you
understand that they are fundamentally unrelated languages that happen
to have a similar syntax on the surface.

Also keep in mind that C is a functional programming paradigm, while
C# is an object oriented one. That's a huge difference.
Hmmm...I'd disagree with that statement. "Functional programming" is very
different from what C or C# offer (which are procedural). See, for
example: http://en.wikipedia.org/wiki/Functional_programming

That said, I'd also disagree with the statement that C and C# are
"fundamentally unrelated". They are clearly related, and I'd say that
about 75% of C# is basically the same as C, maybe more. C# even has the
same pointer syntax, though you usually don't use it.

Pete
May 30 '07 #8
I've studied your example and understand most of it. To get it to compile,
and after consulting the section on Attributes in the C# Language
Specification, I added the following at the top:

public class DescriptionAttribute: Attribute
{
public string Description;
public DescriptionAttribute( string value )
{
Description = value;
}
public string Value
{
get { return ( Description ); }
set { Description = Value; }
}
}

Thanks for the help!
"Marc Gravell" wrote:
Well, 2-out-of-3 are there immedately via enum; for the last...
perhaps attributes against the individual enums? How about:
May 30 '07 #9
Thanks - That's exactly what I was trying to do after a day of experimenting.
The syntax:

MyStruct[] myData = new MyStruct[]

is part of what was tripping me up. I'd naturally want to write (in C style)
something like:

MyStruct myData[] = new MyStruct[]

"Ashot Geodakov" wrote:
public enum EIndex
{
Small = 2,
Mediun = 5,
Large = 15
}

public struct MyStruct
{
public string strShortName;
public EIndex intIndex;
public string strLongName;

public MyStruct( string strShort, EIndex intI, string strLong )
{
strShortName = strShort;
intIndex = intI;
strLongName = strLong;
}
}

MyStruct[] myData = new MyStruct[]
{
new MyStruct( "Small", EIndex.Small, "Something Small" ),
new MyStruct( "Medium", EIndex.Medium, "Something Medium" ),
new MyStruct( "Large", EIndex.Large, "Something Large" )
}

for( int i = 0; i < myData.Length; i ++ )
{
if( myData[i].intIndex == EIndex.Small )
{
}
}

foreach( MyStruct myS in myData )
{
if( myS.strShortName.CompareTo( "Small" ) == 0 )
{
}
}
///// Now don't forget to "free" all your memory that is used by myData
array! :):):)
"BillP3rd" <Bi******@discussions.microsoft.comwrote in message
news:73**********************************@microsof t.com...
I've been writing C for 20+ years and am finally making the transition to
C#.
I understand generally how struct and enum have changed. The data I want
to
represent can be thought of as "rows" so in C I'd use an array of
structs -
not an option in C#. I'd like to combine an enum to make the code more
readable. My data looks something like:

string strShortName
int intIndex
string strLongName

The values for strIndex are not sequential. I'd like to be able to build a
single "structure" that contains all of the data. In C I'd have done
something like:

enum { Small = 2, Medium = 5, Large = 15 };

struct myStruct {
char *strShortName;
int intIndex;
char *strLongName;
}

Then I'd have used something like:

struct myStruct mydata[] = {
{ "Small", Small, "Something Small" },
{ "Medium", Medium, "Something Medium" },
{ "Large", Large, "Something Large" },
...
{ NULL, 0, NULL }
};

I'd have finished with a couple of functions to return my values for
intIndex or strLongName when passed a strShortName. Of course, they'd have
to
iterate through the array but it's not a problem since it's relatively
small.
I know that achieving this functionality in an elegant way in C# must be
possible but lacking a language "reference" (no, the "Teach Yourself"
books
don't get it for language details) I'm a bit frustrated.

Thanks!


May 30 '07 #10
Ahh... sorry, I didn't clarify... DescriptionAttribute is already
defined (in System.ComponentModel, so "using System.ComponentModel;"
would have done the job), and is used by a range of things, e.g.
PropertyDescriptors. Your own attribute will work just as well (since
the regular Enum implementation doesn't do anything specific with this
attribute in this context).

But: you got the implementation pretty much right, so kudos. At a push
I'd expose the Description as a property instead of a field, and
perhaps make it readonly and mark the class as immutable.

Marc
May 31 '07 #11
Not at all... As a C and assembly programmer I tend to be something of a
control freak where my code is concerned. (I actually prefer writing
assembly!) As such I want to understand exactly what every line of code does.
Your solution was a great learning exercise. I appreciate that you took the
time to respond.

"Marc Gravell" wrote:
Ahh... sorry, I didn't clarify...
May 31 '07 #12
On May 31, 8:13 am, BillP3rd <BillP...@discussions.microsoft.com>
wrote:
Not at all... As a C and assembly programmer I tend to be something of a
control freak where my code is concerned. (I actually prefer writing
assembly!) As such I want to understand exactly what every line of code does.
In that case I'd recommend learning the difference between structs and
classes ASAP. (Heck, I'd recommend that to anyone anyway.)

You may already know it, of course, but it's basically not as it is in
C++, nor is a struct quite what it was in C. Classes are much more
widely used than structs in C# - it's very rare to define your own
struct.

See http://pobox.com/~skeet/csharp/references.html
for a bit of an intro to the topic, along with
http://pobox.com/~skeet/csharp/memory.html and http://pobox.com/~skeet/csharp/parameters.html

(Obviously there will be plenty of other pages on the web - I just
happen to know those URLs without looking any further :)

Jon

May 31 '07 #13
On May 30, 8:37 pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
That said, I'd also disagree with the statement that C and C# are
"fundamentally unrelated". They are clearly related, and I'd say that
about 75% of C# is basically the same as C, maybe more. C# even has the
same pointer syntax, though you usually don't use it.
There are various programming language "family trees" around - it
might be interesting some time to split them into two; "syntactic
relations" and "paradigm relations". For instance, VB6 and VB.NET are
syntactically related but relatively weakly paradigm-related, whereas
VB.NET and C# are strongly paradigm-related but weakly syntactically
related.

Admittedly I'm not sure I'd use the word paradigm here if I were doing
it properly, but it's the best I could come up with in the course of
writing this post :)

Jon

May 31 '07 #14
Peter Duniho wrote:
On Wed, 30 May 2007 08:52:20 -0700, Andy <an***@med-associates.comwrote:
>On May 30, 10:46 am, "Michael A. Covington"
<l...@ai.uga.edu.for.addresswrote:
>>One thought: I think the transition from C to C# is easier if you
understand that they are fundamentally unrelated languages that
happen to have a similar syntax on the surface.

Also keep in mind that C is a functional programming paradigm, while
C# is an object oriented one. That's a huge difference.

Hmmm...I'd disagree with that statement. "Functional programming" is
very different from what C or C# offer (which are procedural). See, for
example: http://en.wikipedia.org/wiki/Functional_programming
You are obvious right.

I suspect Any has been tricked by the fact that a procedure in C
is called a (void) function.
That said, I'd also disagree with the statement that C and C# are
"fundamentally unrelated". They are clearly related, and I'd say that
about 75% of C# is basically the same as C, maybe more. C# even has the
same pointer syntax, though you usually don't use it.
Maybe 75% same syntax.

I think it would very rare to see a C program and a C# program solving
the same problem having the same structure.

Arne

Jun 3 '07 #15
On Sat, 02 Jun 2007 20:25:37 -0700, Arne Vajhøj <ar**@vajhoej.dkwrote:
Maybe 75% same syntax.

I think it would very rare to see a C program and a C# program solving
the same problem having the same structure.
I guess it depends on your definition of "structure", and whether you
include C++ as a close relative of C.

Fact is, I don't see a lot different in my code in C# versus how I used to
do things. The biggest difference is that I have easy access to a very
nice library that handles a wide variety of things for me. I could write
all the same code I'm doing in C#, using managed C++, and it would work
fine (though I'd have to do a lot more typing, because of all the extra ^
characters manage C++ has :) ).

There are certainly some crucial differences between managed code and
unmanaged code, but as far as I'm concerned, they mostly wind up just
being icing on the cake. For example, unlike some programmers I've met, I
never had trouble managing my allocated data, leaking memory, etc. Yes,
it's much nicer to not have to remember to explicitly free references, and
the code winds up looking a lot nicer as a result. But it's not *that*
much of an inconvenience to have to do that management explicitly.

For that matter, before I coded in C++, I used a lot of OOP-like
techniques in C. There's very little you can do in C++ that you can't do
in C, just with more typing. The key characteristics of OOP in particular
are not hard to design into a C program.

In fact, if it weren't for significant differences like the memory
management model, immutable types, broader differences between structs and
classes, etc. in .NET/C#, I would've ranked C# even closer to C/C++ than
75%. Fact is, I didn't undergo any sort of radical philosophical or
paradigmatic shift when I started doing C# programming. "I could quit C#
any time I wanted to" :) and just go back to native Windows programming in
C or C++.

I realize it's a subjective sort of question (it's not like I have a
scientifically valid way of measuring that 75% I'm talking about), but it
seems to me that my transition to C# should have been a lot harder if the
language and environment were really that big of a change from what I was
already used to. And I can't say that other than having this huge library
to draw from, I feel like .NET/C# has dramatically changed the way I think
about my programs, which to me is the key factor when a language is
genuinely a radical departure from some other language.

I find C# to be a natural progression from C, C++, Pascal, and even VB to
some extent. Even an archaic language like FORTRAN has genetic markers in
C#. :) Contrast that to languages like FORTH, Lisp, Prolog, etc. which
are *really* different from procedural languages.

Anyway, I don't disagree with Jon's attempt to look at language
similarities from two different points of view, but even if you look at
what he's calling the "paradigm relation", I just don't see that big a
chasm between C# and the previous iterations of "C" languages.

Pete
Jun 3 '07 #16
On Sun, 03 Jun 2007 00:26:08 -0700, Peter Duniho
<Np*********@nnowslpianmk.comwrote:
[...]
I find C# to be a natural progression from C, C++, Pascal, and even VB
to some extent. Even an archaic language like FORTRAN has genetic
markers in C#. :) Contrast that to languages like FORTH, Lisp, Prolog,
etc. which are *really* different from procedural languages.
And yes, just to clarify, I do realize FORTH is procedural. But it's a
procedural language that really does have some dramatic differences in the
basic structure of the language from the others I mentioned.
Jun 3 '07 #17
"Peter Duniho" <Np*********@nnowslpianmk.comwrote in message
news:op***************@petes-computer.local...
For that matter, before I coded in C++, I used a lot of OOP-like
techniques in C. There's very little you can do in C++ that you can't do
in C, just with more typing. The key characteristics of OOP in particular
are not hard to design into a C program.

In fact, if it weren't for significant differences like the memory
management model, immutable types, broader differences between structs and
classes, etc. in .NET/C#, I would've ranked C# even closer to C/C++ than
75%. Fact is, I didn't undergo any sort of radical philosophical or
paradigmatic shift when I started doing C# programming. "I could quit C#
any time I wanted to" :) and just go back to native Windows programming in
C or C++.
That's because you're a disciplined programmer. You have definite
techniques in mind, and you use your language to implement them. (That's a
good thing.) I've been there -- for example, I used Fortran and PL/1 in a
Pascal-like way before Pascal came along. And my C++ is a lot more orderly
than the language invites it to be.

Many programmers work the other way -- they take the language and put its
parts together any old way. That's where C# imposes a paradigm shift.
Klutzing around in C# is very different from klutzing around in C.
Jun 3 '07 #18
Peter Duniho wrote:
On Sat, 02 Jun 2007 20:25:37 -0700, Arne Vajhøj <ar**@vajhoej.dkwrote:
>Maybe 75% same syntax.

I think it would very rare to see a C program and a C# program solving
the same problem having the same structure.

I guess it depends on your definition of "structure", and whether you
include C++ as a close relative of C.
A C++ solution will definitely have more in common with a C# solution
than a C solution. Things like OO etc.
Fact is, I don't see a lot different in my code in C# versus how I used
to do things. The biggest difference is that I have easy access to a
very nice library that handles a wide variety of things for me. I could
write all the same code I'm doing in C#, using managed C++, and it would
work fine (though I'd have to do a lot more typing, because of all the
extra ^ characters manage C++ has :) ).
Managed C++ and C# solution would obvious be almost identical in
most cases.
For example, unlike some programmers I've met,
I never had trouble managing my allocated data, leaking memory, etc.
Yes, it's much nicer to not have to remember to explicitly free
references, and the code winds up looking a lot nicer as a result. But
it's not *that* much of an inconvenience to have to do that management
explicitly.
Except that experience shows that on a sufficient large project there
are always some that does not get it right.
For that matter, before I coded in C++, I used a lot of OOP-like
techniques in C. There's very little you can do in C++ that you can't
do in C, just with more typing.
Since the first C++ compiler (cfront) actually translated C++ to
C then that is obvious true.

But the whole purpose of a language is to make it easy. Else we
could just as well code in assembler.
In fact, if it weren't for significant differences like the memory
management model, immutable types, broader differences between structs
and classes, etc. in .NET/C#, I would've ranked C# even closer to C/C++
than 75%. Fact is, I didn't undergo any sort of radical philosophical
or paradigmatic shift when I started doing C# programming. "I could
quit C# any time I wanted to" :) and just go back to native Windows
programming in C or C++.

I realize it's a subjective sort of question (it's not like I have a
scientifically valid way of measuring that 75% I'm talking about), but
it seems to me that my transition to C# should have been a lot harder if
the language and environment were really that big of a change from what
I was already used to. And I can't say that other than having this huge
library to draw from, I feel like .NET/C# has dramatically changed the
way I think about my programs, which to me is the key factor when a
language is genuinely a radical departure from some other language.
Either your C coding style is unusual or your C# ditto is.
Anyway, I don't disagree with Jon's attempt to look at language
similarities from two different points of view, but even if you look at
what he's calling the "paradigm relation", I just don't see that big a
chasm between C# and the previous iterations of "C" languages.
Well - I would say only 10% similarity between C and C# for
code structure or style or whatever we call what is not syntax.

Arne
Jun 4 '07 #19

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

Similar topics

0
2745
by: |-|erc | last post by:
Hi! Small challenge for you. The index.php uses this file and calls layout(). Take a look at www.chatty.net this file draws the chat login box on the right. I traced the CHAT button it submits...
16
2063
by: Fuzzyman | last post by:
Hello, To create a classic (old style) class, I write : class foo: pass To do the equivalent as a new style class, I write : class foo(object):
2
2976
by: nitin | last post by:
g++ -c $INCLUDES ActualPEResult.cpp In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from /home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap...
4
19964
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
2
3186
by: cs168 | last post by:
Hi I am new in ASP programming so I do use the very basic and simple way to do all my stuff. Now I do really got stuck at how can I loop thru the calculation for all my selection.. My full code is as...
7
8818
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
7
11593
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
1
1914
by: RSH | last post by:
Im trying to create a stored procedure of the following code. I want to set it so that I have to send the first 4 variables (@DB, @BackUpFile,@TestDB,@RestoreFile). I am having trouble when i try...
20
2466
by: Development - multi.art.studio | last post by:
Hello everyone, i just upgraded my old postgres-database from version 7.1 to 7.4.2. i dumped out my 7.1 database (with pg_dump from 7.1) as an sql-file with copy-commands and to one file using...
6
17127
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
0
7041
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
6908
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...
1
4776
isladogs
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...
0
4481
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
2995
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
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
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 ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
179
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...

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.