• Member Avatar for Mr.M
    Mr.M

    Replied To a Post in My php is showing wrong results of time difference

    Thank you, you saved me, I've been trying for weeks now. It works now perfectly with your code.
  • Member Avatar for Mr.M
    Mr.M

    Marked Solved Status for My php is showing wrong results of time difference

    Hi DW, I'm trying to mark attendance register which has the date for which that register is being marked for as well as the date which the register is actually …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in My php is showing wrong results of time difference

    I'm getting an error saying the `date_create` class can not be found
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in My php is showing wrong results of time difference

    Thanks, to clarify what I meant regarding the dates is that I have a date input that shows a calendar when a user click on it to choose the date …
  • Member Avatar for Mr.M
    Mr.M

    Created My php is showing wrong results of time difference

    Hi DW, I'm trying to mark attendance register which has the date for which that register is being marked for as well as the date which the register is actually …
  • Member Avatar for Mr.M
    Mr.M

    Began Watching My php is showing wrong results of time difference

    Hi DW, I'm trying to mark attendance register which has the date for which that register is being marked for as well as the date which the register is actually …
  • Member Avatar for Mr.M
    Mr.M

    Gave Reputation to Dani in Editor crashes browser

    Can you try upgrading Chrome now and see if the problem goes away? Much thanks!
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    I've managed to find a solution on my own and it was something so simple, I'm not sure why C++ programmers were unable to pick this up. Basically I need …
  • Member Avatar for Mr.M
    Mr.M

    Marked Solved Status for Show computer name on a label

    Display computer name to a label
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Theory on the VPN

    I guess a more research on this has to be made, problem is that it is hard to get the exact people who knows this and has done it before …
  • Member Avatar for Mr.M
    Mr.M

    Gave Reputation to Dani in Editor crashes browser

    It would be very helpful if you could not upgrade Chrome for now, while we debug this, since you're currently the only known person who is experiencing the bug.
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Editor crashes browser

    NB: I've typed all these reply messages successfully using the same Chrome browser that is crashing.
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Editor crashes browser

    What I've noticed is that it seems to be clutching with keyboard auto-correct/auto-complete. If I type a full word without pressing it from my keyboard suggestion options that shows while …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Editor crashes browser

    Hi Dani, I'm trying to reply with Chrome to test what I've noticed regarding the crash. I've attached relevant screenshots for 3 questions. I'm not using any plug-in ![Screenshot_20250313_051351_com.android.settings.jpg](https://static.daniweb.com/attachments/4/34cf3590e688c7994630462272a9cc21.jpg) ![Screenshot_20250313_051213_com.android.chrome.jpg](https://static.daniweb.com/attachments/4/09617b0325ab84a49d03b9821999a575.jpg) …
  • Member Avatar for Mr.M
    Mr.M

    Began Watching Editor crashes browser

    Following up on [this topic](https://www.daniweb.com/programming/software-development/threads/543151/show-computer-name-on-a-label) it seems as if Mr.M has been having trouble with Chrome crashing whenever he tries to type in our editor (which we just upgraded a …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    @Dani this happens when I type a longer message than it froze and crash. I just tried testing using a different browser and it seems ok with Tor browser, the …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    I'm using Microsoft Visual Studio 2010 (Visual C++ Windows Form Project). Regarding the test yes it doe compile/build/run with no error. Here are the includes #include "stdafx.h" #include <iostream> #include …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    char ComputerName [MAX_COMPUTERNAME_LENGTH + 1]; DWORD cbComputerName = sizeof (ComputerName); if(GetComputerName (ComputerName, &cbComputerName)){ String^ pcname(ComputerName); label9->Text = pcname; }
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    I tried that but I get this error Error 14 error C2440: 'initializing' : cannot convert from 'char [16]' to 'System::String ^' Regarding browser crashing, only with Dani its crashes …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    Error can't convert char to Text when I output ComputerName to label Cannot convert parameter 1 from char[16] to system::String ^
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    See ![Screenshot_20250312_122133_com.android.chrome.jpg](https://static.daniweb.com/attachments/4/6421f2ce80316b65f09dc1ce01ed173c.jpg)
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    I don't know why DaniWeb keep on crashing whenever I try to write
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    I'm using windows
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    My browser keep crashing
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show computer name on a label

    [Here is my code](Post in thread 'get computer name' https://www.tek-tips.com/threads/get-computer-name.1229373/post-4473307)
  • Member Avatar for Mr.M
    Mr.M

    Created Show computer name on a label

    Display computer name to a label
  • Member Avatar for Mr.M
    Mr.M

    Began Watching Show computer name on a label

    Display computer name to a label
  • Member Avatar for Mr.M
    Mr.M

    Gave Reputation to Langflow in Json response in javascript

    Hi! You can decode the JSON response in PHP by using json_decode($response, true); to get an associative array and then get the keys by using array_keys($data) and access values as …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Json response in javascript

    @Dani, I wanted to decode it, basically @BIIM has provided something that helped me out, the problem now is that I've seen that I am facing an issue with how …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Json response in javascript

    I also have to mention that the response will also be a multi-array
  • Member Avatar for Mr.M
    Mr.M

    Created Json response in javascript

    Hi Dw, I want to get the keys and data of the php json response, heres the response I get {"content":{"1":{"title":"Present","start":"2025,01,29","end":"2025,01,29","backgroundColor":"#f39c12","borderColor":"#f39c12"}}} all I'm interested in starts from title.
  • Member Avatar for Mr.M
    Mr.M

    Began Watching Json response in javascript

    Hi Dw, I want to get the keys and data of the php json response, heres the response I get {"content":{"1":{"title":"Present","start":"2025,01,29","end":"2025,01,29","backgroundColor":"#f39c12","borderColor":"#f39c12"}}} all I'm interested in starts from title.
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show selected option id

    Just to indicate I've managed to work around this, and what I'm using is working 100%. There's a reason why it uses the same id's that's because it is dynamically …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in How to Automate NAVIS

    Thanks, as of using document complete I was using it and it is where I try to find the elements but it doesn't find any. You can try it on …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show selected option id

    I've managed to use an alternative, instead of this approach I've changed and used a function call `onChange="Myfunction(this);"` and I then reference to the dom element returned to get it …
  • Member Avatar for Mr.M
    Mr.M

    Marked Solved Status for Show selected option id

    Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show selected option id

    I have many select with the same id and I need to get their options id when that particular select is changed. The code that I have only work or …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Show selected option id

    What I mean is that I have a table that is dynamically generated with and each record generate the same select as you can see above. Now the problem is …
  • Member Avatar for Mr.M
    Mr.M

    Gave Reputation to ohmyposh in Show selected option id

    The code listens for a change event on a <select> element and displays the value (ID) of the selected option in a paragraph. It updates dynamically when the user selects …
  • Member Avatar for Mr.M
    Mr.M

    Edited Show selected option id

    Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even …
  • Member Avatar for Mr.M
    Mr.M

    Edited Show selected option id

    Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even …
  • Member Avatar for Mr.M
    Mr.M

    Created Show selected option id

    Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even …
  • Member Avatar for Mr.M
    Mr.M

    Began Watching Show selected option id

    Hi DW, I'm trying to get selected option id, the problem with my code is that it is only showing or returning the id of the first select only even …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in LNK2005 unsigned short

    Greetings @Salem I haven't heard from you for a while now.
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in LNK2005 unsigned short

    information.updatesa@gmail.com
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in LNK2005 unsigned short

    @Salem here's my email informationupdatesa@gmail.com
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Do you participate in any other communities?

    Is it really going down? In few days back I visited it and it said there's some sort of a company that is busy upgrading it and it will be …
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Convert Vb.net to C++

    Now getting error `C2065 'width' undeclared identifier` And `'x' undeclared identifier` as well as y
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in Convert Vb.net to C++

    Still this doesn't solve the error
  • Member Avatar for Mr.M
    Mr.M

    Replied To a Post in LNK2005 unsigned short

    > Why is Form1.h over 1000 lines long? This is because of the the functions as well as the controls (GUI) > Why are you using C-style strncpy all over …

The End.