Does anyone know how to send an MMS message with the .net framework? Theres sample code for SMS but not MMS. I have a GPRS modem already installed on my server.
Hello everyone,
I need to get the selected value from an ajax.net combobox throught javascript so that I can do some client side validation.
What's the best way to do this?
Thanks,
Hey,
What's the easiest way to perform an FQL query from an ASP.NET application? Do I have to download the Facebook Developer Toolkit (which I only want to use as a last resort), or is there an easier way (maybe through javascript)? I'm not doing any heavy queries if that makes a difference. (I simply want to get the user's profile picture URL from my site. It might not even need FQL?)
Thanks for any suggestions
I'm writing an ASP.NET MVC2 application that uses a jquery theme. I have a partial view that is updated with an Ajax call. When the partial view is re-rendered the buttons lose their jquery theme. I tried having the "onComplete" function restyle them, but no luck.
Is there an inbuilt .NET date formatting function to return a date in the format:
3rd April 2010
It's the "rd" bit that I cannot recollect whether there is a formatting option.
Cheers, Rob.
I'm trying to get a firebird web application (IIS6 64 bit) to run. However I'm getting bad image format (bit difference incompatability) issues. Has anyone got any advice to get it running.
Details AnyCPU application references the .net firebird driver (through nhibernate) which uses a native 64bit dll. There is a native 32bit dll which I use for local development and it works fine. (I havn't got the 32 version working on the 64 bit server either).
Hi
I have different urls that points to the same code
www.url1.com
www.url2.com
I need to use the cache, but if the asp net cache is enabled when someone access to www.url1.com next person accessing www.url2.com could get the previously cached data (www.url1.com)
I need to have ALL caches activated except this one.
I have a GridView in my ASP.NET application that takes data to be rendered from EntityDataSource. GridView allows user to select rows. I want to get the entity that corresponds to the row user selected. I can get from GridView the ID(primary key) of the entity that corresponds to the row selected. How can I get the Entity that has that ID(primary key) ?
How can i use data validation mechanisms with ado.net datatable or datasets.
I have an input form which i am binding to a datatable.Now i want to do input validation how can i do that.I have tried using validationRules but i cant bind parameters to it.I tried using idataerrorinfo but cant get a clue.can someone provide some input..?
Using Forms Authentication in ASP.NET MVC when trying to log back into a site, it puts a ReturnUrl parameter in the query string. My Logon action method accepts a "returnUrl" string. However it seems that returnUrl string is always null, even when it is clearly in the query string. Any thoughts on why this might be the case or a possible fix?
I need to write a ASP.Net C# web page that can open a web page, fill in the fields and click the submit button on the web page automatically. My web page should launch the IE browser and navigate to a specified URL and fill the form and submit it. Not sure where I should start from. Any help is greatly appreciated.
Thank you.
I'm looking for a tool like SonarJ but for .NET instead of Java.
SonarJ helps you to find deviations
between he architecture and the code
within minutes. It can be integrated
into your IDE to help you avoid the
introduction of new architetural
violations to your code base. You can
also use it to maintain metric based
software quality rules which will keep
complexity under control.
I googled and searched SO without satisfying results.
Is it possible to use an ASP.NET web.sitemap with a jQuery Superfish menu?
If not, are there any standards based browser agnostic plugins available that work with the web.sitemap file?
I need to read binary PGM image files. Its format:
P5
# comments
nrows ncolumns
max-value
binary values start at this line. (totally nrows*ncolumns bytes/unsigned char)
I know how to do it in C or C++ using FILE handler by reading several lines first and read the binary block. But don't know how to do it in .Net.
We have a .Net application that runs as a shell for certain users. We'd like the application to automatically restart when it crashes.
The application is set as the shell here:
HKEY_USERS*User*\Software\Microsoft\Windows NT\WinLogon\Shell
I've tried adding an "AutoRestartShell" key with a value of "1", like what exists in:
HKLM\Software\Microsoft\Windows NT\WinLogon.
When I kill the application's process for the user (via RDP) the application exits, but never restarts.
Ideas?
In .NET what is the best way to find the length of an integer in characters if it was represented as a string?
e.g.
1 = 1 character
10 = 2 characters
99 = 2 characters
100 = 3 characters
1000 = 4 characters
The obvious answer is to convert the int to a string and get its length but I want the best performance possible without the overhead of creating a new string.
I wondered how certain .NET hosting providers can safely grant full trust to their customers?
Doesn't this open up everybody who is hosting with that company to potential safety issues? Or is there a way to safely restrict each customer, despite giving full trust, to "their" space without giving them the abiliy to bring down the system or spy on other customers?
Recently I was asked the following question at interview.
"What are the different way to bind a Data Control in ASP.Net".
I have answered
Typed DataSet
Collections
Stored Procedure.
The interviewer expecting a lot more. Can anyone explain me the different way that we can bind the data controls?
I've been asked to write a Windows service in C# to periodically monitor an email inbox and insert the details of any messages received into a database table.
My instinct is to do this via POP3 and sure enough, Googling for ".NET POP3 component" produces countless (ok, 146,000) results.
Has anybody done anything similar before and can you recommend a decent component that won't break the bank (a few hundred dollars maximum)?
Would there be any benefits to using IMAP rather than POP3?
I have written a crawler in Perl awhile back and it was super simple giving the high-level capability of libwww-perl. It is so straight forward in fact, it can take the raw HTML response of one request, and create the next HTTP request for you from the FORMs on that page (as in it will parse the HTML for you).
Does anyone know any library like this on .NET or Java?
Selenium is out of question because it requires the browser to be open, which we cannot accommodate in our implementation)
Hello,
I'm trying to add some share this javascript in between the head tags of an asp.net page but only if the page is not secure (!Request.IsSecureConnection). How do I get the code in the head tags to check for secure connection and then write the javascript if not secure. I've tried using <% % blocks and RegisterStartupScriptBlock and it's not working
In ASP.NET, binding a DataGrid to a list of objects is super-easy.
I end up with a row for each object in the list, and any cell in a given row is bound to a property of the corresponding object.
However, suppose one of the properties of my object is a dictionary, and each is expected to contain a specific key. Is there any way to bind one of my DataGridColumns to that dictionary key?
Thanks.
Does anyone know of a good (efficient, nice API, etc.) geometry open source library for .NET? Some of the operations needed:
Data Structures
Vectors (2D and 3D with floats and doubles)
Lines (2D and 3D)
Rectangles / Squares / Cubes / Boxes
Spheres / Circles
N-Sided Polygon
Matrices (floats and doubles)
Algorithms
Intersection calculations
Area / Volume calculations
What is the best way to put together a "shortcut" to launch a IronRuby REPL with some .NET assemblies preloaded? I think there is a way to do this in Powershell (via Snapin or Module) and I'm looking for something similar in IronRuby.