Click here to Skip to main content
15,887,822 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to send sms Pin
GuyThiebaut1-Dec-13 3:02
professionalGuyThiebaut1-Dec-13 3:02 
GeneralRe: how to send sms Pin
Mycroft Holmes1-Dec-13 11:50
professionalMycroft Holmes1-Dec-13 11:50 
GeneralRe: how to send sms Pin
GuyThiebaut2-Dec-13 0:17
professionalGuyThiebaut2-Dec-13 0:17 
QuestionTo detect running Webcam Pin
Saiful Bahari28-Nov-13 3:41
Saiful Bahari28-Nov-13 3:41 
AnswerRe: To detect running Webcam Pin
Eddy Vluggen28-Nov-13 9:43
professionalEddy Vluggen28-Nov-13 9:43 
GeneralRe: To detect running Webcam Pin
Saiful Bahari29-Nov-13 5:09
Saiful Bahari29-Nov-13 5:09 
AnswerRe: To detect running Webcam Pin
Eddy Vluggen29-Nov-13 9:18
professionalEddy Vluggen29-Nov-13 9:18 
QuestionRegistration free VB .Net dlls in VB6 Pin
MonganT27-Nov-13 22:12
MonganT27-Nov-13 22:12 
Hello,

I am desperately trying to implement a VB .NET dll in a vb6 program without registration. I am completely new at this and no one in my company's IT department has needed anything like this so far, so there is no one to ask. I can get it to work on my PC without problems, but I can't get it to work on other PCs

So what I tried is this:

- Create a simple dll-class in VB .NET using Visual Studio 2010 (basically a hello world class)
- Make it com visible and register for interop services
- Compile (does compile for release or debug make any difference?)
- import tlb file in VB6
- compile VB6 project

Now I copied the dll and tbl files in the directory of the VB6 exe and tried creating a manifest.

I tried doing it by hand
using MMM
using UMMM
using mt32.exe
using Side by Side Manifest Maker

MMM: Creates an almost empty manifest. No reference to any dll found. Unsurprisingly this doesn't work on other PCs: "ActiveX component can't create object"

MT32.exe: Tryied creating a manifest out of the tlb and dll but I get "Automation error. Error in the dll"

UMMM: I was unsure how to configure the .ini file. What I have is this:
Identity C:\Program Files\Microsoft Visual Studio\VB98\TestDLL_UMMM\TestDLL.exe test "Test1.0"
File TestDLL.dll
-> "not a valid win32 application"

Side by Side Manifest Maker: Creates a manifest if I just add the tbl, but then I just get the "ActiveX component can't create object error". If I add the dll, it can't create a manifest because tlb.exe produces an error (translated from German): "a dependency couldn't be found. The assembly is being created by a runtime that is newer than the current runtime, and can't be loaded"


by hand: I can't actually find that version of the project. Suffice to say, I couldn't get it to work and I had no clue if I was even doing anything right Frown | :(


I am now completely desperate and I have tried everything I could think of. I tried reading up on assemblies, manifests and how they work in VB6 and .NET, but nothing helped me in figuring out what I am doing wrong. Please help!
AnswerRe: Registration free VB .Net dlls in VB6 Pin
Eddy Vluggen28-Nov-13 9:49
professionalEddy Vluggen28-Nov-13 9:49 
GeneralRe: Registration free VB .Net dlls in VB6 Pin
MonganT28-Nov-13 21:03
MonganT28-Nov-13 21:03 
AnswerRe: Registration free VB .Net dlls in VB6 Pin
Eddy Vluggen28-Nov-13 22:31
professionalEddy Vluggen28-Nov-13 22:31 
AnswerRe: Registration free VB .Net dlls in VB6 Pin
TnTinMn28-Nov-13 10:26
TnTinMn28-Nov-13 10:26 
QuestionPlease help me with my project work. Pin
Peter_jnr27-Nov-13 21:49
professionalPeter_jnr27-Nov-13 21:49 
AnswerRe: Please help me with my project work. Pin
Mycroft Holmes27-Nov-13 22:00
professionalMycroft Holmes27-Nov-13 22:00 
GeneralRe: Please help me with my project work. Pin
Peter_jnr29-Nov-13 4:44
professionalPeter_jnr29-Nov-13 4:44 
GeneralRe: Please help me with my project work. Pin
Mycroft Holmes29-Nov-13 12:32
professionalMycroft Holmes29-Nov-13 12:32 
AnswerRe: Please help me with my project work. Pin
Eddy Vluggen28-Nov-13 10:08
professionalEddy Vluggen28-Nov-13 10:08 
GeneralRe: Please help me with my project work. Pin
Peter_jnr29-Nov-13 4:45
professionalPeter_jnr29-Nov-13 4:45 
QuestionRe: Please help me with my project work. Pin
Eddy Vluggen6-Dec-13 5:55
professionalEddy Vluggen6-Dec-13 5:55 
AnswerRe: Please help me with my project work. Pin
Peter_jnr16-Feb-14 11:54
professionalPeter_jnr16-Feb-14 11:54 
QuestionVB 2010 Report is Blank Pin
nyt197227-Nov-13 20:34
professionalnyt197227-Nov-13 20:34 
QuestionWhat do i need to dim the textbox name as? Pin
RedIrishMan26-Nov-13 16:21
RedIrishMan26-Nov-13 16:21 
AnswerRe: What do i need to dim the textbox name as? Pin
RedIrishMan26-Nov-13 16:38
RedIrishMan26-Nov-13 16:38 
AnswerRe: What do i need to dim the textbox name as? Pin
Bernhard Hiller26-Nov-13 22:39
Bernhard Hiller26-Nov-13 22:39 
QuestionScroll Bar Acts Wiered Pin
DipeshTrivedi25-Nov-13 3:28
DipeshTrivedi25-Nov-13 3:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.