Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mm310

@mm310
About
Posts
23
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • undo-redo for listview
    M mm310

    I need to implement an undo and redo for an entire row in a listview containing approximately 10 columns. I'm not sure of the best way to implement this. The only thing that I've thought of is a stack implementation. I need to be able to undo a delete, an insert (add), a movement within the list Any ideas? Thank you and any ideas would be appreciated.

    C# data-structures question

  • Send ArrayList to ( webMethod) - Web Service
    M mm310

    How i can Send ArrayList to WebMethod ? i used this code in WebService class [WebMethod] public void getData(ArrayList DataS) { } and send data from clinet to Web Service like this localhost.Service BB = new localhost.Service(); ArrayList dS = new ArrayList(); BB.getData(ds); this code is not work , any one can Exp this problem ?

    C# help question

  • Microsoft Office Translations
    M mm310

    How i can use Microsoft Office Translations in c# like ( Spell Check )? see the picture http://www.worldlingo.com/en/images/xp2.gif[^]

    C# csharp com question

  • sending class between two website
    M mm310

    How i can send class between to website like client and server ?

    ASP.NET sysadmin question

  • Error in run ASP.Net
    M mm310

    When I Run ASP.NET Project This message Show... http://www.stooop.com/2006/11/1bf7b1a1aa.gif[^]

    ASP.NET csharp asp-net com help

  • Repeat Value
    M mm310

    How i can Remove Repeat Value in ArrayList ?

    C# question

  • List View :: item.Text search
    M mm310

    How I can search some Items In list view control

    C#

  • Thread with ListView
    M mm310

    thanks Anant Y. Kulkarni I am use this code private void loadSubToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog1.Filter= "Srt File|*.srt"; OpenFileDialog1.Title = "Open SubTitle File"; try { if (OpenFileDialog1.ShowDialog() == DialogResult.OK) { Thread ReadThread = new Thread(new ThreadStart(ReadData)); ReadThread.Start(); } } catch (Exception) { MessageBox.Show("Can't Read this File"); } } and this Function private void ReadData() { listView1.Items.Clear(); StreamReader s = new StreamReader(OpenFileDialog1.FileName, Encoding.Default); ArrayList a = new ArrayList(); while (s.Peek() >= 0) { string alltext = ""; string text = ""; while ((text = s.ReadLine()) != "" && text != null) { alltext += ("|" + text); } a.Add(alltext); } s.Close(); foreach (string text in a) { string[] splitString = text.Split('|'); string tempstring = ""; for (int i = 3; i < splitString.Length; i++) { tempstring += splitString[i]; } ListViewItem lvi = new ListViewItem(new string[] { splitString[1], splitString[2].Substring(0, 12), splitString[2].Substring(17, 12), tempstring }); this.listView1.Items.Add(lvi); } a.Clear(); } when i Run this Program this message Dispaly Exception System.InvalidOperationException was thrown in debuggee: Cross-thread operation not valid: Control 'listView1' accessed from a thread other than the thread it was created on

    C#

  • Thread with ListView
    M mm310

    Hi All How I can Use Thread with ListView To Add this Items ListViewItem lvi = new ListViewItem(new string[] { splitString[1], splitString[2].Substring(0, 12), splitString[2].Substring(17, 12), tempstring }); this.listView1.Items.Add(lvi);

    C#

  • Reading Image from this link
    M mm310

    help me plyz this message display after click the Button Exception System.Net.WebException was thrown in debuggee: The server committed a protocol violation. Section=ResponseStatusLine

    C# com data-structures debugging question workspace

  • Reading Image from this link
    M mm310

    I am using this Code for reading Image from URL private Image getImage(string url) { Image im = null; try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Method = "GET"; request.Timeout = 15000; request.ProtocolVersion = HttpVersion.Version11; using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) { using (Stream responseStream = response.GetResponseStream()) { im = Image.FromStream(responseStream); } } } catch (Exception ex) { Debug.WriteLine("Exception in getThumbnail. Url: " + url + ". Info: " + ex.Message + Environment.NewLine + "Stack: " + ex.StackTrace); } return im; } but if the URL like this http://mud.mm-a5.yimg.com/image/1942583882[^] the code will not work correctly. How I can Fixed it ?

    C# com data-structures debugging question workspace

  • How I Can convert type byte[] to ...... [modified]
    M mm310

    thank you Man , I love you ;)

    C# graphics help

  • How I Can convert type byte[] to ...... [modified]
    M mm310

    I need convert byte[] to system.Drawing.Image This code Download Image from URI , i need put image in pictureBox after Downloaded . WebDownload webDL = new WebDownload(); byte[] downloadedData = webDL.Download(DownloadUrl, ProgressCallback ); CompleteCallback( downloadedData ); ImageDisplay ds = new ImageDisplay(); ds.pictureBox1.Image = (Image)downloadedData; help me ... -- modified at 2:00 Wednesday 9th August, 2006

    C# graphics help

  • Save All text in richTextBox as image
    M mm310

    How I can Save All text in richTextBox as image

    C#

  • How I can Read this File in C#
    M mm310

    I Need Read this File (STR) Subtitle File And put all data from File in ListView like this http://www.cpestudents.net/upload/up/sub.gif[^] File http://www.cpestudents.net/upload/up/sub2.gif[^]

    C# csharp

  • what is wrong in this code
    M mm310

    help me : http://www.cpestudents.net/upload/up/eeerer.gif[^]

    C# csharp help question

  • Remove empty Items from checkedListBox
    M mm310

    How I can Remove empty Items from checkedListBox example :: this picture http://www.cpestudents.net/upload/up/ffffffff.gif[^]

    C# csharp tutorial

  • how I can add more image in pictureBox
    M mm310

    - how I can add more image in pictureBox ? - how I can move image in pictureBox with mouse ?

    C# question

  • How to use Flash with C#
    M mm310

    how to play Flash in C# 2005(WindowsApplication) -- modified at 21:36 Tuesday 11th April, 2006

    C# csharp adobe tutorial

  • what is wrong in this code
    M mm310

    private void button1_Click(object sender, EventArgs e) { string strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\db4.MDB"; string strSQL = "SELECT * FROM ta1"; OleDbConnection myConn = new OleDbConnection(strDSN); OleDbDataAdapter myCmd = new OleDbDataAdapter(strSQL, myConn); DataSet dtSet = new DataSet(); string sqlQuery = "SELECT Name,Password FROM ta1 where Name = '" + textBox1.Text.ToString() + "' AND Password= '" + textBox2.Text.ToString() + "'"; myCmd.SelectCommand.CommandText = sqlQuery; int numberOfRowsFeched = myCmd.Fill(dtSet, "ta1"); if (numberOfRowsFeched > 0) { try { myCmd.UpdateCommand.CommandText = "UPDATE Users SET " + "Password = '" +textBox3.Text + "'" + " WHERE Name = '" + textBox1.Text + "'"; myCmd.UpdateCommand.Connection = myConn; myCmd.UpdateCommand.ExecuteNonQuery(); MessageBox.Show("Record updated Successfully"); textBox1.Text = ""; textBox2.Text = ""; textBox3.Text = ""; } catch (System.Data.OleDb.OleDbException exp) { myConn.Close(); MessageBox.Show(exp.Message); } } else { MessageBox.Show("wrong Name Or Password", "Password", MessageBoxButtons.OK, MessageBoxIcon.Information); textBox1.Text = ""; textBox2.Text = ""; textBox3.Text = ""; } message : http://www.cpestudents.net/upload/up/54.gif[^]

    Database csharp question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups