Search results for query: *

  • Users: Fazzyer
  • Content: Threads
  • Order by date
  1. F

    Taskbar-Icon of form in .NET-ActiveX-DLL

    Hi, once again I've come across a problem. I have a COM-DLL (ActiveX-DLL) written in VB.Net (.Net 2.0), that includes a form. This DLL is called by a VBScript out of another application and the form is shown. ' VBScript Set objMyDLL = CreateObject("MyDLL.MyClass") objMyDLL.ShowMyForm() No...
  2. F

    Problem with Serviced Component and CreateObject

    Hi all, after long hours of testing and coding I have no more idea how to solve my current problem. I want to write a serviced component (System.EnterpriseServices) in <Assembly: ApplicationActivation(ActivationOption.Server)> -mode, that can be used (from a simple VBS-file) with CreateObject...
  3. F

    Socket questions: Error detection/correction, packet order?

    Hi, I've got 2 questions about socket programming. Background: I wrote a server/client chat-program for me and my friends using asynchronous TCP-sockets. Now I want to add a "file send"-option, that sends a file from one user to another (peer-o-peer), that should use a different socket on an...
  4. F

    Linedistance in multiline labels

    Hi, does anyone know, if (and how :)) it is possible to change the distance between the lines in a multiline label? I'm writing a question/answer-program for a study at my university and some questions require multiple lines... they aren't readable very good with the standard-linedistance...
  5. F

    How can I get the name of the calling function?

    Hi, I tried a search, but it seems, that the problem has not yet been discussed here... :) I'm currently writing a protocol-DLL for my projects; sometimes I find this very useful. It's just a simple one-class DLL with one function "WriteLine" that openes my protocolfile, writes the line of...
  6. F

    Force Application.Exit from a DLL?

    Hi all, I'm writing a little serial-check DLL for my programs at the moment. I don't want the program to check if the DLL has found a correct serial; instead, if the serial is incorrect, the DLL should exit (kill) the main-program. I've tried importing System.Windows.Forms in the DLL and...
  7. F

    Structure-Properties?

    Hi all! I'm writing a class-DLL at the moment and have a big problem: I have a structure in the DLL and two properties with the structure as type. Public Class MyDLLClass Public Structure STest Dim Text As String End Structure ... Private FSingle, FMulti() As STest ... Public...
  8. F

    Loading a class library dynamically

    Hi all! I want to write a program that can be extended with class-DLLs. All class-DLLs have the same methods. I thought abaout the following procedure: When the application is starting, it looks, which DLLs are in it's folder (for example "test1.dll" (class: CTest1) and "test3.dll" (class...
  9. F

    <Component>.Select() doesn't work...

    Hi all! I want to select a component always, when my timer elapses. Unfortunately, this seems not to work. When I select the component in a Button.OnClick-Event, it works. I don't understand this! Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Back
Top