.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

windows form control library error in asp.net

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :ASP.Net
Can some tell me what is this problem?my windows form control library have the drag and drop.when i open in web, the below error pop out.

View Complete Post

More Related Resource Links

How to pass value from browser into embedded windows form control library


Hi all,

i have one project which i embed the windows form control library inside the web form.

now i wanna pass a url from aspx into my windows form control library.

May i know how to do this?


windows form control library unable to view in client pc


Hi all,

i have another problem regarding the windows form control library.

recently i test the program in my own pc, the windows form control is running.

but when i try access my project in local network client pc, the windows form control doesn't show.

it just an empty.

may i know what is the problem?

My project is embedded the windows form control in aspx.

i got the cache in client pc, the windows form dll have inside the cache and also the client pc have .net framework install.

in my own pc, i also disable my firewall.

the result still same, the control cannot show on client pc.

Anyone can help me?


Calculated Columns in a Form Library receive error: Value does not fall within the expected range.


I have a forms library that posts the date the form was created. We would like to create a calculated column that allows us to look at these forms based on the month and year they were created. I had created a calculated column that extracts the month and replaces the number with a text string by using an if statement; "IF(MONTH([Proposal Date])=1,"January","") It goes on to evaluate each month and replace the number with the text string. This formula worked for quite some time, though now when I try to add any calculated columns or edit any existing calculated columns on this form library I receive the following error: Value does not fall within the expected range. Now my existing calculated columns (like the one above) do not work and I can not create new calcualted columns. Any insight would be awesome as this has been plaguing me for a couple of months now.

Infopath form and forms library error

I've created an InfoPath 2010 form and associated it with a forms library on a SharePoint site. When I go to the library and choose "Add document" the form opens up to be filled out by the user. When the form is filled out, and the user tries to submit, they get an error saying that I need to configure SharePoint to allow cross-domain data access for user form templates that use connection settings in a data connection file and store a UDC file in the same site collection as the form. So I've enabled cross-domain data access and I've already created a Data Collection Library for Forms in the Site that is approved. What am I missing?  Why am I still getting the error?  

windows control library not loading webform

Hi Am using asp.net 2.0 .i am having a windows control library.dll in my webform ,but it is not loading correctly.i have attached the code below. <form id="form1" runat="server">  <object classid="http:controllibrary.dll#controllibrary.UserControl1" id= "myid" height="450" width="800" VIEWASTEXT> </object>  </form> please help me.

ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error

RE: ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error Two Issues, apparently unrelated. I have subfolders like this /ApplicantDocuments/20 and /ApplicantDocuments/21 (where 20 and 21 are my subfolders and ApplicantDocuments is my library. 1. The below function is erroring with file not found, but I confirmed I'm sending the fully qualify path (i.e c:\test.txt) to System.IO.FileStream content = System.IO.File.Open(documentFileName, System.IO.FileMode.Open); 2. Even if it worked, looking at the code, I'm not using argument foldername.  I'm passing 20 to the argument. How can I make sure it uploads into subfolder 20 of ApplicantDocuments? Thank you.     Just testing in test environment. Will tighten code once it works.   public void UploadDocumentToSite(string foldername, string documentFileName) {      SPSite siteCollection = new SPSite("https://xxxxxx");      SPWeb web = siteCollection.OpenWeb();      //SPSite.AllowUnsafeUpdates = true;      //Web.AllowUnsafeUpdates = true;      string Lib = "ApplicantDocuments";      SPFolder destFolder = web.GetFolder(Lib);      sendmail(documentFileName+" "+foldername);  

How to enable own shortcut within WebBrowser control in Windows form application




I am developing a windows form application with C#, where I have placed WebBrowser control... I load some web page in this webbrowser and I need to know, that after I press my own certain shortcut that it will allow me to call my handler...

It should work something like this => I have certain textbox on web page and after pressing my own shortcut, it will call my handler which will automatically type certain text (which will be prepared in that handler) into that textbox... 

Could you advice me, how to make this happen or if it is even possible?


Thanks a lot in advance

Problem hosting a WPF user control in a windows form application

I have a windows forms application and want to to use WPF inside this application. So I have add a WPF user control into my project. Then I take a ElementHost from the toolbox and put it on my windows forms. The problem is now, when I want to add the WPF control with "Edit Host Content" I get the message "This ElementHost is currently not hosting any editable content....." What's wrong? How can I embed my implemented WPF control into the ElementHost ?

Getting error msg while trying to upload a document inot the document library using the form which i


I have designed an upload form with the columns that have to be filled in while uploading a document into the document library.The form is designed in .net.

I get "Error Access Denied" message when i try to upload the document using that upload form.When i go back to site,the document is uploaded in that particular document library.But this problem doesnot exist when i upload the document as admin.There is no " Error Access Denied" message.I have checked the document library permissions.The problem is not with the permission to that particular document library.

Can someone help me out in this issue?

Trying to open a sharepoint library in Windows Explorer via IE 8 results in the error "your client d


I am attempting to connect to a Microsoft Sharepoint library, via the "Actions -> Open in Windows Explorer" option from the Sharepoint page.  When I do so, I get the error message "your client does not support opening this list with windows explorer".  In short, I am trying to get the "drag and drop" functionality of a Sharepoint library.

I am running Windows 7 64-bit and IE8.  The target Sharepoint environment is a MOSS 2007 EE.  My Windows "WebClient" service is running, and I have no problem connecting to this exact library via a Windows XP computer running IE8.

Hosting a Windows Form Control in a web page




I have created one windows ( user control dll ) application  and try to use in Browser using following code.But I'm not able to view the windows application ( Windows application UI)  in browser.Please let me know how to resolve this.



<object id="MyWinControl" classid="http:WindowsControlLibrary1.dll#WindowsControlLibrary1.UserControl1"                      height="100" width="300" VIEWASTEXT/> 






SharePoint Form Authentication site showing Error for few actions in Picture library.


I have extended my web application (with zone Extranet) and enabled Form Authentication, Enabled Client Integration and SSL.

My problem is: In my picture Library 

     1. Actions - Download/Send to actions are not working, getting error message: "Picture Manager is unable to open   pictures over the internet that are not from a windows SharePoint Services picture Library. Please specify a valid picture library and try again".

    2. Actions - Open with Windows explorer getting the error message:"Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server".

   3. In the Explorer view i am getting : "Please wait while Explorer View is loaded. If Explorer View does not appear, your browser may not support it".

But when I open the same library and do the above actions in default zone (port 80), it is working perfectly.

I have SharePoint service pack 1 and infr

Unbound .NET WebBrowser control deactivates Windows Form


In a project of mine, I need to work with unbound WebBrowser controls. The goal is to navigate simultaneously to several web pages, using several WebBrowser controls, and showing the individual pages when the user requests them pressing a button, binding the needed WebBrowser control to a container control in the form to display them.

Problem: Whenever one of the WebBrowser controls loads a page that focuses a control on the page by means of scripting, my Form gets deactivated after document complete if the WebBrowser control is not showing. This only happens with pages that focus an element on load (for example, using onload attribute in body tag but not only).

Reproduce code (using www.msn.com since this site focusses the search textbox after document complete):

In a standard new VB Windows Forms Application (with Form1), drop a button (Button1) in the Form1 designer and this code in the code editor:
Public Class Form1

    Private wb As New WebBrowser

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click


    End Sub
End Class

Expected result from running the Application and pressing Button1:
The unbound and invisible WebBrowser control loads the msn page, the form Form1 stays activated.

Datagridview control vb.net Windows Form

I want to detect the keystroke or keycode for the "Arrow Up" Or "Arrow Down" in the Datagridview "Selection Changed" event on a vb.net Windows form. Just to want to put a "If" statement to do some stuff if it is true that the keypressargs is either "Arrow Up" or "Arrow Down". Thanks

Windows form VB.net tab control

In a VB.net Windows form, it has a tab control with several tab pages. One of the tab page it has a groupbox with several radio buttons in it. The tag of the groupbox is binded to a dataset field. On the tab control "Selecting" event  to select that tab page, it refreshes the binding dataset and after to check the radio button using the tag value binded to the groupbox. It never works in terms of checking off the radio button the very first time when selecting that tab page and it will work in checking off the radio button after. Don't understand why and how this happens?

InfoPath Form Error on SharePoint Form Library


Hi All,

When I try to reopen an InfoPath 2007 form from the SharePoint site (InfoPath Form Deployed on SharePoint Form Library), I got the following error message:

" The form cannot be filled out because you do not have adequate permissions, another user has the form open, or the form is open in another program. Do you want to open a read-only copy of the form? "
Any idea to solve this problem ?
With Best Regards,
Muhammad Tariq Khan.

Problem with windows control library when rendered into IE


Hi , 

      I written a windows control (WCL) for listing the files in my machine. And, i wanted to put this on IE. I followed this http://msdn.microsoft.com/en-us/library/ms171645(v=vs.90).aspx site.. Is it possible to show windows explorer view on IE by using WCL? if yes, please let me know how can we achieve.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend