Hi,
How can we create a drag and drop widget in word press? I need tocreate a widget and also I need to drag it on my existing sidebar.Please anybody can give me a spark to go forward.
Thanks
Can a trigger for a table can be applied for tracking in same table?
That is IF I have table Say "employee" Now can i create a triggers such that it tracks the change in the same "employee" table
trigger such as
create trigger "<triggers_name>" before insert on employee
For each row
Begin
insert into employee field = timestamp;
end
Anyone knows howto implement XXTEA in MySQL?
For example - SELECT xxtea_encrypt('text here', 'key here');
possible implementation is by creating a FUNCTION in MySQL using CREATE FUNCTION statement, e.g.
CREATE FUNCTION xxtea_encrypt
XXTEA Procedures here...
RETURN encrypted string
Thanks & Best regards
I've created a label and used setPixmap to attach a .png image to the label. I've also setWindowFlags to disable the title bar and create a frameless window. Because I've disabled those, it also disables the ability to drag anything around, so I want tocreate mouseevents (unless there's a better method) to position my label anywhere on the screen exactly like dragging the frame of a window. How would I do that? An example and brief explanation would be greatly appreciated.
Hi,
i am quite confused about the difference between a FOREIGN KEY and CHECK constraint.
they appear to me to achieve the same result.
I mean I could create a table and enforce a Foreign key on another table, but i could create
a CHECK to ensure the value in in another table.
What is the difference and when to use the one or the other?
thanks
I am setting up a new SVN server on Ubuntu Linux. Where is a good place (best practice) to put the repositories? Should I create a new user? The server will be accessed via http:// so no need tocreate user accounts etc (as was the case for svn://).
Many thanks in advance
I would like tocreate a time counter in my app that shows the user how many minutes the app has been running the current session and total. How do I create such time counter and how do I save the value to the phone? I'm new to app developement.
Hello everybody
I'm trying to manually create the file descriptor associated with a socket in python and then loaded directly into memory with mmap. Create a file into memory with mmap is simple, but I can not find a way to associate the file with a socket.
Anyone know how?
thank you very much.
I am trying tocreate new object of other class in a for loop. like
for(int i =0;i<10;i++){
Computer p1=new Computer(10,20);
}
and when I try anywhere to reach p1.someAction(); it say you must declare p1. But if I declare it on top of program how can I create again in loop? I also try only Computer p1; but it gave exeption ..
hi,
I was just wondering why do we need installer programs tocreate setups?
We can create a desktop application which will do registry changes, registration of assembly, creation of config files and all.
Why dedicated installers are there? Do they serve any other purpose or task that a desktop application cannot do?
Hi,
I am using C language and Linux as my programming platform.
I am learning howtocreate a daemon, and I want tocreate a log file so that I write a debug message in my daemon. My question is where should I put the log file in my system. Should I put it in the var folder?
Please advice.
Many thanks.
Hello,
So when your using ASP.NET Wizards tocreate a login, it uses a set of auto generated tables using the aspnet_regsql.exe tool...
When you create a user using the wizard it generates a very long userID
"a40cf936-1596-4560-a26c-450792e2c8c0" I want to add users using another program that connects to this database... but how does visual studio auto-generate this ID. I want to auto-generate it as well
Any ideas? Thanks in advance.
-Scott
I am trying tocreate a type of recorded data transaction that I can replay on a different database.
For example I am capturing an order into a system, when I save that I want to be able to "export" a sql script that I can run on another database tocreate the same order.
I am using NHibernate and I am trying to catch the sql query string for the save operation to save to a file, but with no success.
is it possible tocreate two different sprites, partially overlap them, and then assign a lineStyle so they share the same stroke?
of course, i could create them with the same lineStyles, but then their strokes would overlap, which is what i'm attempting to avoid.
Hello,
A class A possesses an instance c of a class C. Another class B has to modify c through C::setBlah(); method.
Is it bad tocreate an accessor C getC(); in A and then use A.getC().setBlah() ?
Or should I create a method A::setBlah(); that would call C::setBlah(); ? Isn't it annoying if there are several methods like that ?
I want tocreate a box like this with title:
Can any one please let me know if there is a default CSS tag to do this? Or do I need tocreate my custom style?
I am using ubuntu(apache) for my php application.i need tocreate a timestamp for authenticated call of a webservice.In php i getting only 10 digit timestamp like 1273229733.But i need tocreate like 1273229613000 .How can i solve this problem.help me please.
I have a User Control for searching container numbers. If the user enters a container number that's new to the system then I want to tell the VM "I have a new record to add".
The MVVM method avoids using Events to communicate with the VM as they create code-behind. Should I create a Dependency Property to trigger the VM but I don't think I've seen other controls with a "NewRecord" property?
Any thoughts?
for a table valued function in sql why cant we write sql statements inside begin and end tags like-
create function dbo.emptable()
returns Table
as
BEGIN --it throws an error
return (select id, name, salary from employee)
END
go
while in scalar valued function we can use these tags like
create function dbo.countemp()
returns int
as
begin
return (select count(*) from employee)
end
go
is there any specific rule where we should use BEGIN & END tags
Is there a way to tell SQL server to use specific default seed value for IDENTITY columns - assuming the (to be run) CREATE TABLE statements do not specify one? I don't really care about altering existing data or altering the seed values for specific IDENTITY columns. I want the same seed for all newly created identity columns. Assume I cannot modify the individual CREATE TABLE statements in any way.
CREATE TABLE NewTable AS
SELECT A,B,C FROM Table1
minus
SELECT A, B, C From Table2
Create a new table with NULL values for column A
when neither Table1 or Table2 had NULL values for this column.
Yet,
SELECT * FROM
(
SELECT A,B,C FROM Table1
minus
SELECT A, B, C From Table2
)
WHERE A IS NULL
return 0 rows?
Our CEO wants our iPhone app's icons to look correct (ie not scaled) on both the iPad and iPhone. He does not want to actually create separate versions, or a universal version of the app. The app will remain iPhone only, but the icon would need to show up proper on both devices.
This is a "business decision", and I think its rather silly but regardless - is this possible? OR would we have tocreate a universal version?
Hello.
In my program, I need to make use of an ElementTree object in various functions in my program.
More specifically, I am doing this:
tree = etree.parse('somefile.xml')
I am passing this tree around in my program.
I was wondering whether this is a good approach, or can I do this:
Create a global tree (I come from a
C++ background and I know global is
bad)
Create the tree again wherever required.
Or is my approach ok?
I am able to backup mysql database via command line by executing the below :
C:\MySQL\MySQL Server
5.0\bin\mysqldump\" -uroot -ppassword sample \"D:/admindb/AAR12.sql\"
But there is no DROP and CREATE database queries in my .mysql file
What should i add in the syntax to get the create info to my generated .sql file ?
I am able tocreate, write and read an SQLite Database in my Android App. I have a copy of the Database that is fully populated with data, and I want to get that data into the App's Database. Is it possible to access my pouplaed database from inside my App? Or can I at least create a copy of the populated database and then use that copy? Or do I need to do a .dump and put all the inserts into the Android code?