Re: What’s a Small Coding Habit That Made a Big Difference Over Time? Digital Media Digital Marketing Search Engine Strategies by Reverend Jim I'd have to go with your practice of writing the docs/comments early on in the coding cycle. It's been a life saver. If you wait until after the code is written and debugged there is pressure to just move on to the next thing. Re: Error LNK1104 when debugging Programming Software Development by Mr.M I've checked every line but still, I even commented out the entire code but the problem still persist. What I've just noticed is that when I connect my laptop to an internet connection once Avast AV shows on screen then this error comes. I have to restart the entire computer and disconnect it from the internet then it will run proper. Re: Error LNK1104 when debugging Programming Software Development by Mr.M This is very strange, if I change this code `hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);` To `… Re: Error LNK1104 when debugging Programming Software Development by Mr.M I've checked even with the NCR document it's correct. Page 57 of the document you are referring to has just one code on my end Re: Error LNK1104 when debugging Programming Software Development by rproffitt … contine until it hit this specific LOC. LOC = Line Of Code. Also you have to other issue of an outdated Visual… Re: Android Native - How To Request Notification Permissions Programming Mobile Development by Inamullah_1 Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the … Re: How do I make my code jump back to a previous line? Programming by Dani Organizing code into functions is always important for readability and also to be able to reuse parts of your code as your app gets bigger. Thank you for posting your updated code to share with others :) Re: Dynamic Properties in PHP 8.2 Programming Web Development by Dani … a whim defeats the purpose of organizing and structuring your code by having the class in the first place. Nevertheless, I… User object or something of that sort. However, if your code requires a quick way of creating and working with a… should suffice. Doing a cursory glance at some of my code, I've used this in places where an object is… Dynamic Properties in PHP 8.2 Programming Web Development by Dani … and sort through and refactor a lot of old, crusty code that was not written by you, there's an easy… Re: Convert jQuery to native Javascript Programming Web Development by polcreation > I know that this is probably a hopeless question, but are there any automated scripts that would *reliably* and *automagically* convert my thousands upon thousands of lines of jQuery code into native Javascript? Maybe try Haxe.org Safely upload a file Programming Web Development by Dani Here's a quick bit of code to upload a file in PHP. Re: How to show visa info based on country selection in a travel form? Programming Web Development by Dani … it appropriately. Can you please provide the Javascript code as well as PHP code that is buggy so that we can help… is most likely because of a bug in the PHP code. If the DOM doesn't reflect the new message, then… PHP instead of PHP utilizing a database? Please provide your code :) Re: Error LNK1104 when debugging Programming Software Development by toneewa … - expected a newline Hard to say without seeing code. Some cases m_hservice may require you to use the…quot;\n"; std::cout << "Raw Version Code: " << std::hex << m_dwRVersion …for 'wuauserv'. Service Version: 1.6.10 Raw Version Code: 1060a Failed to start service. Error: 1056 //already … Re: Error LNK1104 when debugging Programming Software Development by wwwalker …'t be compiled with missing libraries. In C and C++ code, the library header includes are at the top of the….g.: #include <iostream> Go through each error where code requires a library to be linked and add those includes… and hopefully you have linked all relevant libraries for your code to compile and a valid .exe file will be generated… Re: Error LNK1104 when debugging Programming Software Development by Mr.M …. What I will do is try commenting out all the code and try debugging and see if it will debug and… if it does I will uncomment one line of code at a time and see if I will figure out… Re: How to show visa info based on country selection in a travel form? Programming Web Development by Biiim …'] = true;` then populate the form based on a selected country code) but it is up to you as long as you… saving the PHP script always checks the database or PHP code for the actual value. Real users don't mess with…="h6 mb-0 input-group-text">Phone Code</p> <input type='text' id='phone'/>… Re: Error LNK1104 when debugging Programming Software Development by Salem …@@$$Q3GA) You need to define these symbols somewhere in your code for it to compile an executable. Re: Error LNK1104 when debugging Programming Software Development by Mr.M … never used Git before. I've commented out all the code but still. What I think might be producing this problem… Re: Error LNK1104 when debugging Programming Software Development by toneewa … easier to just start a new project and copy the code and redo the library with the default icon and practice… Re: Handling Performance Issues in TreeView for Large MLM Networks Programming Software Development by Reverend Jim Two possible ways to handle this: 1. Populate the tree in a separate thread 2. Only populate sub-nodes as required to view You can do option 2 by putting the "populate directly under this node" code in the event that gets triggered when you select a node. Re: Important web design and development techniques? Digital Media by Eckert …, follow SEO best practices, optimize images, and write clean, maintainable code. Also, using version control (like Git) is a must. Keep… Re: Crosshair has a vertical and horizontal line to view the value of the axis. Programming Software Development by rproffitt Sorry but I only have VS2008 and VS2022 now. But for a real-time crosshair that moves with the mouse, showing its position along the X and Y axis I asked ChatGPT and it appears to only need less than 20 lines of code that respond to Chart1_MouseMove(). Re: Crosshair has a vertical and horizontal line to view the value of the axis. Programming Software Development by Dani … with AI is to give it very short bits of code to write at a time. If you ask it to… Re: Error LNK1104 when debugging Programming Software Development by Mr.M I've managed to find the problem but I don't know how to fix this because what it complains with is there. `error c2143: syntax error : missing ')' before ';' ` Here's the code it's points to. `hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);` Re: Dynamic Properties in PHP 8.2 Programming Web Development by Dani Oh, and an important bit I forgot to mention: PHP's built-in stdClass has the `#[AllowDynamicProperties]` attribute already added. In fact, you can see in the [PHP docs](https://www.php.net/manual/en/class.stdclass.php) that the definition of the stdClass is "a generic empty class with dynamic properties." That means that you can always … Re: Dynamic Properties in PHP 8.2 Programming Web Development by jkon I can't get it , why anyone would want to `$user = new User(); $user->nickname = 'Dani';` if nickname is not a public property of User , or even worse `$user = new stdClass(); $user->nickname = 'Dani';` ? Why ? Re: Dynamic Properties in PHP 8.2 Programming Web Development by Dani > This obviously does not make sense to do if you want to create or work with a User object or something of that sort. I realize that in my previous post I incorrectly gave the example of `$user = new stdClass(); $user->nickname = 'Dani';`. My intention was not to say that it was good coding practice to represent a user of the app with an … Re: Safely upload a file Programming Web Development by Dani I realize I could have done better when coming up with a safe name. As it stands, a file uploaded that has a file name in non-Latin characters will just end up with a bunch of underscores. I’m not even sure if that suffices as a file name, but for sure there will be collisions as multiple files are attempting to be saved with the same _ name. Re: What do you do for work? Community Center Geeks' Lounge by fzlr IT and network admin for a medium sized school. Love my job. Re: Safely upload a file Programming Web Development by john_111 You should display a message acknowledging the upload was successful or that it failed (and why it failed), and perhaps it's new name.