It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have an application (Stand alone app) , that basically reads & writes data with UI . And i have to embed it in CD and make it auto-run.
But i have few confusions , needs your help for the same
Whether to choose Windows or web application of .Net?
Which Data Storage mechanism is preferable ?
How to handle the DB part , since app will be CD how to write the data.
Thanks
You can't run a web application from a CD. You probably want to use a Windows application.
You seem to be assuming a database, so I'd guess your storage mechanism is to use a database. Look at the data you need to store and how you need to use it, and make a decision based on that.
You can't write to a CD. You need to either write to a known location (say, the AppData folder) or ask the user to specify one in your application.
Also worth noting: you can't auto-run an application any more (since Windows 7, and I believe back-ported to Vista). The best you can do is have the auto-run dialogue include an option to run your application.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Hi i am relatively new to windows service. I want to create a schedule task that will go through certain folder like c://dev/ and delete the files that are created between some date/time. How can i achieve this?Any help really appriciated...
Check this for 'forfiles' command: Batch file to delete files older than N days
Then you can store a command of your wish into a .bat file and set Windows Task Scheduler to run that file.
If you want to do it using Windows Services, check this: http://www.c-sharpcorner.com/blogs/7224/deleting-a-file-after-7-days-using-windows-services.aspx
If you want to run a custom scheduler from a windows service, you can try out the Quartz open source scheduling service library. You can then define CRON Triggers to fire as and when you need. I have used this in a windows service developed in C# and its excellent. The tutorials will quickly get you up and running.
For the windows service itself, you can have a look at the article by #mostruash above or even this. You can easily customize the base templates as per your wishes.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
My scenario is that I have two computers A and B. Computer A has an installed C# windows forms application on it. Pretending that I dont have the source code to publish onto B, is it possible to move the app from A to B? If so, what files do I need in order to copy it over?
You have to check if the C# application requires files found in the local appdata directory, if so you'll need to copy them.
It can be difficult when apps require a certain DLL then you'll need to find the dependencies for the application and install them on Computer B.
After you've done that you can copy all the files that are in the programs directory and you MIGHT be good to go.
Best thing to do is make sure you have the installer handy :)
Can't answer without knowing the application.
Sometimes it's enough to just copy the files over. However, if the app relies on registry entries, databases or some other prerequisites copying files is not enough.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've to recode a small access mdb application using c#. What' the best way to re-use and store data now stored in access tables?
The easiest way is to just leave it in the Access (JET) MDB format. A C# application can work against that format just fine.
The decision which database to use ultimately depends mostly on your project requirements. The fact that you are using C# isn't really a major consideration in which one you pick.
You can use the Upsizing Wizard from Microsoft to migrate the database to SQL Server. If your number of connected users, and database sizing are small enough you can use SQL Server Express free from Microsoft.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing winform app that runs in two differen pc's
I want to create a replica and get the changes over the internet
How can i do that?
& how can I create replica and sync it using C#?
any ideas will be appreciated
I assume that you are talking about replicating changes in one ms-access "database" such that two instances stay in sync, As such, you'd be better off abandoning ms-access and upscaling to a single centralised database.
this sounds like a bad idea all around.
The common patterns apply;
use GUID id's,
send offline datasets,
cross fingers and look for a job that allows you to use other free tools, suited for the job http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
Avoid conflict resolution (don't edit the same entities on both ends)
Edit
PS. after visiting hamsaweb.net; if you need this to be web deployable on a shared host:
How to deploy SQL CE 4 CTP to shared hosting?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have create a web site and I need to read data which is created by rfid reader.
this device has some dll which can be use in windows application.
I want to know that is there any way to use those dll in my site in order that I read data from RFID reader? if not is there any way to use that device in web site?
Reading dll's on a clients machine is seen as big security risk and there is not really allowed. It is possible to use ActiveX controls (basically dll's compiled into cab files) which the user can then enable and download, this then will allow you to talk to the ActiveX control which talks to the dll's, which talks to the RFID.
I would rather suggest you use something like Silverlight with out of browser mode, which you can run on the client machine with elevated privilages, then you can talk to com object.
A much better way to go.
ASP.NET application is Server side application with specific security restrictions applied.
So basically, as the question is very generic so my answer too: you can do it, it's enough to be sure that your architecture fits yuor ASP.NET security/permission requirements.
Cause I immagine DLL is kind of COM component where you push signals and read alphanumeric characters specifying your RFID (passive or active) identifier.
Regards.