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
Y

Yogesh Tayade

@Yogesh Tayade
About
Posts
3
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Filename check with extention
    Y Yogesh Tayade

    Hi All, I have browse button to select a .hex file, this file name should always have 3 underscores and .hex as extention (for eg. TestHex_1_1_1.hex). I had written a code by using split & it works. But if foldername contains any underscore then it will not work. This is my code. private void btnOpenFolder1_Click(object sender, EventArgs e) { openFileDialog1.ShowDialog(); openFileDialog1.ValidateNames = true; textBox1.Text = openFileDialog1.FileName; char[] cr ={ '_' }; string[] str = textBox1.Text.Split(cr); if (str.Length != 4 || textBox1.Text.Substring(textBox1.Text.LastIndexOf("."), 4).ToLower() != ".hex") { textBox1.Text = ""; MessageBox.Show("File name or file extention is not valid."); } hexPath = textBox1.Text; } Please give me any suggestion.

    C#

  • Show progress bar
    Y Yogesh Tayade

    Hi All, I have a file to send to client rtu. I want to display progress bar while sending file. How it should be implemented in windows form in c#.

    C# csharp

  • How to focus on button.
    Y Yogesh Tayade

    Hi all, I have a textbox and one button in my form. After entering text in textbox I have to click on Ok button. Insted of click on Ok button I want to press enter.

    C# tutorial
  • Login

  • Don't have an account? Register

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