Solved

VB->C# translation of variables

Posted on 2004-03-25
2
636 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C#  Radio button search for Date not DateTime 4 47
Google Directions API to Map URL -C#? 3 27
2 questions 10 25
HttpPostedFile 1 26
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.

831 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