Paint Web Application Using MS.Net?
Jan 30, 2011
I need to develop a web application that allows users to draw simple images using the tools like the ones used in MS Paint.Also, another user can just retrieve the image and edit the images created by the first user.
similar to the one like this [URL]
this application does the thing what I need. And have seen the js code of this project. I would like to use this js script embedded into web application created using MS visual studio(if my guess is true) and would like to work around it.
Can I just do that by creating windows forms in the visual studio and created some menu items like file->save etc. and embed this js script into the form and make it work. Or is the silverlight the only option I can go for to create this kind of application
View 1 Replies
Similar Messages:
Jul 16, 2010
The task is to rotate the text of a label in the web form by a certain degree. The label is present in a cell of a table. I tried functions like these (after googling) but error says PaintEventArgs/System.Windows.Forms.PaintEventArgs is not defined. Public Class Form1
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As PaintEventArgs) Handles Me.Paint
e.Graphics.DrawString("Hello World", _
Brushes.Black, _
10, _
10, _
New StringFormat(StringFormatFlags.DirectionVertical))
End Sub End Class
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms.PaintEventArgs _
) Handles MyBase.Paint
e.Graphics.RotateTransform(20)
e.Graphics.DrawString("Hello World!", Me.Font, Brushes.Blue, 0, 0)
End Sub
I have tried importing the below classes... but to no avail..
Imports System.Data
Imports System.Drawing
Imports System.Drawing.Text
Imports System.Drawing.Graphic
What am I missing? (Possibly I am not getting the equivalent class of PaintEventArgs in webform...) (Am using Visual Studio 2008)
View 1 Replies
Aug 26, 2010
I want to add a paint-brush tools to my web form. Which will allow users to sketch some thing, insert image and save that sketched image as a IMAGE file.
View 3 Replies
Jan 16, 2011
i have link in my webform how to do that even i visit or not visit the color will be green?
View 2 Replies
Jan 6, 2011
i have table in my database that contain Fname and age for example.
i need to paint in green all age that under 50 and to paint in red all age up to 50
how to to it ?
i'am using asp.net C# on VS2008
View 4 Replies
Feb 18, 2010
i have the following problem. I'm binding a GridView to its DataSource (works fine). But after that, i want to "re-paint" it. I'm retreiving the company numbers for the last 3 years, and adding a column between each year that gives me the difference between them in percentage... what i mean with "re-painting" is that, if the difference is positive, i want to set the cell's forecolor to green, and if negative, to red. For this, i guess i have to loop cell by cell after GridView is bound, but cant get it to work (trying with bound event)...
View 2 Replies
Feb 3, 2010
How to remove the unused references in form level, vb.net application and web application?
How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?
View 1 Replies
Jun 16, 2010
I have two applications(A,B) both are developed in .NET3.5 and used LDAP services.Application-A in one screen we are fetching users with role "project Leads" and it is taking 10 min time
Application-B in login screen we are checking user is authenticated or not and it is taking 20 sec
Both the applications are using the same service then way there is a time span problem. Please suggest me what can I do to improve performance of application A?
View 3 Replies
Jan 27, 2010
I'm experiencing a to me mysterious error when sending e-mails through a SMTP-server from an ASP.NET web application. I get the famous error "unable to relay for xxx@yyy.zzz". What's mysterious to me is that when I cut and paste the exact same code that sends the e-mail into an usual .NET Windows Forms application, send the e-mail with this application, it all works just fine. This made me think that perhaps the problem is that the ASP.NET application runs as NETWORK SERVICE while the Windows Forms application runs on a domain user account, but it turns out that I have another ASP.NET application sending e-mail through the same SMTP-server running under NETWORK SERVER at the same IIS, and this application does not experience this problem.
I've further tried to send e-mails through the SMTP-server manually by telnet the smtp-server on port 25 and running the SMTP-protocol manually, and it all works fine. The SMTP-server is not configured with any kind of authentication or SSL.
Another mysterious fact is that the ASP.NET application can send e-mails from an adress within the same domain to an e-mail adress within the same domain, but not to any adress outside of the domain. But the Windows Forms application, that uses the exact same code, can send e-mails from any adress to any adress both within AND outside of the domain.
So to summarize:
The ASP.NET application can send
e-mails from addresses within the
domain to adresses within the domain,
but not to addresses outside of the
domain.
A Windows Forms application running
the same code on the same computer
can send e-mails from ANY address to
ANY address.
Another ASP.NET application on the
same IIS running under the same
account (NETWORK SERVICE) can send
e-mails using the same SMTP-server
from ANY adress to ANY adress.
There is no authentication configured
on the SMTP-Server.
Both the ASP.NET application and the
Windows Forms application utilizes
the System.Net.Mail.SmtpClient class
to send a
System.Net.Mail.MailMessage.
The code that sends the e-mail massage is:
private void button1_Click(object sender, EventArgs e)
{
MailMessage mesasge = new MailMessage(txtFrom.Text, txtTo.Text, "Test mail", txtBody.Text);
SmtpClient client = new SmtpClient();
if (!(string.IsNullOrEmpty(txtUserName.Text))) //Is false since txtUserName.Text is empty
client.Credentials = new System.Net.NetworkCredential(txtUserName.Text, txtPassword.Text);
client.EnableSsl = false;
client.Host = txtServer.Text;
client.Port = 25;
try
{
client.Send(mesasge);
}
catch (Exception ex)
{
txtResponse.Text = ex.Message;
}
}
As far as I can understand, this should be a matter of configuration rather than coding issues.
View 2 Replies
Jan 30, 2010
I have two .NET applications X and Y
a. I want to have User A as a common user for both application X and Y.
b. User A can have different roles on X and Y. Eg. Read permission on Y and Write Permission on Y.
How do i configure ASP.NET membership to achieve about functionality.
View 3 Replies
Apr 8, 2010
on desktop start has disappeared, getting above issue on double clicking/running any application.have VS2005 installed with sp1 and all other relevant updates as per MS..., i read some forums which states because of VC++ the system files may be currupted....have not installed VC++can anyone guide me the issue here and its solution...
View 3 Replies
May 3, 2010
I need to auto update application like in wordpress, Application must check if new updates are available, download this updates and install.But I don't know how to install application. Because if some files in bin directory are updated application is restarted.Is it possible to create ASP.NET web application which will be auto updatable?now we have a new technologies, could u please suggest me any kind of soultion for the above problem. here i am enclosing my email idsunnyb4uu@hotmail.com
View 2 Replies
May 6, 2013
{
"error": {
"message": "Error validating application. Invalid application ID.",
"type": "OAuthException",
"code": 101
}
}
View 1 Replies
Feb 22, 2010
I have a requirement for building an instant messenger application for the selected user.
I have googled for the solution but without any sucess.My requirement is once a user initiates a chat with another user,the another user needs to get a popup of the chat window,where the two users can start chatting.
View 4 Replies
Jul 7, 2010
we are experiencing big difficulties in the configuration of ASP.Net state service and II7. The service seems not working correctly because when the application pools recycles the applicatio loose the session.If we try the same configuration in IIS6 it works correcly.What is the correct way to configure the aspnet session state service in iis7?
View 2 Replies
Feb 24, 2011
We have an ASP.NET application deployed on 2 Application servers with load balancer server. It is using INPROC state management. The ADO.NET connection pooling is enabled with 50 as minimum connections and 100 maximum connections.
In Load testing (using load testing tool) when the application reaches to 50 users no more users can connect (login) to application the TPS reaches zero. No errors are logged in application log related to application or database. The sessions are working fine.
View 2 Replies
Jan 5, 2010
Currently, on our production IIS web farm, we host about 15 applications in a single App Pool (Default App Pool). There are two websites and about 13 virtual directories.A colleague has recommended that we change our IIS configuration so each application is a separate App Pool (with identical settings).
Is there any drawback or potential issues to doing this?Is it possible that ASP.NET applications could have been built with the requirements that they are all within the same App Pool?
View 2 Replies
Mar 9, 2010
I know that ASP.NET MVC has error filter attribute to handle specified error type. However, this feature cannot catch any error that occurs when application start. Therefore, I need to add some code to "Application_Error" method for handling this error like the following code.
public void Application_Error(object sender, EventArgs e)
{// At this point we have information about the error
var ctx = HttpContext.Current;
var exception = ctx.Server.GetLastError();
[code]...
View 1 Replies
Aug 25, 2010
Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.
I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).
I packaged my application and deployed the relevant files with FTP to my shared hosting provider.
I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.
I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.
View 2 Replies
Nov 10, 2010
I need to develop an application, which will get records (orders) from one application and process them. The updates to this records (order updates) will be sent back to the source application for end customer reference. I'm planning to achieve this data synchronization at the database level using triggers and stored procedures to insert database between the 2 databases.
But, the issue is I have to deploy this application in 3 different customer sites and I have to change the database names (cannot use the same database name) in each deployment manually. Because of this deployment issue, I was thinking of handling this within the asp.net application where I can store the db name in the database and then build the query within the application, but I dont want to do it as building queries like that doesnt look very professional.
View 2 Replies
Nov 1, 2010
How to pass query string from one application to another application, i need to send values through one page of application to another application,I am using inprocess session state.
from loging page i need to send sessions to another applicaion but here sending sessions are some what diffcult (after googling).so is it possible through query strings???if yes How pass them please tell me the sample example.will it be possible through coockies?? or query strings. How
View 6 Replies
Nov 30, 2010
I made one application which consumes WCF service and also using nettcp protocal. As we know, WCF application requires .Net3.0 and .Net 3.5 framework. but we have some dealer machine which are having window server 2000 OS now i am not able to install .net 3.5 framework on dealer machine . So we are not able to upgrade old application with new application which are totally based on WCF framework .
View 1 Replies
May 12, 2010
We have an ASP.NET 3.5 Web application in which we have faced the below issue:
The application is working fine but suddently at one point application URL prompts for the authentication. When we (the support team) checked the server, we were able to identify that the access was denied for some of the main files (like web.config, default page). When we enabled the access the application started working fine.
View 2 Replies
Mar 9, 2013
I am getting the error from ur sample codeError validating application. Invalid application ID.",
"type": "OAuthException",
"code": 101
though i have added app domain name as "localhost.com"and site url as "Http//localhost.com:port_Number"/.
View 1 Replies
Jul 13, 2010
I have to implement broker and dealer socket connection like in share market i.e. it should connect at 9 AM and stop at 3.30 PM and repeat in next morning ...
so following is my requirement
1) i have to create application object once in day at 9 AM and destroyed at particular end day 3.30 PM.
My question is how to destroyed application object at given particular time ... i think this can be done in application_end handler in global.asax ... but my question is when no request is made at that time then what happened..
View 2 Replies