We have created a delphi app to connect to quickbooks 11 pro.
We are trying to use BeginSession from the TLB file and it works fine when creating a new company but after restoring a file from one of our clients, which might have been from a newer release it won't connect. But QB doesn't give any error messages, is there a way to make this happen ?
Thanks
Andy
Download the QuickBooks SDK if you haven't already done so, then try using the SDKTestPlus3 tool to see if it can access the company file. If it can't the problem is probably with the company file, if it can the problem is probably with your program.
Related
I have developed a Microsoft Store app and I want to add Toast notifications.
The application is developed using Delphi 10.2.3 and I am using "Desktop Bridge" technology to convert it into an Appx package for the Microsoft Store. Toast Notifications works fine until I package the application into an Appx package (for the Store or Sideloading).
When running from appx and SideLoading, Toast notifications do not work and my app is not listed in the Windows Settings as a notification sender. I figured there must be some manifest extension I need to define. There was a (now deprecated) appxmanifest setting ToastCapable="true", but I am reading that is no longer used nor required for Windows 10.
I have Toast Notification working just fine when I run the application executable, but not when I install it from an Appx package. How do I get Windows 10 to understand my application is a Notification Sender?
Unfortunately it will not work using the provided TNotificationCenter component (I tested in many versions including 10.2.3).
The reason is described in this link: https://blogs.msdn.microsoft.com/universal-windows-app-model/2017/01/31/how-to-ensure-your-toast-notifications-continue-to-work-when-converting-your-win32-app-into-a-windows-store-app-using-project-centennial/
There is a simple fix but you need to modify the component source code. When publishing to the Windows Store, TNotificationCenter should not create a shortcut for your app and should not provide an application ID when creating the IToastNotifier instance. This will be done automatically for you.
I ended up writing my own library to manage Windows 10 notifications because I wanted more elaborate scenarios and custom XML payloads then what is offered but I can confirm that it works when done as per Microsoft instructions.
I compared my classes with System.Win.Notification (found in source\\rtl\common) and here are some tips that you could try to make it work (untested):
#1 - constructor for TNotificationCenterWinRT
FToastNotifier := TToastNotificationManager.Statics.CreateToastNotifier(LWSAppID);
should be ...
FToastNotifier := TToastNotificationManager.Statics.CreateToastNotifier();
#2 - TNotificationCenterWinRT.DoPresentNotification
if CreateShortcut then
should be ...
if True then
Note: if you decided to modify the source file, it is recommended to first make a copy of the file in your project folder and modify that instead.
I'm developing an app in UWP. I need to send to my printer a RAW string (or file) and get that printed. I succed in using the old RawPrinterHelper from here.
I have some problems verifiyng the app using the Windows App Certification Kit.
I get errors like this one :
API ClosePrinter in winspool.drv is not supported for this application type. MyApp.dll calls this API.
I think that DllImport() in RawPrinterHelper is wrong.
Is there a way to use a diffent RawPrinterHelper or bypass the Windows App Certification Kit in some way?
P.S. I need to publish the app on the Microsoft Store.
If you have already run the WACK test with the release build, then as the error described there are APIs not supported for the windows store app. More details please reference Supported API test.
Is there a way to use a diffent RawPrinterHelper or bypass the Windows App Certification Kit in some way
For print relative features in windows store app, please follow this tutorial and the official sample. This provide alternatives to the windows print relative APIs. Details please reference Printing and documents section of Alternatives to Windows APIs in Universal Windows Platform (UWP) apps.
If you want the print feature with no print dialog you may reference this thread.
i'm starting the implementation of a feature for transfer some files (lets say csv files) created in an ios app to the mac.
But i've made some reading about the subject without anything conclusive.
So, can anyone point me a direction to follow in order to achieve my goal ? I need, somehow to access the files created on my app throw the mac
ITunes file sharing.
iCloud.
Network transfer. (This third party library works with iOS and OSX)
As the title says, I am trying to create an app(personal development) and try to see what kind of system information or user data can be retrieved from phone. For now I am using the stimulator provided. So far what I am able to do is to retrieve information using the Address Book and UIKit Framework such as contact details and System Name/Version etc.
Is there any system information/user data that I missed out because I have yet to know of any more frameworks that allows retrieving of any information from the phone/Stimulator. I am not able to test EventKit Framework(the only other framework that I know) due to the fact that I am deploying the app in the stimulator which does not have the required apps. (Will be trying on jailbroken iphone in the later stages).
Also, I have yet to find any information of accessing the .sqlitedb /.db/.plist files programmatically instead of using any software tools as I would like to access the files such as messages, phone history through my app that I created. If this is possible, I would also like to know if accessing these .sqlitedb /.db files/.plist is only applicable if I deploy my app in the jailbroken phone /Applications folder which does not have sandbox or is it also applicable in the stimulator itself?
This will be definitely helpful to you to get access the call/sms/email details by reading the .sqlite database. Here is a tutorial.
i know providing links are discouraged here however these apple and wiki
links will be helpful to you.
thanks
I am trying to install mediastreamvalidator, mediastreamsegmenter, mediafilesegmenter tools for my mac machine version 10.6.8.
As mentioned in below link about downloading required tools for development of Apple specified Http Live Server.
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html
As above article says:
The tools are frequently updated, so you should download the current
version of the HTTP Live Streaming Tools from the Apple Developer
website. You can access them if you are a member of the iPhone
Developer Program. One way to navigate to the tools is to log onto
connect.apple.com, then click iPhone under the Downloads heading.
After logging in to site connect.apple.com with Mac OSX developer credentials,
under download heading there is no tab named iPhone, i am unable to find this link.
If these tools are stored else where can some one please provide me the updated link?
I need these command lines for developing HLS server.
As I read on Apple web site, Mac OSX version 10.6 and above have these applications pr-installed and we don't need to install them using dgm files, but on my max machine i have only mediastreamsegmenter command line tools not all of them.
Can some one please provide me a link to download these command line tools or provide information on how to get these applications installed on my mac.
As mentioned by Stuart, you must be a member of the iPhone Developer Program in order to access these tools via the http://connect.apple.com link provided in the official documentation. More specifically, you must be a paid member. This fact caused me to lose several hours searching for the tools as I was a member of the iPhone Developer Program, but my annual membership had lapsed and the tools were consequently no longer available to me. What really got me was that the tools were still unavailable within the first few hours of renewing my membership. It took approximately 12 - 24 hours after I paid to renew my membership for them to show up in the list. Hope this helps someone down the road!
They seem to be well-hidden for whatever reason, but after a few wild goose chases, I found them.
You can start at the public-facing streaming page: https://developer.apple.com/streaming/
There is a "Downloads" link along the side. You'll be prompted to sign in to your Developer account, and then finally you get the actual download page here:
https://developer.apple.com/download/more/?=http%20live%20streaming%20tools
Here is a copy make from lastest version of HTTP Live Streaming Tools on ADC.
https://github.com/creeveliu/HTTPLiveStreamingTools
Download:
$ git clone https://github.com/creeveliu/HTTPLiveStreamingTools
To install it, you just need to double-click the StreamingTools.pkg and follow the instructions.
Once installed you will have these tools
/usr/local/bin/mediastreamsegmenter
/usr/local/bin/mediafilesegmenter
/usr/local/bin/mediasubtitlesegmenter
/usr/local/bin/variantplaylistcreator
/usr/local/bin/mediastreamvalidator
/usr/local/bin/hlsreport.py
/usr/local/bin/id3taggenerator