Aside from rewriting the entire RichTextBox control, is there a way to apply the built-in shader effects (e.g. DropShadowEffect) to a specific piece of text or even a Paragraph or Run?
Is there any way to unpack or extract a zip file with PHP that does not rely on any installed extension? Has anyone written a class or something that can handle it?
Alternatively, is there a solution that uses an extension that is relatively commonly installed on most servers?
I need this to work on as many different servers that I have no control over as possible.
Thanks for any help!
Not sure if it's possible but how do I read a resource from a url using javascript without ajax?
for example, the following url is a static text file containing json encoded text
http://mysite.s3.amazonaws.com/jsonencodedcontent.txt
I'd like to use javascript to read the content from above link, read the json content into a javascript variable.
I can't use ajax because of cross site and I have no control over amazon S3 domain.
anyway to achieve this?
Sorry for a potentially dumb question, I am still new at this. I really appreciate your help.
Referring to http://stackoverflow.com/questions/1536739/c-get-control-by-name/1536756#1536756
But I don't have a "this.Controls" available. Is there something I am missing here?
In other words, when I type "this." and visual studio populates a list of option, there is no "Controls" option.
At random this output it occurring at the top of the page. Site is installed on a lot of servers issue only happens on one server.
HTTP/1.1 200 OK Date: Mon, 24 May 2010 04:18:30 GMT Server:
Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727
Cache-Control: private Content-Type: text/html; charset=utf-8
Content-Length: 39611
i have a treview control with drag&drop functionality that response to draw the node outside the visible limits scrolling in the apropiate direction. The problem is that it scroll at light speed. I need a way to modify this speed.
Hello,
Can some one tell me how the Chrome's Linux beta version carry out automatic version updation using debian package manager. I need to implement something similar to my application on linux and information provided here would be of lot of help. I am currently checking out the postinst script present in the debian control package and I can see Chrome uses PGP publish/subscribe model for getting automated version updates in Linux. I just clear understanding of how that works. Any help would be greatly appreciated.
Thanks
I have created an up/down arrow segmented control button on the right side of the navigation bar in my detail view. How can I use these up/down arrows to change views?
I'm on my way to programming a database application and in our course we are told to implement a library of elements using one of the Java Collections. Each of the elements has a unique ID with which it's supposed to be addressed. Now I am wondering how this can be done.
I though about using a ListArray but this won't work because the only way of addressing List elements is through the index which you can't control.
Do you have some advice for me?
Say I have an environment variable myvar:
myvar=\tapple\n
When the following command will print out this variable
perl -e 'print "$ENV{myvar}"'
I will literally have \tapple\n, however, I want those control chars to be evaluated and not escaped. How would I achieve it?
In the real world $ENV residing in substitution, but I hope the answer will cover that.
I have used Kendo UI Multiselect control and it is working fine.
But I have one issue now that if I tap on a textbox for selecting different values then the default mobile textbox popup window come up which I want to prevent.
I tried Readonly="true" but that will simply disable the function and not able to select any values from that.
So I want to prevent this input window when I click on a textbox.
I wonder how to list content of tar file only down to some level?
I understand "tar tvf mytar.tar" will list all files, but sometimes I wish I can just see directories down to some level.
Similarly for command "ls" how to control the level of subdirectories that will be displayed? By default, it will only show the direct subdirectories, but not further.
Thanks and regards
I have had some success using WES2009 and svn to control an XPECMD script, SLD files and their dependencies.
What's the best way to apply configuration management to Windows Embedded Studio projects?
hi,
how can I remove the space between my video and control bar... I tried to change margin and padding to all element without success. There is still a thin white space above the controls.
http://dl.dropbox.com/u/72686/hSliderMargin.png
thanks
I'm working with an older version of Rails and ActiveRecord that does not have the :primary_key option in has_many relationships of more recent ActiveRecord versions and unfortunately I don't get to control when we upgrade. Is there any way to hack this solution via :conditions or :finder_sql options?
Hi,
I have to control a network connection located in the Network folder in Windows XP.
How can I do that with C# ? I have found some method to enable or desable the adapter but it is not my case.
Thanks in advance !
i have a page consisting of devexpress gridview control with 4 columns and 4 asp.net text boxes.
on selecting a row in gridview ,it should update the 4 textboxes with the values of the row selected.
so i was assigning the value of the rows of the grid to the text box in the custom callback event of the grid and also the value gets assigned to the all textboxes's text property but it doesn't updates the textbox value in the UI screen.
I'm reading through a tutorial on using voice commands to control applications and, in an example of controlling rhythmbox, it suggests commands such as the following can be executed:
rhythmbox-client --play
rhythmbox-client --pause
Why does this not simply open a new instance of the program, and how can I emulate the functionality in my own programs? For example, how could I pass a string to a particular instance of a program?
Thanks
Hey guys just I wanted to know if there is a way to block internet access to my PC by writing code in c#. I'm using windows 7, a way to control the firewall will also help, I've seen solutions for XP and vista , but didn't find any for '7'. Thanks:)
Hi
I'm trying to bind a control to the parent's Height/width property using ElementName and a Path. However, I don't want to bind to the actual height, but to exactly half the height.
Can the Path expression do the math?
e.g. Path={ActualHeight/2}
I couldn't find a way to do that. IS there any other clever approach?
Thanks!
I have a formview control, and on the ItemCreated event, I am "priming" some of the fields with default values.
However, when I try to use the formview to insert, before the ItemInserting event gets called, for some reason it calls ItemCreated first. That results in the fields being over-written with the default values right before the insert happens.
How do I get it to not call the ItemCreated event before the ItemInserting event?
I want to use OpenGL in my WndProc but I'm not sure how. I also don't want GL to occupy the whole screen, just a portion of the screen. In the end I basically want to make a drawing win32 app but use OGL instead of GDI. so how can I tell GL to use my control (a panel) 's hdc for drawing?
Thanks
What is good book for industry level C++ programming?
I am not looking for a beginners C++ book that talks about datatypes and control structures. I am looking for a more advanced book. For example, how to build system applications using C++.
Any kind of guidance will be very helpful.
i need a regular expressions string to get all anchor tags in a page with a specific css class name, in c#/vb.net
this is what i got so far
"<a.*?href=""(.*?)"".*?>(.*?)</a>"
but my attempts to add "class=name" isnt working, also is it possible to find links where the class name appears either before or after the href with one expression ?
i am familiar with 3rd party html libraries, but thats an overkill for what i have in mind, so is the webbrowser control.
Hi all ,
i was building an application that use local connection and listens to another application that also uses local connection , the second application is sort of remote control for the first app. it invokes function of the listening app from outside.
anyway , everything works good on local host.
BUT
once i have put the listening app on a server and try to work it , it does not connect anymore.
any idea's?
Thanks