I am trying to move away from TextPad and I just cant get reg expressions like ^ and $ to be replaced.
I have definitely ticked the regular expression box
What am I doing wrong
For the first time, I'm creating a Java Swing application.
I'm using Windows Builder Pro in Eclipse, and a MySQL database (already setup up).
Let's say I have a combo box, and I want (for instance) all 'name' fields from a 'certain' table appear.
How can I setup that binding? I know how to programatically handle the connection and query code, what I would like to know is how to make that binding in Eclipse.
How can I detect whether or not an input box is currently a jQuery UI autocomplete? There doesn't seem to be a native method for this, but I'm hoping there is something simple like this:
if ($("#q").autocomplete)
{
//Do something
}
That conditional, however, seems to always return true.
In FF this border radius doesn't seem to want to work.
Editable link here.
the right radius of the big box should be 0px and the left of the small boxshould be 0 to join them..
i am using Visual C# 2010 express and i need the most reliable way (on button click) and in .NET 2.0 framework to detect if windows is currently x86 or x64 in a message box.. up till now i have been using this code but i need to know if there is a more accurate way?
string target = @"C:\Windows\SysWow64";
{
if (Directory.Exists(target))
{
MessageBox.Show("x64");
}
else
{
MessageBox.Show("x86");
}
We have eight Xeon (i7) cores and 16 gig of RAM on our SSIS box. We have about 200 image files we want to convert using a command line utility every day. Currently the process is using Adobe Photoshop and droplets (very manual, taking upwards of two hours a day)
Using SSIS hot folders, is there a way to execute up to eight conversions at once?
Is there any way to tell a process completed or execute code upon it's completion?
Hi,
I am integrating Pure spell checker on my rich text box. The way it currently works is that it puts the cylinder object on the page in an Iframe. I want that to read from a file and the file will be located at server side. Anyone with any clue please help
Thanks
I want to somehow place a question on the title using the url.
Actually I am building a webpage where I have placed a question input box and submit button, so I want that when I submit it should redirect me to the ask questions page and the title should contain the question that he asked.
Is there any way to do that?
Thanks.
Hi,
Which is the best solution to communicate bidirectionally between a
remote server and a client behind an internet box?
UPnP with Sockets.
HTTPS/Database Server and the client make 1 request every Xsec to know
if there is new data.
Client opens 1 connection on the server and it maintains open to make a
tunnel.
Thanks in advance for your help
what do you guys think of this code to help with some lazy people out there :)
$('a').each(function (i,n){
$title = $(n).attr('title');
if(!$title){
$(n).attr('title',$(n).html());
}
});
Considering that most links have the same title as their text so... let me knwo if any of you out there like this?
So we can tell w3school one box ticked :)
Thought about RESTAPI, but seems OfBiz does not support it out of the box. Hate accessing domain objects directly (although may be enough for our needs, however, would intercept on Service/ECA level).
Any ideas?
I want to see my pixel coordinates on moviing my mouse on the image in picture box
I have added this event Form.designer.cs
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);
and this method in Form.cs
private void pictureBox1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
locationtxt.Text = e.X.ToString() + "," + e.Y.ToString();
}
but I cann't see anything in textbox on moving my mouse on form runtime.
What should i add further.
regards,
I need to obtain the String for the file that is being uploaded from forms to store in the database.
I am using the usual form input file element
input type="file" name="some_name"
I found a couple JS scripts that allow me to do useless things like display the string in a dialog box, etc.
I need this as an element on the request object or as a hidden field on my page when the form is posted.
I'm using CSS 3 features like "rounded corner" or "shadow box".
IMHO These are fantastic features for people like me with no graphics knowledge. But, i've noticed, IE 7-8 not support CSS 3.
So i'm asking you: is there a way to "enable" some features maybe with some javascript functions to include in my html file ?
Thank you!
i have a tagtextbox on my page
when a user selects a category that category name goes to tagtextbox
now i want that this category name user cant change but he can append some more tags
means first tag becomes readonly and further he can add too in same text box
I want to somehow place a question on the title using the url.
Actually I am building a webpage where I have placed a question input box and submit button, so I want that when I submit it should redirect me to the ask questions page and the title should contain the question that he asked.
Is there any way to do that?
Thanks.
I have Console Application written in C# that is scheduled to run every 15 min. or so using the Built in Windows Task Scheduler.
Every time it runs the black console box pops up for the duration of it's execution and then closes.
I am not writing anything to the console. Is there a way to make this run in the background?
I have VS 2010 and Word 2010. In Word 2010 there is sometimes a message/warning bar that pops up under the ribbon but above the body of the document that allows the user to do an action. It looks something like this...
Can I programmatically though VSTO or Interop create a custom bar that allows the user to click a button and then it executes some code.
If not, is there an alternative popup or dialog box that will do something like this?
Thanks,
A
I am running this coda-slider script from http://www.ndoherty.biz/
Not Everytime, but quite often on the first load the coda slider box will be empty and the slider wont work, most of the time my image will be there and the slider will run since I have it set on auto. I am not quite sure why this happens. I seem to have had this happen to me with other jquery stuff just loading empty or super tiny images, anyone else seen this issue.
I'm new to Rails and am working with the collection_select method.
I have two fields I'd like to display in my select box:
first_name and last_name
So far, I can only display one or the other, not both.
Here's the code I'm working with:
collection_select(:hour,:shopper_id,@shoppers,:id,"last_name")
Thank you.
hi all!
With the append button i add elements to the same class.
I want the append button and delete button beneath the appended elements,
but when i use insertBefore, the Toggle function only toggles the buttons visibility.
You can check out what i mean here;
click add a box and start appending
http://www.jsfiddle.net/myd3k/
replace appendTo with inserBefore and toggle the visibility.
Thanks in advance
My code:
MEMORY_BASIC_INFORMATION meminf;
::VirtualQuery(box.pBits, &meminf, sizeof(meminf));
The results:
meminf:
BaseAddress 0x40001000 void *
AllocationBase 0x00000000 void *
AllocationProtect 0x00000000 unsigned long
RegionSize 0x0de0f000 unsigned long
State 0x00010000 unsigned long
Protect 0x00000001 unsigned long
Type 0x00000000 unsigned long
Notes:
(1) AllocationBase is NULL while BaseAddress is not NULL
(2) AllocationProtect is 0 (not a protection value)
Is it a bug of VirtualQuery?
I have set up Synergy on Unix systems with no problems, however when I set up a Synergy server on a Windows Server 2003 box using I get an error message that the mouse cursor is locked when trying to move to the client system. I use a Microsoft Natural keyboard in case that matters (seems Scroll Lock might be involved). Does anyone have experience with using Synergy on Windows systems that have reported mouse screen locking in the log when unable to mouse over to a client system?