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

    Actually i am coping this data from another file and paste it in the textbox. so the value i entered in a textbox is treated as a string or hex format?
  3. 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...
  4. A

    Label Class not showing in the toolbox after modification

    what i done is delete all the DisplayControl label on Design Form. then build the whole project, it compiled without any error then i again add the DisplayControl Label. Now they added and compiled witout any error
  5. A

    Label Class not showing in the toolbox after modification

    You are right. i am declaring in a current solution and it was displaying on the top of toolbox. But now after some changes it is not showing in toolbox and also giving error i undo the changes but no effect. it is giving error when compile and run code have only this issue, remaining code...
  6. 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...
  7. A

    Question Main Loop in Windows Form

    Thank Sheeping for your reply. What do you mean by UI? UI means what i am writing code like using timer and it will keep running that code at particular time? OR something else
  8. A

    Question Main Loop in Windows Form

    If we have a start button which Starts the process for one time and we want to continue that loop, can i use timer for this purpose? which will timely call the routine which i want.
  9. 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...
  10. A

    Answered How to call a function from Main Form

    but still same error.
  11. A

    Answered How to call a function from Main Form

    I tried sometime like belows but it is giving an error using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace serial_testing...
  12. 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...
  13. A

    Question List<T> working

    I think BankAccount class will be assigned to each Client. Right? and what is inside BankAccount class will be replicated to each client
  14. 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 {...
  15. A

    Answered Break string and store it into an array

    Hi Guys Thanks for your replies. Actually i am confused how to do that? My main Task is to get input from Textbox (i-e 2345J4567AS09843) then seperate each alphabet, convert it into decimal. After this calculate CRC bytes and then show the complete array on another text box for your...
  16. 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...
  17. A

    How to give links of files from folder.

    Thanks SkyDiver Thanks for your reply Kindly clear me some points In your first code 1- The "explorer.exe" is the file which we want to open? like if i have pdf file, i write its name here. for example file1.pdf 2- ""{foldername}"" , what does this describes? should i write it as it is or i have...
  18. 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...
  19. 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...
Back
Top Bottom