[Solved] how to get a pc list that have a service running on each pc?

If all computers have powershell installed with remoting enabled, you can try the script below. It also outputs computers that were not reachable so you can retest them later if you want to. If you don’t need it, just remove the content inside the catch-block(or all of try/catch): $out = @() Get-Content “pclist.txt” | foreach … Read more

[Solved] accepting value from either of text boxes [closed]

The javascript validation method in your head tag: function chkTxt(myForm) { if(myForm.txt1.value == ” && myForm.txt2.value == ”) { document.getElementById(‘msg’).innerHTML = ‘error’; return false; } else return true; } You can set the onsubmit attribute of your form tag to call the method like this: <form id=”form1″ runat=”server” method=”post” onsubmit=”return chkTxt(this);”> <div id=”msg”></div> <asp:TextBox ID=”txt1″ … Read more

[Solved] Shell / Makefile Linker

error messages like avr-gcc: No such file or directory Indicate 1 of several things the executable avr-gcc is not installed (properly) and/or the PATH env var does not include the directory that holds the executable the makefile was called incorrectly. Others Here are some things to try When you say “downloaded the makefile”, is that … Read more

[Solved] Dynamically set focus to another program in C#

You can add reference to Microsoft.VisualBasic and try AppActivate Microsoft.VisualBasic.Interaction.AppActivate(“Visual”); Update AppActivate finds only main windows whose title starts with the title parameter (the title parameter needs at least 3 characters), but the Visual Studio main window title is usually something like Solution Name – Microsoft Visual Studio, so you can either use the solution … Read more

[Solved] separating array elements every 4 characters in array

Please try this: my @array = (“0x0B0x0C0x4A0x000x010x000x000x020”); my @outarray = map { (my $vars = $_) =~ s/\w{4}/$&\,/g; $vars; } @array ; use Data::Dumper; print Dumper @outarray; Thanks to @derobert 4 solved separating array elements every 4 characters in array

[Solved] Prevent copying Site Templates [closed]

Sorry to say but all client-side code can be copied. Your best bet is to stop publishing your site online. Obfuscate However, there are tools that help you obfuscate code. Here’s one. http://www.javascriptobfuscator.com/ http://htmlobfuscator.com/ Minify On the other hand, most techniques employ that minify your code. Here’s two links: http://cssminifier.com/ http://www.willpeavy.com/minifier/ 2 solved Prevent copying … Read more