CodeGuru Forums
2,803 FOLLOWERS
CodeGuru is dedicated to helping developers and programmers by providing the most robust and up-to-date technical information and code snippets on the Internet. Find hard-hitting articles, discussions, resources, and more all focusing on real developers in the real world.
CodeGuru Forums
6d ago
I have searched for the answer to this but the typical response to catch when a common dialog box is shown with the showsave or showopen and the user hits cancel it ignores my on error goto statement. It throws the error and the project goto debug mode. On Error GoTo ErrHandler CommonDialog1.CancelError = True CommonDialog1.DialogTitle = MSG66 CommonDialog1.FilterIndex = 1 CommonDialog1.DefaultExt = "xlsx" CommonDialog1.Filter = "Excel (*.xlsx)|*.xlsx|(*.xls)|*.xls|All Files (*.*)|*.*" CommonDialog1.InitDir = path CommonDialog1.FileName = path & "AuditorRecap" 'CommonDialog1.CancelError ..read more
CodeGuru Forums
1w ago
Hey everyone, I've been diving into mobile development for a while now, and I wanted to share some thoughts, particularly about wireless technologies and the challenges that come with them. I'm sure many of you are familiar with the older platforms like J2ME and BREW, but I recently came across a specific issue with the .NET Compact Framework. It's still really relevant for some projects, especially for embedded devices or older phones. The main problem I keep running into is the limited memory and processing power available on some devices, which often leads to app performance issues or even ..read more
CodeGuru Forums
3w ago
Hi guys; I'm trying to do this thing: Let say I have an array of 12 elements; each containing an integer. I want to call a function. That function would get as parameter the place in the array. Then the function would read the value of this element in the array; let's call it 'nTime'. Set it to zero. And will increment by 1 the value contained in the next cells of the array for the 'nTime' given. Also if the next cell which value should be incremented is > to the number cells in the array then that value should be inscribed in the first cell of the array and so on. In a circle. I'm trying t ..read more
CodeGuru Forums
3w ago
Hey All, I have recently ported my VS 2013 solution to VS 2022, the projects in my solution (18 of them) are all using the VS 2013 toolset. I have created an installer in VS 2022 (Microsoft Visual C Installer Projects 2022 extension) so I can deploy my project to other systems. My issue is with the version of vcredist_x86.exe that is being used. When I add the Prerequisite to the installer, the only option I have is to use Visual C++ v14 runtime, but, because these are using the 2013 toolset, I need v12 (I am assuming?). I can't find a way of getting the installer to use the vcredist for v12 ..read more
CodeGuru Forums
3w ago
Hi, i like to make the pBuf array type generic like double or int and so. I tried it but was getting various errors. like Fnc not defined in .def. In header I got: __declspec(dllexport) void __stdcal My Fnc(int *pBuf); .cpp: __declspec(dllexport) void __stdcal My Fnc(int *pBuf) { //do stuff with the array retutn 0; } also got .def ..read more
CodeGuru Forums
3w ago
hi, how to gather interval width and number of classes from a histogram of a large array ..read more
CodeGuru Forums
3w ago
Hi, I import office 365 excel.exe my excel automation project using vc++ 2015, in 32 bit. When i run it on PC with office 2016 installation, at line with pSheet->SavcAs(...) i get error like module or method not found with a large negative number. I do not have the exact error message ..read more
CodeGuru Forums
1M ago
Hey Gurus, I am trying to convert a solution with several projects in it from Visual Studio 2013 to Visual Studio 2022. I have come across a few hurdles, which I have managed to overcome, however I am having trouble fixing this linking error: ---Quote--- Error LNK1104 cannot open file 'mfc120u.lib' DCPProSubtitle ---End Quote--- I've done a fair bit of Googling on it and still haven't found a solution that works for me. I'm not too sure how to proceed, I'd really appreciate some help if someone could please? Thanks heaps, -SQ ..read more
CodeGuru Forums
1M ago
Don?t let software issues hold you back! I specialize in debugging Qt applications to identify and resolve even the most complex problems, including those within the Qt source itself. With my expertise, I can: ? Diagnose and fix crashes and memory leaks effectively. ? fix errors that are located in the Qt source code ? Create a static version of your application, eliminating the hassle of deploying numerous .dll or .so libraries. Get your Qt application running smoothly again! Contact me today to discuss how I can help. You can show me the problem via Anydesk or Teamviewer and let me start to ..read more
CodeGuru Forums
1M ago
I am creating a basic page in w3spaces and while I've finished editing the html and css part, I'd like to add a few scripts in it. I tried to add this script (https://www.w3schools.com/howto/howto_js_countdown.asp), which is a countdown timer to my own page but it seems like it doesn't run. Initially I used the code provided HTML: --------- --------- and nothing happened. I also tried other things such as HTML: --------- --------- but neither worked. Do you have any suggestion please as I am not very experienced ..read more