SUMBER INFORMASI 1

THIS IS SUMBER INFORMASI 1

SUMBER INFORMASI 2

THIS IS SUMBER INFORMASI 2

SUMBER INFORMASI 3

THIS IS SUMBER INFORMASI 3

SUMBER INFORMASI 4

THIS IS SUMBER INFORMASI 4

SUMBER INFORMASI 5

THIS IS SUMBER INFORMASI 5

Saturday 25 June 2016

TOP 8 TO HEALTHY LIFE

TOP 8 TO HEALTHY LIFE


Healthy living is within your reach, starting today. Sure, healthy living is a long-term commitment, not a flash-in-the-pan fad. But there are steps you can take right now that will make today healthier than yesterday and pave the way for healthy living tomorrow, too.

Here's your checklist of practical healthy living tips that are ready to go. Let's get started.

Healthy Living Step No. 1: Take stock.
Your first step toward healthy living is to get a handle on your health status right now. Here's your to-do list:


Make appointments with your doctor and dentist. Catch up on your routine screening and immunizations, and take the opportunity to ask your doctor any questions you might have.
Gauge your girth. Measure your height and weight to check your BMI, and measure your waist circumference to see if you're overweight and if your waistline is putting your health at risk.
Assess your activity. How much physical activity do you get in a typical week? How intense is that activity? How much variety do you get in your activity, and how much do you enjoy it? The CDC recommends that adults get at least two and a half hours per week of moderate-intensity aerobic activity or one hour and 15 minutes per week of vigorous-intensity aerobic activity, plus muscle-strengthening activities at least two days per week.
Keep a food diary. Write down everything you eat for a day -- and no fair skipping the items you're embarrassed about. "The idea is to write it down ... without judgment," says Kathianne Sellers Williams, MEd, RD, LD, a nutritionist, wellness coach, and personal trainer with Cafe Physique in Atlanta. "You can't change what you're not aware of or don't acknowledge."
Check your mood and energy. Healthy living includes emotional wellness and adequate rest. How has your mood been lately? Are you experiencing any symptoms of depression or anxiety? Do you usually sleep well for seven to eight hours a night?
Consider your social network. How strong are your connections with family and friends? Are you plugged in with social or spiritual groups that enrich your life? "People have a fundamental need for positive and lasting relationships," C. Nathan DeWall, assistant professor of psychology at the University of Kentucky, tells WebMD.
If you're not thrilled with the answers to some of those questions, remember that the point is to figure out where you are today so you can set your healthy living goals. It's not about being "good" or "bad," "right" or "wrong."

Healthy Living Step No. 2: Put out fires.
If you know that you have chronic health problems, whether it's heart disease, diabetes, depression, arthritis, or other conditions, treatment is an obvious priority for healthy living. The same goes for risky behaviors, such as smoking, and addictions of any kind.

Addressing these issues typically isn't a do-it-yourself task. Partner with your doctor. Make the phone call today to schedule that appointment.

Healthy Living Step No. 3 Move more.
Here are Williams' top tips for increasing physical activity:

Make it fun. Go on a hike, walk with friends, take a bellydancing or karate class, or whatever you enjoy. "There's no need to stick to cardio equipment in the gym if you're dreading it and you don't like it," Williams says. "Find something that's fun."
Keep track of it. Make a note of your physical activity in your date book or calendar. "Put big Xs on the days that you exercise," Williams says. "Keep a visual record that you look at frequently" as a reminder and motivator.
Set a weekly goal for activity. To build your confidence, "make the first goal so easy that you say, 'I know I can do that,'" Williams suggests. She recommends weekly goals because if you set a daily goal and miss a day, you might get discouraged; weekly goals give you more day-to-day flexibility. And at the end of the week, reward yourself with a visual reminder of your accomplishment, such as buying flowers for yourself.
Work activity into your day. "Ten percent of something is better than 100% of nothing. So even if you have 10 minutes, it's better than zero minutes," Williams says. She suggests taking a 10-minute walk before lunch or walking up and down the stairs when you're feeling drained and tired.

Other ideas include wearing a pedometer to track how many steps you take per day (health experts recommend shooting for 10,000 steps per day) and working with a personal trainer (double up with a friend to lower the cost) to create an exercise routine.

If you're curious about how many calories you're burning, try using WebMD's Fit-o-Meter, a fitness and exercise calorie calculator. But of course, physical activity is for everyone, whether you're trying to lose weight or not.


Healthy Living Step No. 4: Upgrade your diet.
Williams, a nutritionist for a dozen years, says her diet advice isn't about eating certain foods and avoiding others as much as it is about awareness and choices. Here are her pointers:

Replace "I should" with "I choose." So instead of "I should be eating more fruits and vegetables," it's "I choose to eat more fruits and vegetables" or "I choose not to," because it's more powerful language," Williams says. "It shows that you're in control, you're making the choice. So if you choose to or you choose not to, you make the choice and you move on."
Skip the guilt. "Usually, whenever someone feels guilty about something, it feeds right back to the behavior that they're trying to get rid of," Williams says. "So if someone is an emotional eater and they say, 'I know I shouldn't be doing this," it implies more guilt and judgment on themselves, they feel worse, and then they end up eating to comfort themselves."
Choose to plan. Stock your pantry with healthy fare and bring healthy snacks with you so you're prepared when you get hungry. "When we're really hungry, our physiology kicks in and that's when we're craving the hamburger and fries; we're not craving a salad," Williams says.
Slow down and savor your food. Don't watch TV, work, or drive while you're eating. "A lot of people tell me, 'My problem is that I really like food,' but I think that's a really good thing," Williams says. "If you really enjoy food, sit down and enjoy your meal. You're much more likely to feel psychologically satisfied if you don't multitask while you're eating."
Shoot for five to nine daily servings of varied fruits and vegetables. Cover the rainbow of fruit and vegetable colors to get a good mix of nutrients. "If you're not getting the rainbow, you're probably not getting all the nutrients that you need," Williams says.
Healthy Living Step No. 5: Manage stress.
As a wellness coach trained in stress management, Williams recommends making two different plans to handle stress.


Routine maintenance: Develop positive coping skills, such as meditation and visualization, and look for activities, such as yoga or exercise, to keep your baseline stress level in check.
Breakthrough stress: Find ways to handle stressful situations that flare up without warning. For instance, Williams says that after a stressful meeting at work, you might run up and down the stairs a few times to burn off anger, or retreat to a bathroom stall to take a few deep breaths and refocus.

Healthy Living Step No. 5: Manage stress. continued...
Williams also shares three other stress management tips that you can start using immediately:

Check your perspective. Ask yourself, "Will this matter to me a year from now?" If not, why are you getting so wound up?
Volunteer. Helping to meet other peoples' needs may make your own problems seem smaller.
Keep a gratitude journal. Write down the positive people, events, and things that you're thankful for. "It really switches the focus to, 'Wow, look how much I have," Williams says. "Most stress is caused by wishing things were different than they are now."
Breathe. One of the breathing exercises that Williams recommends is to count your breaths for a minute, and then try to cut that number of breaths in half for the next minute.

Healthy Living StepNo. 6: Sleep better.
If you have trouble sleeping, try these tips from sleep medicine specialist Lisa Shives, MD, medical director of Northshore Sleep Medicine in Evanston, Ill.

No TV or computer two hours before bedtime. It's not just because the TV and computer are stimulating; it's also because of their light. "We're very sensitive to the cue that light gives you that it's time to be up and about," Shives says. She recommends light, calming reading lit by a lamp that doesn't shine directly into your eyes.
No heavy exercise close to bedtime. Light stretching is OK, but vigorous activity will heat up your body's core temperature, which makes it harder to sleep. "If you're working up a sweat, you're working too hard right before bed," Shives says.
Take a hot bath. That will heat up your core body temperature, but when you get out of the bath, your core temperature will fall, which may help you get to sleep. Plus, the bath "relaxes you mentally," Shives says. She adds that having a hot, noncaffeinated drink, such as chamomile tea, may also help.
Set a regular sleep schedule. When Shives treats insomnia patients, she tells them that although they can't make themselves fall asleep, they can make themselves get up at a certain time the next morning. And though they may be tired at first, if they don't nap, they may start sleeping better during the following nights. "We're going to get nowhere if they take big naps during the day and keep a very erratic sleep schedule; it's chaos then," Shives says.
Don't count on weekend catch-up sleep. If you have chronic sleep problems, you probably can't make up for that on the weekends. But if you generally sleep well and have a rough week, go ahead and sleep in on the weekend. "I actually think that's good for the body," Shives says.
Don't ignore chronic sleep problems. "Don't let sleep troubles linger for months or years. Get to a sleep specialist earlier rather than later, before bad habits set in," Shives says.
Prioritize good sleep. "This is as important as diet and exercise," Shives says. She says that in our society, "we disdain sleep, we admire energy and hard work and [have] this notion that sleep is just something that gets in the way."


Healthy Living Step No. 7: Improve your relationships.
Healthy living isn't just about your personal habits for, say, diet and activity. It's also about your connections with other people -- your social network.

DeWall, the University of Kentucky social psychologist, offers these tips for broadening your social network:

Look for people like you. The details of their lives don't have to match yours, but look for a similar level of openness. "What really is important in terms of promoting relationship well-being is that you share a similar level of comfort in getting close to people," DeWall says. For instance, he says that someone who needs a lot of reassurance might not find the best relationship with someone who's more standoffish. "Feel people out in terms of, 'Does this person seem like me in terms of wanting to be close to other people?'" DeWall suggests.
Spend time with people. "There's this emphasis in our culture that you need to be very independent -- an army of one, you can get along on your own," DeWall says. "Most people don't know their neighbors as much as they did 50 or 60 years ago."
Build both virtual and face-to-face relationships. DeWall isn't against having online connections to other people. "But I think long term, having all of your relationships online or virtual ... would probably be something that wouldn't be as beneficial as having a mix" of having virtual and in-person relationships.
If a close relationship is painful, get help. "Some of my work and some work that other people are doing suggest that ... when you feel rejected by someone, that your body actually registers it as pain. So if I'm in a relationship that's really causing me a lot of pain, then we need to do something, we need to go and seek help," DeWall says.

Healthy Living Step No. 8: Challenge your mind.
Participating in mentally stimulating activities, especially activities that involve other people, may be good for the brain.

There's no downside to including brain-challenging activities as part of your healthy living, unless "you spent $400 on some computer program that makes all sorts of wild claims about brain health," says David Knopman, MD, a neurologist at the Mayo Clinic in Rochester, Minn.

Healthy Living Step No. 8: Challenge your mind. continued...
Knopman explains that brain fitness is influenced by many factors, including education and opportunities for mentally stimulating activities starting in childhood, and also by the presence or absence of depression, diabetes, smoking, high blood pressure, and other risks.

Observational studies have shown that people who engage in mentally stimulating activities may be less likely to develop dementia. But Knopman notes that such studies don't prove cause and effect, so it's not clear if mentally stimulating activities protect against dementia or whether people with healthier brains are drawn to those activities in the first place.

That said, Knopman says, "I think that socially engaging activities are particularly important, and that's why I'm somewhat skeptical about the various commercial entities that seek to sell computer games to stimulate the brain. ... If that's done to the exclusion of socially engaging activity, it's probably counterproductive."

Friday 17 June 2016

HOW TO BUILD WIRELESS ADHOC WITH WINDOWS

HOW TO BUILD WIRELESS ADHOC WITH WINDOWS


Wireless mode AdHoc adalah hubungan antara beberapa komputer yang letaknya tidak berjauhan tanpa mempergunakan Access Point (AP).
Mode AdHoc ini digambarkan sebagai berikut :



Gambar 1.0 AdHoc Model

Bagaimana mendirikan Mode AdHoc, ikuti saja cara berikut ini :
1.    Perhatikan dengan baik gambar 1.0 AdHoc Model
2.    Install driver Wireless devices
3.    Pasang wireless devices
4.    Control Panel à Administrative Tools  à  Services  à Wireless Zero Configuration

5.  Sekarang tentukan 1 komputer yang akan diset SSID, dalam hal ini adalah komputer yang diberi tanda lingkaran pada gambar 1.0 AdHoc Model.
Perhatian : penyetingan ini hanya dilakukan pada 1 komputer saja !!

  • My Network Places à klik kanan à Properties à klik devices wireless à klik kanan à Properties.
  • Tab General à IP Protocol (TCP/IP) à Poperties



  • Tab Wireless Network :
Nah, selesai sudah penyetingan SSID pada mode AdHoc, kini dilanjutkan dengan melakukan penyetingan pada komputer lain yang tidak dilingkari pada gambar 1.0 AdHoc Model.
Ikuti langkah berikut ini :
1.    My Network Places à klik kanan à Properties à klik devices wireless à klik kanan à Properties.
2.    Tab General à IP Protocol (TCP/IP) à Poperties

3.  My Network Places à klik kanan à Properties à klik devices wireless à klik kanan à View View Available Wireless Networks



Selesai sudah Mode AdHoc didirikan, untuk memastikan koneksi yang terjadi maka lakukanlah :
C:> ping ip_komputer_lain

* Pastikan semua ip telah resolved.


Untuk menjadikan mode AdHoc dalam 1 wokgroup, maka Anda harus melakukan penyetingan dalam workgroup yang sama, dengan cara :

My Computer  à Properties à Computer Name à Change




Sekarang lihatlah di My Network Places, jika semua komputer sudah terlihat maka mode AdHoc yang Anda dirikan sudah berhasil dengan baik.










Thursday 16 June 2016

Membuat Crystal Report Dengan Menggunakan VB.NET

    Membuat Crystal Report Dengan Menggunakan VB.NET



    Untuk membuat report pertama-tama pilih dahulu pada menu di project dengan menambahkan file baru dan pilih crystal report, Beri nama dengan laporan.rpt



    Setelah itu muncul window berikut






    Pilih option Using the Report Wizard dan choose expert pilih yang standart
    Setelah itu muncul window  pilihan database



    Pilih data source menggunakan ODBC(RDO) pilih data source name nya APLIKASI.
    Tapi sebelum memilih data source buat dulu Data source di ODBC

    Setelah itu tekan tombol Next dan meminta untuk memasukan password, masukan password user di SQL setelah itu tekan tombol finish maka akan tampil
    Windows seperti di bawah ini

    Pilih direktori anak yang dbo dan Table Transaksi, setelah itu tekan tombol Next akan muncul window seperti ini



    Pada window ini pilih field mana saja yang akan di tampilkan ke dalam report.
    Setelah selesai tekan tombol next.






    Pada window ini bagian dari group, Fungsi nya adalah untuk membuat key sebagai pencarian data berdasarkan group yang kita pilih,
    Pilih untuk group ini Transaksi.Tanggal. Setelah itu tekan tombol next



    Pada window ini ada total field berdasarkan type data, Biasa nya untuk type data int,money,dll yang berhubungan dengan count maka CR akan menghitung total secara otomatis, Setelah itu tekan tombol Next


    Pada bagian window ini adalah untuk mensorting group yang tadi kita pilih, Tekan tombol next untuk melanjutkan nya



    Window ini menampilkan kalau kita ingin menambahkan chart pada report tekan tombol next saja



    Window ini akan menampilkan field record mana saja yang akan di tampilkan ke report pilih semua saja untuk pertama kali.



    Setelah itu tekan tombol Finish.

    Untuk melihat report yang kita buat tekan tombol preview maka report akan tampil seperti ini.


    Untuk menampilkan report dari form buat Form baru report seperti di bawah ini



    Tulis coding ini paling atas seperti ini




    Tambahkan variabel berikut ini



    Screen clipping taken: 22/08/2011, 10:52 AM

    Pada menu Report tambahkan code seperti di bawah ini



    Selamat mencoba

Menyimpan dan Menampilkan Data Dengan VB.Net

Menyimpan dan Menampilkan Data Dengan VB.Net


  • Buat project baru dengan nama olah_data
  • Buat form seperti di bawah ini


Buat module baru dengan new module dan simpan dengan nm module.vb

Setelah itu ketikan skrip di module seperti di bawah ini



Setelah itu buka form ketik kan source di bawah ini















Menampilkan Data menggunakan Datagridview dengan koneksi SQL Server 2008

Menampilkan Data menggunakan Datagridview dengan koneksi SQL Server 2008


Untuk login ke database SQL server gunakan login sebagai =sa, dan password biasa nya tidak ada kosongkan saja









Setelah itu untuk membuat database baru lihat contoh di bawah ini
Klik kanan pada nama server pilih New Database.
Setelah database terbentuk Klik kanan di direktori database dan create table
Tulis table seperti di bawah ini



Dan buat kode_barang sebagai primary key
Tekan tombol save di menu maka akan keluar seperti ini




Beri nama Inventory
Isi table field masing2 seperti di bawah ini





Koneksi ke SQL Server
  1. Buat form dan simpan dengan nama inventory seperti di bawah ini
  2. Tools yang di gunakan adalah Datagrid view dan rubah nama di properti nya menjadi DGV


Ketikan Script di bawah ini




Hasil nya seperti di bawah ini




Membuat Program Penjualan Sederhana Dengan Login Menggunakan VB.Net

Membuat Program Penjualan Sederhana Dengan Login Menggunakan VB.Net




  1. Pertama tama buat 4 table dengan kriteria seperti gambar di bawah ini
  • Table T_DETAIL
  • Kd_ksr di ganti varchar

  • Tabel T_KASIR
  •  
  •  


  • Tabel T_PENJUALAN
Field no_inv di ganti dengan varchar 20








Buat form baru dan berinama login.frm
Tampilan nya seperti ini



Setelah itu ketik kan script di login.frm
Untuk sebelum nya ambil module yang sudah di buat pada waktu pertemuan yang lalu
Untuk koneksi ke database





Setelah itu buat form baru lagi dan simapn dengan nama frmdetail atau terserah kalian di simpan nya tetapi untuk pemanggilan form di sesuaikan dengan
Form yang di buat


Coding :
Jika kode barang ada, maka datanya langsung tampil di masing-masing
kolom
Jika jumlah diisi, maka jika jumlah jual melebihi stok tampilkan pesan bahwa
jumlah barang untuk kode tersebut hanya ada “sekian”, jika lebih kecil dari
jumlah stok yang ada maka tampilkan subtotal (perkalian antara harga *
jumlah) dan data langsung masuk ke datagridview
Jumlah item dan total langsung tampil ketika data transaksi masuk ke dalam
grid
Jika jumlah bayar masih kosong atau lebih kecil dari total maka tampilkan
pesan bahwa pembayaran kurang
Jika jumlah bayar= total maka kembali=0
Jika jumlah bayar > total maka kembali=dibayar-total
Proses penyimpanan data :
Simpan ke tabel penjualan : faktur, tanggal, item, total, dibayar, kembali dan
kode kasir
Simpan ke tabel detailjual berulang-ulang : faktur, kode barang, nama
barang, harga jual, jumlah jual dan subtotal
Ketika mengisi kode barang dan menekan esc, maka hapus data barang
dalam grid

Tuliskan script seperti di bawah ini