Hi.
I have a process where one of the things to do is to capture the output from a print into a file for further processing. For this I have configured a "FILE:" printer port which works very nicely but asks everytime for the file name to use.
Unfortunately "FILE" is not a very descriptive word when trying to use a search engine :(
Is there a small driver somewhere which does exactly the same as the FILE: driver, but can automatically generate a filename (perhaps based on a pattern) and just print to that?
What is the name of the Windows System Menu button?
I am talling about the round glass-orb looking object (on a Windows 7 operating system) that appears in the lower left of the screen -- usually -- that you can click on to see the menu selection of programs on your compter.
What is the reason to use g:textField in Grails if you're already familiar with standard HTML form tags?
If I understand correctly the following two markup alternatives are equivalent:
<input type="text" name="name" value="${params.name}" id="name" />
<g:textField name="name" value="${params.name}" />
Are there any circumstances under which using g:textField would add value? Am I missing something?
Hi, I'd like to implement a base controller on one of my controllers. Within that base controller, I'd like to be able to get the current executing ActionResult name.
How would I go about doing this?
public class HomeController : ControllerBase
{
public ActionResult Index()
{
And;
public class ControllerBase : Controller
{
public ControllerBase()
{
//method which will get the executing ActionResult
}
}
Here is an easy question:
I have a struct which contains two hash tables and one vector. Im looking for a generic name for this kind of structure. Any suggestions? say factory?
I have two files with the samename "Foo.rb" in the directories pointed by my RUBYLIB env variable.
This causes the interpreter to fail, when 'require "Foo"' is invoked. It cannot know which to use.
How to solve this without renaming the files ?
We are in process of optimization of Flex AS3 Application.
One of my team member suggested us to make varible name length smaller to optimize the application performence.
i.e.
var IsRegionSelected:Boolean = false; //Slower
var IsRS:Boolean = false; //faster
Is it True?
Please provide your views...
Hi, i am building a VC++ project named FileOut , when i build the application i get an exe named FileOut.exe. Is there any way that i get an exe with different name like File.exe
The title says it all.
Since, it's possible for anyone to name an assembly starting with 'System', checking for 'System' is not a satisfactory solution.
Alternatively, if that's not possible, how about checking the modules in an assembly?
in java is the name of a method a string? why or why not?
so if i have something like:
public static int METHODNAME (some parameters or not)
{
something to do ;
}
is METHODNAME a string?
How can I find out through reflection what is the string name of the method?
For example given:
class Car{
public void getFoo(){
}
}
I want to get the string "getFoo", something like the following:
Car.getFoo.toString() == "getFoo" // TRUE
If I have a method signature like
public string myMethod<T>( ... )
How can I, inside the method, get the name of the type that was given as type argument? I'd like to do something similar to typeof(T).FullName, but that actually works...
I am using hudson and the "Publish artifacts to FTP" option. It makes up its own directory based on the date and time of the build. I would like to override that with a fixed name/location. How can I do that? Is it possible?
How can I generate types like these using the System.Reflection.Emit libraries:
public class Test<T> {}
public class Test<T1, T2> {}
When I call ModuleBuilder.DefineType(string) with the second type declaration, I get an exception because there is already another type in the module with the samename (I've already defined the type parameter on the first type). Any ideas?
I want to detect if the user has already installed google chrome rss plugin or not. I want to do this using javascript like this :
if (navigator.plugins[rss_chrome_plugin _name]) {
// do some stuff if it is installed
}
The problem is that I don't know the name of the plugin.Any help?
hi,
I am creating one desktop application in which I want to track user activity on the system like opened Microsoft Excel with file name and worked for ... much of time on that..
I want to create on xml file to maintain that log.
Please provide me help on that.
Here's a webpage that does what I'm describing: http://mashable.com/2010/05/13/mobile-tech-journalists/
What's going on with the images? It seems that they get loaded and fade in as you scroll them into view.
Is there a name for this technique? Is it a new optimization technique? Where can I read more about it?
It is possible to load a class given a String and its name? ie "MyClass.class"
Further, is it possible to pass parameters to the constructor using this method?
Hi,
what I want to do is PHP to look at the url and just grab the name of the file, without me needing to enter a path or anything (which would be dynamic anyway). E.G.
http://google.com/info/hello.php, I want to get the 'hello' bit.
Help?
Thanks.
I have a program (just exe) that is not able to OpenFile.
Its a log file to write to so I just need to place an empty file.
But I don't know the name or location of it, and have dug around the registry and ini and inf files to no avail.
-Should I use a system hook? FileWatcher, And ideas would be appreciated.
The following is a great tutorial about using the Language Class. But I think the author forgot about creating the controller file. I just started using CI today and I'm not sure how to name the controller file for the view "example.php".
The tutorial:
http://codeigniter.com/wiki/Internationalization_and_the_Template_Parser_Class/