In .NET WinForms I want to display message in a status bar and suspend the program execution until user moves mouse or presses keyboard. How can I do that?
Hi there,
I am currently building a webshop for my own where I want to increment the product-stock when the user fails to complete payment within 10 minutes after the customer placed the order. I want to gather information from this thread to make a design decision.
I am using SQL Server 2008 and ASP.NET 3.5. Should I use a SQL Server Job who intervals check the orders which are not payed yet or are there better solutions to do this.
Thanks in advance!
Martijn
Hi,
Is it possible to create a new thread in asp.net to do some processing, and then upon completion, set a flag so that when the user requests the next page, I can insert some extra text or code to perform some notification? Or if it is possible to send some text to the browser after the request has completed?
For example jGrowl would be great to have a notification after some processing has been performed.
Thanks
Hi Guys,
I code in C# (ASP.NET) and am using Forms authentication.
I would like to know which is the best method to change a user password without using the asp:ChangePassword control.
I dont want to use the reset password method.
I just want to grab the password i have inside my textbox and replace it with my older password.
Please note that the PasswordFormat I use is passwordFormat="Hashed"
Some code snippets would be helpful
Regards,
Naveen Jose
I'm a total beginner when it comes to computer languages, and was asked for a code to write .NET with assembler x86, and i'm stuck here at the moment.
Any basic code lines would work, still couldn't find any on the web.
I have a web forms web application (asp.net 2.0). When the user submits the form I have the submit link actually going away so they can't submit it again. However, they could press F5 and that is causing another insert into the database, which I don't want to have happen.
Is there a setting of some sort that I can set if/when they do press F5 to tell the page - don't submit again?
Hello
I am wondering how agile (fast to develop yet stable) asp.net MVC compared to frameworks using dynamic languages such as Django or Ruby on Rails.
I will be happy if you share you experiance in the name of development speed (assuming each language/framework is known at a similar level)
Things I love about Django
Fast model design thanks to ORM
Good template system
Not too hard to deploy
Easy to extend
Lots of free apps to plugin and great documentation
Thanks
for very low-volume bandwidth site in production with iis7/win08 - should i have concerns (re: overall system stability) about installing CruiseControl.NET as a build server implementation?
I have a Oracle procedure to which I have to pass a datetime value (2/5/2010 11:46 AM)
How do I pass this value from VB.net. When I pass the date as shown below it is not returning any records though there are records.
With Cmd
.Connection = FactsConn
.CommandType = CommandType.StoredProcedure
.CommandText = "sp_atas_image_qry"
.Parameters.Add(New OracleParameter("vinspectiondatetime", OracleClient.OracleType.DateTime)).Value = "2/5/2010 11:46 AM"
.Parameters.Add(New OracleParameter("io_cursor", OracleClient.OracleType.Cursor)).Direction = ParameterDirection.Output
End With
Hello:
I have built a crystal report and I have linked it to my application
Asp.net. The problem is that the crystal report have got has a vertical-text,
90º rotated, but when I open my web I see the text in horizontal mode. I
have tried with 270º too but the same result.
thanks,
Shannon
Hi,
Anyone have any information (including website links) on the syllabus changes (if any) for this exam for .NET 4? I basically want to know if there will be change in the material covered.
I'm developing a huge console application for Unix using C# via Mono.
If I develop that app using M Visual Studio and .NET 3.5 and I carefully neglect to use win32 specific API calls, should I expect that application to automatically work in my Unix box? Or should I just get MonoDevelop and go the Mono way?
I've added an App_Code directory to my ASP.NET MVC project so that I get dynamic compilation for plugins.
Only slight annoyance is that when developing new plugins, I don't get intellisense on classes inside the App_Code directory.
Currently I am creating them in another directory inside my project and then copying them into App_Code.
is there any way around this?
I have a Linq to SQL data model that uses single table inheritance.
I created a new ASP.net Dynamic Data web site with all table scaffolding enabled, but I can't see any of the derived classes in my data model being scaffolded.
Is this by design?
Hi,
I would like to know how I would go about altering the HTML that is displayed by my VB.net application using GeckoFX. What I would like to do restrict certain words/names/attributes from showing in the browser.
Any info/links would be greatly appreciated.
Thanks!
In terms of performance, IIS process management and reliability, is there a best practice in how to expose functionality over ASP.NET webservices?
Like:
Each consulting service in a specific asmx (like consultA.asmx)
All consulting services in one asmx (like consults.asmx)
NOTE: In this case, I cannot use WCF
Have anyone seen or tried Wordpress.NET?
I read an article about it before, but it is now nowhere to be found.
Any similar open source where I could get one?
What is the easiest way to implement watermark textbox control in ASP.NET MVC, are there any such controls on the internet (codeplex maybe).
I suppose it is quite simple to write one extending HtmlHelper and using jquery watermark textbox implementation.
Hello
I have created a setup for my windows application in .NET 2008
After building the same i have the .msi and setup.exe files in my release folder.
The problem i am facing is :
I can install the application using the msi installer files from the shared network folder. But when i copy the installer locally and tried to install it,
i get the following error: Error reading file.Please Try again.
Anybody having any ideas if there are any properties to set in the installer project.
Regards
Constant Learner
Hi There,
I have downloaded Storefront asp.net mvc application. When I try to run the application, I get following exception:
ArgumentNullException - Value cannot be null. Parameter name: httpContext
I just don't understand it. How do I fix this error?
Thanks
-Hitesh
I'm looking for a server app to be routinely generating certificates for client applications using self-signed root. Is there any streamlined process in .NET to programmatically generate those certificates?
I can, of course, keep spawning makecert or openssl, but I was looking for more programmatic, in-memory method, when you just get X509Certificate on output.
If someone got a code snippet, can you please share?
Hi,
I am wrting for the .NET Compact Framework.
If a create a MyButton : Control, my OnPaint override gets called correctly.
However, if I have MyButton : Button - it does not...
Strange, Button is a Control.
Any help would be appreciated.
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) ?