Search:

Type: Posts; User: sapkotak69

Search: Search took 0.03 seconds.

  1. Handle combobox items inside the datagridview column

    Hello Everyone,
    I am having some problems working with the datagridview columns and the Combobox items.

    I have one combobox column in a datagridview with two options to select:

    Option1
    ...
  2. Replies
    1
    Views
    557

    Importing External dll to a project

    Hello,

    I have added some external DLL files to my project following the method shown in the following figures:

    182445

    182446

    182447
  3. Re: Delete duplicate rows from XML file

    Hello dbasnett,

    Thank you for your response and sorry for the trouble because of the picture.
    Your idea worked fine. Thanks a lot.
  4. [RESOLVED] Delete duplicate rows from XML file

    Hello,

    How to delete the duplicate rows from the XML file? I have attached the format of my XML file and I want to delete the duplicate rows from it i.e. if Machine-number, Sensor and...
  5. Replies
    4
    Views
    1,058

    Re: Append elements in XML file

    Hello dbasnett,

    Sorry, I thought it will work anyway. Now it's working fine. Thank you for your help.
  6. Replies
    4
    Views
    1,058

    Re: Append elements in XML file

    Hello dbasnett,

    I have used the method you suggested and got the following result.
    181614

    But my goal is to get the following:
    181615

    Here is the full version of my code:
  7. Replies
    4
    Views
    1,058

    [RESOLVED] Append elements in XML file

    Hello everyone,

    I have been trying to work with XML using VB. But could not find a way to append some new elements. Any help would be highly appreciated.

    181605
    This is my XML file generated...
  8. Replies
    8
    Views
    1,521

    Re: Multithreading and timer

    Hello,

    Thanks, BB. System.Timers.Timer solved my problem. Now, everything is working fine, both the thread and timer are working as needed. Also, thanks to everyone for your time and suggestions.
  9. Replies
    8
    Views
    1,521

    Re: Multithreading and timer

    Hello, actually making an instance of the second form is taking most of the delay time in my project. I.e. "Dim f2 As New Form2" line from your example. Not sure exactly why but might be because of...
  10. Replies
    8
    Views
    1,521

    Re: Multithreading and timer

    Hello,

    In the second form, I am making a connection with the database, and the necessary data transmission process takes place after the successful connection. Also, many other high resolutions...
  11. Replies
    8
    Views
    1,521

    [RESOLVED] Multithreading and timer

    Hello everyone,

    I have been facing some problems related to multithreading and timer. I have read in some other posts about it but as being a beginner in this field, could not exactly understand...
  12. Replies
    2
    Views
    817

    Re: Tab Page control inside a thread

    Hello dday9,

    First of all, thank you for your response. The code you provided has done my work.
    I have called this thread into another event. If you remember, I have also mentioned in my earlier...
  13. Replies
    2
    Views
    817

    Tab Page control inside a thread

    Hello,

    I have been trying to switch between the tab pages inside a background running thread. Below I have attached a snippet of my thread code and If the value of i becomes 5 the tab page should...
  14. Replies
    3
    Views
    1,366

    Re: Localization of Strings In Messagebox

    Hello,

    I have made two different resource files by their culture name and tried to implement the idea. It worked fine with the English string but when I tried to get the German String from...
  15. Replies
    3
    Views
    1,366

    Localization of Strings In Messagebox

    Hello,

    Is there any way to change the language for the strings of message boxes? Till now, I have used the English language in my message boxes, but what I want to do is, show all the strings in...
  16. Replies
    13
    Views
    2,828

    Re: Hex value to Byte of Hex value

    Hello,

    Yes, I did the debugging but I didn't notice the error as I was getting some values from there. And these values seem correct to me.
    Anyway, the problem is solved now. And thank you for...
  17. Replies
    13
    Views
    2,828

    Re: Hex value to Byte of Hex value

    Hello,

    So stupid of me not to find that small problem. Anyway, thanks a lot. Now, I am getting the correct values.
  18. Replies
    13
    Views
    2,828

    Re: Hex value to Byte of Hex value

    Please have a look at the following code:

    Function CRCCalculationParameters(ByVal NodeID As UInteger, ByVal sensortype As String, ByVal sensorposition As Integer) As UInteger
    Dim counter As...
  19. Replies
    13
    Views
    2,828

    Re: Hex value to Byte of Hex value

    But I need to pass the hexadecimal value in order to get the correct CRC. Passing the Integer value result in the wrong Checksum.
  20. Replies
    13
    Views
    2,828

    [RESOLVED] Hex value to Byte of Hex value

    Hello,

    Can someone please help me with this:
    I have the Hex value as &H6021FA64 (Note: I don't want to declare my hex value as a string)

    and I need them as a byte of hex value

    Dim frame(3)...
  21. Replies
    12
    Views
    2,275

    Re: How to use one event inside another

    Hello,

    Really sorry, I forget to mention that I got your point and I have already tested my program following the way you have suggested and It's working fine. I was only asking if it's possible...
  22. Replies
    12
    Views
    2,275

    Re: How to use one event inside another

    Hello,

    The button click event should only return the text inside it, nothing more. I could have used textbox or any other control instead of Button because I just need the text stored in that...
  23. Replies
    12
    Views
    2,275

    Re: How to use one event inside another

    Hello,

    First of all, thank you for explaining it all. I have tried to implement your ideas but unfortunately, my main problem is still unsolved. Please have a look at the following code and...
  24. Replies
    12
    Views
    2,275

    Re: How to use one event inside another

    Hello,

    Thank you for your response. I got your point and the text inside each button is a 4-byte Hex string(Serial Number of a sensor). And the same text could be in my first button at one runtime...
  25. Replies
    12
    Views
    2,275

    How to use one event inside another

    Hello everyone,

    Here I am again with another problem. As I said in my last post(if someone remembers) I am new to VB.Net and don't have much idea how things work here. To be honest, I am having...
  26. Re: How to handle two or more sub routines at a time

    Hello everyone,

    The code has now worked. Both the task (Communication and blinking) is running as needed.
    Many thanks to you all. I appreciate your effort and time.
  27. Re: How to handle two or more sub routines at a time

    Hello,

    It takes around 30-40 Sec to make the complete communication to each sensor. And in the meantime, the respective sensor PictureBox should blink. That's what I am trying to do. Can you...
  28. Re: How to handle two or more sub routines at a time

    Hello passel,

    Yes, this is exactly what I am trying to do but unfortunately not succeeded yet. I am not sure how am I supposed to implement this idea. Could you please help me further by looking...
  29. Re: How to handle two or more sub routines at a time

    Hello Everyone,

    I have succeeded to make my program run for each click event of the PictureBox, all because of your help, thanks to everyone.

    But now I am having a problem to run my program for...
  30. Re: How to handle two or more sub routines at a time

    Hello,

    I am also not sure why is this code not working as expected. I also did debugging and as I said the program enters in the Subfunction and executes each line, It sends the Messages but the...
  31. Re: How to handle two or more sub routines at a time

    Hello,

    I have made the changes as you suggested. But still, my PictureBox is not blinking, the program directly goes to the next line and sends the messages. And when it finished sending all the...
  32. Re: How to handle two or more sub routines at a time

    Hello Everyone,

    Thank you for your responses.
    To be honest I am new to VB.Net and don't have much idea of how things work in here. I wanted to apply the idea of multithreading to handle more than...
  33. Re: How to handle two or more sub routines at a time

    Hello there,
    Thank you for your response.
    Actually, I am using 'SharpDevelop' IDE for this application and not Visual Studio.

    It throws the following error after adding the part you suggested...
  34. [RESOLVED] How to handle two or more sub routines at a time

    Hello there,

    I am having some problems to handle/run two Subfunctions at a time. Any help would be highly appreciated.

    This is my PictureBox click event:


    Sub PbFSGClick(sender As Object, e...
Results 1 to 34 of 35



Click Here to Expand Forum to Full Width