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.
Set objMyDLL = CreateObject("MyDLL.MyClass")
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...
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...
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...
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
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...
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...
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...
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
Private FSingle, FMulti() As STest
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...
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.
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...
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...