Computer And Internet, Miscellaneous, Personal, Tips & Trick

Good morning, I wish everybody have a great day. In this short articles I will write about making an simple “watchdog” application. 14 days ago I need to stabilize an bug application. The bug is really annoying , My application have memory leak each seconds timer fired. This is a bug from VbMySql direct and ODBC MySql Connector, My options to raised physical memory is not approved because application will consume more and more memory without limitation. My second options is writing a new application but it will take more than a month working so I stay with this buggy application and prevent it from error.

I found out when programs closed windows releases all memory this application used, I try to make something to kill an application each 1 hours to release the memory, It’s works!.. Now I need to make an application to auto restarting my program each time it’s killed. Searching on Google then I found sample interesting code.

[to_plus]

Dim objWMIService, colProcesses
Dim Process As String
Process = “YOURPROCESS”
Set objWMIService = GetObject(“winmgmts:”)
Set colProcesses = objWMIService.ExecQuery(“Select * from Win32_Process where name='” & Process & “‘”)
If colProcesses.Count Then
MsgBox (“Process is Running”)
Else
MsgBox (“Process is Not Running”)
End If

It was basic watchdog application, It will check when the process not running on computer background. You can be more creative by adding timer or when this code will fired. With this application I got my buggy application running 99,9% from 100%.

That’s share for today, Have a nice day 😀

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous, Personal, Tips & Trick

In this short articles we will try to make simple validation using Visual Basic 6 and Microsoft Internet Transfer Control component. Basically I need to make a simple validation to make sure my programs are licensed to real company and others company can’t used it if they not paid the license. I want something which only controlled by me and others can’t change it without my permission.

At the first time this idea coming into my mind. I was thinking to make a simple text file with some string on it, in this sample I write “valid” on this sample text file. I choose to put it on web-hosting because only me can change this value. My next job is creating programs which can get this value and implement it’s logic.

Let’s begin, First Start New Project and then add component name “Microsoft Internet Transfer Control”

component-ist

Next add label and set the visible properties to false, This will hide label from viewers. Next setting the programming logic, this is an my very sample code:

[to_plus]

Private Sub form_load()

‘get the value

Label1.Caption = Inet1.OpenURL(“http://www.istanto.net/license/panel.txt”)

If Label1.Caption = “valid” Then

‘do nothing because label caption is valid

Else

‘close the program when the label caption others than valid

Unload Me

End If

End Sub

That’s it, very simple and easy to understand! when we tested running it the is the result is.. (I set label properties visible true to see if it get the right value)

running-ist

You can be creative by adding timer and playing with the programming logic ex: what should programs do when blabla, etc. Playing with another value and make it following your logic. With this sample we can control our programs to make sure it will only run on authorized company. Others should be paid the license before they’re going to used it.

That’s my share for today, have a nice day everyone! See you soon on next articles.. 🙂

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Forex, Guest Blogger, Investment, Make Money Online

If you’re a financial buff who likes reading the Wall Street Journal and watching those gimmicky news shows on the Fox Business Channel, then you may already know that a Forex account can be a great investment. You may even already have one. But whether you’re starting out or already have an account, here is some information you must know about the market.

Strategy

Resist the natural impulse to stay in the Forex market if you’re losing and get out when you’re ahead. The best strategy is the opposite. Ride on a win as long as you’re showing a profit, and get out if you’re falling behind. Having a plan will help you resist your natural impulses.

Stay consistent. Every trader will lose money at some point, but that does not mean your strategy is an ineffective one. Maintaining a positive strategy will give you a leading edge against your competition and keep you from feeling downtrodden. Practice patience with yourself and the market, since you will need it for the long haul.

Forex or foreign exchange, can be a great way to make some extra money when you know what you are doing. You should think of it the same way that you handle stocks. At best, they are a risky investment and at worst, a way to lose money. If you are investing money that you can’t lose, you should reconsider your strategy.

One of the best ways to improve at investing in the Forex market is through learning from your own mistakes. One under-rated tool for this, is your diary. Keeping a diary of what you’ve learned and more importantly the mistakes you have made, can improve your strategy greatly. At the very least, you should maintain list for reference of mistakes you have made in the past that you should avoid in the future.

[to_plus]

Goal

You will need a broker to trade with Forex, so make sure that you choose your broker wisely. There are many charlatans out there looking to take advantage of you. It is up to you to make sure that you find a reliable, skilled broker whose ultimate goal is to build a successful working relationship with you.

Once you take the time to make a plan or goal, stick to your guns! Do not stray from that plan for any reason or you are sure to find that the risks that you are taking are going to lead you to financial devastation. Know the time-frame that is going to work the best for you and stick with it.

If your ultimate goal is to trade blindly and hope for the best, there is a fairly good chance that you will be disappointment. Trading on the forex market is not the same as playing the lottery; on the other hand, it is ideal for investors who are willing to learn strategy and patience in their trades.

Pay attention to the risk and reward of every trade you make on the Forex market, not just the bigger ones. Your goal should be to earn at least twice the value of the risk on each trade. This helps give you a cushion when your trades fail and you end up losing money.

Now that you’ve read the tips above, you can see that investing in Forex is two parts common sense and two parts strategy. That’s basically all there is to it when you break it down. However, a lot goes in to making up those common-sense strategies, so always make sure to use what you’ve learned here to succeed.

Written by investorsibuks@gmail.com

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Forex, Guest Blogger, Make Money Online

Many people want to find ways to make money other than their main source of income, forex offers you a way to do that. By being open 24 hours a day for 5 days throughout the week forex offers you a way to make money through currency exchange, if you want to make some extra money read through this article to expand your knowledge on forex.

Profit

Just because you have a wide stop loss on a forex trade doesn’t mean that you should put even more cash into it to make a larger profit. It also doesn’t work in the reverse, a smaller stop loss with a smaller investment. You should adjust your position size to figure out which stop loss distance is appropriate for your forex trade.

Stack your trades. When a trade is trending down and you are showing a loss, add more to the trade. This ensures that when the currency starts trending up you will make more money than if you only had one set at one price. This also allows you to take a loss on the first trade while making profit overall.

Use stop-loss orders to protect yourself. A stop-loss order can save you money by making sure that you never reach the lowest point of a position. However, make sure you don’t put the stop-loss in such a narrow range that you can’t make a profit, either, because you’ve played your hand too cautiously.

When you have profit available, take it. Not taking your profits when they are ripe for the taking could result in the loss of those profits because you may be tempted to let them ride. Making money, even in small amounts, is good. You should enjoy the little wins as much as you do the big ones.

[to_plus]

Living

Using a betting firm to trade on the forex market is becoming increasingly popular with traders. However, before you jump on the bandwagon, you should be aware that this method has its shortcomings. Primarily, if you consistently win money from your chosen bookmaker, the company will begin to decrease the amount you can bet and may even close your account. A safer “bet” is to stick with a forex broker or a spread betting firm, especially if you depend on your market earnings for a living.

Forex trading is a foreign money exchange program designed to help you make money through foreign currency. This is a great way to make some extra cash and even a living. You will want to be sure you know exactly what you are doing before you begin buying and trading.

To be successful in your forex endeavor, find a mentor. Many traders have been in the market for countless years, and they make a good living doing it. Befriending a more experienced trader can let you learn from observation, and give you someone to turn to when you are not sure of what you should do next in any given situation.

With the information you just acquired you should already have ideas in your head about what you’re going to do and how you want to make money with forex. Remember that there is still more information for you to learn so always seek new information whenever possible, if you learn as much as you can and apply all that you learn you should be well on your way to success with forex.

Written by investorsibuks@gmail.com

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Forex, Guest Blogger, Make Money Online

The foreign exchange market is used to trade currency from the different nations of the world. Many people think trading in the foreign exchange market is hard, but that is only true if you do not have enough knowledge about the market. The article below will feature information about the foreign exchange market.

Do not overstep your knowledge by being aggressive. If you are a beginning trader you should not get caught up in the desire to make windfalls off your first trades. Stick to a mini account that will get your feet wet and allow you to learn how to leverage your capital to best effect with minimal risk. Build your knowledge and your earnings should follow suit.

[to_plus]

Professional

Start small when you enter the forex market. Big accounts do not necessarily bring you big profits. It is better to make conservative, small trades with a modest account than to risk large sums with an expensive high-dollar account. Like any professional skill, forex trading has a definite learning curve. It is better to get your initial experience with small stakes than to bet big and risk big losses.

Treat your forex trading like a real business and remain professional and formal in all your dealings with other people. Forum posts must reflect what you want your reputation to be, as how others think of you will dictate how they treat you or if they want to help you when you have a question.

Do not waste money on Forex robots or Forex eBooks promising to make you rich. Nearly all of these products provide you with untested, unproven Forex trading methods. The only people that make any money from these products are the sellers. If you would like to improve your Forex trading, your money would be better spent on one-to-one lessons with a professional Forex trader.

No matter how much business acumen or marketing analysis knowledge you possess, trading on the Forex market is risky if you don’t have strong self-discipline. Without a firm sense of self-control, you are likely to fall victim to overtrading, relying on unpredictable forecasts and, ultimately, your own greed. However, there are some strategies you can take to help you master the psychology of Forex trading. Develop your own unique method, and stick with it, even if it lets you down occasionally. Don’t pay attention to trading trends you hear on the news. Professional marketers are aware of this information long before it hits the air, at which point, it’s irrelevant. Expect small wins, not colossal windfalls. Don’t hang fire because you’re too busy over-analyzing a situation. By the time you make up your mind, it’s usually too late. Use these tips to enhance your trading expertise and become a real player on the Forex trading floor.

As stated before in the introduction for this article, the currency of the nations of the world are traded in the foreign exchange market. Trading in the foreign exchange market, if you have enough information about the market. Using the information from the article above, you can trade in the market.

Written by investorsibuks@gmail.com

[/to_plus]

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS