i put the code in new project and the same error appeared
this is all code :
using System;
using System.Drawing;
using System.Collecti ons;
using System.Componen tModel;
using System.Windows. Forms;
using System.Data;
namespace WindowsApplicat ion2
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1...
User Profile
Collapse
-
-
-
object reference not set to an instance of an object
hey gus, when i wrote this code using c# :
[code=c]
private void button5_Click(o bject sender, System.EventArg s e)
{
openFileDialog1 .DefaultExt="*. doc";
openFileDialog1 .Filter="tetx files|*.doc";
if(openFileDial og1.ShowDialog( )==DialogResult .OK)
{
if(openFileDial og1.FileName.To Upper().EndsWit h(".DOC")==true )
{
richTextBox1.Lo adFile(openFile Dialog1.FileNam e);... -
-
-
-
Modal Dialog Box
how can I create dialog box as openfiledialog or as other ready dialog box in window but from my design
please help me
No activity results to display
Show More
Leave a comment: