Solved

VB->C# translation of variables

Posted on 2004-03-25
2
631 Views
Last Modified: 2008-02-01
What is the equivalent of the below?:

Private Const DONT_RESOLVE_DLL_REFERENCES = &H1&
Private Const LOAD_LIBRARY_AS_DATAFILE = &H2&
Private Const LOAD_WITH_ALTERED_SEARCH_PATH = &H8&
0
Comment
Question by:rossryan
  • 2
2 Comments
 
LVL 10

Accepted Solution

by:
eternal_21 earned 500 total points
ID: 10684027
private const DONT_RESOLVE_DLL_REFERENCES = 0x1;
private const LOAD_LIBRARY_AS_DATAFILE = 0x2;
private const LOAD_WITH_ALTERED_SEARCH_PATH = 0x8;
0
 
LVL 10

Expert Comment

by:eternal_21
ID: 10684037
For hexidecimal values in c#, just change the &H to 0x and get rid of the trailing ampersand!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now