Is there a way to remove the attribute '_moz_resizing="true"' added by
Firefox from to avoid giving user the possibility to
resize table in design mode (when contentEditable=true).
I have a website that i did some time ago now they request some new features and i did some changes in some javascript files, but when i publish the clients that use the IE have problems with cache so in they browser they have old version of javascript. How can i clear the client cache so when they visit website they use latest javascript files that i modify.
I'm looking for an off-the-shelf license system for desktop software.
After some research on the net -- and of course here on StackOverflow -- I haven't found one the suits our needs. I have a couple of must-have features and some would-be-nice features:
Must have:
Encrypted unlock key
Possibility to automate the unlock
key generation on my website
User info in key so that I can show
name and company in an about box and
perhaps in reports
Nice to have:
License managing tools
Online activation
Nice upgrade possibilities to a
version with concurrent license model
and subscription model
I have looked at Manco, but I find them difficult to work with and the documentation is minimal. Further, I couldn't get the name in the key. Also, the automatic generation of a key on my website has to be done with an application web service, but I would rather program against a DLL.
Next I looked at xheo. It is easier to use and the documentation is better, but the price is substantially higher and here you can only get the user name in the license file that you then have to provide together with the unlock key.
Could anyone share their experiences on what you are using and how it is working for you?
As far as I understand. I can use a project licensed under MIT license into a proprietary software. Am I right? It dosen't force any copyleft and I don't have to say that my project is based on something else. That means I can fork the hell out of it, right?
Can someone shed some light over this?
In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
Update
I am making this a community wiki, for three reasons:
I don't feel like I got a definitive answer, but
I have long since stopped needing an answer, because I rolled my own accordion function
this question gets tons of views, so clearly lots of people are still interested
So if anybody wants to change/clarify this question and make it a definitive guide, be my guest.
I'm working on a page using jQuery's accordion UI element. I modeled my HTML on that example, except that inside the <li> elements, I have some unordered lists of links. Like this:
$(document).ready(function() {
$(".ui-accordion-container").accordion(
{active: "a.default", alwaysOpen: true, autoHeight: false}
);
});
<ul class="ui-accordion-container">
<li> <!-- Start accordion section -->
<a href='#' class="accordion-label">A Group of Links</a>
<ul class="linklist">
<li><a href="http://example.com">Example Link</a></li>
<li><a href="http://example.com">Example Link</a></li>
</ul>
<!--and of course there's another group -->
Problem: IE Animation stinks
Although IE7 animates the documentation's example accordion menu just fine, it has problems with mine. Specifically, one accordion menu on the page moves jerkily and has flashes of content. I know that it's not a CSS issue because the same thing happens if I don't include my CSS files.
The other accordion menu on the page opens the first section you click and, after that, won't open any of them.
Both of these problems are IE-specific, and both go away if I use the option animated: false. But I'd like to keep the default slide animation, since it helps the user understand what the menu is doing.
Is there another way?
Can anyone see what is wrong with this? The Tag property is returning null however the Binding for Id property is definately returning an int value.
<ListBox ItemsSource="{Binding ElementName=myDomainDataSource, Path=Data}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=Id, Mode=OneWay}" />
<HyperlinkButton Content="Edit" Tag="{Binding ElementName=Id, Mode=OneWay}" Click="Edit_Click" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
and then...
private void Edit_Click(object sender, RoutedEventArgs e)
{
ContentControl c = sender as ContentControl;
// exception - c.Tag is null
int id = (int)c.Tag;
}
The Id property is showing a value on the UI, but doesn't seem to be getting stored in the buttons Tag property.
My simple command line app:
int _tmain(int argc, _TCHAR* argv[])
{
JavaVM *jvm;
JNIEnv *env;
JavaVMInitArgs vm_args;
JavaVMOption options[1];
options[0].optionString = "-Djava.class.path=."; //Path to the java source code
vm_args.version = JNI_VERSION_1_6; //JDK version. This indicates version 1.6
vm_args.nOptions = 1;
vm_args.options = options;
vm_args.ignoreUnrecognized = 0;
jint ret = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
return 0;
}
gives me:
Error occurred during initialization of VM
Unable to load native library: Can't find dependent libraries
The breakpoint at "return 0" is never reached. jvm.dll resides in same directory as my command line app.
I don't get it what's wrong. Any Ideas? Thanx in advance
Hi,
I fount this code on net :
HttpWebRequest update = (HttpWebRequest)WebRequest.Create(**editUrl** ); // editUrl is a string containing the contact's edit URL
update.Method = "PUT";
update.ContentType = "application/atom+xml";
update.Headers.Add(HttpRequestHeader.Authorization, "GoogleLogin auth=" + **AuthToken**);
update.Headers.Add(HttpRequestHeader.IfMatch, **etag**); // etag is a string containing the <entry> element's gd:etag attribute value
update.Headers.Add("GData-Version", "3.0");
Stream streamRequest = update.GetRequestStream();
StreamWriter streamWriter = new StreamWriter(streamRequest, Encoding.UTF8);
streamWriter.Write(entry); // entry is the string representation of the atom entry to update
streamWriter.Close();
WebResponse response = update.GetResponse();
But here i am not getting what to put in " editurl" , "AuthToken" and "Etag".
a) I studied abt "AuthToken" from this Link .But not getting how to create it?
Can anyone help me out here?
b) Also not getting " editurl" and "Etag".
I am trying to use this method to Migrate my contacts to Google Apps.
Thanx
I want share and introduce new idea to the program and algorithm for researchers. but those people disgraced my interest and degrade my thoughts. They closed my request. Why? I think this is not a good place to prove our talents. I think leave from this forum is better...
I have an app that finds other users within a 20 mile radius on a google map and associates an icon with each of them. However, I do not want their exact points to be given but rather an approximation. I've wrestled with a few ideas on how to do this:
Only Geocode the Zip Code, make graphic icons for 1-99, use the icon to represent how many results are within the zip code, and use the info window to show hyperlinks to the individual results. The only problem is, I'd like each individual icon to be shown because it just looks a lot better.
Add/Subtract a random number to the lat/lng values stored with each user and add a translucent circle around the icon.
What do you guys suggest?
I'm coding a board game where there is a bag of possible pieces. Each turn, players remove randomly selected pieces from the bag according to certain rules.
For my implementation, it may be easier to divide up the bag initially into pools for one or more players. These pools would be randomly selected, but now different players would be picking from different bags. Is this any different?
If one player's bag ran out, more would be randomly shuffled into it from the general stockpile.
Hi all,
I have the following web.sitemap portion:
<siteMapNode title="MENU" url="">
<siteMapNode url="~/page1.aspx?id=0" title="MENU 1" />
<siteMapNode url="~/page2.aspx" title="MENU 2" />
</siteMapNode>
When I am in http://localhost/page1.aspx I cannot see the map path because in my sitemap I have quesrystring ?id=0.
Can I fix it?
Thank you soo much!
Nicola
I'm after a list of possible neural network implementations that one can do to learn how to use it.
What other possibilities are there?
Here's the list so far:
Games
tic-tac-toe
Connect 4
Chess
Go
Visual recognition
Character recognition (typefaces, letters, numbers, etc)
Facial recognition
Audio recognition
Language detection
Male vs female
Word recognition
Language detection (natural, programming)
I need to setup an application that watches for files being created in a folder (locally or on a network drive) and I was wondering if anyone has any thoughts on whether the FileSystemWatcher or polling on a timer would be the best option. I have used both methods in the past, but not extensively. Have you run into any issues (performance, reliability... etc) with either method? I know there isn't a "right way" to do this, I'm just looking opinions.
So I have binded a List to a ListView where the List has items of type Album, where it has lots of properties including .Cover, which I is an image on disk. Well since I don't know what type of image is needed and how they have to be loaded (I only know using Image types for Winforms), I don't know the type yet.
Can someone show or post me a quick sample where it shows this sort of items being shown as images of a certain fixed size using their .Cover property?
In essence this would show:
What type .Cover should be
How to open images from disk for WFP (assuming it's different than Winforms image loading)
How to show them on a ListView as images of a certain fixed size, scaling the images if necessary
hi all,
I have a functionality where a user is given file to download.
It works fine. BUT -
1. How to know whether user has downloaded a file or cancelled it?
2. After downloading I wat to redirect current page to another one that is also not happening.
Please let me know if any one of you have any idea about it.
(I am doing it in Joomla)
Regards,
Shahu
Is there a quick and dirty way of using a query passed as follows:
domain.com/mypage.aspx/product/toycar/
I've done it before in PHP, but this needs to be done in page (in this instance).
--
I only have access to the aspx page and code behind, and have to work in asp.net 2 (i wish i was using 3.5)
I am working with a number of data entities which can be created, read, updated and deleted, and I find myself writing more or less the same code for them. For example, I need to sometimes output data as JSON, and sometimes in a table format. I am finding myself writing 2 different types of view to export the data to. Also, the creation of those entities within DB usually differs just by the SQL statements and the input parameters.
I am thinking of creating a strategy pattern to represent different 'contexts'. For example, the read() method of an AJAX context will be to return the data as JSON. However, I wonder if others have deal with this problem beforehand and will like to know what design patterns are usually use for CRUD operations.
Hi
I want to create log in page with c# asp.net.
I do it.
Now when the user is log in, I want to get user ID and use it in other page.
How can i do it?
Thank you for your help