dcsimg

Search:

Type: Posts; User: VB.NET Developer

Page 1 of 3 1 2 3

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    1,072

    Re: Allocating more memory in notepad

    See attached file.

    171129



    Itīs possible to alter notepadīs page memory? notepadīs regedit preferences does not contains this option.
  2. Replies
    12
    Views
    872

    Re: Memory allocation issues

    Iīve tried this code for 200 KB file, but it takes too long to display (3 minutes and still nothing)


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  3. Re: Insert character after every n-th line

    @si_the_geek, netcoder1337 - thanks a lot! Now it works as expected!
  4. Replies
    2
    Views
    162

    Re: Join+split files

    Well, I resolved this using an external software. Itīs not really a solution, but for now itīs OK.
  5. [RESOLVED] Insert character after every n-th line

    I want to insert particular character into my textfile at every 2nd position, but this code does not work:


    Imports System.IO
    Public Class Form5
    Private Sub Button2_Click(ByVal sender As...
  6. Replies
    2
    Views
    162

    [RESOLVED] Join+split files

    I want to split big (10MB) text file into multiple small chunks (200000 bytes or so), but I donīt know how to do that exactly. Iīve looked at many tutorials and videos, but none of these works for...
  7. Re: BigInteger substraction errors

    So it seems like that itīs neccessary to declare the array alogside with biginteger type and requiered component. The other is pretty simple. Now its much more clear. Thanks a lot!
  8. [RESOLVED] BigInteger substraction errors

    I want to substract BigInteger value from another BigInteger value, but Iīve got the following errors:

    1.'BigInteger' is a type and cannot be used as an expression.
    2.Syntax error in cast...
  9. Re: [RESOLVED] Extract filename from textbox

    Thanks jmcillhinney! It works now!
  10. VS 2012 Re: Print One Line and wait another data come to print

    I suppose youīd like to print TEXT document. Is that correct?

    If I understand you correctly, youīd like to print your document line-by-line i.e. one line per one printed paper sheet? Thatīs easy...
  11. Re: Embed and load custom DLL

    I tried to isolate possible error at DLL loading process via msgbox ("Error!") and it worked - no error was throwned. So DLL library was succesfully loaded at runtime.

    Problem was - ZIP archive...
  12. Re: Embed and load custom DLL

    Hereīs the error:

    170703

    I tried this code (Button1_Click) - export DLL from references as a file and load it:


    Imports System.IO
    Imports System.Reflection
  13. Re: Get Firefox Master List of About:Config

    First of all, this thread belongs to Visual Basic programming, unless you want to get neccessary entries directly via firefox browser without coding at all.
    Secondly, youīll need an Gecko webbrowser...
  14. Re: Embed and load custom DLL

    I tried:

    1.Rename DLL to Ionic.ZIP.dll, because I suppose that underline causing problems. It does not work even without any character - IonicZIP.dll
    2.All items in My.Resources Access...
  15. [RESOLVED] Embed and load custom DLL

    Iīve encountered problems when I have tried to load custom DLL at app startup which is embedded as a resource file. Here is my code:


    Partial Friend Class MyApplication
    Private...
  16. Re: Get username from user folder

    I resolved it! Problem was in the missing slash after usernamepath (marked in red), but I didnīt noticed it at msgbox.

    Dim usernamepath As String =...
  17. Re: Get username from user folder

    Thanks. Iīve tried this code, but it does not work either.


    Dim usernamepath As String = Environ("USERPROFILE")
    Dim usernamepath2 As String =...
  18. Re: Play sound in VB.NET 2010 When Key pressed

    Pressed and hold is a strict condition?


    Public Class Form1
    Dim WithEvents timer As New Timer
    Dim milliseconds As Integer


    Private Sub Form1_MouseDown(sender As Object, e As MouseEventArgs)...
  19. [RESOLVED] Get username from user folder

    Hi, I have problems when Iīm trying to get username path via Evironment variable.


    Dim usernamepath As String

    usernamepath = Environ("USERPROFILE")
    "C:\users\" + usernamepath + "desktop\" +...
  20. Re: Integer divergence calculator

    Waste of time with this project. Well, I realized that for big numbers the task is practically possible only via logarithms as OptionBase1 showed, but point of this project is measure executed time...
  21. [RESOLVED] Extract filename from textbox

    I want to extract filename from textboxīs filepath, but it does not work.
    InputFile is read-only textbox.
    Iīve tried:


    Dim nazovsuboru As String =...
  22. Replies
    9
    Views
    1,072

    Re: Allocating more memory in notepad

    Of course I know, but I prefre notepad, of course.

    I have 4GB total (3.70 usable), so free memory is approximately 2.3GB. I donīt have opened any app except avast antivirus and firemin, but Iīve...
  23. Replies
    9
    Views
    1,072

    Allocating more memory in notepad

    I am looking for if itīs possible to allocate more memory for notepad in Windows 7. In win10, notepad opens 80 MB txt file pretty fast, but in w7 opening even 500 KB file is a problem (more than 5...
  24. Replace characters in textfile without opening it

    Iīd like to ask you if itīs possible to replace particular characters in textfile without opening it.
  25. Replies
    12
    Views
    872

    Re: Memory allocation issues

    My code is simple: It performs hexadecimal conversion of specified file.


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim...
  26. Replies
    12
    Views
    872

    Memory allocation issues

    Iīve encountered memory allocation issues when Iīve trying to open 50 MB textfile in TextBox(Multiline). Iīve looked at project properties and textbox properties, but I was unable to find an...
  27. Re: Execute CMD commands in VB with parameters

    That works perfectly - CMD is hidden and it closes automatically when the command completes. Thatīs I am looking for. Thanks a lot!
  28. Re: Execute CMD commands in VB with parameters

    This does not work. Your code doesnīt contains space. Iīve tried that with space after the "c" switch, but it does not work either. And, Iīve noticed that in task manager there are many "cmd" and...
  29. Re: Execute CMD commands in VB with parameters

    Currently, cmd window leaves running even the command is executed. I have the "/c" switch, but it does not terminate cmd after the command completes.


    Private Sub Button1_Click(ByVal sender As...
  30. Re: Execute CMD commands in VB with parameters

    Oh, I resolved it via GetProcessByName command. Sorry for stupid question, but I am beginner in VB and generally in programming.
  31. Re: Execute CMD commands in VB with parameters

    Sure. Here is it:


    Public Class Form1
    Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    Shell("cmd.exe /k" + TextBox1.Text)
    ...
  32. Re: Execute CMD commands in VB with parameters

    Currently none. But when I have tried to close CMD via exit/close commads commmand, it reopens automatically.
  33. [RESOLVED] Execute CMD commands in VB with parameters

    I want to quietly execute CMD commands within my GUI app to run CMD external app with specified parameters from textbox. I will have cmd.exe in my directory, so I suppose that I will be able to pass...
  34. Re: Integer divergence calculator

    All I want is to iterate through all combinations which will be configured prior in textboxes. I know that there will be many values. But as I said, I will have only small numbers (12 digits). If...
  35. Replies
    24
    Views
    2,527

    Re: how save a pen drive?

    Please give me detailed answers to every question. Thanks.
    First of all, do you have important data on it that needs to be rescued?

    Have you activated showing of all items including...
  36. Re: Integer divergence calculator

    As for the substract, this code doesnīt do anything when I clicked on the button:


    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    ...
  37. Replies
    24
    Views
    2,527

    Re: how save a pen drive?

    Could you provide me the neccessary screenshots? Then I can help you better.
  38. Replies
    0
    Views
    308

    Extract sound from video

    I want to extract only sound part of video. Itīs possible to convert video file into .mp3 for example, but resulting size is equal to input. Since itīs only sound without any frames inserted, it must...
  39. Replies
    1
    Views
    206

    Extract frames from video

    I need to extract frames (not all) from video file. Itīs possible to extract it via Egmu.CV library, but I prefer internal approaches, not via external libraries if itīs possible.

    Printscreening...
  40. Replies
    24
    Views
    2,527

    Re: how save a pen drive?

    Why did you need the volume number? Itīs not important.

    What device properties menu says about its capacity? Next, are you able to perform "chkdsk" from CMD? But try it without any repair attempts...
Results 1 to 40 of 82
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width