Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
O

Onderack

@Onderack
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Register a .NET DLL?????
    O Onderack

    FYI, the reason I need to register the .NET DLL as a COM is so we are able to use it in Navision.

    Visual Basic help csharp com windows-admin

  • All I want to do is open a .pdf in Acrobat
    O Onderack

    Try this; MyPath = Application.StartupPath.ToString Shell(MyPath + "\Potato_Traceability_User_Guide.pdf")

    Visual Basic linux debugging help question

  • Register a .NET DLL?????
    O Onderack

    I feel like a total idiot, but I have spent way to long on this.... I have a Simple DLL Project Name: MyDLL.DLL Class Name: clsTest One Sub: Public Sub TESTING() I tried to register it the old fashion way of REGSVR32 and I just get an error REGASM just does an Assembly Registry which doesn't help me. I can not use the Browse DLL from the application that I would like to use my DLL as it is not supported. FYI, I can browse and use the new DLL in a VB.NET Application, but that doesn't help either. What I need is to be able to select MyDLL.DLL as a Registered COM Object, like in good old VB6... What am I missing......................... Thanks, J.

    Visual Basic help csharp com windows-admin

  • WithEvent / Raise Event
    O Onderack

    Nope, That works fine for just calling the Event. The EXE references the DLL, and I would like to be able to raise the event in the DLL and capture it in the Executable... J.

    Visual Basic help question

  • WithEvent / Raise Event
    O Onderack

    I have an EXE file that calls a DLL. I would like the DLL to RaiseEvent on the EXE, I have pasted sample code for the DLL and EXE My problem is that the Class doesn't seem to be able to Raise the Event on my executable... Any ideas, or errors you see? Thanks in advance, J. -------- START OF CLASS ---------------------- ' The class project is called ClassTest Public Class Class1 Public Event TestRaiseEvent() Public Sub Test() RaiseEvent TestRaiseEvent() End Sub End Clas -------- END OF CLASS -------------- --------- EXE CODE --------------- Public clsTest as New ClassTest.Class1 Public WithEvents TestDLL As ClassTest.Class1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load clsTest.Test() End Sub Public Sub Test_DLL_Test() Handles TestDLL.TestRaiseEvent MsgBox("This is a test of the Raise Event Function....") End Sub --------- OF OF EXE ---------------

    Visual Basic help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups