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
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.
hi,
it`s possible tocreate snippet into StringBuilder/MemoryStream or something else and to use it? More important: without tocreate snippet files on hard disk in Visual Studio folder ( ...\Microsoft Visual Studio 9.0\VC#\Snippets\1033\Visual C#)
I can do it? and how?
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?
How can I check if a user exists?
Im doing an installer for a mysql database, and I need to check if a user exits, if not create user, if yes delete user and create it again.
this so i can execute the script without worries.
thanks.
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.
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 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 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
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 ?
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
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.
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.
I am new to Git. I have created a master repository in a linux server. The same server is going to be used by 5 groups of 3 users each. I want tocreate one local repository for each group. And the group members in turn should create one local repository for each of them, play with the contents and committ the modificatons to the group's local repository. How should i go about doing this?
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?
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 ..
I have the following tables:
Student
Student_Course
Course
Now when I create a student I only want tocreate a user and add a row to student_course.
The "problem" I have is that when I set the set of courses in Student to cascade="save-update" that an update is also invoked on course. I was wondering if there was a way to prevent this.
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.
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?
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
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?
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.
Hi,
I've seen an interesting image hover effect being used a lot lately and was wondering whether anyone has any tips or advice on how best tocreate this effect?
What I'd like tocreate is a hover effect, so that when you hover over an image, the image fades and a magnifying glass or similar icon fades in. Highlighting the fact that if you click the image, it will enlarge etc.
Here is a nice example of the effect: http://themes.mysitemyway.com/infocus/gallery/portfolio/
Any advice or pointers would be greatly appreciated.
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.