C# programming for work with some OS files
hi . i want to write a program with C# language. i want to know that when we start laptop , when we shot down it and along this time witch app we use and how many second we spend on it.
i don`t know to how to start . please help me
You need to write a program that gets called automatically gets run as a service on the PC when the computer is turned on. See webpage below
http://stackoverflow.com/questions/7764088/net-console-application-as-windows-service
jdweng
Similar Messages
-
Software available for working with large video files?
Hello,
I'm working in PP CS6. I was wondering if there are any workarounds or 3rd party plugins/software that
make working with really large video files easier and faster?
Thanks.
MarkHi Jeff,
Thanks for helping. This is the first time I shot video with my Nikon D5200. It was only a 3 minute test clip
set at the highest resolution, 1920x1080-60i. I saw the red line above the clip in PP CS6 and hit the enter
key to render the clip.
It took almost 18 minutes or so to render the clip. This is probably normal but I was wondering if there is
a way to reduce the file size so it doesn't take quite as long to render. I just remember a few years back
that when the Red camera was out, guys were working with really huge files and there was a program
from Cine something that they used to reduce the file size and make it more manageable when editing.
I could be mistaken. I've been out of the editing look for a few years and just getting back into it.
Thanks.
Mark
Here's my PC's components list you asked for:
VisionDAW 4U 8-Core Xeon Workstation
2 Intel QUAD-Core Xeon 5365-3.0GHz, 8MB, 1333MHz Processors
16GB 667MHz Fully Buffered Server Memory Modules (2x2GB)
Microsoft® Windows® Windows 7 Ultimate (x64)
WDC 250GB, Ultra ATA100, 7200 rpm, 8MG Buffer Main OS HD
2 WWDC 750GB, SATA II, 7200 RPM, 16MB Buffer HD (Raid 0)
2 WDC 750GB, SATA II, 7200 rpm, 16MG Buffer HD (Samples)
2 WDC 1TB Enterprise Class, SATA II, 7200 RPM, 32MB Buffer Hard Drive
MOTU 24 I/O (main) / MOTU 2408mk3 (slave)
Plexor PX-800A 18X Dbl. Layer DVD+/-RW Optical Drive
Buffalo BuRay Drive (External) BR-816SU2
Front Panel USB Acess
Integrated FireWire (1394a) interface
Thermaltake Toughpower 850W Power Supply
3xUAD1 Universal Audio Cards
NVIDIA QUADRO FX 1800 / Memory 768 MB GDDR3
CUDA Parallel Processor Cores / 64
Maximum Display Resolution Digital @60Hz = 2560x1600
Memory Interface 192Bit
Memory Bandwidth (GB/sec) / 38.4 GB/sec
PCI-Express, DUAL-Link DVI 1
Digital Outputs 3 (2 out of 3 active at a time)
Dual 25.5" Samsung 2693HM LCD HD Monitors -
Advice for working with large clip files
A few years ago I made a movie using iMovie2. At the time I was working with clips recoded on one minidv disc. I am now ready to begin a project (just bought iLife06) that is much larger. I have roughly ten 60 min minidv discs. I am getting nervous about the amount of memory needed to import and work with this many clips.
Is it possible to import the clips to my external fire wire HD? Can I still work in iMovie while the project lives on the ext firewire drive? Can anyone tell me roughly how much memory is needed for larger projects like this? (I expect the final project will be 30-40 minutes).
Since the footage all comes from our European concert tour, it easily divides into 3 separate sections - would it be easier to create 3 different iMovie projects? Is it possible to combine them in the end to create one film?
Thank you so much for your help with this.
Sincerely,
Bob LinscottIs it possible to import the clips to my external
fire wire HD? Can I still work in iMovie while the
project lives on the ext firewire drive?
Should be fine. I've been editing 4 hours worth of footage down to about 50 minutes, on a project stored on a FireWire 800 drive. FireWire 400 (if that's what you're using) is half the speed, but should still be fine, I think.
So, create a new project, save it to your external drive, and then import your footage into the project.
Can anyone
tell me roughly how much memory is needed for larger
projects like this? (I expect the final project will
be 30-40 minutes).
If you mean hard drive space for the project, I think you're talking about 11 GB per hour: so, in short, a lot. I think you could import your footage, edit a bit, and empty your trash to free up space, but iMovie does seem to keep your originals fairly relentlessly, so I'm not entirely sure.
Watch out for extracting audio from clips too: I've been doing this in order to do cross-fades, but it increases the size of your movie. I ended up buying a second, bus-powered 80 GB external hard drive just to hold the iMovie project
Since the footage all comes from our European concert
tour, it easily divides into 3 separate sections -
would it be easier to create 3 different iMovie
projects? Is it possible to combine them in the end
to create one film?
This could well be a good idea. Once your projects gets over a certain length, you may experience the "herky jerky" pkayback issue (search for "herky jerky" on these forums), making editing difficult. So three separate projects might be easier.
To combine them all at the end, you'll want to export the 2nd and 3rd projects as full quality DV (Share > QuickTime > Compress Movie For: Full Quality), then import them (File > Import) into your first project, and add them to the timeline. -
Can anybody recommend a decent spec PC for working with HD dSLR files in Premiere?
I will need to edit HD footage in premiere and I know that I wont be able to afford more than £1200.
Can you point me to the latest PC's that will enable me to work fairly quickly?
ThanksBuy a Desktop Video Editing PC
http://www.adkvideoediting.com/
-ADK Kudos http://forums.adobe.com/thread/877201
Build a Desktop Video Editing PC
-http://ppbm7.com/index.php/intro-part-1
-http://forums.adobe.com/thread/878520?tstart=0
-http://forums.adobe.com/thread/815798
-http://www.shawnlam.ca/2012/premiere-pro-cs6-video-editing-computer-build/
-http://www.videoguys.com/Guide/E/Videoguys+DIY9+Its+Time+for+Sandy+Bridge+E/0xe9b142f408a2 b03ab88144a434e88de7.aspx
I think your £1200 is about $2000 US dollars... which is just barely going to build a computer to work "fairly quickly" with HD video
Read at the links above to get some ideas -
What P2P file sharing programs will work with 10.4?
I tried downloading utorrent, vuze, frostwire and a couple others but they said java had an error or it needed to be at least version 6. but when i tried to update java it didnt install and jsut stayed at 5. are there any file sharing programs that work with java 5 and OS X 10.4? Thanks!
I'm not on 10.4 at the moment, but there saare APPs that work if you can find them, but if you can upgrade then that would be even better...
Leopard requirements/10.5.x...
* Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
minimum system requirements
* 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
* DVD drive for installation
* 9GB of available disk space (I say 30GB at least)
You have to call Apple & likely ask for a Product Specialist to get it, if they still have it! Helps to tell them you have an iPad/iPhone & you can't run 10.6.
There are workarounds if the 867MHz is the only hangup...
http://sourceforge.net/projects/leopardassist/
Snow Leopard/10.6.x Requirements...
General requirements
* Mac computer with an Intel processor
* 1GB of memory (I say 2GB at least)
* 5GB of available disk space (I say 30GB at least)
* DVD drive for installation
* Some features require a compatible Internet service provider; fees may apply.
* Some features require Apple’s MobileMe service; fees and terms apply.
Which apps work with Mac OS X 10.6?...
http://snowleopard.wikidot.com/
If it's a core Duo & not a Core2Duo, then it'll only run in 32 bit mode.
Snow Leopard/10.6.x Requirements...
General requirements
* Mac computer with an Intel processor
* 1GB of memory (I say 2GB at least)
* 5GB of available disk space (I say 30GB at least)
* DVD drive for installation
* Some features require a compatible Internet service provider; fees may apply.
* Some features require Apple’s MobileMe service; fees and terms apply.
http://store.apple.com/us/browse/home/shop_mac/software/apple?mco=OTY2ODUzOA -
How do I install OS X Mountain Lion in a machine that came with OS X Yosemite already?? I need to do it in order for me to keep working with some of my softwares with are very expensive and can't afford to buy new versions.
Parallels
VirtualBox
VM Fusion -
ME293 is a good for programming and work with coreldraw and rhino ?
ME293 is a good for programming and work with coreldraw and rhino ?
No there is not. You are correct that Verizon will unlock it for international use, but they will not unlock it for domestic use. That is the way the US carriers work. Fortunately, the LTE enabled phones for Verizon are different. They are unlocked at the start on the GSM side, this was a requirement from the FCC for the allocation of additional LTE frequencies for Verizon. Not sure how long this will last, but your only choice is to use Verizon or to obtain a different phone. That 4S will not work with AT&T.
-
Best practices for working with large placed bitmap images?
Hey all,
I need some advice on the best way to approach building these files. I've been working on some banners that are very large: 3 x 7 feet.
Each banner has a simple vector graphic treatment at the top and bottom (rectangle with a different colored rule on top, and vector logo) and a small amount of text, just a URL and a headline.The headline is type (not converted to outlines) and usually has some other effect applied to it, say a drop shadow or outer glow. Under these graphics is a full bleed image. The placed images need to be 150ppi at actual size, so they're honking big, sometimes up to 2GB. Once the layouts are approved, they have to go to a vendor for output.
The Illustrator docs are really large, and I've read in other threads how to combat that (PDF compatibility, raster settings). But even still, does anyone have any insight into the best way to deal with these things? The dimensions are large, and then the images are large, and it just makes for lots of looking at the spinning ball of death...
If it were me, I'd build them in InDe, but the vector graphics need to be edited for each one, and I so don't like to do that in InDe unless forced. To me, it's still ultimately a page layout app, not a drawing app. (Old school here.)
FYI, our machines are all MBPs with 8G ram and the latest Intel Core 2 Duo chips, 2.66 and 2.8GHz. If we keep the files local (as opposed to working on the server) it should be fairly zippy... No?
Any advice is appreciated, thanks!You can get into memory trouble with very large placed pdf files. Tiffs too.
This has to do with the preview, which contains much more information than you need for working with.
On the other hand if you place EPSs and take care not to turn on overprint preview you can get away with huge files.
If you do turn on overprint preview your machine will slow down a lot and the file may become totally unmanageable.
Compare this with to InDesign where you can control the quality of the preview. A hi-res preview will slow you down and most often you don't need it anyway.
I was working (in Illie) the other day on much larger files than you mention – displays for whole walls – and had some considerable trouble until I reverted to the old EPS format. They say it's dying but it ain't dead yet . -
What is an easy web-page creation program for use with MacBook Pro?
Can anyone suggest an easy web-page creation program for use with MacBook Pro? I have used FrontPage with my PC, but am changing to a MacBook Pro.
It largely depends on your skill level. Do you want to write web page code, or do you want to just design something and have it turn into a web page automatically?
If you are more of a designer, try these:
RapidWeaver
Freeway Pro
Muse
If you want to write web page code, try these:
Coda
BBEdit
Dreamweaver
If you really don't want to write the code and want the best experience for your viewers, and you want to spend the least amount of time on it, my recommendation is:
No program at all.
Instead, sign up with a web site company like:
WordPress.com (hosted by them) or WordPress.org (hosted on your server)
Squarespace
Wix
The reason is that these companies have fully operational, nicely designed web site templates that you just fill in with your words and pictures, and they are ready to go. They also give you these benefits:
Already designed to the latest web standards
Already designed to resist hackers
Already designed to work on all browsers
Already designed to automatically adjust the page for readability on desktop, laptop, tablet, and smartphone screen sizes
Already designed for accessibility
Already designed for Search Engine Optimization so that your page will be found on Google
Already designed with social media links built in if you want
It is not like the old days where you build a site in Front Page and you assume it will only be seen on a desktop computer. If you build it yourself with a web page program, do you have the knowledge to make a site that works on all of the different web browsers and mobile devices, and is friendly to search engines and social media? If you don't have those skills, working with a website company can be a lot better, faster, and more reliable than trying to hammer all of that out yourself using code in some app. -
Working with bootstrap css file after opening the browser
working with bootstrap css file after opening the browser when i came back on working on bootstrap my computer started hanging and opning new tabs and showing message " A caused the program to stop working correctly.Windows will close thoe program and notify you if solution is available"
Hi Geetha,
1.) button problem:
i don't know how you open the form - when you do it with a XML file maybe you packed the wrong XML file into your addon installer.
2.) the flickering can be a problem of formatted searches or interacting with other addons.
when addon a. changes a field it can be that addon b. does something because of the event from addon a.
the same can happen when you have formatted searches that do something when a field changes.
ok - that are my last tipps for this day
good night
David -
Speed up Illustrator CC when working with large vector files
Raster (mainly) files up to 350 Mb. run fast in Illustrator CC, while vector files of 10 Mb. are a pain in the *blieb* (eg. zooming & panning). When reading the file it seems to freeze around 95 % for a few minutes. Memory usage goes up to 6 Gb. Processor usage 30 - 50 %.
Are there ways to speed things up while working with large vector files in Illustrator CC?
System:
64 bit Windows 7 enterprise
Memory: 16 Gb
Processor: Intel Xeon 3,7 GHz (8 threads)
Graphics: nVidia Geforce K4000Files with large amounts vector points will put a strain on the fastest of computers. But any type of speed increase we can get you can save you lots of time.
Delete any unwanted stray points using Select >> Object >> stray points
Optimize performance | Windows
Did you draw this yourself, is the file as clean as can be? Are there any repeated paths underneath your art which do not need to be there from live tracing or stock art sites?
Check the control panel >> programs and features and sort by installed recently and uninstall anything suspicious.
Sorry there will be no short or single answer to this, as per the previous poster using layers effectively, and working in outline mode when possible might the best you can do. -
How to work with the remote file system
Hi all,
I want to know how we can work with the remote file sytem.
Code should be some thing like
File f = new File("//10.22.33.122/images")
images is share name..
i want the file names of all the images in that shared folder...
Thanks in advance,
Srinivas Ntry this one:
File f = new File("//10.22.33.122/images")
File[] files = f.listFiles(new FilenameFilter() {
public boolean accept(File dir, String name)
// Specify the extentions of files to be included.
return name.endsWith(".bmp") || name.endsWith(".gif");
// get names of the files
String[] fileNamesArray = null;
for (int indx = 0; indx < files.length(); indx++)
fileNamesArray[indx] = files[indx].getName();
return fileNamesArray; -
Can I use InDesign cs6 to open and work with PM6.5 files?
Can I use InDesign cs6 to open and work with PM6.5 files?
Lrak wrote: "It sounds like I should to that before endeavoring to transfer the manuscript?" (re-link)
It should be much easier to re-link in the Pagemaker file, as, with any luck, you can get the filenames from the Graphics Manager. After conversion to InDesign, any out-of-date linked images get their names converted to something like "image 123.jpg", and are themselves converted to an embedded low res representation of the image. Even vectored art. Pretty hard to figure them out, unless you are VERY familiar with the file, which you may be.
It may be that any cropping gets lost, too? I do prepress work, we do some set up for our customers, but most comes in pretty much ready to go, so I don't often have to did too deep into fixing such issues. On the other hand, any problem that can happen has probably crossed my desk, or it seems that way some days! -
Is the MacBook Air recommended for working with RAW photographs in Aperture and Photoshop, or do I need a more powerful MacBook ? The relative lack of weight of the AIr is what attracts me to it.
For doing Photography with RAW files in either Aperture or Photoshop, the new MacBook Air is fine, but for Photoshop CS6 some of the filters and plugins really need a better graphics card and plenty of RAM.
You'll also want an external disk if you are going to be doing lots of shooting.
Summary:
Yes, you can use an air but you'll want external storage and at least 8GB of ram.
Or go MacBook Pro with 16GB ram with the 650M card. -
[announce] vps-lxc; comprehensive tool for working with LXC containers
available...
http://aur.archlinux.org/packages.php?ID=34507
this is going to be brief, more later. for some time i have been developing a comprehensive solution for working with LXC based VPS containers on my Arch servers. it is about 95% complete, and ready for testing by others.
this system will allow you to build template containers for _any_ distribution if it has bootstrap type utilities (i have only implemented Arch based containers, Ubuntu and Debian will be done soon, with Fedora, maybe Opensuse, maybe others can create these?). once the templates are created, they can be "forked" into usable domains, and the LXC config (for the lxc-* user tools) can bee 100% generated from command line options to "vps-lxc mkdom".
the code is very consistent and clean, and can easily be extended by writing/implementing your own subcommand files. there is a command.proto file to get you started, and the "vps-lxc proto" command will show you the example command.
there is proper bash completion for most subcommands, mktpl and mkdom the exceptions for now (they have several options and i want the completion for those to be awesome). BTRFS will be used for efficient template/domain creation if available.
see here for more details:
http://www.mail-archive.com/lxc-users@l … 00148.html
try it out if your interested in LXC, i'm using it now and its working pretty nice. ls, init, and edit subcommands will be up soon.
here is an example of output, and do this to get started. the system is well commented, and the usage/exception strings should guide you:
cr@ph1 ~ $ vps-lxc help
Usage: vps-lxc COMMAND [help|OPTION]...
Create, destroy, interact with, and manage LXC based Virtual Private Server
(VPS/container) domains and templates.
Creation/destruction COMMANDs:
mktpl create a new template from scratch or based off an existing template
mkdom create a new domain based off a pre-created template
rmtpl remove a created template
rmdom remove a defined/created, STOPPED domain and it's configuration
Definition/edit COMMANDs:
define initialize a domain after editing it's configuration (once)
edit edit the persistent configuration of a VPS (requires reboot)
Control/interaction COMMANDs:
start send a STOPPED domain a signal to start
stop send a RUNNING domain a signal to stop
reboot send a RUNNING domain a signal to reboot
enter enter a domain and interact via console (limited, config specific)
Query COMMANDs:
help what you are seeing right now
tree view the VPS system's directories/files in a tree
ls list each domain and/or template and their status
cr@ph1 ~ $ vps-lxc mktpl help
Usage: vps-lxc mktpl (-b BASE | -d DISTRO -a ARCH)
[-p PROFILE] [-m MIRROR] TARGET
Generate a VPS template using bootstrap utilities to build it from scratch, or
base it off an existing template and add/modify packages/configuration
Options:
-b specifies the template used as a base for this one;
arch and distribution will be ignored if provided
-d the distribution to build
-a target architecture
-p distribution specific profile; default if not provided
-m the mirror to use for download; overrides internal
Arguments:
BASE name of an existing template
DISTRO an existing folder in include/mktpl
ARCH either 32 or 64
PROFILE an existing folder in include/mktpl/DISTRO
MIRROR distribution specific mirror to use in the
form http://...
Parameters:
TARGET the name of the template to be created
Options not defined can/may be set by the selected profile
cr@ph1 ~ $ vps-lxc mkdom help
Usage: vps-lxc mkdom -b BASE [-p PROFILE] [-h HOSTNAME] [-t TTY] [-s DEVPTS]
[-n type=TYPE,flags=FLAGS,link=LINK,name=NAME,hwaddr=HWADDR,ipv4=IPV4,ipv6=IPV6]...
[-c subsys.param=VALUE]... TARGET
Generate a VPS domain using an existing template as a base. The resultant domain
configuration is altered according to the selected profile and any options passed
Options:
-b specifies the template used as a base for this domain
-p the profile to use; default if not provided
-h the hostname assigned to this domain; defaults to NAME
if not provided
-t number of ttys to allocate to this domain
-s use a private devpts instance if possible, and restrict
ptys to this number; not implemented upstream
-n append a network interface to this domain in addition
to any defined by the profile
-c append cgroup subsystem values to this domain in
addition to any defined by the profile
Arguments:
BASE name of an existing template
PROFILE an existing folder in include/mkdom
HOSTNAME a valid hostname; default TARGET
TTY positive integer; default 2
DEVPTS positive integer; default 1024
TYPE empty, veth, macvlan, or phys
FLAGS up; or do not specify
LINK an existing interface on the host
NAME the interface name assigned internally
to the container
HWADDR a valid MAC address; do not specify
for dynamic
IPV4 a valid IPV4 address in the form
x.y.z.t/m, eg. 192.168.1.123/24
IPV6 a valid IPV6 address in the form x::y/m,
eg. 2003:db8:1:0:214:1234:fe0b:3596/64
VALUE set VALUE to the specified cgroup subsystem
parameter, e.g devices.deny=a; if VALUE has
spaces, quotes are needed
Parameters:
TARGET the name of the domain to be created
Options not defined can/may be set by the selected profile
Last edited by extofme (2010-02-20 00:50:48)starfry wrote:
Hello extofme, have you done any more work on your scripts? Is there any later information available than what is in this thread?
I'm interested in setting up an Arch host with Arch/Ubuntu LXC containers.
I am moving away from a hardy host with openvz hardy containers.
Cheers.
unfortunately i have not done much work on these for several months, as i have since moved myself and my clients to the google appengine. however, i do follow the lxc list and devel, and they should still work ok (possibly some minor tweaking).
the scripts are very easy to work with, and are modular; you can extend what you need. they provide stacktraces and basic exception handling.
i do intend to work with lxc soon, and will pick vps-lxc back up then. feel free to run with it; send me patches if you find problems. if you have issues w/vps-lxc or lxc itself just report here and i will guide you. i was hoping others would find it useful and share some of the workload, meh :-)
C Anthony
Maybe you are looking for
-
Error message getting displayed in testing system not in development system
Hi All, I am working on BW 3.5 BEx Query Designer. I have transported my queries to quality system twice as there were few changes in the variables. now after the second transports, when I execute the queries in quality system I am getting one error
-
In the payslip 9008 deduction is not displayed
Hi , 9008 is a custom deduction created . it is being getting deducted but not in displaying in the pay slip regards, Rajesh
-
Why did the app store make me purchase Pages again? I already bought Pages, Numbers and Keynote for my Ipad and want to download them onto my Mac Book and they aren't in the purchases tab. I thought I would try clicking on the buy button for Pages,
-
Apple Mobile Devices & 526WLC Issues
We've recently deployed an express wireless configuration involving a 526WLC and 5 AP521s at a customer's site. The wireless system work fantastically well with one exception -- it does not play well with Apple mobile devices. This includes iPhones a
-
Muvo (512/usb 2.00) - how to change a fold
hi all, I spent some time looking into this forum, but I could not find an answer on following: I have a new MuVo player - basic one, without display and so on. I uploaded two folders but I can not find a way how to change quickly to another folder.