Hi,
Does anyone have any sample code in that makes use of the .Net framework that connects to googlemail servers via IMAP SSL to check for new emails?
Thanks
For some reason it takes 7 seconds to open a connection to a sql server database for the firt time, subsequent connections takes a second. any idea what could be the reason?
I'm using C# and asp.net
Hi, Recently the study vb.net but I still have not figured out how do I remove an image or an executable from the resource.
If I put an image and add to the resource and I would extract
C: \ foto.jpg
how can I do?
Thanks in advance, I apologize for my vb knowledge is that English
I have a Label control on the form with small text.
i want to be displayed - rotated counter clockwise by 90 degree
VB.NET / Visual Studio 2005
Windows Forms Application
Any ideas
From an asp.net perspective (C#)
What are the strengths and weaknesses of each AOP tool?
Some factors to include:
Learning curve (for AOP newbies)
Interceptions possible
Performance
Cost
how to convert avi file to an jpg's images array using .net , i need to develop a task that will take the avi file and save it as jpg images on another folder
Hi there,
I am wondering if there's anything out there for ASP .NET that is similar to Django or Ruby on Rails. Specifically, I'm looking for something that allows me to auto-generate the database models by specifying my classes in the controller and what not. Would I be able to achieve those functionality with IronPython or IronRuby?
Thanks!
hi,
when i run the my asp.net application it is showing this message can u help me.
Could not load file or assembly 'System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
i have this code for hiding a table and a cell in aspx, backend vb.net
Code -
For Each row As HtmlTableRow In tab_a1.Rows
If row.ID = "a1" Then
For Each cell As HtmlTableCell In row.Cells
cell.Visible = (cell.ID = "a1")
Next
ElseIf row.ID = "b1" Then
For Each cell As HtmlTableCell In row.Cells
cell.Visible = (cell.ID = "b1")
Next
Else
row.Visible = False
End If
Next
now instead of tables I'm using tags. How can i use similar code and make div's visible and invisible?
I'm working on a ASP.NET MVC project where we have decided to use Fluent nHibernate for dataccess. To enable loose coupling we go for a IoC/DI pattern. My questions is what IoC tool to go for. I've tried to find the differences between windsor, ninject, spring, structuremap and unity, but it's difficult to see the benefits each one has to offer. Whats your experience?
I'm performing some custom js validation on my forms, triggered by submitting the form
$("form").submit(function (e) {
var validates = true;
// validation code goes in here
if (!validates) {
e.preventDefault();
e.stopImmediatePropagation();
return false;
}
})
None of the lines I've included to stop the submit event prevent the .NET control posting back. Is there some way (using js or setting a property in the updatepanel control) of stopping post back?
In asp.net web application using c#, when we double click on design it will go to code behind page(cs file). but problem here is, when we double click on design its going to script of source file. why it is happening
I published a C# .net application to the wrong folder. I am using VS 2005. How do I unpublish the app to be able to republish in the correct folder.
I tried simply publishing to another folder and now the app will not run from either location.
I would like to know the number of users logged into my ASP.NET 2.0 application.
Points to be considered:
1) Simplest way would be to use Application or Cache object to have the counts on Session start or end. However this would fail if there is a worker process recycle. Wouldn't it?
2) Should't make a difference whether the session is inproc/state server managed/ or SQL server managed.
3) Should preferably be seamless to a web-farm architecture.
Hey guys and gals,
Any one knows of an easy to use/well documented Facebook library for VB.NET?
I have searched the Interwebs for it for a long time and even the official one has a very poor documentation for beginners. It looks like you have to be a Facebook developer to work with them.
Any help is much appreciated.
Thanks!
I have the following asp.net mvc 3 razor code, where "item" is my model,
<a @if (item.Selected) { class="youarehere" } href="@item.Href" title="@item.Title">@item.Description</a>
This code throws up the following error,
CS1513: } expected
which is pointing to
class="youarehere"
portion of the code, but I could not figure out why. Could someone help point out how to fix it please? Thank you.
I look for a free launcher or bootstrapper that checks whether the .net framework is installed, and starts my app1.exe, or app2.exe if not. Alternatively a louncher that checks for the OS version.
How do I get my .NET Winforms app 2.0 to automatically update it's publish revision integer subsequent to issuing the publish command from within VS08.
Trying to use the following C# as a guide
object[] attrs =
System.Reflection.Assembly.GetEntryAssembly().GetCustomAttributes(true);
foreach (object o in attrs)
if (o.GetType() == typeof(System.Reflection.AssemblyFileVersionAttribute))
label1.Text = ((System.Reflection.AssemblyFileVersionAttribute) o).Version;
Assume you are taking over a legacy .NET app. [pre - 3.0]
What are the top 5 diagnostic measures, profiling or otherwise that you would employ to assess the health of the application?
i have created VB.net project.In that i have two textbox,and two buttons
button1--submit
buttom2-Duedate
textbox1 contain the current date
My constraints is if i click button2(Duedate) than add 30 days to textbox1 date and assign that value into textbox2.
How to achieve this?
I want the result like as folloes
If I give textbox1 = 12/12/2009
than
I click Duedatetextbox2.text =11/1/2010
Is it possible.
Thanks in advance.
I have one SDK that is available in Java and another SDK that is available for .Net and would like to write a single application that interfaces with both of them. I imagine I will need to use a cross platform communication framework that can support named pipes (or other in memory communication), what is the best choice?
After some more research I found Hessian -- does anyone know anything about the maturity of this project?
I have a WCF service which I would like to access using ASP.NET. The binding used in the WCF service is basicHttpBinding. How may I do it? Any examples will be really appreciated.
I know that F7/Shift F7 will switch between Code behind and ASPX pages, but
what's the shortcut to switch between source and design view in Visual studio for asp.net Pages?