|
What is the exception that it throws?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Thanks for replying. capGraph.RenderStreamdoesn't throw an exception, but it returns -2147024809
|
|
|
|
|
|
OK. It tells me parameter is incorrect. That's the exception thrown. Which leads to believe the one of my two IBaseFilters isn't being released. But I don't see where or how.
|
|
|
|
|
if (grabberBase != null) Why's that there? It should not be disposed before the ReleaseComObject is called.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I know it's unnecessary -- it's just an old habit. Certainly not what's causing my problem though.
|
|
|
|
|
hello
Can you please send me this source code n C#.net
|
|
|
|
|
|
No, because noone writes drivers in C#.
|
|
|
|
|
Hi there,
I need to determine the view permission group(s) from DFS link objects. I couldn't find any advices at all.
Background: We need a tool for billing our used share space. The code for our cost centers is stored in the associated user group objects shown under Properties -> Advanced -> "Configure View permissions" in DFS Management Console.
Any idea will be welcome, WMI, WinAPI Marshalling - whatever...
Thanks a lot
Roland
|
|
|
|
|
I really don't know where to find fault here. So I published this application and tried to run the setup file. Cannot Start Application message box appears and the following is the error.
Quote: ERROR DETAILS
Following errors were detected during this operation.
* [20/2/2014 2:56:41 PM] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32 Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at System.Deployment.Application.ComponentStore.LockApplicationPath(DefinitionAppId definitionAppId)
at System.Deployment.Application.SubscriptionStore.LockApplicationPath(DefinitionAppId definitionAppId)
at System.Deployment.Application.FileDownloader.PatchFiles(SubscriptionState subState)
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
What value does not fall within expected range? I really don't get it and am left quite clueless. I really appreciate it if someone can give me some hints.
|
|
|
|
|
Trouble is, it could be anything: My code will throw ArgumentException errors when one of my routines checks it's parameters and finds it to be invalid - so it could be system code that throws it, or yours.
Start by looking at your setup app, and see if you throw the exception in your code there. otherwise, you are down to adding try-catch blocks to your code in the setup to try and work out where the problem is coming from.
Not a lot we can do to help, I'm afraid.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
It is strange. I tried to publish the backed up project file I had saved elsewhere in a different directory and it can be published successfully without this problem! So I copy the whole project folder to my current working directory, replace the existing one, build and publish .. the problem remains. What is that?
I've set my references to Copy Local True.
I'm sure it is not my codes. I have enough try and catch blocks and there is no error or warnings.
|
|
|
|
|
|
Now currently what is happening is ..
I tried to publish the backed up project file I had saved elsewhere in a different directory and it can be published successfully without this problem! So I copy the whole project folder to my current working directory, replace the existing one, build and publish .. the problem remains. Why is that?
I've set my references to Copy Local True.
Let me check out your links. Thanks!
|
|
|
|
|
hi friends,
If you are the POS developer you'd know that if the customer want to pay using EFT I have to have hardware and banking connection over the wire.
How do I make my POS application accept EFT payments?
Are there 3rd party tools that does it?
Are there any FREE 3rd part tools for it?
I was wondering are those 3rd party components provide an API to their .DLLs so that I could program it?
PS- Im using winApps with C# but I have not used MS POS libraries so far
thanks
|
|
|
|
|
You would need to find a bank transaction processing company in your area THAT YOU TRUST(!!) to handle the payments for you.
NONE of them are free.
|
|
|
|
|
To add to what Dave said: Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.
Only get such code from reputable card transaction service companies - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
Would I trust a free API? Well, let me put it this way: would you trust me with your bank account details?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
I've downvoted you. It's not personal but I think your remark is wrong;
First, he did not state that one should be careful when using "open source". You might mean "free software", but that's not the same as open source software.
Second, there is no way that an assembly that comes without sourcecode is "more trustworthy" than anything that comes with sourcecode. That is not logical.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Free software != Open source
Your statement is nonsense.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Member 10597988 wrote: How do I make my POS application accept EFT payments?
That is more complicated that it sounds but basic steps are
1. Determine the stores bank and insure that the bank will accept EFTs into the business account.
2. Find a service provider that will deal with the bank. And determine cost.
3. If both of the steps above allow you to move ahead then....
4. Find a check reader (the hardware). Find the API and write a code layer to deal with that.
5. Find the API for the service provider (step 2). Write a code layer to deal with that.
6. Certify with the service provider. This insures that 4/5 work that the service provider will now accept payments.
7. At least in my experience there was also an expectation that the image from the hardware was reviewable in the POS application.
Impacts to the above are the transaction volume that the store already does. More volume means more negotiating room both for per transaction fees and what hoops the bank will dance through.
I have found it a good practice to write a simulator for the service provider API. That is because they almost never provide a full range of error possibilities. Sometimes they have no way to test at all. And I have never found one that allows for disconnect errors.
Member 10597988 wrote: Are there any FREE 3rd part tools for it?
Depends on what you mean but basically no. You will pay for the hardware. And you will pay for the service provider. Not sure if you will need to pay a fee for the certification process. The APIs for the hardware and service provider are free. I didn't find the happy path usage of either one difficult. The difficulty is in learning about the specifications in the first place and dealing with the error cases.
|
|
|
|
|
I need to know the syntex to read and write xml attributes
briefing_text txt_id="" headline_id="" anchor="" pos=""type=""/>
/briefing
|
|
|
|
|
Which xml system are you using?
XmlDocument, XDocument, XmlReader
It makes a difference in the answer you'll get.
|
|
|
|