Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

re infecta

@re infecta
About
Posts
40
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to print out a RichTextBox
    R re infecta

    Yes, I have tried it but it won't work with SharpDevelop (the IDE that I use to code VB.net). Is there any other way?

    Visual Basic tutorial question

  • How to print out a RichTextBox
    R re infecta

    I have googled and googled but not found a single simple solution: How to print the contents of a RichTextBox? The contents is text only and font courier 12.

    Visual Basic tutorial question

  • How to control mouse and keyboard?
    R re infecta

    Hello, I'm using VB.net with NET 2.0. I would be most grateful if you could post answer to all or any of the following questions. How to: 1. Use custom icon for mouse instead of deafult mouse cursor? 2. How to disable all the other mouse buttons than the left button? Some mice have 3 buttons, some have five or more. 3. How to disable the function keys (F1, F2 and so on)? 4. How to disable Windows-key (the kye between to Alt and Ctrl) 5. How to disable "Menu-key" (the one between AltGr and Ctrl)? 6. How to hide Windows taskbar completely? 7. How to disable (from code) all 8. How to disable Ctrl+Alt+Del? 9. How to disable all Windows accessibility settings (for handicapped people) from code? This should happen in a way that when the user closes my application normal Windows operation will be restored.

    Visual Basic csharp tutorial question

  • Reading a file in the internet
    R re infecta

    I need to read the contents of a file that is located in the internet. The problem is that this file is located in a folder that needs username "ukkeli" and password "hattu123". I'm using the code below: Dim myWebClient As New System.Net.WebClient 'the webclient Dim file As New System.IO.StreamReader(myWebClient.OpenRead("http://www.examplesite.com/subdir/file.txt")) Dim Contents As String = file.ReadToEnd() file.Close() How can I make the application to give the needed username and password automatically?

    Visual Basic question csharp com help

  • Best practice to make the program multilingual
    R re infecta

    I a bit of a beginner. How do you do this in practice? Could you give me an example? Let's say label1.Text is in Finnish "Jotain" and in English "Something".

    Visual Basic question discussion

  • Best practice to make the program multilingual
    R re infecta

    OK, I have never used INI files. Could you give me some practical example or reference in web? Thanks?

    Visual Basic question discussion

  • Best practice to make the program multilingual
    R re infecta

    What is the best way to make my program in several languages? Should I create text files that contain label text, window titles, messagebox texts in different langugaes or what do you recommend?

    Visual Basic question discussion

  • How to detect if "My documents" or "Internet explorer" is dropped...
    R re infecta

    Hello! How to detect if user drags and drops icons "My documents", "My music, "My pictures", "My videos" Or "Internet Explorer" from desktop to a listbox of my application? For example "My Document" icon on desktop isn't actually a folder and neither an ordinary shortcut. Please help! :)

    Visual Basic tutorial help question

  • How to read volume label
    R re infecta

    How to read the volume label of drive X? For example, if the drive D has label "Linux", the function would return this name when called with parameter "D:".

    Visual Basic tutorial linux question

  • Running a function every hour
    R re infecta

    Is there a better way to run a function every hour than enable a timer with tick value "3600000"? The problem is that when my application is running and this timer is enabled, Windows XP won't shutdown.

    Visual Basic help question

  • How to delete folder and its subfolders
    R re infecta

    How to delete all folder starting with the characters "abc"? All sub folders should be deleted too and the deletion should work even some folders had files in them.

    Visual Basic tutorial question

  • Integrating the necessary .NET components
    R re infecta

    Is it possible to compile an application so that the necessary components would be integrated? I think it is annoying that the users of my application have to download and install the whole .NET package from MS's website. I would like to make one zip file that contains program.exe and the necessary .NET component files.

    Visual Basic csharp question

  • How to calculate the time difference
    R re infecta

    How to calculate time difference in hours between two dates, let's say 01/01/01 12:00 and 02/02/07 7:00?

    Visual Basic tutorial question

  • How to use integrated zip-compression?
    R re infecta

    I heard on this forum that .NET 2.0 has an integrated capability to compress folders to zip file. How to use this and what is the syntax? Can you give me an example code? I would like to compress two folders "C:\temp" and "D:\foo" into a single zip-file that would be saved into "E:\zipfiles".

    Visual Basic tutorial question csharp

  • Three topics - help greatly appreciated!
    R re infecta

    So, what would be the best way to recognize if the inserted USB memory stick / USB hardrive is the same as the one used before?

    Visual Basic csharp json performance help

  • Three topics - help greatly appreciated!
    R re infecta

    1. Yes, I am using .NET 2.0. How to use this zip support. Could you give me an example code to zip folder and all its subdirectories in "C:\temp\" to folder "D:\here" with the file name "myfold.zip". 2. How to make a registry entry for the startup? Could you give me an example code.

    Visual Basic csharp json performance help

  • Three topics - help greatly appreciated!
    R re infecta
    1. How to get a list of all drive letters and names, including USB-memory sticks, eg. "D: Removable drive"? Am I right that every drive has an individual ID-number or name? If so, how to get this name/ID from vb.net? I would like to compare if the two USB sticks are the same when used one after the other in the same USB-port. 2) What code snippet would tell my app to make "foo.exe" start on every Windows log in? 3) Is there an API to compress a folder into a zip-file or is the only way to use some 3rd party command line application?
    Visual Basic csharp json performance help

  • How to quit application completely?
    R re infecta

    My application is very simple, so I _think_ I haven't open any additional resources. MidiOutOpen is called when main form is loaded, but I close that in the MainForm_closing event. I'm a beginner and I don't know what are threads. Can you please explain me? Still, I can see that two threads are left open even though application should have been shutdown. How to close all threads? Are active timer components threads? What does the "Me.Dispose" command do? It didn't help though.

    Visual Basic csharp help tutorial question

  • How to quit application completely?
    R re infecta

    I'm writing an app in VB.net with .NET 2. The application has a main form plus two other forms. When I click Exit-button on the main form, I call Me.Close(). After that MainForm_Closing routine handles the shut-down procedures. Ultimately I call Application.Exit(). The problem is that although the main form dissapears, application (.exe) keeps reserving system resources (95%!). How to close the application completely? I think the problem is that the two other forms are not closed, but hidden.

    Visual Basic csharp help tutorial question

  • Reading cursor position with a timer
    R re infecta

    I'm using Vb.net. How to make a timer to read mouse cursor position on the form? I know how to use MouseMove event but it won't fire if mouse cursor is still. I would like to have a timer that would constantly report what are the current cordinates of the cursor.

    Visual Basic csharp tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups