Search results for query: *

  1. A

    HEX values required

    Hi Everyone. some values are taken from user using textbox. The format is only digits. following it the sample of that as we know if we read textbox data this should be in string format. to convert in into original format i use the following code. Now i want to convert the received data into...
  2. A

    converting string to decimal

    Dear All I have a string which is actually a HEX representation and i want to convert it into decimal and show on textboxes. following is the string and explaination of it. Above is the string of HEX without any space. acutally it is like that 01 is Hex and decimal of this is 1 (want to show...
  3. A

    Label Class not showing in the toolbox after modification

    Dear All I am writing a code and i define a class for label. Pictures are as follows of Class Display Control, HMI Display and Toolbox everything was working fine. Then i made some changes in that class (DisplayControl) and delete one of Display Control in Design Form (as shown in the...
  4. A

    Question Main Loop in Windows Form

    Hi Guys. I have a very simple question. I am basically a Microcontroller Programmer using C language. In this there is a Main Loop which always executes and we call different functions from here. In C# Windows form which is the Main Loop which always get executes and do different functions. I...
  5. A

    Answered How to call a function from Main Form

    I want to use a serial port as a class. whenever user Click on Connect button , function will be call and Open the serial Port whenever Disconnect button is pressed, function will be call and Close the serial Port. Can you guide me where i am wrong? using System; using...
  6. A

    Question List<T> working

    I am learning c# and following an example from the docs.microsoft.com, link is below Classes and objects - Introduction to C# tutorial code is below using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace classes {...
  7. A

    Answered Break string and store it into an array

    Hi guys I have a simple question. In the following picture there is one Text box which contains numbers as well as alphabets. I want to break this string and store each letter or number in array. How to do that? e.g string in text box is 23A45E890, i want it like that array[0] = 2, array[1] = 3...
  8. A

    How to give links of files from folder.

    Hi I want to open a pdf file when i click a particular button/link. Currently i have done this by placing the pdf file in my project folder. like as and code for this is This is working fine. Now what i want is to place all the pdf files in a folder name "documents" which is inside the...
  9. A

    Open file using combo box selection

    Hi Everyone. I want to make an application in which different files will be open based on selection from combo box. Below is the image what i want to do if i select File1.pdf and click Open button then the file open in richtext box. same as for other files (File2.pdf ....so on). Also if i add...
  10. A

    want to show serial data in rich text box

    Hi I am a beginner in .Net(Visual C #) platform. Basically i am an electronic engineer and having microcontroller programming experience. I have to do some programming in C# which send and receive some data from hardware. For this purpose i am writing a program in C# to make a desktop...
Back
Top Bottom