I'm writing a book on multicore programming using .NET 4 and I'm curious to know what parts of multicore programming people have found difficult to grok or anticipate being difficult to grok?
Is there anything wrong with having an asp.net page throw a (custom error) if a a required querystring parameter is missing and having global.asax catch it with Application_Error, then transfer the user to an error page? I have several base classes that perform these checks and I am not sure of the best way to communicate the error to a user.
So, something like this:
int reqParam;
if(!isParamSet("myReqParam", out reqParam))
{
throw new QuerystringParamMissingException();
}
which is then caught by Application_Error in global.asax.
Hello all,
I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).
What source control system provides this functionality?
P.S. I can't use the TFS, it's a limitation
I've been hearing these two words used in Microsoft tutorials for VB.NET. What is the difference between these two words when used in reference to variables?
I am using ASP.Net and jQuery + jQuery UI. Everything works fine with the jQuery on any other page, however when I create a popup window with window.open(...) jQuery seems to no longer function.
I have all of the script files included on the Popup's Master page, so am not sure why it won't fire.
Any Thoughts?
i am trying to integrate the jquery Full Calendar (http://arshaw.com/fullcalendar/) in my asp.net mvc application.
I need to use this full calendar to add/edit/delete/show the events using the sql server 2005 database as backend.
Do anyone have the sample code to implement the fetch, add/edit/delete events with this Full Calendar for c#
How can I design a user interface with tabs like the one Google Chrome has, I mean each tab has to be able to:
Maximize
Close
Dragged and be stand alone.
I'm using .net 2.0 (C#)
Thanks,
I am trying to export contacts using Yahoo/AOL/Live username credentials.
I have been able to export gmail contacts with their API, but cant find any example for Yahoo/AOL/Live in ASP.Net
Any help appreciated
And especially are there .NET libraries available for the purpose? Two hours of Google searches have turned up nothing so I'm not optimistic, but ...
The big question: is it even possible to use ZModem over USB?
TIA.
I have a data repeater in ASP.NET page. It loads lots of stuff and its taking 4 - 5 seconds to display images. I can' t page or get a part of items i need to display all of the data so i need a loading message or gif but how can i do that? Can anyone help me?
Thanks
I want to select a particular item in a dropdownlist by value, in asp.net using IronPython.
I found I can do it like this
listItem = ddl.Items.FindByValue(x)
if listItem != None: listItem.Selected = True
But I want to do it in one line
Hello all,
I'm looking for a Win32 equivalent of the .Net Encoding.GetEncoding Method to be used in Delphi7.
What I would like to achieve is to convert a Codepage ID (ie.: 28592) to a Codapage name (iso-8859-2 in this case).
I've found a Win32 function called GetCPInfoEx, but that returns a long CodePage name, and I need the short one, like the ones listed on this page: (see Name column)
http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx
Thank you!
i add asp.net file upload control as following
<asp:FileUpload ID="filesFileUpload" runat="server" />
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="file types not supported"
ValidationExpression="\.(zip.rar|jpg|gif|png|eps|ai|psd|pdf)$" ControlToValidate="filesFileUpload"></asp:RegularExpressionValidator>
and always when i upload file that match the reg expression it show the error .. could any help me why this done ?
Is there a way to make a desktop application easily interfaceable via Web ? Meaning, can you have a way to interface with a single desktop application as if you were remote desktop'd into the machine but not? I am looking at doing this in ASP.NET or Silverlight.
I have a class MyClass with a method MyMethod. For every MyClass instance in a list of MyClass instances i want to invoke MyMethod and have them run in a separate thread. I am using .NET 4.0 and the Parallel extensions.
I changed some names of namespaces, assemblies in one of existing project (C# and ASP.NET). But when I try to debug it; I get this error.
Could not load file or assembly 'HR' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
I have replaced DFI with HR in the code.
I've been trying to programatically feed the paper on a pos printer (Epson TM-U220D). The problem I have is that the last line of the document don't get printed, instead, it is printed as the first line of the next document printed. I tried POS for .NET sending the "ESC|flF" command, also tried to send the raw esc/pos command using the serial port, but it doesn't work. Any ideas?
Hey all,
I have a repeater that's bound to a SQL Data Source (using ASP.NET). Are there any JQuery plugins/efficient way of converting my repeater into something that can be sorted via drag and drop? i.e. users can rearrange the order of the data, which updates the database?
Thanks
VB.Net
This works fine for me
"-i ""C:\myfile.flv"" -ar 22050 FileName.mp4"
but can i use this one i.e.
"-i ""http://www.example.com/myfile.flv"" -ar 22050 FileName.mp4"
Is there a way to automatically create p/invoke wrappers for .net from a c header?
Of course I could create them by hand, but maintaining them would be painful, and I'd probably make a mistake somewhere resulting in hard to debug crashes.
I tried SWIG, but it created full classes where simple structs would be sufficient.
I'd prefer if the output worked on mono too, but that is not necessary.
Is it possible for one to check the strong name of a .NET application that is already currently running separately from your own running applications process?
EDIT: For clarification, a solution that does not require a hard coded path to the executing assembly would be the most ideal solution.
EDIT #2: Is there any way to do this without using reflection?
in any .net version
Format24bppRgb
Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.
Format32bppRgb
Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.
hi,
I am using Asp.net with jquery I wanted to display information for a specific product that is getting from the query string so my question is
How can i get the query string through jquery and hit the Web method and get the result in json and display that result on my page on page load.
Thanks waiting for your replay..