hi all , i am looking for some methods to improve swing gui for example i want to know about new components libraries , new methods to enhance swing performance , new methods to add special effect to swing gui and
new plaf for swing .
please i want to know how to use this topics and where to find some tutorials about it .
thanks.
I have N mp3s ( N files for example). I need to Join (impose) them into 1. I mean I want to to mix sounds like the N speakers speak at the same time, please help. Any key to special LAME function for performing such operation? Thanks.
I have the following construction: for (String playerName: players).
I would like to make a loop over all players plus one more special player. But I do not want to modify the players array by adding a new element to it. So, what can I do?
Can I replace players in the for (String playerName: players) by something containing all elements of the players plus one more element?
I use this condition to check if the value is alphanumeric values:
$value =~ /^[a-zA-Z0-9]+$/
How can I modify this regex to account for a possible dot . in the value without accepting any other special characters?
I have a normal MFC Application with an embedded icon. If I start the application, the icon is shown inside the windows-7 taskbar.
But when I change the icon inside the resources, rebuild the application and start it, the taskbar doesn't show the current icon, but the icon from the first run.
There is no special code inside the application that does something specific with the windows-7 taskbar.
Is there a way, (in C++) to tell the windows-7 taskbar to show the current icon?
I want to check if user input a positive integer number.
1 = true
+10 = true
.1 = false
-1 = false
10.5 = false
Just a positive number.
No characters.
No special character.
No dot.
No minus sign.
I tried is_int() function but it is returning false even on positive integers. Is there a string to int problem?
Thanks
Hi,
I have created a really basic project (Make) like this:
(ede-proj-project "zrm"
:name "zrm"
:file "Project.ede"
:targets (list
(ede-proj-target-makefile-program "zm"
:name "zrm"
:path ""
:source '("zrm.c")
)
)
)
When doing M-x ede-proj-regenerate RET and M-x compile RET RET (accepting make -k as my compile command), make keeps bailing with a **missing separator error.
When editing my Makefile outside of Emacs (with the darn evil vi) and replacing spaces by tabs, it works.
Is there anything special I should pay attention in order to have this work ?
Regards
Hello to everybody,
I was trying to output Excel's data to a text file to use them in MySQL, nevertheless i was not able to find an easy solutio because at the end of each row I have to add manually a "TAB" ! Otherwise there are always errors in the MySQL table, is there any special data format to export these data from Excel 2003 ?
Thanx for your help
Alex
I created a text editor in C# and I use a special file extension for the XML file that my program uses. When I use "Open With..." from the Windows context menu, my program doesn't read the file and I get an error.
How do I fix this?
I am wondering what the idiomatic way to render special language characters is using Handlebars.js templates. When I render the normal html I can use something like the Spanish lowercase e, é, and it renders as expected. When I pass the same text as a string to my Handlebars template I just see the characters é.
I have tried creating a Handlebars helper that used jquery to render the text using .html() then returning the .html() of the tmp element and I get the same results.
The below example generates an error:
VBScript compilation error: Cannot use parentheses when calling a Sub
This error does not occur if all parameters are not objects.
Is there a special way to pass object parameters to VBScript functions?
Option Explicit
Dim obj
Function TestFunc(obj)
WScript.Echo "Why doesn't this work?"
End Function
Set obj = CreateObject("Scripting.Dictionary")
obj.Add("key", "val")
TestFunc(obj) ' Error here!
I am writing a special-purpose mini-compiler and I often view disassembled CIL to figure out how to do things. But it's often not obvious how to translate the disassembled code to Reflection.Emit calls. Does a reference manual exist or any other source of information for doing this translation?
Hi all,
I got a question when I was doing some Array in PHP.
I don't know how to write the code for the following case:
$arrs = array("abc", "cr", "exd", "hello", "gj", "hwa", "@", "8");
foreach ($arrs as $arr){
// if $arr does not belong to any characters from a to z,
// then there must be some special character in it.
}
Could you help me please?
Hey all
Are there any pre-made scripts that I can use for PHP / MySQL to prevent server-side scripting and JS injections?
I know about the typical functions such as htmlentities, special characters, string replace etc. but is there a simple bit of code or a function that is a failsafe for everything?
Any ideas would be great. Many thanks :)
Allowed characters are (at least) A-Z, a-z, 0-9, ö, Ö, ä, ä, å, Å and german, latvian, estonian (if any) special chars? Is there ready-made method or do i have to make blacklist (non-allowed chars) and regular expressions IsMatch? If no ready-made how to use blacklist?
Cheers & BR -Matti
I would like to track metrics that can be used to improve my team’s software development process, improve time estimates, and detect special case variations that need to be addressed during the project execution.
Please limit each answer to a single metric, describe how to use it, and vote up the good answers.
When I am trying to install the IFD tool on an on-premise CRM installation it is not updating the registry and the database.
Should the user doing the installation have some special permissions.
Hi,
I'm trying to add some code in a presentation made with LaTex. I used beamer, added some frames without problems but once I add the listing, I can't compile the presentation anymore.
\begin{frame}{Code}
\begin{lstlisting}
Sample Code
\end{lstlisting}
\end{frame}
The error I pdflatex gave me is:
Package Listings Warning: Text dropped after begin of listing on input line 80.
Is there anything special to add to make it work ?
Thanks
I have built an application which uses user executable through WScript com object.
Now the main program is located in C:\Program files\Myapp
Curl executable is located in C:\Curl
But it looks like my application is unable to execute curl if main application is in Program files.
If i move it to another location it can execute curl nicely.
Problem occurs only on Windows Xp on Vista and Win7 it works perfectly.
Is there any special permissions i have to give to my app or what?
When I search on the Internet about JQuery and I got the jquery cheat sheet. At there, I am very confused about how to use the following under which condition. Pls help me.
[attribute|=val]
[attribute*=val]
[attribute~=val]
[attribute$=val]
[attribute=val]
[attribute!=val]
[attribute^=val]
[attribute]
[attribute1=val1] [attribute2=val2]
What are the functions of these special character *, ~, $, !, ^? Thanks very much.
hi
i have a page x which is nothing special. i also have a page y with a form - dropdown-field.
Now i want to place a link link from page x to page y whose link will also select the third value of the dropdown.
The sample is descriped easier than it is in reality just to get to the point.
How is that doable?
Regards
I'm trying to send an email in Java but when I read the body of the email in Outlook, it's gotten rid of all my linebreaks. I'm putting \n at the ends of the lines but is there something special I need to do other than that? The receivers are always going to be using Outlook.
I found a page on microsoft.com that says there's a 'Remove line breaks' "feature" in Outlook so does this mean there's no solution to get around that other than un-checking that setting?
Thanks