Onderhandelen

Onderhandelen: “We can be fast, good and cheap. Choose any two.”

Onderhandelen. We houden er niet van, maar doen het dagelijks. Wij vinden het moeilijk als onderhandelen onszelf betreft, als wij onszelf waarde moeten toekennen.

Onderhandelen is niets meer dan een transactie tussen twee partijen waarbij elk op voordeel uit is. Daar hoeft geen vijandschap aan te pas te komen. Redelijkheid en een ontspannen houding zijn genoeg. Zie de ander niet als tegenstander. Probeer elkaars doelen te doorgronden. In wezen zijn die hetzelfde: het beste product voor de beste prijs. Continue reading Onderhandelen

Does blogging really matter?

In a word: yes. Blogging can significantly impact your business’s bottom line. Perhaps you’re a dedicated blogger and already know how much it has worked to increase traffic, qualified leads and boost sales.
Or it’s possible that you’re like a good many business owners who had good intentions of keeping your blog current, posted initially when your site (re)launched and then quickly forgot that you even have a blog. If you’re part of the latter group (or just curious), this post is for you. Continue reading Does blogging really matter?

Samsung microphone problem?

Homer_67234xlHello, hello… I can hardly hear you, could you speak up a bit?

Meanwhile I am talking really loud into my phone, and after several calls this way, it was Dr.Google to the rescue…

The issue:
My Samsung S5 mini works fine, but people on the other end of the call hear me as if I was talking 10 meters away from the phone.

The solution:

“Clean out the tiny microphone hole with a pin”

Really, that was it; just dirt and dust blocking my voice. Glad people can hear me again, without having to scream.

Error Creating Window Handle

Brain-BulbIt starts with “Can not create Window Handle”… and continuous random crashes. You find out your app reaches the max of 10000 user objects. (Just check the task manager, you’ll see I’m right.)

So, you’ve been using your own usercontrols on a flowlayoutpanel; you add, you remove, you clear… however the user objects count keeps growing and something is leaking somewhere…

You find that .controls.clear() does not work, you have to dispose() of all the objects first. Okay, do that, but it still doesn’t work.
So what’s the trick?
Simply remove first, before the dispose, and do this one at a time.

Just use the following routine:
ClearFlowLayoutPanel(myFlowLayoutPanel)
instead of
myFlowLayoutPanel.Controls.Clear()

Public Sub ClearFlowLayoutPanel(cFlowLayoutPanel As FlowLayoutPanel)
 Do While (cFlowLayoutPanel.Controls.Count > 0)
  Using controltoremove = cFlowLayoutPanel.Controls(0)
   cFlowLayoutPanel.Controls.Remove(controltoremove)
   controltoremove.Dispose()
  End Using
 Loop
 GC.Collect()
 GC.WaitForPendingFinalizers()
 cFlowLayoutPanel.Controls.Clear()
End Sub

Good Luck! …or ask My Brain.

sources or more info:
https://blogs.technet.microsoft.com/markrussinovich/2010/02/24/pushing-the-limits-of-windows-user-and-gdi-objects-part-1/
http://stackoverflow.com/questions/1378668/clearing-controls-from-flowlayoutpanel-not-calling-destructors/