Results 1 to 6 of 6

Thread: Visual studio c++ to vb2010?

  1. #1
    oriax123's Avatar
    oriax123 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Jul 2012
    Posts
    8
    Reputation
    0

    Question Visual studio c++ to vb2010?

    Is there a way to use or convert a visual studio c++ project to be used in visual basic express 2010? I wanted to play with Chromium Embedded Framework aka CEF but its for vsc++.

  2. #2
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    466
    Reputation
    348

  3. #3
    Solitaire is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    New York
    Posts
    427
    Reputation
    163
    I don't know about the Chromium Embedded Framework, but C++ has access to low-level "unsafe" code (including some APIs) which is not available in VB. VB strictly uses only safe code within the .NET framework.

  4. #4
    oriax123's Avatar
    oriax123 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Jul 2012
    Posts
    8
    Reputation
    0
    I found a c# version of the CEF and converted to vbnet, the cefwebbrowser was added to the form but i have no clue how to have it navigate as its different that other browsers ive used before.

    for example on other browsers itll be like

    Code:
    webkitbrowser1.navigate("http://www.google.com") ' or textbox1.text ect
    
    'while cefwebbrowser is like
    
    cefwebbrowser1. 'i dont know lol there are several options like loadurl , starturl, address, site, ect but couldnt get any to run without errors :/
    can you help?

  5. #5
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    466
    Reputation
    348
    I'm sure the documentation that came with the library you used will tell you how it works.

  6. #6
    Herman is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    466
    Reputation
    348
    Quote Originally Posted by Solitaire View Post
    I don't know about the Chromium Embedded Framework, but C++ has access to low-level "unsafe" code (including some APIs) which is not available in VB. VB strictly uses only safe code within the .NET framework.
    It's kind of off topic, but this is rubish. You can call Win32 API code and unsafe code from .Net.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking