Hi,
what is the easiest/best way to copy my app shortcut to windows startup folder ?
i want to put a check box to notifyicon context menu and when user click on it i want app to copy shortcut to startup folder and when unchecked wanna delete it.
thanks
Heya,
I have just implemented the excellent jQuery UI autocomplete.
http://jqueryui.com/demos/autocomplete/
There is a strange bug in IE 8 (and maybe other versions).
When you select an item from thebox of suggestions in IE 8 the cursor moves to the begining of the textbox before the suggested word which has just been inserted.
Firefox put the cursor after the inserted word.
Does anyone know of a fix for this?
Regards
Steve
Hi All,
I am using the following code to show confirmation dialog box after finishing some update process in database. but it is not working for me.
code:
string javaScript = "<script language=JavaScript>\n " + "if(confirm('Do you want to update
the files?'))window.location.href = \"Upload.aspx?ID=" + ID +
"&pt=Gm&page=Gms\"; else return false;\n" + "</script>";
RegisterStartupScript("imbtnUpdate_Click", javaScript);
I want to create an MXML container component that has some of its own chrome -- a standard query display, et al -- and that supports the addition of child components to it. Something a lot like the existing mx:Panel class, which includes a title label, but acts like a plain mx:Box with regards to adding children.
What's the easiest way to do this?
Edit:
To be clear, I want to be able to extend the container using MXML, so the "Multiple visual children" problem is relevant.
Hi all,
I have some software which runs as a black box, I have no access to it. This software makes HTTP requests. What I want to do is intercept these requests, forward them on, catch the response, do something with it, before passing the response back to the software.
Can this be done? What's the best method?
Thanks
I am populating data using
<select name="test">
<option value='<%=session.getAttribute("tList")%>'><%=session.getAttribute("tList") %></option>
</select>
but the values are getting display in a single row inthe combo box not row wise,where i am going wrong ?
Hi All,
I am using the following code to show confirmation dialog box after finishing some update process in database. but it is not working for me.
code:
protected void imbtnUpdate_Click(object sender, ImageClickEventArgs e)
{
// Database process
string javaScript = "<script language=JavaScript>\n " + "if(confirm('Do you want to update
the files?'))window.location.href = \"Upload.aspx?ID=" + ID +
"&pt=Gm&page=Gms\"; else return false;\n" + "</script>";
RegisterStartupScript("imbtnUpdate_Click", javaScript);
}
There is a out of box resources in Zend Framework,
when configures inthe ini file
resource.db.user ="xxxx"...
the bootstrap sets up db adapter, just curious does bootstrap sets db adapter into registry too, or not?
I'm searching files and returning lines that include the search text, and I'm not really sure the best way to display the information I get. Every time I get a match, I want to show, in some sort of control, the File it came from, and the whole text line. (aka streamreader.ReadLine() result). First I tried just putting it all in a read-only text box, but it doesn't have a scroll bar.
What is the best form control to help me display this data neatly?
How can I get the selected value of a dropdown box using jQuery?
I tried using
var value = $('#dropDownId').val(); and
var value = $('select#dropDownId option:selected').val();
but both returns an empty string.
Hello,
In ASP.NET MVC, we don't have controls which can do stuffs such as autocompletion (we don't have controls at all from Visual Studio like in web forms).
But, Is it possible to still get 'Auto-completion' with a text boxin ASP.NET MVC (like with the textbox found on the Google's Home page)?
If this is the case, what's the best way to do so? JQueryUI? or there's someother way of getting that functionality?
Thanks for helping.
I've got a combo box that's data provider is coming form a database query. Now I'd like to add one hard coded item to be included inthe combobox a sort of reset item that would reset the combobox to display its prompt message.
Any idea how to do this?
Thanks!
This overlay seems to be the only overlay plugin that works within my schools wonky template... but the problem is that when the browser is resized the shadowbox resizes too, clipping the contents inside. I want it so thebox stats fixed and if the browser does get smaller the browser will have scrollbars.
I know it's been modified before, but i dont know where to start. I cant even find an unminified version of the .js file.
Thanks
Trying to create a box that contains sentences (with spaces) and can have a maximum width of 300px. When the text is too long, it will autowrap without a scroll bar.
Hello!
I have some code which shows a simple dialog box and handles user action (written using plain WinAPI).
// Display dialog and handle user action
LRESULT choice = DialogBoxParam(NULL, MAKEINTRESOURCE(AP_IDD_DIALOG), NULL, (DLGPROC)DialogCallback, NULL);
Is there any way to hardcode the resource file dialog.rc, which is used to build the dialog ?(I would like to get rid of .rc files and I'm pretty sure there is a way, yet I don't know what it is :)
I'm trying to add a button onclick event to a button tag when I load my Fancybox popup using the following code:
var processOrder = function(id) {
$('#processPopupLink').fancybox({
'hideOnContentClick': false,
'frameWidth': 850,
'frameHeight': 695
}).click();
$('#processComplete').click(function() {
alert('debug');
});
}
However, it's not showing the message box when I click the button, I have no idea why it is not working, any help would be appreciated.
I have created a project using the following maven webapp project in eclipse:
When adding a package to the project (right click project - new - package), the package gets added as a folder (I added a package named core). It does not have the usual package icon:
If I try to create a new class and select a package, there are no entries inthe list box. I have tried creating packages in a normal eclipse dynamic web project and these work correctly.
How do I get packages in Maven enabled webapp projects?
I have a which needs to be auto adjusted according to the content in it.. how can i do this, right now my content is coming out of thethe class i have used fo that div is as follows
box-centerside {
background:url("../images/greybox-center-bg1.jpg") repeat-x scroll center top transparent;
float:left;
height:100px;
width:260px;
}
pls help
I chose ibox lightbox for my site. it has been working fine but i need to open a link inthe current lightbox but to close the current lightbox first and open the link in a new light box. any ideas???
Here's the link for ibox http://www.ibegin.com/labs/ibox
Hy,
I was looking for a software to model an application, because is becoming too big.
Like this:
Class - A
Methods - a, b, c, d, e
Class - B
Methods - a, b, c, d, e
This should be in graphical mode, Classes are some boxes, and the methods are inthebox.
Then I would like to be able to make a arrow from one method to another.
Do you know some good software?
thanks
How would I take a text box value and use it inthe query string on submit? I'd like it to start as this,
/News?favorites=True
and end up something like this after the user enters in a search and clicks search.
/News?query=test&favorites=True
The controller action looks like this
public ActionResult Index(string query,bool favorites)
{
//search code
}
This question is something close to what I'd like to do, but I'd like to use the query string and maintain the existing values inthe query string.
Thanks.
Hi,
Is it possible to hilight part of a text and copy in Android?
It's kinda like how in iPhone, when you hold a text for sometime, thebox will show up and you can copy then paste that somewhere?
Thanks,
Tee
I'm using the symbol \otimes as a unary operator and it's vertical alignment doesn't seem right to me. It wants to sit a bit below the baseline:
and
I tried using \raisebox to fix this, e.g., \raisebox{1pt}{$\otimes$}:
But \raisebox doesn't seem to be sensitive to subscripts. The operator stays the same size while everything around it shrinks:
The problem, I think, is that \raisebox creates its own LR box, which doesn't inherit the settings inthe surrounding math environment. Is there a version of \raisebox that "respects math"?