Search results

  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, thanks for the quick reply! I really hoped for this answer... it makes the code to write a bit simpler. :) - Fazzyer
  4. 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...
  5. 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...
  6. F

    How can I get the name of the calling function?

    Hi, thank you all for your answers! I've tried the solution JohnH posted (StackTrace) and it works so far... I'll have to try a bit further, but it seems to be the thing I wanted! Thanks again, Fazzyer
  7. F

    How can I get the name of the calling function?

    Hi, thanks for the quick answert! Your solution to my problem is exactly the way, I'm doing it at the moment. :) Sorry if I wrote my question a bit confused... I wanted to know if there is a way to do this not in this way, to be more precise: if "WriteLine" can by itself retrieve the name of...
  8. 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...
  9. F

    Force Application.Exit from a DLL?

    Thank you Hi, thank you very much, this works as I wanted! - Fazzyer
  10. 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...
  11. 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...
  12. F

    Loading a class library dynamically

    Thanx Hi, thanks for the answers. I've tried them and they work! :) - Fazzyer
  13. 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...
  14. F

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

    Re Hi, thanks for the answer, I knew the ScrollToCaret-Method already. The problem is that I can't focus the richtextbox (or the textbox in the above example, it's the same problem), and without focus, I can't scroll to caret. Thanx, Fazzyer
  15. F

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

    Another Question... Hi, thank you for your quick answer. I think, I understood it. :) So, now I've got another question regarding a similar topic... (the exemple above was only the "simplified" version of my real problem, but I didn't imagine the solution this "difficult"). I'm trying to...
  16. 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...
Top Bottom