hi,
I am using RCP and ZEST to create an application to visualize graphs. My question is: is it possible to zoom a graph drawn on ZEST (any ZEST or RCP api or plug-in)?
Thanks in advance
-rajit
Does Microsoft use or plan to use Silverlight in its own web applications like MS CRM? Is there any known risk for Silverlight LOB applications instead of ASP.NET? Is this a stupid question?
Is there a plug-in like the java applet @ SQLinForm.com for MS SQL Server Management Studio 2008?
I tried SSMS tools based on someone's answer to my previous question but I don't find any functionality to format (beautify/tabify) SQL.
If somebody could please point out that in SSMS tools or suggest some other tool (preferably free)
Thanks :)
I want to make auto increment id in two MySQL tables (if in first table there is id=4 then it cannot be id=4 in the second table). My question is how can I do that in the best way?
Hey, here's a dumb question: how can I set an object property given its name in a string. I have a dictionary being passed to me and I wish to transfer its values into namesake properties using code like this:
for entry in src_dict:
if entry.startswith('can_'):
tgt_obj[entry] = src_dict_profile[entry]
I'm still a bit of a noob with Python so would appreciate some help.
- dave.
I am getting started with Postgresql, I converted a MS SQL DB but I cannot understand why
SELECT * FROM TABLE doens't work
while
SELECT * FROM "TABLE" does
Moreover from another machine, connecting to the same DB I can run
SELECT * FROM TABLE (without ")
It's a PG-newbie question, I hope you can help.
I'm looking to get query results back from Linq in the order that I pass IDs to the query. So it would look something like this:
var IDs = new int [] { 5, 20, 10 }
var items = from mytable in db.MyTable
where IDs.Contains(mytable.mytableID)
orderby // not sure what to do here
select mytable;
I'm hoping to get items in the order of IDs (5, 20, 10).
(Note this is similar to this question, but I would like to do it in Linq instead of SQL)
I am running a typical php-engined ajax webpage. I use echo to return a html string from the php code. My question is, if I have some other code after the echo, will those code get executed? Or echo behaves similar to exit, which immediately return and stop running the php code? Thanks.
I notice in the default MVC template project that the Account registration fields are highlighted via a class change.
I can't seem to get the same behavour out of my own code (in the same project - same CSS etc)
What might be stopping this from occuring?
Update
I believe this relates to one of my other questions
Because I was having trouble with NullReferenceExceptions I have changed the Html.ValidationMessage fields to have different names than the target fields.
So really, I need to resolve this question
I need to encrypt bytecode to send over a connection to a webservice, preferably using a GUID as a key. I have done a bit of research and found several classes developed for a similar purpose, but haven't been able to turn up much that is built into the Windows libraries.
My question is: Is there something built in to C# that performs this task? If there is not, I would very much appreciate any suggestions as to implementation.
Thanks!!
badPanda
Hello.
I have a short question. Im my current project I'm using LINQ-to-SQl. That is the best way to determine if table has record with specific ID?
Thanks in advance.
hi all
i try using window.attachEvent (or addEventListener) to capture js errors
my callback function gets only one event parameter
my question is: how do i get line number and source file of the error from this event?
the alternative usage window.onerror=callback; works
but an event listener has other benefits thus im giving it a try
So my friend has this idea about a Facebook application and asked my to work on it, but I may not be able to do it and I suggested to him to post a request on one of the big freelancing websites and his answer was (quoting):
MaH says:
cz i dont trust anyone
i dont want anyone 2 steal the idea
i want someone i trust
I don't really know how freelancing websites work, so the question is simple: How to trust a Freelancer on your next Project Idea?
I'm 20 years old and have just finished a 4 year Information Technology degree in Ireland, The main focus of the course was programming (mainly java) and software engineering. My question (posted in the wrong place as it may be) is : What technologies that I may not have studied should I attempt to teach myself that will be of the most benefit to me in searching for employment?
All input appreciated.
Today I was browsing through some question on this site and I found mention of enum being used in singleton pattern and that there are some thread safety benefits to such solution.
I never used enums and I have been programing in java for more than couple a years now. And apparently they changed a lot and now they even do full blown support of OOP within them selfs.
Now why and what for should I used enum in day to day programing?
Hi guys, suppose someone enter this search (on an form):
Nicole Kidman films
Which SQL i can use to find "the best" results ?
I suppose something like this :
SELECT * FROM myTable WHERE ( Field='%Nicole Kidman Films%' OR Field='%Nicole%' OR Field='%Kidman%' OR Field='%Films%' )
My question is how to get most relevant result ?
Thank you very much!
Hi,
What is the difference between PrintStream and PrintWriter? They have much methods in common. I always mix up this classes because of that reason. And I think we can use them for exactly the same. But there has to be a difference. Otherwise there was only one class.
I first searched on StackOverflow, but not yet this question.
Thanks
I asked this question yesterday, and at the time it was just what I needed, but while working with some live data I discovered that is wasn't quite doing what I expected. http://stackoverflow.com/questions/2571232/parse-html-with-phps-html-domdocument
I gets the data from the HTML page, but then it also strips out all the HTML tags inside the captured block of text, which isn't what I want. (I might wan't to take some of the tags out, but not all, and this can be done later)
Simple question,
SilverLight 3 application (no toolkit).
I want to use an image and a slider.
The image is displayed fit to screen on load, and then the slider has to zoom-in and out the image when its value changes. I don't want to use anything else, like deepzoom. How can this be done?
Urgent, Thanks in advance,
When you don't have the mood for coding, how do you get it? Now I'm working on a project that I don't like at all, besides is a new programming language for me and I have to do it alone.
So, the question is: how do you get the mood for coding? Any tips/tricks are welcome :)
Hi, This is more a design question... You can't do a decorate design pattern if:
1) The object is marked "sealed" meaning you can't extend from it.
2) or you want to override a method but its not virtual.
What can you do then? Taken that you can't change the class source code if you don't have the source code (like a 3rd party library).
So, the application I'm trying to script has a scripting definition file that includes a <contents> element, which is an "implicitly specified container."
The question, how do I get at what's inside this element using Scripting Bridge? Or alternatively, how do I send the Apple Event necessary to retrieve it and then transform what I get back into an SBObject?
I already tried:
[document nameOfKey]
document.nameofKey
[document contents]
document.contents
I have an existing GUI for Maya plugin written in VC++ (Win32 API). Now Maya 2011 is using QT and I want to change the Button and menu as per the Maya theme. My question is is it possible to make use QT buttons over Win32 GUI?
Simple question but reading through documentation and configuration I can't quite seem to figure it out.
How do I A) know where hadoop is writing to on the local disk and B) change that
For initial testing I setup HDFS on a 20gb linux VM - to it we've added a 500gb networked drive for moving towards prototyping the full system. So now how do I point HDFS at that drive, or do I simply move the home directory/install with some slight change in setup and restart the process?
I know JavaScript is client side and PHP is server-side. I also know this is an odd question. However, the CMS editor I'm using will not allow php to be stored to the database (it's the same editor used by Dupral). I can store JavaScript though.
Can I import a php file with JavaScript. Or rather read the php file, store the content in a variable then out put the content to the screen?