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
P

Piyush Vaishnav

@Piyush Vaishnav
About
Posts
31
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Painting issue while running two different threads
    P Piyush Vaishnav

    Hi, I am having one form with yes and no button running in one thread. And one worker thread is running which will keep repeating it's task at every 4 sec. While worker thread is running, and if i will click yes in other threads, program takes lot of time to execute the action to be performed by clicking yes button. Because of this background of Main UI is not painted for that much of time period. How I can solve this problem? Atleast background of Main UI should be repainted all the time. Thanks in Advance..

    C# help design question

  • How to enable disable Hibernation option by using C# code.
    P Piyush Vaishnav

    Hi All, I wanted to get that hibernation option is enabled in system or not. If it is enable then wanted to disable this option. Thanks in Advance.. Piyush

    C# csharp tutorial

  • Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc).
    P Piyush Vaishnav

    Hi, Now I used string.PadRight(40, ' ') for the first text and then after adding second text. It's working fine for english. But for Chinese still second text is not coming below the First Row's second text.

    C# announcement

  • Writing a Text in StreamWriter such that alignment should be proper for different languages ( like English, Chinise, German...etc).
    P Piyush Vaishnav

    Hi All, I am writing text into StreamWriter by sw.Write("Text coming from Labels : so can be in english or chinese or any other languages") method. After writing first text, I am adding tabs and then adding second text. Now adding a new line and adding first text + tabs + second text. It looks like this: Model :\t \t \t \t \t XXXX Version :\t \t \t \t YYYY Note : I am not able to put white spaces here so just putted \t. Assume that the first X and first Y starting position is equal. Alignment is coming properly for English. But if the input texts are in Chinese then it comes like this : Model :\t \t \t \t \t XXXX Version :\t \t \t \t YYYY Here YYYY is not coming just below XXXX such that the start position of first X and first Y should be same, This Tab spaces are the same for different languages. I want atleast alignment should be proper with every languages. Thanks in Advance.. Piyush Vaishnav

    C# announcement

  • XmlDocument.Save() throws expection when file name is containing colon ":".
    P Piyush Vaishnav

    Hi... I am getting NotSupportedException "The given path's format is not supported." XmlDocumentObject.Save(filename); filename is "L:PROT", because it contains colon that's why exception is coming. Is there any alternative to use : in filename which could be saved in XmlDocument? Thanks in Advance.. Piyush

    C# question

  • How to Save bitmap as emf ImageFormat?
    P Piyush Vaishnav

    I wanted to save bitmap file as vector image with emf extention. bitmap.save(filepath, ImageFormate.Emf); While running the program above line throws ArguementNull exception that "encoder value is null". For getting encoder information : ImageCodecInfo[] list = ImageCodecInfo.GetImageEncoder(); this list containing 5 element : BMP,JPEG, GIF, TIFF, PNG These are the built -in- image codec. But codec related to .emf is not there. Might be thats why exception is throwing. Am I need to install codec for emf or there is any other solution? Thanks alot....

    C# graphics tutorial question

  • Last node is not visible in TreeView because of scroll bar.
    P Piyush Vaishnav

    After adding extra node at the last, we can select last node by key down arrow. How we can disable any particular TreeNode, not complete TreeView in windows form.

    C# help question

  • Last node is not visible in TreeView because of scroll bar.
    P Piyush Vaishnav

    Thanks for alternative solution. Actually i am using Windows Forms and this problem is also there when scroll bar comes in to picture. Now i am adding one extra node at the last of treeview, so that this extra node will going to be hidden.

    C# help question

  • Last node is not visible in TreeView because of scroll bar.
    P Piyush Vaishnav

    Scroll bar is required, because there are nodes which is greater the height of TreeView. It should show the last node even scroll bar is there. Am i missing any porperty or Is it microsoft fault.

    C# help question

  • Last node is not visible in TreeView because of scroll bar.
    P Piyush Vaishnav

    I am having treeview with some nodes. If there is no. of node is more than height of treeview then scroll bar is coming. Now the problem is, because of scroll bar i am not able to see the last node. How i can solve this issue? Thanks in advance.

    C# help question

  • Tab Control
    P Piyush Vaishnav

    While adding dynamically Tab Pages to tab control. New created tab page should come next to selected tab page. By default new tab page will place at last position of tab control. Is there any property in Tab control to do the same. Thanks in Advance

    C#

  • Treeview inside DataGridView
    P Piyush Vaishnav

    I want to place treeview inside DataGridView such that each child node of treeview becomes datarow for DatagridView. Any idea!!! Thanks in advance/

    C#

  • Run external exe in C#
    P Piyush Vaishnav

    ok.......Thanks...

    C# csharp question

  • "Allow Service to interact with Desktop" Windows Services
    P Piyush Vaishnav

    "Allow Service to interact with Desktop" in Services property. How can i set this property programmatically. Thanks ........

    C# question

  • Run external exe in C#
    P Piyush Vaishnav

    hi......leppie..... Now it's working fine. But i want to set this property programmatically. Is it possible? Thanks......

    C# csharp question

  • Run external exe in C#
    P Piyush Vaishnav

    Thanks .........It's working now.....

    C# csharp question

  • Run external exe in C#
    P Piyush Vaishnav

    hi guys, I want to run any C# made exe from another C# program. For that i used this code: System.Diagnostics.Process.Start(exe path); It's working fine. But when i am using same code in OnStart() method of Windows Services. It will start the process into Task Manager Processes, but not showing in screen whatever GUI that exe has. To show GUI also , what should i do? Thanks....

    C# csharp question

  • How can we keep calling OnStart() in Started condition of Windows Service in C#
    P Piyush Vaishnav

    Hi all, I have created one windows services in C#. In OnStart method i want to start external exe at particular given time by user. For that i need to keep comparing time of system and user given time. But OnStart method calls only one time when starting that service. Is there any other event or methods which will call continuosly when service in Started condition. I feel happy when will get alternative solution for the problem. Thanks guys......

    C# csharp help

  • Windows Services
    P Piyush Vaishnav

    Thanks.... it's very helpful....

    C# csharp question

  • Windows Services
    P Piyush Vaishnav

    Thanks for response...Can we do this Programmaticly.

    C# csharp question
  • Login

  • Don't have an account? Register

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