Hello all,
im new to castle dynamic proxy, and a bit curious..
when creating proxy of my object i save all the original value of its property on the interceptor (class scope) using dictionary and return the new value. now i wandering, when will this data get collected by GC??
can i control it or depends on the interceptor live cycle?
Regards
Kin
I want to execute python code from C# with following code.
static void Main(string[] args)
{
ScriptEngine engine = Python.CreateEngine();
ScriptSource source = engine.CreateScriptSourceFromFile(@"F:\Script\extracter.py");
source.Execute();
}
I have the problem at line source.Execute(), I got error "No module named difflib".
What is wrong in my code?
This is my python code (extracter.py).
import re
import itertools
import difflib
print "Hello"
Hello
Can I edit the browser's visited links history?
How can I dump full list of visited sites, or list of pages from some site?
I'm interested in the solution for the most popular browsers: IE7-8, Firefox3, Safari4, Chrome3, Opera9.50+
The best will be solution, which can be scripted in JS+CSS. But plugins or instructions for managing visited links history will be good.
Thanks
hi i want to execute a command that is saved as a string
e.g
test.bat
call temp.bat "echo hello world" "echo welcome"
temp.bat
set first=%1
set sec=%2
%first%
%sec%
please tell me how to do this
thanks
Hello All
I want to show A Panel on My Button Click Event And I want There is A transparent Screen Come between panel And other window Control . How CAN i Do it ?
i m doing it all dynamic using C# not In xaml.
Thanks in Advance
shashank
Hello all
I have fedora installed in my system. I know the password but i forgot the user name. I can access through terminal but i don't no how to login through gui. Please help me.
Thanks in advance.
Hello all,
I want to create a simple batch file that would perform some Visual Studio 2008 refactoring tasks on some files. For example, I would like to call the Refactor.ExtractInferface command on a given file.
Can I do this from the command line? Is there a better way (I am sure there is) of doing this?
Thanks,
H.
I want to pass a command as a command line argument from one batch file to another
e.g.
first.bat
call test.bat "echo hello world" "echo welcome "
test.bat
set initialcommand=%1
set maincommand=%2
%maincommand%
%initialcommand%
Hello,
I have these files:
"id_1_1.php", "id_1_2.php", "id_1_3.php" etc
"id_2_1.php", "id_2_2.php", "id_2_3.php" etc
the number of files is not known because will always grow..
all the files are in same directory..
I want to make a if statement:
to include the files only if their name ends with "_1"
another function to load all the files that start with "id_1"
How can I do this? Thank you!
How to create simple web site with python?
I mean really simple, f.ex, you see text "Hello World", and there are button "submit", which (onClick) will show ajax box "submit successful".
I want to start develop some stuff with Python, and I don't know where to start :)
Hello,
In What scenario that I have to use DTO's pattern in the entity framework the and not the Self Tracking Entities pattern?
Can I start with Self Tracking Entities because it's easier to develop and then add DTO's in the next Phase ???
As always, your advice is greatly appreciated...
Hello everybody,
I use MQ for send/receive message between my system and other system. Sometime I found that no response message in response queue, yet other system have already put response message into response queue (check from log). So, how to check which point is cause of problem, how to prove message is not arrive to my response queue.
In addition, when message arrive my queue it will be written to log file.
Thanks
Hello, I have a os commerce site with a ssl installed but when you go to it does not redirect you to https://www.microcomputerctr.com
Please help.
I am trying to get my products listed with Google products but it keeps disapproving me
hello all
i have a problem, i have some data in Datacontext and i want to fetch this data how can i achive it
thanks in advance
shashank
button1.DataContext = new DataView(tablename, "field1 in (" + stringbuilder.ToString() + "0)", "field1", DataViewRowState.CurrentRows);
Hello All,
I wrote a function in python which is used to tell me whether the two words are similar or not.
but now i want to pass japanese text in my same function.It is giving error not a ascii character.I tried using utf -8 ecoding, but then it giving the same error
Non-ASCII character '\xe3' in file
Is there any way to do that.I cant generate the msg file for that since the 2 keyword will be not be constant.
Trying a bit of AJAX, and I find that much of my data is littered with underscores!
Documentation confirms that this is working as intended. Any way to pass my form information to PHP in tact? I'm using code igniter, so my pass looks like /controller/function/variable,
receiving controller:
controller{
function($v=0){#what once was hello world is now hello_world...}
}
I can't very well do an undo, data might contain an underscore.
Thanks,
Brandon
Hello,
i have the follow code:
searchResults.SearchResultCollection.Add(
new SearchResult()
{
Header =
HttpUtility.HtmlDecode(
htmlDocument.DocumentNode
.SelectSingleNode(initialXPath + "h3")
.InnerText),
Link = HttpUtility.HtmlDecode(
htmlDocument.DocumentNode
.SelectSingleNode(initialXPath + "div/cite")
.InnerText)
}
);
Sometimes htmlDocument.DocumentNode.SelectSingleNode(....) returns null and my application crashed with NullReferenceException. Ofcourse i can write code which check returned value on null reference but then code will be overly verbose. What is graceful way to do that?
I follow some sample code which uses
trace("Hello World");
to print out something in ActionScript 3.0, in Flash Professional CS5.
But nothing seems to get printed out (in a browser). Is the trace() function deprecated / removed?
Hello,
I am curious what are the methods / approaches to overcome the "cold start" problem where when a new user or an item enters the system, due to lack of info about this new entity, making recommendation is a problem.
I can think of doing some prediction based recommendation (like gender, nationality and so on).
Thanks
Hello,
We have load balancing and the same name on multiple instances of WebSphere 6.1.
Is there a way to WebSphere need to add the physical hostname to the WebSphere SystemOut.log lines (for example, to prepend to every line)?
Thanks, Bert
Hello, I'm planning to create a tiled world with OpenGL, with slightly rotated tiles and houses and building in the world will be made of models.
Can anybody suggest me what projection(Orthogonal, Perspective) should I use, and how to setup the View matrix(using OpenGL)?
If you can't figure what style of world I'm planning to create, look at this game:
http://www.youtube.com/watch?v=i6eYtLjFu-Y&feature=PlayList&p=00E63EDCF757EADF&index=2
Hello people,
I have to copy tables from an Oracle database to a db2 v7 one, and in order to do this (avoiding millions of drops and creates) I'd like to know if db2 has a feature like Oracle to enable / disable constraints temporarily without dropping them.
Thanks in advance,
Mauro.
Hello,
Can multiple SSRS share the same DB? We're getting into an SSRS customization scenario, which may adversely affect our existing SSRS features, and I wanted to see if it was possible.
Thanks.