Search results for query: *

  1. C

    Question set entry point in dll

    hey mate.. thanks for that.. that's all i need to confirm.. damn.. i just wasted my 2 bloody days just looking for unrealistic solution.. thanks again mate..
  2. C

    Question set entry point in dll

    i know it might be impossible to achieve (as i've been reading from another articles) but does anyone know how to set a dll entry point in VB.net project? I have created a VB.net dll and trying to call that dll from cobol (unmanaged code). in Cobol, i can only use the entry point statement to...
  3. C

    Question call vb.net dll from cobol

    HI there, has anyone tried to create VB.net dll and call it from cobol? error code from cobol: 114 Attempt to access item beyond bounds of memory (siganl 11). i managed to work the other way around but no luck with this one. any thoughts? thanks R
  4. C

    Question DLL import question?

    Hi there, does anyone know the differences of the following dll import? Using "Public Declare Sub TEST Lib "TEST.dll () Using "<DllImport("KERNEL32.DLL" By Adding the dll file to the COM component what does tlb (type library) file? how does it different with dll file? thanks R
  5. C

    Resolved What is the equivalent code in VB.NET ?

    hey mate.. i got it working... changed the following code: Structure Meminfo <VBFixedString(100), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst:=100)> Dim sCobol As String End Structure to: Structure Meminfo...
  6. C

    Resolved What is the equivalent code in VB.NET ?

    Hey mate the following error has occurred. P.S: the VBA code is working correctly. I just don't understand why the memory allocation is different between VBA and .NET! any further thoughts? thanks
  7. C

    Resolved What is the equivalent code in VB.NET ?

    hey mate.. i'm having this error while running in .NET: I've tested VBA code and working perfectly.. any thoughts?
  8. C

    Resolved What is the equivalent code in VB.NET ?

    Hi There, I've been trying to convert the below VBA code to VB.NET: Option Compare Database Declare Sub Process Lib "Process.dll" (ByRef sInt As Integer, ByRef sString As MemInfo) Type MemInfo sString As String * 100 End Type Public Sub test() Dim sSize As Integer Dim sWord As...
  9. C

    function in command text - ASP.NET

    can you really have a function in the command text? I have a line of code as below: oCommand.CommandText = "UPDATE [SHEET1$] SET TEST = replace([test], '~', ';')" I keep getting an error "Undefined function 'Replace' in expression"
Back
Top