When I create a view different from index action (for example the action video/add) the page is without css and layout. For index action is everything ok. Any helps?
I am currently building a blog system, and the class file i.e class Blog{}, is running ok, when I try it on its own, but, when I try to use it in the pages of the site that have css, it looks weird and full stop, and apostrophes are replaced by strange characters! please help, this is my first time of using oo for development,
I am getting a SqlConnection does not support parallel transactions. exception and this answer mentions its when a connection tries to open two transactions. This is exactly what i am doing. I thought nested transactions were ok (i was using sqlite for the prototype).
How do i check if the connection is already in a transaction? I am using Microsoft SQL Server Database File.
When I open page with player directly and play music from my computer or netbios-share, it's OK. But when I open exactly same page through local server, I can't play audio from SMB-shares.
It would be really nice if there is some easy way to see what have changed in a certain class (or other file) between two releases (1.6 & 2.1 for example). Does anyone know how to do this?
A way to do it online would be great but downloading the code and checking offline would be ok as well.
I want to calculate the quarter Hour from the given two datetimes:
Suppose datetime1 and datetime2 , i am doing somewhat like this :
int d = datetime2.Subtract(datetime1).Hours;
double l = Math.Round(Convert.ToDouble(d/4));
but if the QuarterHour is 3 (ie d=3), whats the good way to show the output- should it be zero or the round one :
3/4 = 0.75. so should i round up to 1 or 0 is ok.
And if round up to 1..how should i?
hi,
Am working with sybase.In that i have a table A of some 2 million records containing some columns which i want to move out and make it as a separate table B. I have some questions in this process...
1. I have decided to use vertical partitioning.Is that ok?
2.Or what other technique can i go about using in this process?
Please provide your valuable inputs in this.
Thanks.
Given the number X, is it a fibonnaci number?
Any source code or mathematical formula would be ok.
Yes, it looks like this is a duplicate of (this question). How does stack overflow deal with duplicates?
What would be the easiest way for creating a dialog:
- in one window I'm giving data for envelope addressing, also set font type from list of sizes
- when clicked OK, in the same window or in next window I get preview of how the envelope would look like with the given names, and used selected font size
It should look similarly to this :
Should I use Jdialog ? Or will JOptionPane will be enough ? The next step will be to choose color of font and background so I must keep that in mind.
hello
whatever i append to $('click_filter1') it shows the error ... is not a function (for show(), hide(), toggle())
if i insert an alert, the alert gets executed, so the framework is init ok
the element with the id exists for sure
what can be the problem of this? why iam getting this error?
$('click_filter1').addEvent('click', function() {
$('click_filter1').show();
}.bind(this));
I'm using SqlServer 2008. A usefull link is also ok. I've found some links, but since I'm not an expert with Sql Profiler, I can't seem to find how I would do this.
By the way, some data is retrieved with Stored Procedures, but others are done with sql in the .NET server layer.
Hi i have erorr "R cannot be resolved" everytime when i create android project in eclipse under ubuntu with android sdk. In windows everything ok. What's wrong?
Is there a nice and easy way to have a Colorbox act as a dialog window? I understand there are enough events which can be addressed but I'm unable to construct this in a nifty way... Or are there existing ways to replace the close button with ok/cancel or yes/no or other buttons..?
ok so im creating a jquery plugin that will allow me to use the new html5 Audio interface and im trying to create an option that is an object that you will be able to set the various listeners but i dont seem to be able to set those options to the listener property of the Audio object.
How can i check (with SELinux) access to the file by process name?
For examle: we have 2 process:
* /usr/bin/foo1
* /usr/bin/foo2
They are run under account with username userA and
try to open for modify file:
/home/userA/test.txt
I want that if foo1 try to open file - it's ok. But if foo2 try to open
this file - i have message about this in /var/log
Problem is that both processes have the same user ID. And i cant use RBAC by username.
I was wondering what happens to the code contained in an <mx:Script> tag. If I define a function tehre, it just becomes a member function of the generated class. But I noticed that it seems OK for the compiler if I just write some (static) method calls there (specifically, I call Font.registerFont()). I feel kind of guilty for doing this, because I have no idea what's really happening and when the code gets executed.
The scenario is as follows:
Create an instance of a class (std::map) and
sore it as global variable.
Spawn threads.
Threads read and use the same global
instance of the class
All spawned threads quit
Global class instance is destroyed
No mutex, no thread modifies the global class instance.
Is it ok?
Thank You
So... I want to return value when C# function is called. I need a code example (simple summ of a,b values will be ok) Please help
I need something like this ( I know ActionScript so I will write in it):
public function sum(valueA:int, valueB:int):int
{
var summ:int = valueA + valueB;
return summ;
}
How to translate it into C#?
Ok so, Im using jQuery to do username and email checks before a signup...
this sets a variable true or false depending on the response from php.
$(document).ready(function() {
if (usr_checked == true) {
if (em_checked == true) {
$("#registerbttn").removeAttr("disabled");
}
}
else {
$("#registerbttn").attr("disabled", "disabled");
}
});
How exactly do i get it to watch those variables live?
Thanks :D
OK so here's my code: http://www.so.pastebin.com/Qca4ERmy
I am trying to use buffers so the applet won't flicker upon redraw() but it seems I am having trouble. The applet still flickers....
Help?
Thank you.
I am using Oracle 11g and when I query data from database manually, it looks ok. But when I view it using Notepad++, there is a special character that gets inserted anywhere in the xml produced. Please see image below:
I tried everything and deleted some parts of the xml, updated the db and query again but the invalid character just differ in location. Any idea is much appreciated, thanks!
Best regards,
Racs
I'm learning Jython.
I developed a simple Swing Application with Jython and it's ok.
Now I would to use the Swing Application Framework (JSR 296).
I did not find any example in Internet.
If you want a dialog application, MSVC++ 2005 is OK, but when I create a SDI application I don't see any visual layout tools.
is this possible? And are there any better resource editing/mocking tools for MFC apps?
If you want a dialog application, MSVC++ 2005 is OK, but when I create a SDI application I don't see any visual layout tools.
is this possible? And are there any better resource editing/mocking tools for MFC apps?