Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have developed wpf application, in which I have reminder functionality.
Case 1: Current Scenario
Currently I have place my application in startup folder in setup. and application starts whenever my computer starts. But now I have added login functionality so now my client need to login whenever computer starts which is annoying.
According to my functionality, After login into system reminder starts in background.
Case 2: Required
Now what I required is that my application starts in background without login into system, Reminder functionality works as if right now working.
Any help will be appreciated...
Starting a program without a user requires it written as a service, or started from one.
There are ways to start an exe file from a service.
Developing a service is basically the same as any other application; but without the GUI. Debugging a service is tedious so you should move the parts you want to execute when running as a service into a DLL. Then you should have an exe to load and execute the methods of the DLL.
This way you have an easy way to debug the functionality of the service; and can have as few times debugging-when-running-as-a-service as possible.
There are certain caveats when starting and stopping a service, mainly because the old service wasn't stopped and uninstalled as you supposed.
Tip: Autorun helps you survey the 4 or more ways to automatically start an application.
How to let a service show a GUI then? I haven't written one myself but found two valid links here and here.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I think I know the answer, but I'd like more opinions.
Imagine a scenario...
You create a new website using angular 1 or 2 where basically your front end application consumes services from a server that's send you results in json - The trivial scenario.
Then a competitor decide to create one web site to compete with yours. It's pretty easy to open Developers Tools on the browser and check the address of the rest server including api parameters. So, the competitor decides to create a migration tool to make easy for people to abandon your web site and adopt the competitor web site.
CORS cannot protect you because it's much more a browser feature - also you can use JSONp to consume api of different domains.
So, the question: Is there any solution for a scenario like this ?
You can obfuscate your API, but you can't hide the calls that are made to it.
There's a single good reason for this : the browser of the final user needs to know what requests to make, and make them.
Even if you found some way to hide the requests made from the Developper Tools, someone could still retrieve them by listening for them on the network.
However as I said, you can still obfuscate your API so that trying to replicate it would require non-trivial work. That way, an understandable request like
GET /user/id1234/profile?history=true
could become the less talkative
GET /1/id1234/p?x=1
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am not able to find a concrete answer yet on this forum or other's that, whether spring web flow can be used with Extjs 4.2 or later release of Extjs.
In case some one has integrated then kindly let me know the basic steps or guide to a specific example will be really helpful.
Thanks in Advance.
Rohit Dwivedi
The short answer is: "Yes".
Yes, because ExtJS does not need to (and does not) know how the server side is implemented. In its very essence, Ext sends a request to the server and expect a response, usually containing pertinent data.
In real life, you need to make decisions what part of the application logic will run on the server and what on the client and what the interface (API, request/response) will be between the two.
From the Spring site:
Spring Web Flow: Supports building web applications with controlled navigation such as checking in for a flight or applying for a loan.
So, if you want/need the server to be responsible for such flows, then go ahead.
If you want to implement the application logic (flows) at Ext client, then continue looking for the server side language/platform as you do not need the Web Flow functionality.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Friends, I have been assigned a final year project like the following -
Before the login windows of Windows appears, my Windows Form App .exe should execute and be displayed.
It should not be possible to navigate from this form i.e. alt + ctrl + del and alt+tab and more commands should be disabled.
Once the values in the form fields are entered and submitted, they must go and get stored in a database on my college server
After all this happens only, the windows logon should appear and the user can then login and use the desktop.
I just know to create Windows Forms to some extent. Can u please suggest me how to do this whole process?
How to start the form on startup before the Windows Login? How to place that data into a database?
I do not know even 10% of Windows Forms , so please give a small description of your suggestions
To have a form load before login with the navigation requirements you request requires actually changing the login screen to a custom one.
This has been possible in all versions of windows; the Netware client (R.I.P.) used to do this so Windows would authenticate with Netware servers. The method for doing this has changed since Vista and is different than the one used in NT 4.0 - XP.
Here're some links to get you started:
Change the login process for windows 7
Windows Credential Provider with C#
Saving whatever information is in the form to a database should be straight forward, thought there are some security concerns regarding the connection string.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am developing an enterprise application including central database, MVC web app, Mobile app client, web services and WPF client Windows service application which are working all together, I am going to make a contract with a company to grant them exclusive re-seller Representation .
So I am thinking a way to control the number of sales and provide them a license key for each sale to they could use the key in installation or other step and I want to get informed by the application whenever it is installing somewhere and want to prevent working when the license is used once or is expired or something. I need a solution from people who have same successful experience in this matter, indeed I have some ideas but actually I am not experienced in this issue and I'll be so happy to hear good approaches on this.
Thanks in advance ...
First you need to choose your preferred licensing system. A small list is available in the Question about OS Licensing Components. Second you'll need some kind of service where your reseller can issue licenses without real access to your private license key. E.g. some kind of webservice.
Then you'll have the number of licenses that your reseller has created and you can bill him.
If you also want to know which licenses was activated you can implement some kind of "phone home" in your application.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been working with CakePHP for sometime now, specifically using the Auth component. I have several running instances of the current web app I'm working on, all of them installed on various Linux machines.
This morning I was denied access to two of the instances. The odd thing is I did not change anything since yesterday.
I'm pretty sure there's no database issue, the logs look exactly the same as before. The only difference is that instead of redirecting me to the home page, I keep getting redirected back to my login page. The other difference is now I never get the flash message that's set in the 'authError' member of the Auth component.
Some other stuff I tried is to clean browsing data from my browser, restart Apache and reboot my machines.
One other piece of information is that both misbehaving machines are VMs running on my desktop PC.
This can be session issue. Check if time on VMs is correct. It is possible that session expires instantly if client time is diffrent than server's time....