using an interface as a type in another class, why?
Hi,If I create an interace and use it in another class I would have to provide defenation to all its member or I will get error.so if i have an interface as Class IUser{ public FirstName;public...
View ArticleOpen a file from app using default application get error 'The directory Name...
I am impersonating a user in my C# application to open some files from the netwok because the logged in user does not have access to the network drive, here is my code: using...
View ArticleClass Methods, need solution please?
Hiya, My project has the following code, see snippets below; class Entry { private string name; private UInt32 offset, size; public byte[] ecc; public string Name { get { return name; } set { name =...
View ArticleHow to configure multiple IP addresses and gateways in Advanced TCP/IP...
I want to add multiple IPaddresses to a single NIC in the advanced TCP/IP settings using C# code..
View ArticleMerging JPEG files using C#
Im trying to merge JPEG files using C sharp. I m getting error at imageLoction. error saysThe name 'imageLocation' does not exist in current context. Let me know how to resolve this issue. Below is the...
View ArticleLog exceptions to a text file using enterprise library block
How to log exceptions to a text file using enterprise library..Please give me a detailed description of how to do this.
View ArticleIMAPI for Windows8 or .net 4.5.
I want to implement burn disc function on WPF application.Now I use Windows8 OS, it offer burn a disc. Does it calls IMAPI2.0 directly, or other API?Is there some support for win8? And dose have C#...
View ArticleError in Could not find a part of the path
Dear All,i have created a folder in My project , but why i m not able to find a path, kindly advise, thank you
View ArticleZoom every point in chart by mouse over
I have a chart on my c# windows application. I want to zoom every point of chart when mouse on them. like google map I mean I don't want zoom all part of chart I want zoom just specefic point like...
View ArticleC# populating an array from TXT file
Hi guys, I'm trying to find a way to populate ComboBox1 with an array [] that is located on a txt file in the same folder.Does anyone have a code to do this?Please do not forget to click “Vote as...
View ArticleMultiple Undos for data grid view table
private void btn_Undo_Click(object sender, EventArgs e) //To Undo previous searched record { if (_dataSet != null && _dataSet.Tables.Count > 0 && _lastDtTable2 !=...
View Articleconvert Bitmap to Image
Hi friendsI have a bit problem.I am working in asp.net 2.0 with c#.In my application,I scan fingerprint of user from scanner and display it in Image control.Now my problem is that I dont know that how...
View ArticleHow do I search MSDN online content programmatically
Hello All,I'm a developer of a programming language platform, and I want to incorporate F1 context sensitive help into the product. Currently, if a user of the software hits F1 over the text...
View ArticleHow can we create custom roles in our website
How can we create custom roles in our website and show menu according to related role (asp.net with c#)...????please give answer.
View Articleasp.net search data from database in repeater using button
hello, i am making a search page in asp.net using c#.i have list of companies and the products of the companies. i made two databases first of companies and and second for products. in aspx page, i...
View ArticleSending a fax using a client/server approach
Hello,I have written a program which will send a fax in WinForms C# .NET.Here is a part of my code (utilizes FXSCOM.DLL): string documentName = System.Environment.CurrentDirectory +...
View ArticleNull variables been passed
private void button1_Click(object sender, EventArgs e) { _AddExp = new AddExpense(); DialogResult DR = _AddExp.ShowDialog(); if (DR == DialogResult.OK)...
View ArticleNeed data edit,update and delete in the gridview
Hi friends,I am facing a common problem which everyone already faced but I need to know is there anything new comes with this issue?My problem is I want to Edit, Update and Delete data in gridview in...
View ArticleGoogle speech error suddenly occurring
Hey guys!, i have been using the google speech api url : https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-AU&maxresults=1&pfilter=0 to send a flac file to...
View Article