Search:

Type: Posts; User: fa2020

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. How to load DataGridView content everytime the app is run?

    Hi,
    I can export DGV content into Excel file. But I need to load my previous content everytime I run the app. How is it possible? The save file should be in the same file path.
  2. Re: How to generalize the name of a DataGridView object?

    Does it mean that C# is weaker language in comparison with VB.NET?
  3. Re: How to generalize the name of a DataGridView object?

    DataGridView cannot be defined in C#. :mad:
  4. How to generalize the name of a DataGridView object?

    Hi,
    I want to make a dll library for exporting DataGridView content to Excel file. The code works pretty fine in the main windows form. But I want to generalize it to create dll file for using in...
  5. Re: How to selected value of a dropbox column of a DataGridView programmatically?

    No, DGV doesn't bounty to external data. I store information directly. The point is that I don't put information directly to the DGV, rather I use text boxes an input from for filling DGV. A button...
  6. [RESOLVED] How to selected value of a dropbox column of a DataGridView programmatically?

    I'm a C# user. I did some search in Internet but I couldn't find any proper solution for my problem.
    I have a DataGridView which adds rows and fill their value by pressing a button. The values'...
  7. [RESOLVED] Calculating remaining days between two dates

    I have used Persian calendar in my project. The date is selected using a component date picker (a reference dll file). By pressing the add button, all input information including Persian date is...
  8. How to reset Send/Receive counter in network adapter?

    Hi,
    I want to reset (make zero) network adapter send/receive counter. Which class and method can handle this?
  9. Replies
    2
    Views
    295

    Re: [RESOLVED] How to solve IO error?

    Thank you. The problem solved.
  10. Replies
    2
    Views
    295

    [RESOLVED] How to solve IO error?

    Hi,
    I'm trying to get drives total size (including Hard drives) and free space using drive.TotalSize property. But it gives IO Exception Error and says that drive is not ready.
    While drive.IsReady...
  11. Replies
    9
    Views
    810

    Re: HDD Read/Write speed

    I could finally write a code for HDD read/write transfer rate using PerformanceCounter class. Now, my problem is HDD selection. My own PC has 2 Physical Disks and a SSD disk.
    My code shows...
  12. Replies
    9
    Views
    810

    Re: HDD Read/Write speed

    I couldn't find System.Diagnostics.PerformanceCounter in Console Application in NetFrameWork 3.1.
    How can I enable it?
  13. Replies
    9
    Views
    810

    Re: HDD Read/Write speed

    I meant the activity rate of hard disc. For example, I want to show hard disc read/write data speed swings when I copy a file or play a video on disc.
  14. Replies
    9
    Views
    810

    Re: HDD Read/Write speed

    What method reads HDD read/write speed. I couldn't find anything in Internet.
  15. Replies
    9
    Views
    810

    HDD Read/Write speed

    Hi,
    I'm going to use hard drive read/write speed in my project. I have two label objects named Label1 and Label2, and a timer named Timer1, and a combobox.
    I want to use combo box for selecting HDD...
  16. Replies
    6
    Views
    449

    Re: Converting C3 to VB.Net

    I used Instant VB and it worked.
  17. Replies
    6
    Views
    449

    Re: Converting C3 to VB.Net

    For example, have a look in this C# code:

    using System;

    using CU;
    namespace ProgressDemo
    {
    public class Program
    {
    static void Main()
  18. Replies
    6
    Views
    449

    Converting C3 to VB.Net

    Hi,
    I have found some useful codes but they are in C# language. How can I convert those projects to VB.Net?
    Online C# to VB.Net converts the code, but when I paste in Visual Studio, It gives...
  19. Re: Developing an app for monitoring applications' traffic

    I meant an app which displays all applications established traffic. For example, Chrome.exe has established an Internet connection and Dowanload speed is 900Kb/s and Upload speed is 244Kb/s
  20. Re: Developing an app for monitoring applications' traffic

    I have found some C# codes but I cannot understand C# syntax. I use C# to VB.Net online converters but it doesn't run. Converters cannot convert correct code.
  21. Developing an app for monitoring applications' traffic

    Hi,
    I'm going to develop an app for monitoring windows applications network connection speed.
    For example, I want my app to show Chrome.exe Internet/Network usage by Down/Up stream (e.g. 845 Kb/s...
  22. Re: Problem in Download/Upload update interval (Transfer Rate)!

    Thank you. It solved my problem.
  23. Re: Problem in Download/Upload update interval (Transfer Rate)!

    So, how can I reduce the time between two download/upload amount, from 1s to 1/10s?
  24. Re: Problem in Download/Upload update interval (Transfer Rate)!

    I couldn't see any time related thing in BandwidthPerSec():confused:
    bandwidth per second is as follows:

    Private Sub BandwidthPerSec()
    Try

    Dim NicStats As...
  25. [RESOLVED] Problem in Download/Upload update interval (Transfer Rate)!

    This is a bandwidth monitoring program which I found its source code in Internet. I tried to add some minor changes.
    One of changed I want to add, is Download/Upload update interval. When I set it...
  26. Re: How to make change in this project?

    What is app.config? Why the code gives error when I delete app.config?
    app.config isn't vb.net code.
  27. Re: How to make change in this project?

    I made those changes, but Total download and upload gets 0 and don't change anymore
  28. [RESOLVED] How to make change in this project?

    I downloaded the following project from Internet.
    The code is very complex for me. I couldn't understand it at all. It has lots of nested classes.
    I want to make change in its code and use it in my...
  29. [RESOLVED] How to disable auto-save feature in VS Pro 2019?

    Hi
    When I want to test some codes, after running the codes, VS Pro saves it, but I want to save only when I press the save button.
    Is there any way to disable auto-save feature?
  30. Replies
    9
    Views
    675

    Re: Problem in class defination

    Do you have any tutorial link (from youtube) which can teach the modern and correct way of using classes?
    I wrote this code using a YouTube tutorial.
  31. Replies
    9
    Views
    675

    Re: Problem in class defination

    Public Class cRectArea
    Private _length As Double
    Private _width As Double

    Function GetArea() As Double
    GetArea = _length * _width
    End Function

    Public Property...
  32. Replies
    9
    Views
    675

    Re: Problem in class defination

    I tried to change the return statement to associated private variable, but it still gives 0 as the answer.
  33. Replies
    9
    Views
    675

    [RESOLVED] Problem in class defination

    Hi,
    For learning purpose, I tried to write a simple code for calculating rectangle area in Console Application.
    For this, I tried to use Class (I want to learn classes). I learned from a tutorial...
  34. Re: How to take basic calculations in a text box as an input

    I could finally use library dll file for achieving what I want:
    178234
    Thank you.
  35. [RESOLVED] How to take basic calculations in a text box as an input

    Hi,
    I have designed a time converter (with the help of this forum members) which you see below:
    178232
    The text box just accept integer numbers. I want to develope my code and do some basic...
  36. Re: How to convert total minutes to time format?

    Ok, Thanks. It worked.
    How can I do some basic math operations in textbox?
    For example, I want to write 20+122+(3*45) in the text box. The text box should firstly calculate those numbers and then...
  37. [RESOLVED] How to convert total minutes to time format?

    Hi friends,
    I want to make a simple app which receives the total minutes through a text box as an input, and then after clicking the calculate button, the answer is written as a label object in the...
  38. Re: How to delete all folders and sub-folders in a path?

    Finally, I found my answer.
    I just need to change this line:

    IO.Directory.Delete(dir, True)
  39. [RESOLVED] How to delete all folders and sub-folders in a path?

    Hi,
    For learning and testing purpose, I tried to write some codes for deleting all the files and folders in a specific folder in my desktop. I want to develop this code for clearing all files and...
  40. Re: How to disable mouse and keyboard for 10 seconds

    But, I just want to learn something. I'm in the first steps of VB.NET programming. I don't want to bother anyone.
Results 1 to 40 of 48
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width