Hi,
I have a vb app working now but many users have complained to me that it requires .net library installed. Is there a way to bundle it with my program without having a seperate exe?
I am using the System.Windows.Forms.WebBrowser object for displaying and printing a report. Unfortunately the Page Setup dialog is not obeying the language settings on the user's computer and all of the text is coming up in English. The .NET dialogs for opening and saving a file are coming up in the correct language but not the Printing/Page Setup dialogs for the Web Browser.
Hello
I haven't used any database system enough but i believe i know logic of databases and i have learnt little sql so i shouldn't start to learn ORM before learn them well?
Where can i start to learn .NET Entity Framework and which version of framework i have to start 3.5 or 4.0 because i heard that 4.0 has strong support for Entity Framework.I am looking sources web pages,e-books or other else.
Is there any IOC container that already implements a controller factory compatible with asp.net mvc 2.0 ....if so i'll move my projects to 2.0 to test...
Anyone know a good reference about it?
In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I call the SubmitChanges method of the DataContext class, nothing updates in the database. It's weird because everything works fine with my first project.
I'm using a remote database created in Sql Server Management Studio, I tried doing some queries there and in Visual Studio 2010 (where I have the connection to the database), they all work.
Where might the problem be hidden?
I just ran Google's Page Speed application against our site and one of the recommendations was to Leverage browser caching. Expanding this revealed the following:
The following cacheable resources have
a short freshness lifetime:
Specify an expiration at least one week in
the future for the following resources:
<a long list of images >
<some javascript files >
How do I go about lengthening the "freshness lifetime" of particular images?
It's an ASP.NET project running on IIS7.5
Thanks for any help!
Hello,
i am using vb.net in which i have put the background image to every form.the image size is 1024X768.when i open the form it is taking too much time to open. and screen is fluctuate.so can you tell me how to remove this type of issue,
reply me soon
thanks
samir
I just started using C# and I've got a couple of issues.
Is there any way to code the C# equivalent of the VB.NET Select statement like the following?
Select Object.Name.ToString()
Case "Name1"
'Do something
Case "Name2"
'Do something else
Case Else
'Do the default action
End Select
Any help would be greatly appreciated.
In .NET there are 8 bytes of overheard for each object. 4 bytes are a pointer to the object's type. What are the other 4 bytes, known as the object header, used for?
how can i check if a user is logged in in user control with asp.net mvc
usually on a view page i use this
<% if (User.Identity.IsAuthenticated) {%>
//Do something
<% } %>
but i can't get this done on a user control
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?
I am using ASP.NET Callbacks (that implements the ICallbackEventHandler) and in the handler, I try to set a value of the text box:
txtName.text = "Test";
but this value is not set. Is this a limitation with callback? It appears I cannot do much in a callback handler other than sending back a string to the client side (ofcourse I can access the Session etc)
i have a vb.net form with red background and white text on it now i want to change the opacity of only red background to 50% not actual text how can i do that
HI everyone,
Just looking for a website or pdf reference which has a color palette of the .NET (Visual Studio 2008) foreground colors? (E.g. like AliceBlue, AntiqueWhite, Cyan....)
I am trying to build a web site using asp.net, so since i an not very good on the design
part.
I am wondering where is the best site to get a good template for my web site.
I have a .net application which needs to expose a service consumed by a java client. The service can't be public. There should be some authentication mechanism for the client. What is the best way to do this? I'm new to web services and am confused by all the soap, wsdl etc. and have also heard a lot that it'll be a pain to get the two to communicate. Your thoughts?
i have rename the table name of asp.net administration tool's website now its not working when i click on security it gives an error(invalid server name or credentials, or by insufficient permissions) so please let me know if any one have solution.
Hi I want to know how to use the command close or would like some more info on
because if you use this method
Form2.Show
frmMain.close ()
the program is terminated and does not load the form2.
Then when I close the program appears the message "hello world"
vb6 enough to exploit the function Form_Unload, but in vb.net??
Thanks
I have learned quite a bit browsing through Hidden Features
of C# and was surprised when I couldn't find something
similar for VB.NET.
So what are some of its hidden or lesser known features?
Hi,
what test data approach/framework is recommended for .net unit testing? I'm in VS2010, C#, doing business logic layer testing.
By approaches I mean like: creating database snapshots, programmatically creating each time, etc etc. Like what approach to use to ensure at the start of each test the database is in a known state.
hey all,
i was wondering if any one can advise me on how i can go about implementing a email and account validation feature in my ASP.net website. so when a user creates an account, an email is sent to the email address used, and the user needs to verify that email address to be able to logon.
thanks
Hi i am trying to build a website usign ASP.NET what is the best resource or way to learn it?
Also do i need DotNetNuke or something similar to manage my project?
Thanks in advance.