

JohnLM
Members-
Content Count
350 -
Joined
-
Last visited
Everything posted by JohnLM
-
Delphi 12.2 Installation issues - Platforms availability - (Resolved)
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Issue is resolved and installation is now continuing.- 6 replies
-
- delphi 12.2
- installing
-
(and 2 more)
Tagged with:
-
Because I have a small, 128GB hdd in my tablet, I want to install on an external SSD drive. What are the pros and cons for installing on another drive?
-
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM posted a topic in Delphi IDE and APIs
License Specs: Delphi 11.2 Alexandria 11/2022 I finally and recently purchased a 1-yr 'support renewal', which ends nov/2024 so that I could get the 12.2 version. However, I have not received any email confirmation with the new license/serials, and I don't see any updates to my https://my.embarcadero.com/ account. It is the same listing since 11/2022. And when I tried to download the 12.2 iso it said that my update subscription expired and to request a renewal quote. The one I recently purchased was this one: "Delphi Professional - Named - Support Renewal" But I do see there are others mentioned here on these forums: * maintenance update -- * update subscription - - * support renewal -- the one I purchased. Did I purchase the wrong one? -
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Current Specs: Delphi XE7, vcl, win7 and MD5 checksum decoding Update. . . on other news.. regarding the MD5 checksum number given at the download page. I spent hours trying to find out how to do MD5 encode/decode, and finally found the answer I was looking for. I found this routine that worked in XE7 at least, but not tested for other versions old or newer. When run and fed the filename, it took several minutes to process and complete. Happy to say that the checksum produced from the routine below matched the website's !! I hope this code-snippet below, becomes useful for other users. ///// 5a // link; https://stackoverflow.com/questions/447985/file-md5-checksum 9.13.24.fri.0614pm // function MD5File(const FileName: string): string; var IdMD5: TIdHashMessageDigest5; FS: TFileStream; begin IdMD5 := TIdHashMessageDigest5.Create; FS := TFileStream.Create(FileName, fmOpenRead or fmShareDenyWrite); try Result := IdMD5.HashStreamAsHex(FS) finally FS.Free; IdMD5.Free; end; end; ///// - end 5a -- this compiles successfully. procedure TForm1.Button1Click(Sender: TObject); var hash: string; begin // 5a -- "F:\Delphi\Embarcadero\RADStudio_12_2_9782_9961F.iso" hash := md5file(edit1.Text); edit1.Text := hash; end; -
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Update. . . Success! I made contact with my sales rep and I am now able to download the 12.2 iso. -
Am I connected to the Internet - how can I find out?
JohnLM posted a topic in Network, Cloud and Web
Specs: Delphi XE7, 11 and 12, VCL, Win7/10 I work mainly on my win7 latop. And there is this file that I check for stats purpsoes every day and throughout the day as I am working on the laptop. And in one instance today, it dawned on me that I need to know if I was connected to the internet or not. Plus, a side bonus could be helpful to know that if I lose internet I could do something about it. In win7 I noticed that in the bottom task tray area, there is the icon, the one with the square monitor looking image (sure its different in win10), when I hover the mouse over it or click on it, it will say, "Internet access" Is there some delphi code-snippet already out there that will tell me that I am connected to the internet, like in the above mentioned?- 2 replies
-
- delphi xe7 11 12
- internet
-
(and 1 more)
Tagged with:
-
App Tethering incompatability between Delphi XE7 and 12
JohnLM posted a topic in Delphi IDE and APIs
Specs: Delphi XE7, FMX, Win7, Win10, - Creating an App Tethering app for each platform (windows/android/tablet/laptop) I've had my share of problems in this app tethering endeavor but over-come most, if not all of them. In this latest issue I appear to have found a slight bug in the differences between Delphi XE7 and Delphi 12 (and I'm sure in previous version as well). Let me explain. 1. I have several demo app tethering that I created in Delphi XE7 for a windows 7 laptop and android 12 phone, and they work fine. I can send/receive text. 2. I have also create demo apps for app tethering in Delphi 11.2/12.0 for a windows 10 tablet and laptop, and they work fine. I can send/receive text. 3. The problem arrises when I create the same project in XE7, and using the same setup I would in the other app tethering (Password, Resource->Kind=value, Resource->Name=text, ResType=data) but that the send and receive app(s) do not find each other. So, the XE7 app tether cannot find that D11 or D12 app tethering and vise-versa. I need to create certain apps under XE7 for my daily windows 7 laptop because this is my main working computer. My other win10 tablet and laptop(s) are my secondary work devices. My question is, is there a work-around for this?- 1 reply
-
- delphi xe7
- app tethering
-
(and 6 more)
Tagged with:
-
App Tethering incompatability between Delphi XE7 and 12
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Update. . . I can confirm that the above issue is true. Creating the 'app tether' send/recieve app: 1. If I create the apps on my main laptop using Delphi XE7 and the same ones on another device with Delphi 12.0, and then run both apps, they will not connect. But I found a work-around. 2. If I create the apps in Delphi XE7, and copy all the apps to all machines, laptops, and devices, then they will all connect.- 1 reply
-
- delphi xe7
- app tethering
-
(and 6 more)
Tagged with:
-
Specs: Delphi XE7, FMX, Win7, Galaxy s10+ phone Android 12. I've have compile and deployed many apps over to my Android 12 device, galaxy s10+ phone. Earlier this year (2024) I stopped working on those projects I used to compile in this setup/specs (listed above). Today, I am trying to deploy an app and now I can not because of the 'Unsafe app blocked message'. I recall seeing something similar in late Dec/2023 on this phone, but there was a button to allow or not, and now I don't see that on this message screen given on my phone. How can I resolve this?
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
Success!! Okay. I figured out what was causing the problem. I need new glasses. I could not see the part about the link and clicked "Got it" which does not install. 1. So, I deleted the Android folder from the project folder. 2. Then, I restored a backup copy of the origianl unaltered "AndroidManifest.template.xml" file. 3. Compiled/deployed to android. 4. when a "Unsafe app blocked' message appears on the android phone, just above the large blue "Got it" button, click the "More details" link. 5. when you see additional details display, click on the "Install anyway" link. 6. enter your phones sign-on password 7. a dialog of security questions will appear, I just click the Continue button, bottom right. 8. another dialog box pops up for "look for updates.." and "ok". select OK button. 9. app will now load up. -- finished
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
Make me wish there was a Windows Phone.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
I started a new FMX project for android. I only added an edit box. I did not change the template xml file. I left it alone. Then I build it, and that was a success. Then, I compiled/deployed to android. Result: same issue as in post #8 above. I just don't understand it. This was working fine before, back in Dec/2023. And now I can't even compile a small editbox over to android. So frustrating. 😞
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
post #8 I believe I am doing things correctly now. However, it is not working yet. See below for the XML file that I modified for Delphi XE7, and where I replaced the var android:targetSdkVersion="%targetSdkVersion%" with android:targetSdkVersion="31". <?xml version="1.0" encoding="utf-8"?> <!-- BEGIN_INCLUDE(manifest) --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="%package%" android:versionCode="%versionCode%" android:versionName="%versionName%"> <!-- This is the platform API where NativeActivity was introduced. --> <uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="31" /> <%uses-permission%> <application android:persistent="%persistent%" android:restoreAnyVersion="%restoreAnyVersion%" android:label="%label%" android:installLocation="%installLocation%" android:debuggable="%debuggable%" android:largeHeap="%largeHeap%" android:icon="%icon%" android:theme="%theme%" android:hardwareAccelerated="%hardwareAccelerated%"> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:label="%activityLabel%" android:configChanges="orientation|keyboardHidden" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="%libNameValue%" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <%activity%> <receiver android:name="com.embarcadero.firemonkey.notifications.FMXNotificationAlarm" /> <%receivers%> </application> </manifest> ...and when I compile/deploy to Android, it stops at this part: ...and
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
I've edited the "AndroidManifest.template.xml" file and changed the value in the %targetSdkVersion% field from 11 to 31 but when I re-build it (not deploy it), it is changed back to the default of 11. I did notice that there are several copies of the "AndroidManifest.xml" file in the Android folder of the project folder, and I have made the same changes, from 11 to 31. But the value reverts back to 11. I must be updating the wrong file somewhere. Are there steps that show how to excactly make the necessary changes where and when, etc. ?
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
Yes, this one. . . I get that above message and then it closes on its own, and the app (this time) does not get installed. In previous deploying to my android 12 device, it would install but I would get a message similiar to above (not exact) but with the option to allow or uninstall--if memory serves me correctly.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
Cannot get app tethering working when using usb cable from cellphone to laptop
JohnLM posted a topic in Network, Cloud and Web
I am successfully app tethering from a delphi 12.0 win10 tablet to a delphi 11.2 win10 laptop over wifi through a small portable mini wifi hotspot. (The device is a mini router hotspot with internet. However, the 'internet' service was cancelled years ago, but the wifi router portion works fine and I can connect via app tethering with this device successfully and without the worry of being hacked over internet since there is no internet on this device.) Also, I have successfully app tethered with these two (win10 tablet and laptop) in the past over the wifi when I had a working wifi/bluetooth chip in the win7 laptop. However, that chip no longer works so no wifi and no internet on the win7 laptop. But, to get around this, I have discovered that I can get internet on it if I connect my cellphone to it through usb and set my phone to 'app tether'. And this has been and still is working for me for the last 6 months. This past week or so, I decided I need to start transferring some files and other things over from the win7 laptop to my other devices via app tethering but I am failing with the software connecting to the win7 laptop. The way I have the win10 tablet and win10 laptop and win7 laptop to the mini wifi router: 1. In each device, I set the wifi to point to the mini wifi hotspot router. 2. finished And, the way I have the win10 table and win10 laptop and win7 laptop software setup is as follows: 1. D12 win10 tablet as the server -- tpro (Shared) 2. d11.2 win10 laptop as the client -- tpro (Mirror) 3. xe7 win7 laptop as the client -- tpro (Mirror) When I run all three software and begin with the win10 tablet as the server, it finds and connects with the win10 laptop, but not with the win7 laptop. And I can pass text over to the win10 laptop. I believe the issue has something to do with using the proper IP address on the cellphone and/or on the laptop or, I have to set things up so that it reads the cellphones IP addres and then the laptops IP addres in order to connect. But since I know nothing about networking, I am clueless how to get this part working for the win7 laptop over usb to cellphone for app tethering. Does anyone here know how I can configure these two software for the server part (win10 tablet), and the win7 laptop ? (I will be sending text and files from the win7 laptop, so I will have that as the server too.) -
Is it possible to add a time stamp in apps caption after Windows wake from sleep mode? [solved]
JohnLM posted a topic in VCL
Specs: Delphi XE7, VCL, Win7, sleep mode I'm not sure this is possible. I've been searching around but don't think my search queries were able to pull results. I run an app every day and at the app's launch I put a time stamp on the caption bar. The app is run from my desktop, so it's on the 😄 drive. Now, I want to leave the app running even when I shut down the computer into sleep mode. And when I wake the computer up from sleep mode, I'd like to have my app know that and put another time stamp on the caption bar. So, says "myapp (1:30pm, 7:15pm). Is there any way I can let my app know that it came out of sleep mode and at what time I activated or Windows woke up or something?- 2 replies
-
- delphi xe7
- app
-
(and 3 more)
Tagged with:
-
Is it possible to add a time stamp in apps caption after Windows wake from sleep mode? [solved]
JohnLM replied to JohnLM's topic in VCL
success! After more searching around and reading @Brian Evans's post and links (thanks) and refining my searches further, I found the answer, thanks to Engineer Tips solution.- 2 replies
-
- delphi xe7
- app
-
(and 3 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM posted a topic in Databases
Specs: Delphi XE7, vcl, win7 - Firedac, Ms Access database and DBListbox - database name, "data.mdb" I created in MS Access. To my surprise, I found that I cannot view data in real-time in a DBListbox at design-time. I can only view data in real-time at design-time when using the DBGrid. Is this true or am I missing something in my connections or setting during design-time ? I've been struggling with this since yeterday and don't know what else to do. The following is the connection setup that I am working with. At design-time It works with the DBGrid, but not the DBListbox. Connection -> Datasource -> Qry -> DBListbox- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
I tried this in both D12 and XE7 and the same outcome. So, no bug in DBListBox. Its just a odd way of creating a picklist. I think the DBLookupBox is the better way because I can link the Date, Title or Name field in the lookupbox and in real-time/live data will show at design-time. Yes, I discovered how to successfully do it with a DBLookupBox. And that's the route I will take.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
Okay, I think I now understand it and how it works. The short answer: I have to manually fill in the field type data into the Items property. When the Datasource and Datafield are connected, when I move up/down in the dblistbox, the other fields will sync and move accordingly. So, if I have a Date field, and two string fields (i.e., mdate, title, name) in my data.mdb database and I want to create a picklist or selection list via a DBListBox control, I must add the dates in manually (or import them through another means--i won't go into here) and populate the Items property with those dates, run the app and the data should sync up. A DBNavigator might come in handy here. But, if I want to use the Title field instead, in the dblistbox as a picklist/selection list, I must enter manually (or via an import), the Titles into the Items property, run the app, and have the same outcome.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
The only answer that I can come up with is that this was a bug in the DBListBox for XE7 Update 1, and it may have never been reported/resolved and/or it was fixed in a newer version, i.e., XE8 and up and no mention of this bug. I have XE7 with the Firedac Add-on pack installed. I don't know which version they stopped the firedack add-on packs and just included it in the complete installation.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
In XE7, I do not see any place that shows 'fixed set of choices' or a place to enter said choices. All the controls that you see populated are using the db controls Datasource: ds and DataField: mdate but dblistbox fails to show when using the same setup. I don't know how else to explain it.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
You must be in a higher Delphi version because those features do not exist in my Delphi XE7 (Firedac installed) Update 1. The Items property in my version for the DBListBox is for TStrings values. It shows a blank screen when I click the [...] box.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with:
-
Connecting an MS Access db to a DBListbox at design-time fails to show records
JohnLM replied to JohnLM's topic in Databases
If I go to the DBLisBox's items (TStrings) and add my fields to it (mdate, title, name), then all that does is show those strings and nothing more in design-time. They do not show my actual data for those fields. Also, to note, I am not trying to show a grid of data in a DBListBox. I am trying to show one field's values, which is mdate. So it does appear that the DBListbox (and DBComboBox, DBLookupListBox) do not support real-time view at design-time, only the DBGrid supports that feature.- 10 replies
-
- delphi xe7
- ms access
-
(and 4 more)
Tagged with: