Vision

C# Tutorial - XML Serialization

by admin on Jul.02, 2009, under c#

 

Since .NET can use reflection to get property names, basic serialization is unbelievably simple. It only gets slightly difficult when you want to name your XML tags differently than your property names (but still not very hard). If you’ve ever used an XML serialization package in C++ like boost, tinyXML, or libXML2, you’ll see how comparatively easy C# is to use.

Let’s start with a basic example. Below is an object that stores some information about a movie.

public class Movie
{
  public string Title
  { get; set; }

  public int Rating
  { get; set; }

  public DateTime ReleaseDate
  { get; set; }
}

 

All right, now that we have an object, let’s write a function that will save it to XML.

 

static public void SerializeToXML(Movie movie)
{
  XmlSerializer serializer = new XmlSerializer(typeof(Movie));
  TextWriter textWriter = new StreamWriter(@”C:\movie.xml”);
  serializer.Serialize(textWriter, movie);
  textWriter.Close();
}

 

The first thing I do is create an XMLSerializer (located in the System.Xml.Serialization namespace) that will serialize objects of type Movie. The XMLSerializer will serialize objects to a stream, so we’ll have to create one of those next. In this case, I want to serialize it to a file, so I create a TextWriter. I then simply call Serialize on the XMLSerializer passing in the stream (textWriter) and the object (movie). Lastly I close the TextWriter because you should always close opened files. That’s it! Let’s create a movie object and see how this is used.

 

static void Main(string[] args)
{
  Movie movie = new Movie();
  movie.Title = “Starship Troopers”;
  movie.ReleaseDate = DateTime.Parse(“11/7/1997″);
  movie.Rating = 6.9f;

  SerializeToXML(movie);
}

static public void SerializeToXML(Movie movie)
{
  XmlSerializer serializer = new XmlSerializer(typeof(Movie));
  TextWriter textWriter = new StreamWriter(@”C:\movie.xml”);
  serializer.Serialize(textWriter, movie);
  textWriter.Close();
}

 

After this code executes, we’ll have an XML file with the contents of our movie object.

 

<?xml version=“1.0″ encoding=“utf-8″?>
<Movie xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
   xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
  <Title>Starship Troopers</Title>
  <Rating>6.9</Rating>
  <ReleaseDate>1997-11-07T00:00:00</ReleaseDate>
</Movie>

 

If you noticed, all of the XML tag names are the same as the property names. If we want to change those, we can simply add an attribute above each property that sets the tag name.

 

public class Movie
{
  [XmlElement("MovieName")]
  public string Title
  { get; set; }

  [XmlElement("MovieRating")]
  public float Rating
  { get; set; }

  [XmlElement("MovieReleaseDate")]
  public DateTime ReleaseDate
  { get; set; }
}

 

Now when the same code is executed again, we get our custom tag names.

 

<?xml version=“1.0″ encoding=“utf-8″?>
<Movie xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
   xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
  <MovieName>Starship Troopers</MovieName>
  <MovieRating>6.9</MovieRating>
  <MovieReleaseDate>1997-11-07T00:00:00</MovieReleaseDate>
</Movie>

 

Sometimes, in XML, you want information stored as an attribute of another tag instead of a tag by itself. This can be easily accomplished with another property attribute.

 

public class Movie
{
  [XmlAttribute("MovieName")]
  public string Title
  { get; set; }

  [XmlElement("MovieRating")]
  public float Rating
  { get; set; }

  [XmlElement("MovieReleaseDate")]
  public DateTime ReleaseDate
  { get; set; }
}

 

With this code, MovieName will now be an attribute on the Movie tag.

 

<?xml version=“1.0″ encoding=“utf-8″?>
<Movie xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
   xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
   MovieName=“Starship Troopers”>
  <MovieRating>6.9</MovieRating>
  <MovieReleaseDate>1997-11-07T00:00:00</MovieReleaseDate>
</Movie>

 

Let’s move on to something a little more interesting. Let’s create another movie and serialize a List of them to our XML file. Here’s the modified code to do just that:

 

static void Main(string[] args)
{
  Movie movie = new Movie();
  movie.Title = “Starship Troopers”;
  movie.ReleaseDate = DateTime.Parse(“11/7/1997″);
  movie.Rating = 6.9f;

  Movie movie2 = new Movie();
  movie2.Title = “Ace Ventura: When Nature Calls”;
  movie2.ReleaseDate = DateTime.Parse(“11/10/1995″);
  movie2.Rating = 5.4f;

  List<Movie> movies = new List<Movie>() { movie, movie2 };

  SerializeToXML(movies);
}

static public void SerializeToXML(List<Movie> movies)
{
  XmlSerializer serializer = new XmlSerializer(typeof(List<Movie>));
  TextWriter textWriter = new StreamWriter(@”C:\movie.xml”);
  serializer.Serialize(textWriter, movies);
  textWriter.Close();
}

 

Now we have XML that looks like this:

 

<?xml version=“1.0″ encoding=“utf-8″?>
<ArrayOfMovie xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
   xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
  <Movie MovieName=“Starship Troopers”>
    <MovieRating>6.9</MovieRating>
    <MovieReleaseDate>1997-11-07T00:00:00</MovieReleaseDate>
  </Movie>
  <Movie MovieName=“Ace Ventura: When Nature Calls”>
    <MovieRating>5.4</MovieRating>
    <MovieReleaseDate>1995-11-10T00:00:00</MovieReleaseDate>
  </Movie>
</ArrayOfMovie>

 

Ok, so you can see how easy it is to get your objects into an XML document. Let’s now look at how to read an XML document back into our objects - deserialization. The process of deserializing is very similar to what we did for serialization.

 

static List<Movie> DeserializeFromXML()
{
   XmlSerializer deserializer = new XmlSerializer(typeof(List<Movie>));
   TextReader textReader = new StreamReader(@”C:\movie.xml”);
   List<Movie> movies;
   movies = (List<Movie>)deserializer.Deserialize(textReader);
   textReader.Close();

   return movies;
}

 

Just like before, we first create an XmlSerializer that can deserialize objects of type List<Movie>. The XmlSerializer also deserializes from a stream, so we create a file stream from our XML file. We then simply call Deserialize on the stream and cast the output to our desired type. Now the movies List is populated with objects that we previously serialized to the XML file.

The deserializer is very good at handling missing pieces of information in your XML file. Let’s say the second movie didn’t have the MovieName attribute on the Movie tag. When the XML file is deserialized, it simply populates that field with null. If MovieRating wasn’t there, you’d receive 0. Since a DateTime object can’t be null, if MovieReleaseDate was missing, you’d receive DateTime.MinValue (1/1/0001 12:00:00AM).

If the XML document contains invalid syntax, like say the first opening Movie tag was missing, the Deserialize call will fail with an InvalidOperationException. It will also be kind enough to specify the location in the file where it encountered the error (line number, column number).

One thing to remember is that the basic XML serialization won’t maintain references. Let’s say I populated my movies list with the same movie reference multiple times:

 

Movie movie = new Movie();
movie.Title = “Starship Troopers”;
movie.ReleaseDate = DateTime.Parse(“11/7/1997″);
movie.Rating = 6.9f;

List<Movie> movies = new List<Movie>() { movie, movie };

 

Now I have a list containing two of the exact same movie reference. When I serialize and deserialize this list, it will be converted to two separate instances of the movie object - they would just have the same information. Along this same line, the XMLSerializer also doesn’t support circular references. If you need this kind of flexibility, you should consider binary serialization.

There’s still a lot to cover when it comes to XML serialization, but I think this tutorial covers enough of the basics to get things rolling. If you’ve got questions or anything else to say, leave us a comment.

Leave a Comment more...

DVD Remove Region

by admin on Jun.30, 2009, under Uncategorized

How to make DVD-ROM region free ?

If your drive is locked, DVD doesn’t play and you can’t change region code or bypass protection using described methods, then the last & only working solution is to “patch” your DVD-ROM drive, and replace hardware region code protection mechanism. It’s a dangerous method, which can be used only by PC professionals.

If you live in the USA or Canada (R1) then you most likely won’t need the ability to play DVDs from other regions, unless you are interested in some of the rare titles that are out in Europe (R2) but not in the USA. If you live in Europe and you prefer to watch the movies in English then most likely you have to flash your firmware (in order to buy American DVDs).

Load another firmware which disables the region code protection. This is ONLY for advanced users!

Step 1.  If you’re unsure about the type of the drive I suggest you run driveinfo.
Download DriveInfo program from this page: http://www.remoteselector.com/driveinfo.htm

In case of ASPI error you have to install forceaspi first. Here’s download link with instructions on how to install it: http://force_aspi_18.w.interia.pl/. After installing forceaspi you have to reboot your machine. Driveinfo will show you the type of your DVD drive as well as the current firmware, and whether or not the drive is regionfree. If driveinfo tells you the drive has no region protection of course you don’t have to do anything.

Step 2.  After you determine the type of your firmware you should download _EXACT_ version of patched firmware. Go here: http://forum.rpc1.org/dl_all.php and check if there’s an updated firmware for your type of DVD drive. This step is really crucial! Double or triple check that you have the right firmware, otherwise your drive might not work after flashing anymore (and unfortunately there are flash programs that allow you to load the wrong firmware). Bad flashing could destroy your drive definitively. Read carefully the installation notes of your firmware before you upgrade. The Firmware Page and the drive manufacturer can’t be responsible. AND REMEMBER: This is at your own risk.

Step 3.  After you’ve downloaded the right firmware you’ll have to create a Windows bootdisk. You can format a disk and check “copy system files” and you’ll get a working bootdisk. Then copy the flasher program and the firmware to the disc as well. Then reboot your pc and change the boot drive order if necessary so that your pc boots from the disk drive. Since every BIOS looks different I can’t tell you where to change the boot order. Please refer to the manual of your mainboard / pc or call customer support.

Step 4.  After rebooting run the flasher. Then the program will search for a DVD-ROM and ask you if you want to flash. Type yes, wait until the program has finished, then reboot your pc. Once back in Windows run driveinfo again. If everything has gone as it’s supposed to that’s what you’re supposed to get. Enjoy.. you’ve just beaten the DVD-ROM Hardware region-protection system.

NOTE: Before you buy a DVD-ROM make sure that there’s RPC-1 firmware for it on this site: http://forum.rpc1.org/dl_all.php.

You should be aware that in some cases the warranty might become void if you mess around with your drive on your own. Here are additional useful tips: The DVD-ROM Firmware Flashing FAQ

Leave a Comment more...

Freq list

by admin on Apr.05, 2009, under Brain

COLOR ENERGIES AND HEALING THE COLOR RAYS OF CREATION

SOUND/COLOR TABLE

NOTES AND FREQUENCIES OF THE ORGANS OF THE BODY

ORGAN FREQUENCY/NOTE
BLOOD 321.9 (E)
ADRENALS 492.8 (B)
KIDNEY 319.88 (Eb)
LIVER 317.83 (Eb)
BLADDER 352 (F)
INTESTINES 281. (C#)
LUNGS 220 (A)
COLON 176 (F)
GALL BLADDER 164.3 (E)
PANCREAS 117.3 (C#)
STOMACH 110 (A)
BRAIN 315.8 (Eb)
FAT CELLS 295.8 (C#)
MUSCLES 324 (E)
BONE 418,3 (Ab)

ORBITS AND SPINS OF OUR PLANETS

PLANET ORBIT SPIN
EARTH NOTE 272.2(C#) 378.5(F#)
SUN NOTE 332.8(E) 497.1(B)
MOON NOTE 421.3(Ab) None
MARS NOTE 289.4(D) 389.4(G)
MERCURY NOTE 282.4(D) 421.3(A)
JUPITER NOTE 367.2(F#) 473.9(Bb)
VENUS NOTE 442(A) 409.1(G#)
SATURN NOTE 295.7(D#) 455.4(A#)
URANUS NOTE 414.7(G#) 430.8(Ab)
NEPTUNE NOTE 422.8(Ab) 310.7(Eb)
PLUTO NOTE 280.5(C#) 486.2(B)

CHAKRA ENERGY CENTERS OF OUR BODIES

CHAKRA FREQUENCY/MUSICAL NOTE
TRANSPERSONAL 273(1:15)C#(EARTH ORBIT 272)
CROWN 480(15:1)B
unknown 445(1:9)Bb (VENUS ORBIT 442)
THIRD EYE 448(14:1)A
PSYCHIC CENTER 416(13:1)Ab (URANUS ORBIT 415)
unknown 410(1:10)Ab-(VENUS SPIN 409)
unknown 372(1:11)G#(EARTH SPIN 378)
THROAT 384(12:1)G
THYMUS 352(11:1)F#
HEART 341(1:12)F
SOLAR PLEXUS 320(10:1)Eb
DIAPHRAGM 315(1:13)D#
unknown 293(1:14)D+(SATURN ORBIT 296)
POLARITY 288(9:1)D (MARS ORBIT 289)
ROOT 256(1:1)C

COMPARISON OF PARTS OF THE BODY BASED ON THE SPEED OF SOUND THROUGH EACH ORGAN TO THE ABOVE (1996)

FUNCTION OF THE BODY MUSICAL NOTE FREQUENCY
Personality C+ 264
Circulation,Sex C# 586
Adrenals,Thyroid & Parathyroid B 492.8 *
Kidneys Eb 319.88 *
Liver Eb 317.83 *
Bladder F# 352 *
Small Intestine C# 281.6 *
Lungs A 220 *
Colon F# 176 *
Gall Bladder E 164.3 *
Pancreas C# 117.3
Stomach A 110 *
Spleen B 492
Blood Eb 321.9
Fat Cells C# 295.8
Muscles E 324
Bone Ab 418.3

MINERAL NUTRIANTS FOR OUR BODIES

ELEMENT ATOMIC#/NOTE/RATIO
CHROMIUM 384(3:2)G#(THROAT)
MOLYBDENUM 336(4:3)F
CALCIUM 320(5:4)E-(SOLAR PLEXUS)
MANGANESE 400(4:5)G#
IRON 416(13:8)Ab(PSYCHIC CENTER/URANUS)
POTASSIUM 304(6:5)D#
IODINE 424(5:6)Ab
COPPER 464(10:11)Bb
PHOSPHORUS 480(16:15)B(CROWN)
ZINC 480(16:15)B
SELENIUM 272(15:16)C#(TRANSPERSONAL/EARTH)

RESEARCH WITH SINE SOUNDS (1982-1988) By: Barbara Hero

FUNCTION OF THE BODY MUSICAL NOTE FREQUENCY
Personality C+ 264
Circulation,Sex C# 586
Adrenals,Thyroid & Parathyroid B 492
Kidney E 330
Liver Ab 198
Bladder F# 352
Small Intestine C# 281.6
Lungs A 220
Colon F# 176
Gall Bladder E 330
Pancreas C# 117.3
Stomach A 110
Spleen B 492

CHAKRA ROOM RESONANCES by Barbara Hero

CHAKRAS NOTE/FREQ ROOM SIZE FEET MIDDLE OCTAVE
ROOT C (126 cps) 9, 18, 36, 72, 144, 288 (252cps)
POLARITY D (283 cps) 4, 8, 16, 32, 128, 256 (283 cps)
DIAPHRAGM D# (75 cps) 15, 30, 60, 120, 240, 480 (300 cps)
SOLARPLEXUS E (161 cps) 7, 14, 28, 56, 112, 224 (322 cps)
HEART F (87 cps) 13, 26, 52, 104, 208, 416 (348 cps)
THROAT G (188 cps) 6, 12, 24, 48, 96, 192, 384 (376 cps)
VENUSIAN G+ (49 cps) 23, 46, 92, 184, 368, 736 (392 cps)
GAIA (EARTH) G# (54 cps) 21, 42, 84, 168, 336, 672 (432 cps)
PSYCHIC CENTER Ab (103 cps) 11, 22, 44, 88, 176, 352 (412 cps)
THIRD EYE Bb (113 cps) 10, 20, 40, 80, 160, 320 (452 cps)
CROWN B (59 cps) 19, 38, 76, 152, 204, 408 (472 cps)
TRANSPERSONAL C# (66 cps) 17, 34, 68, 136, 272, 554 (264 cps)
DIAPHRAGM2 D# (39 cps) 29, 58, 116, 232, 464, 928 (312 cps)
POLARITY2 D+ (36 cps) 31, 62, 124, 248, 496, 992 (288 cps)
CROWN B (30 cps) 37, 74, 148, 296, 592, 1184 (480 cps)

Hertz frequencies chart from Barbara Hero

Copyright © Barbara Hero 1996-98
E-Mail Barbara Hero


CYCLES PER SECOND (HERTZ), AND CORRESPONDENCES TO MENTAL STATES, PHYSIOLOGY,
COLORS, NOTES & PLANETS
These frequencies are of all types; light, sound, electrical, etc. The two- or three-character source codes after each frequency are defined at the bottom.
0.16 - 10 Neuraligias AT
0.18 - 10 Mod. therapy AT
0.20 - 0.26 Dental Pain AT
0.20 - 10 Post-traumatics AT
0.28 - 2.15 Alcohol addiction AT
0.28 - 10 Arthritis AT
0.30 - 0.15 Depression AT
0.30 - 10 Cervobrachial syndrom AT
0.37 - 2.15 Drug addition AT
0.40 - 10 Confusion AT
0.45 - 10 Muscle pain AT
0.5 very relaxing, against headache MG, for lower back pain AS
0.95 - 10 Whiplash AT
1-3 Delta deep, dreamless sleep, trance state, non-REM sleep
1.0 Feeling of well-being, pituitary stimulation to release growth hormone; overall view of inter-relationships; harmony and balance MG
1.45 Tri-thalamic entrainment format. According to Ronald deStrulle, creates entrainment between hypothalamus, pituitary and pineal. May benefit dyslexics and people with Alzheimer’s. MP2
2.15 - 10 Tendovaginatis AT
2.5 pain relief, relaxationProduction of endogenous opiates. MGEQ
3.4 Sound sleep
3.5 Feeling of unity with everything, accelerated language retention×; enhancement of receptivity MG
4-6 attitude and behavior change MH
4-7 Theta recall, fantasy, imagery, creativity, planning, dreaming, switching thoughts, Zen meditation, drowsiness.
4 Enkephalins; Extrasensory perception MG
4.9 Theta brain wave
5.0 unusal problem solving x
5.5 Moves beyond knowledge to knowing, shows vision of growth needed
6.0 long term memory stimulation MG
7.0 Mental and astral projection, psychic surgery
7.5 Inter-awareness of self and purpose, guided meditation, creativity, contact with spirit guides; entry into meditation MG
7.83 Earth Resonance, grounding, “Schumann Resonance.” x
8-10 learning new information MH
8-13  Alpha relaxed, tranquil and non-drowsy, inward awareness, bodymind
8-14 Qi Gong and infratonic Qi Gong machine QG
8.0 Past life regression x
8.3 Pick up visual images of mental objects
9.0 Awareness of causes of body imbalance and means for balance x
9.41 Pyramid frequency (outside)
9.6 Mean dominant frequency associated with the earth’s magnetic field EQ
10 enhanced release of serotonin and mood elevator, universally beneficial, use to try effects of other mixesActs as an analgesic, safest frequency, especially for hangover and jet lag.

Meg Patterson used for nicotine withdrawal.

MG

EQ

MB3

10.2 Catecholamines
10.5 Healing of body, mind/body unity, firewalkingpotent stabilizer and stimulating for the immunity, valuable in convalescence. x

MG

10.6 Relaxed and alert
12.0 Centering, doorway to all other frequencies x
13-30 Normal wakefulness x
14-16 “associated with sleep spindles on EEG during second stage of sleep” EQ
14.0 Awake and alert
15 chronic pain MG
16 bottom limit of normal hearing MP2
18-22 Beta outward awareness, sensory data
20 fatigue, energize. Causes distress during labor EQ
27.5 lowest note on a piano MP2
30 Meg Patterson used for marijuana MB3
30 - 190 Lumbago AT
30-500 High Beta a few people able to replicate at will
32 Densitizer; enhanced vigor and alertness MG
33 Christ consciousness, hypersensitivity, Pyramid frequency (inside)
35 - 150 Fractures AT
35 - 193 Arthralgy AT
35 Awakening of mid-chakras, balance of chakras
38 Endorphin release WL
40 dominant when problem solving in fearful situations EQ
40 - 60 anxiolytic effects and stimulates release of beta-endorphines MG
43 - 193 Carcinomatosis AT
50 dominant frequency of polyphasic muscle activity, mains electrical in U.K. EQ
50 Slower cerebral rhythms
55 Tantra, kundalini x
60 electric power lines
63 Astral projection x
70 - 9,000 Voice specturm MP1
70 Mental and astral projection
72 Emotional spectrum
80 Awareness and control of right direction.

Appears to be involved in stimulating 5-hydroxytryptamine production, with 160 Hz.
Combine with 2.5 Hz.

EQ
83 Third eye opening for some people
90 Good feelings, security, well-being, balancing
105 Overall view of complete situation
108 Total knowing
111 Beta endorphinsCell regeneration MR
120 - 500 PSI transmutation, psychokinesis
125 Graham potentializer; Stimulation MH
126.22 Sun, 32nd octave of Earth year HC
136.1 Sun: light, warmth, joy, animus RV
140.25 Pluto: power, crisis & changes
141.27 Mercury: intellectuality, mobility
144.72 Mars: activity, energy, freedom, humor
147.85 Saturn: separation, sorrow, death
160 Appears to be involved in stimulating 5-hydroxytryptamine production, with 80 Hz. EQ
183.58 Jupiter: growth, success, justice, spirituality
194.71 Earth: stability, grounding
207.36 Uranus: spontaneity, independence, originality
211.44 Neptune: the unconscious, secrets, imagination, spiritual love
221.23 Venus: beauty, love, sexuality, sensuality, harmony
250 Elevate and revitalize
272 33rd octave of Earth year HC
384 “Gurdjieff vibration associated with root chakra. Sixth harmonic of six, center of the brainwave spectrum.” RP
396 G (musical note) PL
405 Violet PL
420.82 Moon: love, sensitivity, femininity, anima
438 Indigo
440 A (musical note)
473 Blue
495 B (musical note)
527 Green
528 C (musical note)
580 Yellow
594 D (musical note)
597 Orange
660 E (musical note)
700 Red
704 F (musical note)
1000 Cerebral neurons
4,186 highest note on a piano MP2
16,000 - 20,000 Upper range for normal hearing MP2
. . .
Slower physiological cycles CA
Heart: 76 beats/ min
Respiratory: 22 cycles/ min
Kidneys: 24 hour cycle
Stomach: 3 contractions/ min
Intestines: 1 contraction/ min
Muscles: proteins broken down & built every 12 days
Ovaries: 28 day menstrual cycle
Red blood cells: 128 day life cycle
Bone calcium: 200 day replacement
Sources:
x Michael Hercules’ Nustar
Zen Player and B. Giles personal notes
AS AlphaStim (research survey)
AT Auriculotherapy device information from Bentek Corp. Earlobe type electrodes are specified for some conditions, TENS or ECG type electrodes for others. Device has two channels, indicated for each ailment.
CA Compleat Astrologer, Derek & Julia Parker for slower physiological rhythms.
EQ Octaves and windows, Equinox, April 88
MG Megabrain Germany
MG3 Megabrain Report #3, p. 19
MH Mind Expanding Machines: Can the GP Do for the Brain What Nautilus Does for the Body?, by Michael Hutchison, New Age Journal July/Aug 87 Graham potentializer not in production.
MR Megabrain Report Vol 1 #2
MP1 Chant: The Healing Power of Voice and Ear, an interview with Alfred Tomatis, M.D., by Tim Wilson, in Music: Physician for Times to Come, an anthology by Don Campbell
MP2 Sonic Entrainment, by Jonathan S. Goldman, in Music: Physician for Times to Come, an anthology by Don Campbell
PL Power of Limits (see Accords chart) for colors and notes.
QG China Healthways Inst.
RP Astral Travel with Orgone Energy Machine, Ray A. Proper, Fry’s Incredible Inquiry
RV Primordial Tones: Meditation on the Archetypal Energies of Celestial Bodies, Joachim-Ernst Berendt, ReVision, Summer 1987 for planets.
WL Wolfgang Ludwig
HC Hans Cuosto, Cosmic Octave, Life Rhythm
Mortal oscillatory frequencies of Rife radio instrument, see Super Science.
Radionic frequencies chart may be obtained from L’ORD Industries.

Electrical wave forms

One of the benefits of working with electrical stimulation is the ability to generate precise and complex waveforms. It is likely that specific waveforms have specific functions. Brain stimulation, frequencies and waveforms are a vast and promising field of experimentation for alchemists.

PHI - Sound and Healing

Great Dreams Main Index

Gematria - Code of the Ancients

Chanting

… In working with Gregorian chant among the Benedictines, chanting which is centered on the middle to higher frequencies of the human voice, combined with active …

Frequency Sickness - What Are The Causes And The Symptoms?

… Though Alex speaks eloquently about the clash of frequencies on earth between people and nature and how the conflict between ‘tones’ are called ‘frequency

DNA - Past And Future

… and wanted to become creators likened unto the all-that-is, but not aligned with the all-that-is became raptured with the physical domains/frequencies … …

Are You Giving Up Your Freedoms for Security?

… Biohazards of Extremely Low Frequencies (ELF), LOW-FREQUENCY electrical and magnetic fields - the precautionary principle for national authorities -. .

Two Streams of Future Probability

… In the higher frequencies of density your sense of now-time is greatly expanded, collapsing the partititons between past and future and allowing you a much …

The Rainbow of Creation

… I found my drawing from March 20, 1996. It was based on an idea about music frequencies. …

Scalar Physics - Alternative Energy - Free Energy - Plasma Energy…

… (Please keep in mind that it has long been known that selected EMF pulse rates, waveforms and frequencies have healing, sedation and emotion-evoking …

The Reptilians -  Who are they Really?

… We will only experience the energy frequencies/entities closest to our personal density or vibratory rate, in essence, those with which we resonate. …

Indigo Children - Chrystalline Children

… The Sacred Spiral. This meaning a fullness of the spectrum of light and frequencies. A complete set of energies. Perfection in existence. …

Two Suns

… towards the ultraviolet frequencies.

What Is A Walk-In and What do They Do?

… He has the ability to utilize his wings to shift consciousness, by running different frequencies of color, light and sound through a series of harmonically …

Worm Holes, Stargates, and Time Travel

… to disrupt all “Council of 9″ frequencies and setup … of the incompatible absorption of the incoming energies, into the … The color shots by TV back from Mars …

Weaving - The Mythology and the Reality

… elements of light, vibration (sound harmonics), color and aroma … in harmony with the refined frequencies/ideals you … again becoming aware of the energies and uses …

Agreements - Dreams - Biblical Extraterrestrial

… Black Sun Agenda ( not a racial color association ) of … responsibility of keeping our planet’s energies in balance … codes that are keyed to frequencies …

Alternative Health Database

… the bodies’ life force with the energies it needs … yoga, daily lectures and devotional music, discussion, chat … Color / Colour Therapy Charts/ Interpretations

Second Insight

… do our dream research and our website GreatDreams.com was born. … NOTE: We put the music “His Love Amazes Me” on … that were the size of pearls and the same color. …

Methods of Healing

crystals draw light and color into the … and allowing the emergence of “lower frequency energies,”

Earthchanges - The Children

… I was dancing to some fast paced jazz music and my … There was no other color except that I told a girl … it was because there was an oscillation of energies today …

Dreams of Awakening

… a large pile of green and blue mush, the same color as the … At this point, it was so noisy with music in the … in the system as a single point and energies as a …

Dreams of Records and CDs

… buttons (like the candy kind) they were arranged by color in a … My Father came in the room and turned off the music

DREAMS OF THE GREAT EARTHCHANGES

Leave a Comment more...

Windows 7 Wallpaper Rotate

by admin on Feb.21, 2009, under Software, Windows 7

By now everyone should be familiar with the cool option to rotate wallpapers in Windows 7.

So i did a little proggie to achieve the same thing in Vista.

Their is no funny crap in this software, like virusses etc.

Do not waste my time by complaining  if something breaks you computer and you feel the need to blame this software.

In downloading this software YOU acknowledge that it is on your own risk!!!

You will need dotnet framework 2:

.NET2.0

Wallpaper Rotate:

WallPaperRotate.zip

Notes:

There will be a new icon added to you Startup Programs. ( I put it there so EVERYONE can see it).

1. It will stretch all wallpapers.

2. It will only do jpeg’s

3. Disable UAC (user account control) in Vista before installing.

4. You may customize the default settings, by double clicking on the icon in the taskbar.

There will be a new icon added to you Startup Programs. ( I put it there so EVERYONE can see it).

To start either click on the icon(In Startup Programs), or restart you computer.

Have fun!!!

Leave a Comment more...

Q6600 Increase Frontside Bus(1333mhz)

by admin on Jan.14, 2009, under OverClocking

Simple mod to change the  increase Bus speed.

Always remember that any voltages above 1.4 V is very dangerous on 45nm chips!

USE AT OWN RISK!!!!

Leave a Comment more...

Overclocking Q6600 (3.0GHZ)

by admin on Jan.14, 2009, under OverClocking

Simple mod to change the CPU to 3.0 GHZ.

Always remember that any voltages above 1.4 V is very dangerous on 45nm chips!

USE AT OWN RISK!!!!

Leave a Comment more...

Flash Voyager GT - speed problems

by admin on Jan.14, 2009, under Windows Vista

I had some problems with this device not performing up to scratch in windows Vista. Have a look at this post, maybe it could help.

Open regedit

1. The key to look at :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EMDMgmt\

2. Locate your usb device:

3. Change the following values:(values set to 32 mb/s)

“ReadSpeedKBs”=dword:000011a2
“WriteSpeedKBs”=dword:00000474

4. Unplug Device

5. plug in device

6. Format device with Fat32

Retest device.

Leave a Comment more...


SQL SERVER - Simple Example of Cursor

by admin on Jan.05, 2009, under SQL

This is the simplest example of the SQL Server Cursor. I have used this all the time for any use of Cursor in my T-SQL.

DECLARE @Channel1 INT
DECLARE @cursor CURSOR
SET @cursor = CURSOR FOR
SELECT top 10 Channel1
FROM PortData

OPEN @cursor

FETCH NEXT
FROM @cursor INTO @Channel1

WHILE @@FETCH_STATUS = 0
BEGIN
PRINT @Channel1

FETCH NEXT
FROM @cursor INTO @Channel1

END
CLOSE @cursor
DEALLOCATE @cursor

Leave a Comment more...

Transparent Forms

by admin on Dec.31, 2008, under c#

Introduction

This article describes an approach to displaying transparent forms in a Windows application. Such may be useful to anyone wishing to display an odd shaped form for a splash screen or possibly a tool dialog with a transparent background.

Figure 1: Transparent Forms

Getting Started

The solution contains three Windows Form classes; each shows something different about a transparent form.

Figure 2: Solution Explorer with the Project Visible

Code: Form 1 (Form1.cs)

There is nothing much to creating the transparent form; setting the forms back color and transparency key property value to the same color is all that is required. In form 1, the form back color and transparency key are both set to lime green; this color does not occur within the image and so the image will not appear to have holes in it; do not use a transparency color that occurs in your images. That much takes care of making the form transparent. Setting the forms FormBorderStyle property to none removes the forms border and all that will remain when the form is displayed is an image.

Figure 3: Form Transparency Key Property

Of course having a transparent, borderless form eliminates the ability to drag the form around the desktop; at least without doing a bit more work. In order to set up the form for dragging in this condition, a couple of DLL imports are needed. The following contains the code behind the Form1 class.

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

using System.Runtime.InteropServices;

InteropServices was added to the list of defaults to support the use of DLL imports within the class.

namespace XparentForm

{

public partial class Form1 : Form

{

The following user32.dll imports (SendMessage and ReleaseCapture) are required to support the dragging and dropping of the form in the absense of a caption bar on the form.

#region Form Dragging API Support

//The SendMessage function sends a message to a window or windows.

[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]

static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);

//ReleaseCapture releases a mouse capture

[DllImportAttribute("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]

public static extern bool ReleaseCapture();

#endregion

/// <summary>
///
default constructor

/// </summary>

public Form1()

{

InitializeComponent();

}

The picturebox fills the entire draggable area of the form (those sections which are not visible cannot be used for a drag operation) and for that that reason the picture box controls mouse down event is used to support the borderless form dragging operations.


/// <summary>
///
Respond to the picture box mousedown event to
/// drag the borderless form around (left click and drag)/// </summary>

/// <param name=”sender”></param>
///
<param name=”e”></param>

private void pictureBox1_MouseDown(object sender, MouseEventArgs e)

{

// drag the form without the caption bar

// present on left mouse button

if (e.Button == MouseButtons.Left)

{

ReleaseCapture();

SendMessage(this.Handle, 0xa1, 0×2, 0);

}

}

The rest of the class code is pretty straightforward and is not particularly relevant to the topic. The code is annotation to explain the remaining event handlers.


/// <summary>

/// Close the Application

/// </summary>

/// <param name=”sender”></param>

/// <param name=”e”></param>

private void button1_Click(object sender, EventArgs e)

{

// dispose

this.Dispose();
}

/// <summary>

/// Creates a second transparent form

/// </summary>

/// <param name=”sender”></param>

/// <param name=”e”></param>

private void button2_Click(object sender, EventArgs e)

{

// open up another transparent form, this one with a hole in it

Form2 f = new Form2();

f.Show();

}


/// <summary>

/// Creates a third transparent form

/// </summary>

/// <param name=”sender”></param>

/// <param name=”e”></param>

private void button3_Click(object sender, EventArgs e)

{

Form3 f = new Form3();

f.Show();

}

Form 2 (Form2.cs)

The code behind Form2 is the same as it used in Form1; the only differences between the two forms are the complexity of the image used as the borderless form and that the background color and transparency key property values are different than that used on Form1.

Form 3 (Form3.cs)

Form3 is another spin on the same thing used in forms 1 and 2. The difference here is that the picture box contains a white rectangle; the transparency key value is set also to white which will defeat any attempts to drag the form. This form does have a border around it to enable dragging the form If you set the border style to None then the form will no longer be draggable.

Summary

This article was intended to demonstrate an approach to creating transparent backed, borderless draggable forms. The approach may be used to generate some sort of custom UI or may be used to build a classier looking splash screen.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...