In an ASP.NET environment, what's the best way to play a mp3 file? Do I need to use a flash plugin (some users may not have flash). Also, this needs to work on a IPhone or an IPod.
I would like to show Confirm alert on button click, but confirm message I would like to show from a global resource file? How do I do this?
Something like this.
OnClientClick="return confirm('<%$ Resources:MfnWeb, ConfirmCloseAccount%')"
Hi guys,
I need to set up a filter file for my findbugs ant script that scans only the src/* files and not the test/* files.
What is the syntax for checking all classes while ignoring any filename or package name with 'test' in the name?
Thanks
The title says it all, how do I access properties (title, state,...) of instance variables from within a class method of an other implementation file? I tried @synthesize but I couldn't get it to work.
this is a different question concerning:
http://stackoverflow.com/questions/2360433/add-a-connection-to-database-not-working-asp-net-to-mdf
i am unable to connect because of the noted error message
the database must be read only? but when i click the properties of the file read only is not checked
is there another way it could be read only?
VS 2008 SP1 craching when I open an ASPX file on Windows XP
Has anyone experienced this before ?
VS does not give me any error messages. It simply shuts down very quickly.
Hi All,
I'm working in xmldataprovider and we have configuration value "source" this value may be local file or url
like
c:\data\test.xml --absolute
data\test.xml --relative
or url
http:\mysite\test.xml
how I can determine all this cases in code
I'm working c#
I have 4 reasonably complex r scripts that are used to manipulate csv and xml files. These were created by another department where they work exclusively in r.
My understanding is that while r is very fast when dealing with data, it's not really optimised for file manipulation. Can I expect to get significant speed increases by converting these scripts to python? Or is this something of a waste of time?
byte[] binaryData = new Byte[pngStream.Length];
long bytesRead = pngStream.Read(binaryData, 0, (int)pngStream.Length);
string base64String = System.Convert.ToBase64String(binaryData,
0,
binaryData.Length);
I have a binary data in Byte array.
Does anybody know how to save this into any image file (png or jpg) in silverlight3 or c#?
Thanks
I'm serving a file from Lighttpd whose name contains space-characters. I'm using mimetype "application/octet-stream"
When I download this in Chrome, it works perfectly. But when I download in Firefox, the filename is truncated at the first space.
Is this to do with the mimetype? With some other lightty config? Or maybe something to do with the kind of space-character I'm using?
Hi,
I am wondering, if I create a new HttpRequest, and put the content of a simple file inside this request, would I be able to read the content on the server side by aspx page? in other words would that be equivalent to upload control?
Thanks!
I'm looking to allow users to upload an Excel or CSV file to MySQL for a contact management system. Need to be able to allow users to map their columns so that they are imported into the correct column in the table.
Anyone know of a good site or tutorial on this?
When i tried to connect to Apache Cassandra server using the php code i got an error "Fatal error: Call to undefined function uuid_make()". I can find that PHP UUID extension was missing in PHP installation. Can anyone please suggest from where i can download the DLL file for PHP installation in my Windows 7 Machine.
I am trying to put a kmz file from my server in a google-maps-map using ArcGIS Server Google Maps API. It works fine with KML but KMZ does not show up. Any suggestions?
I have tried both the .net FileUpload control and the ajax Asyncfileuploadcontrol to upload a file less than 500kb.
It seems that when I tried to go through my wireless router (att.bellsouth) that the uploads always fail, however when I plug my droid into my laptop and use my pda connection it works perfectly fine.
I'm wondering if the network connection from my house to my server could be causing this issue, and if anyone had any solutions to this problem. Tomorrow I'm going to try and upload from other networks and pray it works.
Hi all
I have data like below
AAAAAA
BBBBBB
CCCCCC
DDDDDD
EEEEEE
Now there is button on the page,when I click the button, the browser would download a excel file with the data above, and stay current page. Is there any simple way to do it? The data is very simple. only one column, and not huge.
Best Regards,
Given file names like these:
/the/path/foo.txt
bar.txt
I hope to get
foo
bar
Why this doesn't work?
#!/bin/bash
fullfile=$1
fname=$(basename $fullfile)
fbname=${filename%.*}
echo $fbname
What's the right way to do it?
I'm trying to handle an FileNotFoundException in Java by suspending the thread for x seconds and rereading the file. The idea behind this is to edit properties during runtime.
The problem is that the programm simply terminates. Any idea how to realize this solution?
Hi All,
I am now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone help me please.
Thanks in advance,
Shibin
Using iis7, windows 7, asp.net 3.5. I have in my hosts file
127.0.0.1 mysite
::1 mysite
I forgot why I added the ::1, but I think it was important. Anyone know what the second line is for? Thanks in advance.
Edit
One more question. What happens if I leave it out? The web site I'm working on doesn't address via IPv6, at least, not that I know of.
Is there a way (without buffering the whole Inputstream) to take the HttpServletRequest from a Java Servlet and write it out to a file using all NIO? Is it even worth trying? Will it be any faster reading from a normal java.io stream and writing to a java.nio Channel or do they both really need to be pure NIO to see a benefit? Thanks.
How does one make their application help file similar to the new windows 7 help format and is that compatible with Windows XP? Can anyone provide details ?