473,748 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reg using hash of arrays in foreach loop

23 New Member
Hi all,
I have defined some array variables a
*************** *************** ***********
Expand|Select|Wrap|Line Numbers
  1. @L=('CTT','CTC','CTA','CTG','TTA','TTG');
  2.  
  3. @S=('TCT','TCC','TCA','TCG','AGT','AGC');
  4.  
  5. @R=('CGT','CGC','CGA','CGG','AGA','AGG');
  6.  
  7. @V=('GTT','GTC','GTA','GTG');
  8.  
  9. @A=('GCT','GCC','GCA','GCG');
  10.  
  11. @G=('GGT','GGC','GGA','GGG');
  12.  
  13. @P=('CCT','CCC','CCA','CCG');
  14.  
  15. @T=('ACT','ACC','ACA','ACG');
  16.  
  17. @I=('ATT','ATC','ATA');
  18.  
  19. @F=('TTT','TTC');
  20.  
  21. @C=('TGT','TGC');
  22.  
  23. @Y=('TAT','TAC');
  24.  
  25. @Q=('CAA','CAG');
  26.  
  27. @N=('AAT','AAC');
  28.  
  29. @H=('CAT','CAC');
  30.  
  31. @E=('GAA','GAG');
  32.  
  33. @D=('GAT','GAC');
  34.  
  35. @K=('AAA','AAG');
  36.  
  37. @M=('ATG');
  38.  
  39. @W=('TGG');
  40.  
*************** *************** *************** **********
and also created a hash to store the arrays in it and finally I wanted to do a foreach loop over the desired input say for example input=VEFCDAMP and to create all possible permutation of the word taken from the definition from dictionary as defined in the array.

The following is the perl script that I conceived to do the job but I am confused here how to use the forloop here to iterate through this and make permutation,
*************** *************** *************** ***************
Expand|Select|Wrap|Line Numbers
  1. print "\n\n\t\#################### AA 2 PROTEIN #################### \n\n";
  2.  
  3. print "This script will convert your amino acid sequence to DNA Sequence\n\n";
  4.  
  5. print "ENTER THE FILENAME OF THE Amino acid SEQUENCE:= ";
  6.  
  7. $aafilename = <STDIN>;
  8.  
  9. chomp $aafilename;
  10.  
  11. unless ( open(aaFILE, $aafilename) ) {
  12.  
  13. print "Cannot open file \"$aafilename\"\n\n";
  14.  
  15. }
  16.  
  17. @aa = <aaFILE>;
  18.  
  19. close aaFILE;
  20.  
  21. $aa = join( '', @aa);
  22.  
  23. print " \nThe original AA file is:\n$aa \n";
  24.  
  25. $aa =~ s/\s//g;
  26.  
  27. @aa=$aa;
  28.  
  29. my $protein='';
  30.  
  31. my $codon;
  32.  
  33. @L=('CTT','CTC','CTA','CTG','TTA','TTG');
  34.  
  35. @S=('TCT','TCC','TCA','TCG','AGT','AGC');
  36.  
  37. @R=('CGT','CGC','CGA','CGG','AGA','AGG');
  38.  
  39. @V=('GTT','GTC','GTA','GTG');
  40.  
  41. @A=('GCT','GCC','GCA','GCG');
  42.  
  43. @G=('GGT','GGC','GGA','GGG');
  44.  
  45. @P=('CCT','CCC','CCA','CCG');
  46.  
  47. @T=('ACT','ACC','ACA','ACG');
  48.  
  49. @I=('ATT','ATC','ATA');
  50.  
  51. @F=('TTT','TTC');
  52.  
  53. @C=('TGT','TGC');
  54.  
  55. @Y=('TAT','TAC');
  56.  
  57. @Q=('CAA','CAG');
  58.  
  59. @N=('AAT','AAC');
  60.  
  61. @H=('CAT','CAC');
  62.  
  63. @E=('GAA','GAG');
  64.  
  65. @D=('GAT','GAC');
  66.  
  67. @K=('AAA','AAG');
  68.  
  69. @M=('ATG');
  70.  
  71. @W=('TGG');
  72.  
  73.  
  74.  
  75. $L=\@L;
  76.  
  77. $S=\@S;
  78.  
  79. $R=\@R;
  80.  
  81. $V=\@V;
  82.  
  83. $A=\@A;
  84.  
  85. $G=\@G;
  86.  
  87. $P=\@P;
  88.  
  89. $T=\@T;
  90.  
  91. $I=\@I;
  92.  
  93. $F=\@F;
  94.  
  95. $C=\@C;
  96.  
  97. $Y=\@Y;
  98.  
  99. $Q=\@Q;
  100.  
  101. $N=\@N;
  102.  
  103. $H=\@H;
  104.  
  105. $E=\@E;
  106.  
  107. $D=\@D;
  108.  
  109. $K=\@K;
  110.  
  111. $M=\@M;
  112.  
  113. $W=\@W;
  114.  
  115.  
  116.  
  117. %hash = (L=>$L,S=>$S,R=>$R,V=>$V,A=>$A,G=>$G,P=>$P,T=>$T,I=>$I,F=>$F,C=>$C,Y=>$Y,Q=>$Q,N=>$N,H=>$H,E=>$E,D=>$D,K=>$K,M=>$M,W=>$W);
  118.  
  119.  
  120.  
  121. $hash_ref=\%hash;
  122.  
  123.  
  124. my @aa_split = split //, $aa;
  125.  
  126.  
  127.  
  128. foreach my $val (@{hash{@aa_split}})
  129.  
  130. {
  131. print "@{$val} ";
  132.  
  133. }
  134. print " \n";
  135.  
*************** *************** *************** *************** *****

to run this program please create and save a txt file with the content of word VEFCDAMP in it.

I want my program to perform simillar task what the following program does it for
*************** *************** *************** *************** ****
Expand|Select|Wrap|Line Numbers
  1. use strict;
  2. use warnings;
  3. my @V=('GTT','GTC','GTA','GTG');
  4. my @A=('GCT','GCC','GCA','GCG');
  5. my @E=('GAA','GAG');
  6. my @F=('TTT','TTC');
  7. my @G=('GGT','GGC','GGA','GGG');
  8. my @H=('CAT','CAC');
  9. my $i = 1;
  10. foreach my $v (@V) {
  11.    foreach my $a (@A) {
  12.       foreach my $e (@E) {
  13.          foreach my $f (@F) {
  14.             foreach my $g (@G) {
  15.                foreach my $h (@H) {
  16.                   print "$i $v$a$e$f$g$h\n";
  17.                   $i++;
  18.                }
  19.             }
  20.          }
  21.       }
  22.    }
  23. }
  24.  
*************** *************** *************** *************** **

Thanks in advance,
B.Nataraj
Oct 28 '08
28 3188
natarajmtech
23 New Member
Hi Kevin,
Thanks once again for your help. It took some time for me to install the List::Permutor module into my system and so a delay in replying you, now your code is working fine but as you said it goes on exponential time for a larger size input. I have not much gone in detail of your code, Hope I soon understand it and will come back to you.

With Thanks,
B.Nataraj
Hi Kevin,
Sorry about my last reply, I just carried away by seeing new code and implementing new module and running the code. Infact your new code is not doing the right job, To say it short to you , I wanted the output for the word "VF" (you took this word as sample in your code) like the one come out of the following code (This is also your code) , The total permutation would be 512.
Expand|Select|Wrap|Line Numbers
  1. use strict;
  2. use warnings;
  3. my @V=('GTT','GTC','GTA','GTG');
  4. my @A=('GCT','GCC','GCA','GCG');
  5. my @E=('GAA','GAG');
  6. my @F=('TTT','TTC');
  7. my @G=('GGT','GGC','GGA','GGG');
  8. my @H=('CAT','CAC');
  9. my $i = 1;
  10. foreach my $v (@V) {
  11.    foreach my $a (@A) {
  12.       foreach my $e (@E) {
  13.          foreach my $f (@F) {
  14.             foreach my $g (@G) {
  15.                foreach my $h (@H) {
  16.                   print "$i $v$f\n";
  17.                   $i++;
  18.                }
  19.             }
  20.          }
  21.       }
  22.    }
  23. }
  24.  
  25.  
Hope you can now better understand the problem. In mean time I am trying to change your code the way I wanted it is to be.

Thanks for your all help,
B.Nataraj
Oct 31 '08 #11
nithinpes
410 Recognized Expert Contributor
Hi Kevin,
Sorry about my last reply, I just carried away by seeing new code and implementing new module and running the code. Infact your new code is not doing the right job, To say it short to you , I wanted the output for the word "VF" (you took this word as sample in your code) like the one come out of the following code (This is also your code) , The total permutation would be 512.
Thanks for your all help,
B.Nataraj
The total permutation for 'VF' should not be 512. It will be 8. The script you have shown will just create multiple duplicates to produce 512 results, because of usage of unnecessary foreach loops.
Expand|Select|Wrap|Line Numbers
  1. use strict; 
  2. use warnings; 
  3. my @V=('GTT','GTC','GTA','GTG'); 
  4. my @A=('GCT','GCC','GCA','GCG'); 
  5. my @E=('GAA','GAG'); 
  6. my @F=('TTT','TTC'); 
  7. my @G=('GGT','GGC','GGA','GGG'); 
  8. my @H=('CAT','CAC'); 
  9. my $i = 1; 
  10.  
  11.          foreach my $v (@V ){           
  12.                foreach my $f (@F) { 
  13.                   print "$i $v$f\n"; 
  14.                   $i++; 
  15.                } 
  16.             } 
  17.  
  18.  
However, I haven't tested the output using List::Permutor. I will check it in my free-time and compare the output.

-Nithin
Oct 31 '08 #12
natarajmtech
23 New Member
The total permutation for 'VF' should not be 512. It will be 8. The script you have shown will just create multiple duplicates to produce 512 results, because of usage of unnecessary foreach loops.
Expand|Select|Wrap|Line Numbers
  1. use strict; 
  2. use warnings; 
  3. my @V=('GTT','GTC','GTA','GTG'); 
  4. my @A=('GCT','GCC','GCA','GCG'); 
  5. my @E=('GAA','GAG'); 
  6. my @F=('TTT','TTC'); 
  7. my @G=('GGT','GGC','GGA','GGG'); 
  8. my @H=('CAT','CAC'); 
  9. my $i = 1; 
  10.  
  11.          foreach my $v (@V ){           
  12.                foreach my $f (@F) { 
  13.                   print "$i $v$f\n"; 
  14.                   $i++; 
  15.                } 
  16.             } 
  17.  
  18.  
However, I haven't tested the output using List::Permutor. I will check it in my free-time and compare the output.

-Nithin
Hi Nithin,

Sorry about my careless mistake and thanks for correcting it. Looking forward your next reply.

B.Nataraj
Oct 31 '08 #13
KevinADC
4,059 Recognized Expert Specialist
The total permutation for 'VF' should not be 512. It will be 8. The script you have shown will just create multiple duplicates to produce 512 results, because of usage of unnecessary foreach loops.
Expand|Select|Wrap|Line Numbers
  1. use strict; 
  2. use warnings; 
  3. my @V=('GTT','GTC','GTA','GTG'); 
  4. my @A=('GCT','GCC','GCA','GCG'); 
  5. my @E=('GAA','GAG'); 
  6. my @F=('TTT','TTC'); 
  7. my @G=('GGT','GGC','GGA','GGG'); 
  8. my @H=('CAT','CAC'); 
  9. my $i = 1; 
  10.  
  11.          foreach my $v (@V ){           
  12.                foreach my $f (@F) { 
  13.                   print "$i $v$f\n"; 
  14.                   $i++; 
  15.                } 
  16.             } 
  17.  
  18.  
However, I haven't tested the output using List::Permutor. I will check it in my free-time and compare the output.

-Nithin
8? Then you are not talking about permutations. VF will produce 512 unique permutations with no duplicates assuming all 6 codons can be in all six positions of each permutation.

Using VF as an example, I think your requirements are:

V (first position)
F (second position)

So all the codons in @V can only ever occupy the first position of the permutations you desire. All codons in @F can only occupy the second position. There are only two positions because that is the number of letters/arrays. Using VFas the example, there can not be a permutation with TTT or TTC in the first position, for example:

TTTGTT
TTCGTT

Is that correct?
Oct 31 '08 #14
natarajmtech
23 New Member
8? Then you are not talking about permutations. VF will produce 512 unique permutations with no duplicates assuming all 6 codons can be in all six positions of each permutation.

Using VF as an example, I think your requirements are:

V (first position)
F (second position)

So all the codons in @V can only ever occupy the first position of the permutations you desire. All codons in @F can only occupy the second position. There are only two positions because that is the number of letters/arrays. Using VFas the example, there can not be a permutation with TTT or TTC in the first position, for example:

TTTGTT
TTCGTT

Is that correct?

Hi Kevin,

Exactly... yea the position should not be interchanged.

Thanks,
B.Nataraj
Oct 31 '08 #15
nithinpes
410 Recognized Expert Contributor
Hi Kevin,

Exactly... yea the position should not be interchanged.

Thanks,
B.Nataraj
List::Permutor is not the module of choice then. It will produce all possible combinations/ orders of list elements. E.g for a list with elements - 'A', 'B', 'C'.,
the possible combinations are:
A, B, C
A, C, B
B, A, C
B, C, A
C, A, B
C, B, A

But, what you are looking for is something like A can be constituted by three possible sets of codons, B by two etc.
I believe there are Bio-Perl modules which do the job that you are looking for.
Oct 31 '08 #16
natarajmtech
23 New Member
List::Permutor is not the module of choice then. It will produce all possible combinations/ orders of list elements. E.g for a list with elements - 'A', 'B', 'C'.,
the possible combinations are:
A, B, C
A, C, B
B, A, C
B, C, A
C, A, B
C, B, A

But, what you are looking for is something like A can be constituted by three possible sets of codons, B by two etc.
I believe there are Bio-Perl modules which do the job that you are looking for.

Hi Nithin,

Before coming to this forum, I tried possible code for the same in bioperl module and all possible code depository for any snippet to do my objective but my search ended in vein. Technically the approach is called "Back-translation"(bi oinformatics term). More the Bioinformatics problem that I try to address here is so unique and rare and it may not be a regular requirement for many , that’s why I suppose that this is not there to find in bioperl. that’s how I started to develop my own code and sought the help from this forum. Anyhow I would try again there then.

Thanks ,
B.Nataraj
Oct 31 '08 #17
nithinpes
410 Recognized Expert Contributor
Hi Nithin,

Before coming to this forum, I tried possible code for the same in bioperl module and all possible code depository for any snippet to do my objective but my search ended in vein. Technically the approach is called "Back-translation"(bi oinformatics term). More the Bioinformatics problem that I try to address here is so unique and rare and it may not be a regular requirement for many , that’s why I suppose that this is not there to find in bioperl. that’s how I started to develop my own code and sought the help from this forum. Anyhow I would try again there then.

Thanks ,
B.Nataraj

Here is one way of doing it. This code dynamically generates required foreach loops and executes the command.

Expand|Select|Wrap|Line Numbers
  1.  my $seq = 'VF'; 
  2. my %hash = (  
  3.    L => ['CTT','CTC','CTA','CTG','TTA','TTG'], 
  4.    S => ['TCT','TCC','TCA','TCG','AGT','AGC'], 
  5.    R => ['CGT','CGC','CGA','CGG','AGA','AGG'], 
  6.    V => ['GTT','GTC','GTA','GTG'], 
  7.    A => ['GCT','GCC','GCA','GCG'], 
  8.    G => ['GGT','GGC','GGA','GGG'], 
  9.    P => ['CCT','CCC','CCA','CCG'], 
  10.    T => ['ACT','ACC','ACA','ACG'], 
  11.    I => ['ATT','ATC','ATA'], 
  12.    F => ['TTT','TTC'], 
  13.    C => ['TGT','TGC'], 
  14.    Y => ['TAT','TAC'], 
  15.    Q => ['CAA','CAG'], 
  16.    N => ['AAT','AAC'], 
  17.    H => ['CAT','CAC'], 
  18.    E => ['GAA','GAG'], 
  19.    D => ['GAT','GAC'], 
  20.    K => ['AAA','AAG'], 
  21.    M => ['ATG'], 
  22.    W => ['TGG'], 
  23. ); 
  24.  
  25. my @loops = split '', $seq; 
  26. my $cmd;
  27. local $i=0;
  28. my $vars;
  29.  
  30. foreach my $letter (@loops) {
  31.     my ($str,$v)= createloop($letter);
  32.     $vars.=$v;
  33.     $cmd.=$str;
  34. $cmd=$cmd.'print'. " \"$vars\\n\";";  ## adding print statement
  35. $cmd.= '}'x$i;       ### ending statement blocks
  36.  
  37. eval {eval $cmd; };   ## first eval returns statement block
  38.  
  39. ##creating foreach loops 
  40. sub createloop {
  41. $i++;
  42. my $var ='$a'.$i;
  43. return ("foreach $var (qw(@{$hash{$_[0]}})) {",$var) ;
  44.  
  45. }
  46.  
Oct 31 '08 #18
natarajmtech
23 New Member
Here is one way of doing it. This code dynamically generates required foreach loops and executes the command.

Expand|Select|Wrap|Line Numbers
  1.  my $seq = 'VF'; 
  2. my %hash = (  
  3.    L => ['CTT','CTC','CTA','CTG','TTA','TTG'], 
  4.    S => ['TCT','TCC','TCA','TCG','AGT','AGC'], 
  5.    R => ['CGT','CGC','CGA','CGG','AGA','AGG'], 
  6.    V => ['GTT','GTC','GTA','GTG'], 
  7.    A => ['GCT','GCC','GCA','GCG'], 
  8.    G => ['GGT','GGC','GGA','GGG'], 
  9.    P => ['CCT','CCC','CCA','CCG'], 
  10.    T => ['ACT','ACC','ACA','ACG'], 
  11.    I => ['ATT','ATC','ATA'], 
  12.    F => ['TTT','TTC'], 
  13.    C => ['TGT','TGC'], 
  14.    Y => ['TAT','TAC'], 
  15.    Q => ['CAA','CAG'], 
  16.    N => ['AAT','AAC'], 
  17.    H => ['CAT','CAC'], 
  18.    E => ['GAA','GAG'], 
  19.    D => ['GAT','GAC'], 
  20.    K => ['AAA','AAG'], 
  21.    M => ['ATG'], 
  22.    W => ['TGG'], 
  23. ); 
  24.  
  25. my @loops = split '', $seq; 
  26. my $cmd;
  27. local $i=0;
  28. my $vars;
  29.  
  30. foreach my $letter (@loops) {
  31.     my ($str,$v)= createloop($letter);
  32.     $vars.=$v;
  33.     $cmd.=$str;
  34. $cmd=$cmd.'print'. " \"$vars\\n\";";  ## adding print statement
  35. $cmd.= '}'x$i;       ### ending statement blocks
  36.  
  37. eval {eval $cmd; };   ## first eval returns statement block
  38.  
  39. ##creating foreach loops 
  40. sub createloop {
  41. $i++;
  42. my $var ='$a'.$i;
  43. return ("foreach $var (qw(@{$hash{$_[0]}})) {",$var) ;
  44.  
  45. }
  46.  
Hi Nithin,

Thank you very much for the code, it does great and meet my objective.
I really thankful for you and Kevin for extending your kind help to me.

You guys are doing really a fantastic job.

Thanks once again,
B.Nataraj
Oct 31 '08 #19
KevinADC
4,059 Recognized Expert Specialist
nithinpes has posted a very interesting solution, but I urge caution using it since eval will run any code it evaluates. Just make sure you don't accidently introduce something unwise into the eval block. Its fine as its written, but read up on eval before making any changes that might have serious side effects.
Oct 31 '08 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

6
2259
by: Bart Nessux | last post by:
How is this done in php? I've tried several variations of the following: contact_array = ($_POST, $_POST, $_POST, $_POST, $_POST); The ultimate goal is to insert the array into a table in a Mysql db.
7
5657
by: Gary | last post by:
I haver a table of students - Say 100 students that I need to be able to update/delete and amend. I know I can do this one student at a time which is simple but lets say I want to see all the students on the screen at the same time, modify some, mark some for deletion and even have blank fields at the end to add a new record. In HTML which is generated I label each row and input field with a name/number combination i.e <input type=text...
4
2565
by: Sjoerd | last post by:
Summary: Use foreach(..) instead of while(list(..)=each(..)). --==-- Foreach is a language construct, meant for looping through arrays. There are two syntaxes; the second is a minor but useful extension of the first: foreach (array_expression as $value) statement
1
4337
khalidbaloch
by: khalidbaloch | last post by:
hi every one, how are you folf , hope fine dear Friends i want to get values of multi-dimensional arrays using foreach loop and after that print out the html using an other while loop , i tried alot but did not successed accutly i want to create an yahoo api websearch application i got a sample from developer.yahoo.com for this purpose ,this sample uses unserialize/serialize php here is the code exapmle <?php // Parsing Yahoo! REST...
3
33369
by: Akira | last post by:
I noticed that using foreach is much slower than using for-loop, so I want to change our current code from foreach to for-loop. But I can't figure out how. Could someone help me please? Current code is here: foreach ( string propertyName in ht.Keys ) { this.setProperty( propertyName, ht );
2
5430
by: cheesecaker | last post by:
Okay well, let's say you have a script that evaluates exam questions. Arrays are used for both the answer key and the test taker's provided answers. Repeated comparison is required, so obviously, a loop fits the bill. I have the following (VERY basic) for loop set up. I'm supplying only a snippet, because the rest doesn't really matter. Two arrays have been filled, one with the answer key, one with the user's answers, with eight array...
5
2587
by: nirmal1349 | last post by:
Hi, I have a hash in hash file in perl which looks some thing like this: $FIELDS = { 'abc' => { 'Description' => { 'Purpose' => 'some data is present', 'Background' => 'something', } 'Run Instructions' => { 'Data' => 'something',
110
7025
by: fjm | last post by:
For some reason, I have always had a hard time understanding arrays as they pertain to php and databases. I understand associative arrays just fine but when there are multidimensional arrays, I kinda don't. I have gone over a few different examples but they were limited. I was able to find one piece of code that I would like to disect and ask questions about so I can gain a better understanding. $characters = array ( array (...
5
2143
Dheeraj Joshi
by: Dheeraj Joshi | last post by:
Hi.. I wrote following code. iindex = 0; foreach (XmlNode Labelnodes1 in Labelnode) { countlab = Labelnodes1.Attributes.Count; for (int i = 0; i < countlab; i++) {
0
8831
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
9548
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...
1
9325
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
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8244
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4607
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3315
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
3
2215
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.