I'm writing a plugin (dll file), and I'm creating a WinForm as its interface/dialog.
If it does require a message pump, how and where should I create one?
I'm using @font-face for some headers.
The replaced typeface is different in dimension and overall character. When the switch happens, the old typeface's rules don't look so good.
Other than writing a conditional Javascript script, is there a way to have a set of CSS rules for @font-face fonts (if the browsers supports it) and CSS rules for the unreplaced default fonts?
hi,
I've installed the usb driver, i'm running win7.
I can see that the driver is installed in the window-android SDK and AVD manager-installed packages
but when i'm writing "adb devices" in the cmd it doesnt show like the phone is connected (it is - it has the orange led on..)
I'm using the HTC G1.
I also did the "Turn on "USB Debugging" on your device" step...
anyone got an idea??
I'm in the midst of writing a slideShow app (click a button, and you slide through a list of images) for jQuery, but I've run into a little bug where it will respond to the click() request even while an animation is happening. I'm using the animate() function already, so that isn't staving off the additional animation requests.
Any way to program around this?
Hi All,
Is it possible to set thickness property of SolidColorBrush. The reason I am asking is that I have a IValueConverter binding to Textbox Border BorderBrush property and I am dynamically setting the color of the textbox using the below code,
SolidColorBrush tbbrush = new SolidColorBrush(Colors.DarkGray);
return tbbrush;
I also want to change the thickness property of the border, but without writing a new IValueConverter. Is it possible?
Hi,
I hope somebody can help me out on this question.
I'm using a SQL database and I'm writing a VB.NET client application. This application is used on multiple computers at the same time. If one of the clients makes an update to the database I would like to have the other clients to be aware of the update.
Has ony one already done this before?
Thank you very much!
Marcel
Is there such a thing as a "translator" (for lack of a better word in my mind now) that translates Python code directly to JVM / Dalvik bytecode?
Would be great for writing Android applications in Python!
NOTE: I know about the scripting capabilities of the Android platform but I am looking for something that would generate a '.apk' without having to install the 'scripting' package... annoying for end-users.
I am writing an application that relies on UDP Broadcasting.
Does anyone know what kind of stress this puts on your network? I would like to have multiple clients on the same network broadcasting frequently.
Any information on this would be helpful
Thanks
Hi, I am writing a chrome extension and from the content script I want to calculate the absolute position of a DOM element. But from within content script, if i try to access offsetHeight, offsetWidth, offsetTop, offsetParent, etc, I get null. I guess content scripts don't have access to those DOM properties.
Is there a way/workaround, i can find those properties?
Hi, I'm looking for any open-source accounting module that I can include in my Symfony project. I was thinking of writing my own & releasing a plugin, but then I came across 2 solutions:
http://arias.sourceforge.net/
http://frontaccounting.net/
Please answer on the lines of...
Choosing one of the above, your experience, community support
Other alternatives
Thanks a lot!
The installer I'm writing using WiX 3.0 uses a RegistryValue element to modify an existing registry value (originally written by our main product). I'm trying to figure out a way to restore the registry value when the user uninstalls my utility. I'd like to avoid using a custom action, but that might be the only recourse? TIA.
How to check that my params['Filedata'] is corrupted or not?
I have function it's reading file from params['Filedata'] and writing it to the other file.
File.open(upload_file, "wb") { |f| f.write(params['Filedata'].read) }
this line working fine for me..
But when i am calling this function with delayed job funtion send_later than I am getting error with params['Filedata'].read.
Hi All,
I am writing an application and for this to make it safe I have decided to HtmlEncode and HtmlDecode the data to avoid Javascript Injection and Paramaterised queries to avoid Sql injection.
But I want to know whether these are the best ways to avoid these attacks and what are the other ways to damage the application that I should take into consideration.
I am using Apache commons File upload API to Store the file from JSP to servlets in temp directory, but I don't know what should I do next to send the email as an attachment using javamail API.
How can I retrieve those files which is written in temp directory using Apache Fileupload API to send them as attachment to mail Server. How will writing those files either to memory or disk will help me?
I'm writing a stream to a file and stdout, but I'm getting some kind of encoding like this:
\u05ea\u05e7\u05dc\u05d9\u05d8
\u05e9\u05e1\u05d9\u05de\u05dc
\u05e9\u05d9\u05e0\u05d5\u05d9
\u05d1\u05e1\u05d2\u05e0\u05d5\u05df
\u05dc\u05d3\u05e2\u05ea\u05d9
\u05d0\u05dd \u05d0\u05e0\u05d9
\u05d6\u05d5\u05db\u05e8
\u05e0\u05db\u05d5\u05df
How can I convert this to a printable string?
I'm writing in .NET a windows service that, at windows startup, executes some network operations. I noticed that my service starts before the network is up.
How can I check the network connectivity? Or, better, how can I check if the dhcp gave me an ip?
Hi all,
Is there a way of writing an XPath expression to select the content of the element.
e.g.
<Element>xxx</Element>
Assuming I can write XPath (/Element) to get Element how do I tweak the XPath to get xxxx returned rather than the Element wrapper.
Hello all,
I am writing a webpage using GWT. Now I need to read a text file and display the content in the webpage but have no idea how to do that with GWT.
It is very nice if there is any way in GWT that I can read .properties file.
Does anyone have an idea, please?
Thanks.
Hi:
I am writing to active directory using JNDI, it is successful for
"CN=Yuri Gagarin,OU=Admins,DC=ead,DC=ubc,DC=ca"; but fails for
"CN=Gagarin, Yuri,OU=Admins,DC=ead,DC=ubc,DC=ca".
I need to store displayName, cn, name in the format 'lastName, FirstName'.
What do I need to do to get this going?
Thanks very much.
I'm writing application for code generation and I would like to use object explorer control such as the one in visual studio, so I can manually design my objects.
How can I do that?
When try to do a memset it gives the following exception
"Unhandled exception at 0x1023af7d (PxSmartInterface.dll) in SendOutDllTestExe.exe: 0xC0000005: Access violation writing location 0x40e3a80e."
My memset statement will look like this
memset(lpStatus, 0, csStatus.GetLength());
Hello everyone,
I am trying to figure out how to go about writing a linq query to perform an aggregate like the sql query below:
select d.ID, d.FIRST_NAME, d.LAST_NAME, count(s.id) as design_count
from tbldesigner d inner join
TBLDESIGN s on d.ID = s.DESIGNER_ID
where s.COMPLETED = 1 and d.ACTIVE = 1
group by d.ID, d.FIRST_NAME, d.LAST_NAME
Having COUNT(s.id) > 0
If this is even possible with a linq query could somebody please provide me with an example.
Thanks in Advance,
Billy
I have developed a python C-extension that receives data from python and compute some cpu intensive calculations.
It's possible to profile the C-extension?
The problem here is that writing a sample test in C to be profiled would be challenging because the code rely on particular inputs and data structures (generated by python control code).
Do you have any suggestions?
Something I keep doing is removing comments from a file as I process it. I was was wondering if there a module to do this.
Sort of code I keep writing time and again is
while(<>) {
s/#.*// ;
next if /^ \s+ $/x ;
**** do something useful here ****
}
Hi,
Are there any utilities available that allow you to bulk extract binary data from a MSSQL table?
For example, I have a number of Word documents stored in a table and I would like to extract all of these documents into files.
I know could do this by writing some .NET code, but I only need to do it once.