Search results for query: *

  1. Robert_Zenz

    Extract Icons using Private Method

    Hello. I've tried to extract icons from exe files, though this works well with ExtractAssociatedIcon(filePath), but it extracts only the 32 pixel-sized icons (16 pixel-sized are needed). Now, clever as I am, I found another method called ExtractAssociatedIcon(filePath, index) which I could use...
  2. Robert_Zenz

    Server counts LF but delivers CrLf?

    Hello everyone again. I was writing my own POP3 client but ran into some problems along the way. I could hunt down one of them by now, which seems to be the key to most of the problems I experienced. I'm using a TCPClient to connect to the server and a NetworkStream to read and write data...
  3. Robert_Zenz

    NetworkStream and large amount of data

    Hello people. A while ago I've started to write my own network layer based upon the TCPClient and the NetworkStream. I'm using a while loop to receive data: Dim buffer(Me.prv_client.ReceiveBufferSize - 1) As Byte Dim read As Integer = Int32.MaxValue Do...
  4. Robert_Zenz

    Real Fullscreen (hide menu)

    Hello. I was looking for a way to put Visual Studio into a real Full-Screen mode, including hiding the menu. I stumbled upon a macro from the bytes.com board, unfortunately it worked for me one time, and one time only. After that I have to reset/reimport all menu settings to make it work again...
  5. Robert_Zenz

    Same Menu Shortcuts in MDI Parent and Child

    Hello. I want to use the same menu shortcut keys in a MDI child as in the parent...the problem is that the parent seems to receive the Event first and is calling his menu entry. The child (though it does have the focus) does never receive any event whatsoever... I can bypass this behaviour by...
  6. Robert_Zenz

    Reading all characters from a font

    Hello. I'm trying to recreate the Windows Character Map. Creating the list of installed fonts is rather easy, but I can't figure out how to read the characters from the font. My first guess was to just display all charactercodes (Char.ConvertFromUTF32), but there are a lot of 'empty'...
  7. Robert_Zenz

    Answered HTTPWebRequest, Content-Type not send?

    Hello. I'm using HTTPWebRequest and WebResponse to send a XML-File to a server and receive the answer. However, it seems like that WebRequest isn't sending the Content-Type Header. At least I've checked it with lesswire.info - HTTP-Header-Test and the Content-Type header doesn't show up. I'm...
  8. Robert_Zenz

    FTP Connection, Socket closes itself

    Hello there. I wrote my own FTP-Class to communicate and download files from an FTP, while yesterday in the morning everything worked great, my code started to get buggy in the afternoon (don't ask, I have no idea...). I'm using the TCPClient to connect to the FTP Server, but for some reason...
  9. Robert_Zenz

    ByVal and ByRef and the Garbage Collection (strange behavior)

    Hello. Since my Project has reached some size I've started using the Garbage Collection and trying to find best ways to keep the useage of memory and cpu small. However, I was trying out how ByVal and ByRef are behaving with the garbage collection and found some pretty strange behavior (code...
  10. Robert_Zenz

    Answered Prevent Component Code from being executed at Design Time

    Hello. I wrote a Component which is basically a class. Since it's nice to drag it from the Toolbox I decided to develope it further as a Component. The problem is that the Component get's executed at Design Time. Since it's a UDP-Server Class with Threading etc., it blocks the ports which are...
  11. Robert_Zenz

    Setting a reference to variable

    Hello. I want to set a reference to a variable similar to ByRef. I'm using some global objects which are declared in each form like Private myObj as Obj = GlobaleConstant.bla.globObj. The problem is, this is copying the momentary value of the object and is not setting a 'real' reference. Does...
  12. Robert_Zenz

    Strange Problem: Columns get 'joined'

    hello. I'm using MySQL and MySQL-Front (VB.NET and ODBC-Connector) and have experienced a strange Problem over the last weeks. Every now and then (very rare, but it's there) the columns get 'joined' in some fields. F.e.: Before: Column1 Column2 Column3 Value Date Date After: Column1...
  13. Robert_Zenz

    Question WebClient throws Exception if there are more than 2 headers

    Hello. I have a problem with the System.Net.WebClient . I'm using it to send POST-Data to an php site and receving the site (which has changed 'cause of this data..whatever). This works fine...but the moment I add more than two headers (Weblcient.Headers.add()) it throws the following Exception...
  14. Robert_Zenz

    Question StartUp-Form does not receive the focus

    Hello. I have a problem with a project, in which the login-form does not receive the focus on startup. I've defined a Splashscreen and the login-form as Startup form, but if I start my application the form stays in the back and does not receive the focus. I already tried the following...
  15. Robert_Zenz

    Question Talking with a scanner...TWAIN, WIA, ???

    Good day everyone. First of all, I don't know if I've hit the right section, so sorry if not. My question is: What's the best way to access a scanner from VB.NET? I already tried WIA, but the list of compatible scanners is (hopefully) a joke...
  16. Robert_Zenz

    Question DataGridView ignores Format

    Hello. Most (and I say most, 'cause sometimes it's working) of my DataGridViews are ignoring the given Format (within the Column.DefaultCellStyle). In my research I already stumpled upon the advice to set the ValueType too, but that doesn't help. Background: I'm filling my DataGridViews per...
Back
Top