Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

A new window called twice after the mainForm, but first Form not being closed

Hi everyone, i have a problem: Here is my case:i already command a NewForm to be called everytime the user select that. The MainForm is being called when i run the program, and when i click "NewForm",...

View Article


Call plugin methods dynamically - Managed Extensibilty Framework (MEF)

Hi I have been looking at Steven Hollidges' MEF example hereIs there a way to call any method in the plugin dll that has been imported by passing the name of the method as string with parameters?Here...

View Article


Call Method Asynchronously

Hi,I have 2 method calls that I want to run simultaneously.How do I do this and ensure the code only moves on once BOTH calls are completed?ThanksReports.ExecuteReport("Item1.pdf", out xmlDoc1);...

View Article

How can i get a list programes which are using my file system?

I need get a list of running processes which are using my file system, other than their execution path.Assume that there is a application running in my system trying to copy a file("a.mp3") from my...

View Article

how to configure access database file with app.config file?

hi ever one i have project in c# and access 2010 ... in my project i have some windows forms in each form i use . . .OleDbConnection db_con = new...

View Article


How to Export Dataset to EDRM XML Format Using C sharp

Hi Friends,       I have created windows application, in this application i have exported Dataset to .xml format. when i open this .xml file into EDRM Tool it's throwing Error. "Line number:2 Error...

View Article

split string

Hi All,hear is my code for spiting a text string which i found in googlepublic static string InsertNewLine(string s, int len)       {           StringBuilder sb = new StringBuilder(s.Length +...

View Article

I want to fetch grid data or table data from web browser using c# .. any one...

how to fetch grid data from web browser using c#

View Article


Shift+Tab KeyPress Urgent Help

I m using C# WinForms, I have two text boxes one is txtbrokeragepercentage the other one is txtpremiumpercentage, on pressing shift+tab from txtpremiumpercentage box it moves to txtbrokeragepercentage...

View Article


Error "Retrieving the COM..." when running program that writen in Visual...

Hi everyone,I created a setup package in Visual Studio 2010 (C#) to install my program into other computers.I can install and run without error on my computers. But on other computers, I got the...

View Article

Get CheckBox Controls From GroupBoxes

I have 8 Group Boxes that have checkbox controls on all of them.  I am looking for a way to traverse all of the group boxes, and get the status of the checkboxes in these group boxes.I can find the...

View Article

Image may be NSFW.
Clik here to view.

asp.net razor WebGrid: "Column 'ItemTable.ItemName' does not exist.

Hi,I'm using a WebGrid to create a table in my ASP.NET MVC - project.Here is my EF model:I keep getting av exception in one of my collumns in my WebGrid:I know that some of the OrderLines (from table...

View Article

guidance regarding finding duaration of part of speech

I have a continuous speech say ''I don't know what's the matter" and in this i have to find for how many seconds the word 'know' is spoken .can I get some guidance regarding thissakshi mittal

View Article


Image may be NSFW.
Clik here to view.

call a file that exists inside of my project from my setup in c#

I have encountered a problem when I want to call a file that exist inside my Project. please find the structure used:I have changed the file properties, I have changed the build action to NONE and...

View Article

an auto-formation on Flash

Hi everyone;I have a question and I know that is not in the perfect place to ask, but just as a knowledge.I want to learn Flash, but I want a free auto formation on it please ?BrYassine

View Article


"Navigation Canceled" using WebBrowser with Windows Server 2008 R2

I am using WebBrowser to hit a page on another site and run the javascript on the page. This is working perfectly fine for web pages that do not require authentication to access them. However, I have a...

View Article

Trying to read excel files, but getting error 80040154 - Retrieving the COM...

Hi all, I know there have been several articles on this error already, but unfortunately none of them seem to be able to help my situation and most are pretty outdated. I have managed to get the error...

View Article


MS Access Query runs inside Access, but not through C#

Greetings everyone,Im trying to execute an 'ALTER TABLE' query on a local Access Database. As the title states, when im copy-paste the generated query and try to execute it into Access it works, but...

View Article

Unable to Execute DirectorySearcher.FindOne() When Deploying With IIS

Please be patient with me- I'm not an expert level developer. But I'll do the best I can to explain my situation.I have a web application, built using .NET 4, written in C#, developed in VS 2010...

View Article

how to access dcitionary item value of type generic

hi i have dictionary item having key and value (Dictionary<string, object>)now i inside foreach loop belowforeach (var property in tempDictionary){property.value           is coming as...

View Article
Browsing all 31927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>