It sounds easy, but none of my "easy" syntax worked:
xsl:param="length"
xsl:attribute name="width"$length
not
xsl:attribute name="width"
any suggestions?
thanks
Hello,
The problem started after installing RiaServices Toolkit Dec 2010.
If I unload the project and reload it again, I get this message, even on an empty Silverlight project (no changes made to the project file).
"error : A project with that name is already opened in the solution."
The solution has only 2 projects: the host (web) and the silverlight one.
Any help is appreciated :)
UPDATE: It only happens if I give the Silverlight project the same name as the solution.
When trying to connect to a server in Management Studio (specifically 2008), there is a field where you enter the Server name. That field also has a drop-down list where it shows a history of servers that you have attempted to connect to.
I would like to know:
How to remove an individual item
from that history.
How to remove an
item from the Login field history
for each Server name.
Thanks!
hi
simple question -
How do I access an attribute of an object by name, if i compute the name at runtime?
Ie. i loop over keys and want to get each value of the attributes "field_".$key
In python there is getattribute(myobject, attrname)
It works, of course, with eval("$val=$myobject-".$myattr.";");
but IMO this is ugly!!
TIA
florian
HI
I am writing an application where I need IP address. I have domain name, but I like to know hoe to get IP address from domain name. For ex www.girionjava.com how to get IP address of this by programming in java.
Thanks
Hi to everyone!
I'm working in a homework, and the professor asked me to implement the evaluation strategy called "call by name" in scheme in a certain language that we developed and he gave us an example at http://www.scala-lang.org/node/138 in the scala language, but i don't understand in what consists the call by name evaluation strategy? what differences it has with call by need?
thanks, greetings
When defining a struct type and instance, I can print the value and get the "struct" implementation type:
(defstruct person :name :age)
(def p (struct person "peter" 30))
user=> p
{:name "peter", :age 30}
user=> (type p)
clojure.lang.PersistentStructMap
But is it possible to tell whether p is an instance of the struct type "person"?
Using Fluent Interface design here
if i call something like
dog.Train("Running").Train("Eating").Do("Running").Do("Eating");
what is the name of this pattern ? is it chain-of-responsibility or there any specific design pattern name associated with it?
I would like to get program name in Drupal (actually name in URL that calls program or function).
example:
http://localhost/drupal6/my_widget
This works:
$myURL = (basename($_SERVER['REQUEST_URI'])); // $myURL=my_widget
but not when I have additional parameters:
http://localhost/drupal6/my_widget/parm1/parm2
I'm creating a mobile website that will include a page from which people can download relevant apps that we recommend. I've found good instructions for creating the links to launch the Market but this assumes that you are the developer of the app in question and know the exact package name.
Is there any way to get the package name, other than just contacting the developers and asking?
For the iPhone, I found easy instructions for getting the URL I need from the iTunes store, so I'm looking for info like that.
hi to all ,
In a Portable-Executable ,we can change the imported dll name ,by editing PE file ,
here , i had changed in one imported dll name of application exe,that time it changed normally ....e.g advapi32.dll to ^dvapi32.dll ,so here system32 or any other PATH location doesnt have ^dvapi32.dll ..this time simply i changed the real advapi32.dll into ^dvapi32.dll and put in the application directory ,this time its work fine ....but when i am trying with ntdll & gdi32.dll ,it doesnt supported ,i cant resolve the problem ,pls help me towards the problem ..thanks.
SELECT name FROM sys.databases -- this can list all database name in the server
user database
SELECT * FROM INFORMATION_SCHEMA.TABLES -- these two line can list the table for one particular database
but how to do something in order can have the result like the following
Database Table
--------- -------------
db1 t1
db1 t2
db2 t1
... ...
-thx
If my project name is ABC and the DLL currently outputs as ABC.DLL, how can I make my DLL be outputted as say CBA.DLL and so that when the .LIB is compiled linked against, it is not looking for ABC.DLL, but CBA.DLL. I tried changing the name under Linker General Output File but when I linked to the .lib in my other application, it was still looking for ABC.DLL and CBA.DLL.
Here's what I'm trying to do -- this is pseudo code and doesn't work. Does anyone know how to accomplish this for reals:
// Define the class
MyClass = Class.extend({});
// Store the class name in a string
var classNameString = 'MyClass';
// Instantiate the object using the class name string
var myObject = new classNameString();
I have an iPhone application where i need to find out the current location(in terms of city name or probably the address). But i'm not been able to do that. I can find out the current latitude and longitude. Is there any web service(preferably free of cost) which can return me the current location name if i supply the latitude and longitude?
Waiting For any reply.
Thanks in advance..
Joy
Hi,
I would like to perform a check on the name of a file being uploaded via richfaces fileupload component. I would like to check this as soon as the user selects the file. A file with a wrong name, should not appear in the list, and an alert() should be called specifying the filename was not correct.
Is there a way to check the add event, and to interrupt it when the filename is not correct?
Could you help me for finding the file name from the string. Now i have one string of content like "C:\xxxx\xxxx\xxxx\abc.pdf". But i want only the file name ie. abc.pdf. How it will get by using string functions?
Hi,
When I run my seam application I get the following error
Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.IllegalStateException: Two components with the same name and precedence - component name: wizardController, component classes: package.WizardController, package.WizardController
at org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:543)
at org.jboss.seam.init.Initialization.installScannedComponentAndRoles(Initialization.java:809)
at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:756)
at org.jboss.seam.init.Initialization.init(Initialization.java:629)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:35)
I am not able to resolve this problem.
Hello!
I use Windows XP Rus and want to know, what name has Cursor.name property in MS Accessibility for cursor when it looks like hand in Windows XP En.
My code that give long month name instead short name:
var monthShortName=$.datepicker.formatDate('MM d, yy', new Date(),{ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'] });
alert(monthShortNam); // "March" and not like i want "Mar"
Thanks
(I use JQuery 1.7.1 + jQuery UI 1.8.2)
Edit - Eliasson Solution('M' and not 'MM'):
$.datepicker.formatDate('M d, yy', new Date());
hi,i'm new to routing in aspnet mvc.. i have following code:
Action Controller
public ActionResult SchoolIndex()
{
return View(SchoolRepository.GetAllSchools());
}
here is the routing
routes.MapRoute(
"School", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "School", action = "SchoolIndex", id = "" } ); // Parameter defaults
when i enter "localhost/school" in addressbar, it is giving 404 error instead it should route to my "schoolIndex" action
i have given route-name as "School" where it is used ?
Hi everyone...
All are aware of the rename function in php ....
But is there a way to just change the name of a folder using php...? Or copying the whole folder to a new place with the intended name is the only way..?
Thanks for your answers...
Hi,
Other than default schema, for some SQL queries I need to access a particular schema. The issue is that the name of that particular schema is different for different environments.
After goggling I found that using this link I am able to specify the schema name in variable. If that’s true that I have following questions:
Will that would for SQL queries in the named query?
How to set the value for the variable names?
Thanks in advance.
Apparently the implementation of Assembly.Load() in Silverlight needs a full/strong name.
E.g. this works:
Assembly.Load("MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=...");
while this will fail even if MyAssembly is already loaded:
Assembly.Load("MyAssembly");
Is there a workaround so that it's possible to use the simple name?