How to Debug a Windows Service in Visual Studio

How to Debug a Windows Service in Visual Studio

When you create a Windows Service project under Visual Studio, you may have noticed that the following dialog box appears when you try to run the service. In summary, it is simply impossible to run a windows service in Visual Studio, you must necessarily go through the NET START command to start the service after having previously installed it with the command INSTALLUTIL. Except that this method prevents us from easily debugging the Windows Service. As a matter of fact, to debug our code, we must install the service, start it, then link the debugger to the relevant service process from Visual Studio. And by the way, let's keep in mind that we will also have to stop, recompile and restart the windows service in order to load up any change we make to the code. In short, it's kinda annoying. There is a simpler solution though....

Lire la suite

On reading books and self-education: My Essentials

There are a lot of great skills you get from school/university lectures, no doubt. But on the other hand, for some specific and practical "super powers" you want to acquire or enhance, you have no other choice but teach yourself. The potential reasons are legion. That could happen by mere interest or if you want to deepen your knowledge in one of your subjects. Or maybe for the sake of personal projects, say learning some essential life skill they don't teach you in class. So yes, when college doesn't prepare you for life battles, you have to coach yourself. Anyway, I am not here to complain about any education system. I am writing this post because I would like to share the best and most useful books I went through, as I have been reading a lot lately. I read on a variety of fields and for each of them I am suggesting the top books (according to my humble opinion). Here we go:...

Lire la suite

Because your projects need a symphonic soul: Some Motivational Songs

Music is like magic... They say music can alter moods and talk to you (Eminem said.) In those tough times when you go so tired/hopeless about your goals as they seem so far/unreachable, music is definitely one of the weapons at your disposal (beyond the fact that loud music helps stay awake when you write code at night) ; Motivational music helps you to keep going and to pick yourself up whn you are at your lowest. Well, I just thought I would share some songs that I find particulary helpful and motivating. I hope you would find among these soem that would help you too. I am not claiming that they are the best motivational songs ever or anything like that, these are just what I listen to. So without further ado, here is my top 10 :...

Lire la suite

6. Techniques de Communication (du marketing pour programmeurs)

Le mix promotionnel, qui est l'ensemble des techniques disponibles au commercial, comprend de nombreux éléments, mais je vais me focaliser ici sur le marketing Internet: la distribution des produits, des informations et des avantages promotionnels pour les consommateurs et les entreprises grâce aux technologies Internet. La promotion par Internet est très pratique pour un développeur avec un budget faible (une portée mondiale à un coût relativement faible, les mesures analytiques des sites, le dialogue avec les utilisateurs, évite la nécessité de vendeurs intermédiaires ...). Les principaux moyens d'y parvenir sont:...

Lire la suite

6. Communication Techniques (on marketing for programmers)

The promotional mix, which is the overall range of techniques available to the marketer, comprises many elements but I am going to focus here on Internet marketing: the distribution of products, information and promotional benefits to consumers and businesses through internet technologies. Internet promotion is very convenient for a developer on a low budget (global reach at relatively low cost, metrics, dialogue with users, avoiding the necessity for intermediary salespeople...). The main ways to go about it include:...

Lire la suite

5. Le Branding (du marketing pour programmeurs)

Quelle est la différence entre les produits et les marques? Un produit peut être quelque chose qui a la capacité de satisfaire les besoins des clients alors que le branding (la création, la gestion et l'utilisation des marques) est le processus par lequel les entreprises distinguent leurs produits de la concurrence. les avantages de marques: valeur de l'entreprise, parce que la valeur financière des entreprises peut être grandement améliorée par la possession de marques fortes. les préférences des consommateurs et la loyauté: les noms de marques fortes peuvent certainement avoir des effets positifs sur les perceptions et préférences des consommateurs. Si l'on considère les fanatiques, comme les fanboys d'Apple qui n'achètent rien à part ce qui vient d'Apple (Mac, iPod, iPhone, iPhone, etc.), la plupart du temps leur choix dépend plus de la marque que de la qualité réelle des appareils. obstacle à la concurrence: l'impact des perceptions fortes et positives que les consommateurs ont envers les meilleures marques fait qu'il est difficile pour les nouvelles marques de competir. Par exemple, Google est devenu très connu comme le meilleur moteur de recherche sur Internet. Même si un concurrent comme DuckDuckGo, Microsoft Bing ou Yahoo (ou toi) arrive à de meilleurs algorithmes, la plupart des utilisateurs en ligne utiliseraient probablement toujours Google, vu qu'ils ont la marque Google à l'esprit. des bénéfices élevés: les marques fortes qui dominent le marché sont rarement les moins chers (Ici encore, on peut considerer l'exemple de Apple). Une bonne marque doit...

Lire la suite

5. Branding (on marketing for programmers)

What's the difference between products and brands? A product can be anything that has the capacity to satisfy customer needs whereas branding is the process in which companies distinguish their product offerings from the competition. the benefits of brands: Company value, because the financial value of companies can be greatly enhanced by the possession of strong brands. Consumer preference and loyalty: strong brand names can surely have positive effects on consumer perceptions and preferences. If we consider fan boys, like the Apple fan boys, who purchase nothing but what comes from Apple (Mac, Ipod, Iphone, Ipad, etc). Most of the time, their choice depends more on the brand than on the actual devices quality. Barrier to competition: the impact of the strong, positive perceptions held by consumers about top brands means it's difficult for new brands to compute. For example, Google has become very notorious as the best search engine on the Internet. Even if a competitor like DuckDuckGo, Microsoft Bing or Yahoo (or you) come up with better algorithms, most of the online users would probably still use Google, as they got the Google brand on their mind. High profits: Strong, marketing-leading brands are rarely the cheapest (Here again, think different, I mean, think Apple). A good brand name should...

Lire la suite

4. La segmentation du marché et le ciblage (du marketing pour programmeurs)

La segmentation marketing est l'identification des individus et des organisations ayant des caractéristiques similaires qui ont des implications importantes pour la détermination de la stratégie marketing. Par conséquent, la segmentation du marché consiste à la division d'un marché diversifié en un certain nombre de petits sous-marchés qui ont des caractéristiques communes. La segmentation des consommateurs peut être faite en fonction de nombreux facteurs:...

Lire la suite

4. Market segmentation and targeting (on marketing for programmers)

Marketing segmentation is the identification of individuals and organizations with similar characteristics that have significant implications for the determination of marketing strategy. Therefore, market segmentation involves the division of a diverse market into a number of smaller submarkets that have common features. Consumer segmentation can be done according to many factors:...

Lire la suite

3. Les systèmes de recherche et d'information (du marketing pour programmeurs)

La recherche marketing est extrêmement importante. Les sociétés qui sont vraiment orientées marketing reconnaissent qu'elles ont besoin d'être toujours en contact avec ce qui se passe sur le marché (et toi aussi tu devrais). Les besoins des clients évoluent constamment, souvent de façons qui sont très subtiles. Si on considère l'histoire de l'informatique, lorsque nous sommes passés de machines énormes, à de plus petites, pour atteindre l'ordinateur personnel (PC), et de machines déconnectées à la nécessité de les connecter en réseau puis à Internet. Il y avait alors tant de ressources en ligne qu'il y avait un besoin de les trier (comme Yahoo l'a fait), puis chercher des informations précises à travers toutes ces ressources (comme Google a fait). Plus récemment, il y avait un besoin de porter l'expérience sociale en ligne (comme Facebook l'a fait) et maintenant nous pouvons sentir que les gens ont besoin est de prendre l'internet partout où ils vont, et nous devenons de plus en plus (internet) mobile. Beaucoup de révolutions technologiques se produire accidentellement, mais la plupart d'entre elles sont les résultats de recherches pertinentes et d'observation. Sur Internet, il y a beaucoup de façons (pas chères) pour un programmeur de savoir ce que les gens veulent:...

Lire la suite
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Archives Mensuelles

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))