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
A

AmarjeetSinghMatharu

@AmarjeetSinghMatharu
About
Posts
25
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get text from a text box control pertaining to cursor position
    A AmarjeetSinghMatharu

    Hello All, I am changing the cursor position for inserting,updating and deleting the text in a text box control. I am able to get the cursor position pertaining to the current cursor location though. Please suggest me the way to find the text pertaining to the cursor. Thanks and Regards. Amar.

    C / C++ / MFC tutorial

  • Apple ipod like Application Architecutre
    A AmarjeetSinghMatharu

    Hello All, Can any body share with me, if someone wants to learn apple ipod like Software architecture, where can he find the information or can start designing one? Thanks.

    IT & Infrastructure architecture question

  • How to change the text of a text box in form after the form is displayed to user?
    A AmarjeetSinghMatharu

    Hello Luc, your points are well taken. I should rethink my approach as My serial port management is real complex, to share with you, it's a controlling two device circuits boards through two serial COM ports simultaneously. These device boards in turn needs to contol Weighbridges H/W like weighing scale, traffic lights, positioning beams etc. My confidence is getting better after discussing with you.:confused: Please stay tune. Very best Regards. Amarjeet.

    C# csharp help tutorial question

  • How to change the text of a text box in form after the form is displayed to user?
    A AmarjeetSinghMatharu

    Hello Luc, Thanks for the prompt reply and validating the approach. What I understand from your comments in point 3 is: 3. I should keep sending the data from worker thread and let form append it?. got it. what I actually mean by point 3 beside this appending , I also needs to be quering on the form data For Ex: I have appended form text to 'Luc' and if textbox is not null and is 'luc' now do something else... My understanding for the above is , to know the text of a text box any point of time , call a delegate from worker thread returning string with calling function on the form. Is that right approach? Secondly: your warning comments mean what ? I did not follow that. please elobrate.

    C# csharp help tutorial question

  • How to change the text of a text box in form after the form is displayed to user?
    A AmarjeetSinghMatharu

    Hello Phil,Luc, Thankyou very much for the guidance. I did a brief study of what you sugested, article (http://www.codeproject.com/csharp/workerthread.asp ) states what you described. I am coming up following approach mainly based on the link I have given above: 1. Create a worker thread in the form class which will liten to serial port. 2. Keep on apending the serial port data as and when received by a deligate to form. 3. To get the text of a form's control, Call a deligate in worker thread which will return string by calling a function in form class to get the control's text. Please suggest. Thanks and Regards. Amarjeet.

    C# csharp help tutorial question

  • How to change the text of a text box in form after the form is displayed to user?
    A AmarjeetSinghMatharu

    Hello All, I need a guidance on following: 1. I want to crate a windows application with Form or dialog the application behaviour is such that, it shows a dialog or Form to user and simultaneously, 2. it process the data by listening to seria port and notifies on the form if a specific data is received. (I know how to implement in VC6) 3. when I open a VC#.Net application wizard it gives me a form class , but I am not able to find the place where to add a code for serial port because the form is run by application thread and is blocked once the Application.Run is called. 4. To simplyft points above , I want to change the text of a form text box after the form is displayed. Please see the below code for clarity: namespace WeighbridgeManager { static class WeighbridgeManager { /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); My Form WBScreen = new MyForm(); Application.Run(WBScreen); //WBScreen.txtSomeTextBox.Text = "Hello World!!!"; } } } The commented code never executes, I guess I am missing some threading logic here. Thanks. To simplyfy the problem, take it this way. I want to change the text in the Form commented part and where to place this text. La

    C# csharp help tutorial question

  • How to include a DialogBox in a C#.Net at design time.
    A AmarjeetSinghMatharu

    No, May it be created in C# and generated by the wizard as C# Form is. Hope this clarifies. Thanks.

    C# csharp c++ design tutorial

  • How to include a DialogBox in a C#.Net at design time.
    A AmarjeetSinghMatharu

    Hello All, I need to include a Dialog Box (Visual C++.Net or VC++6 style ) in a Visual C#.Net application at deign time but by default it is Form that is included and you can include by going to Add item. Please suggest. Thanks and Regards. Amar.

    C# csharp c++ design tutorial

  • OnComm Events in MSCOMM OCX control
    A AmarjeetSinghMatharu

    I have to write the event handler for MSCOMM.OnComm who is listening to serial port for data, so that the event is fired 'OnComm' is executed when the data is arrived. My understanding for the documentation is unclear as how to achieve this. Does any one have the sample source code implementation in C# / C++? Thanks and Regards. Amar.

    ATL / WTL / STL csharp c++ tutorial question

  • OnComm Events in MSCOMM OCX control
    A AmarjeetSinghMatharu

    I have to write the event handler for MSCOMM.OnComm who is listening to serial port for data, so that the event is fired 'OnComm' is executed when the data is arrived. My understanding for the documentation is unclear as how to achieve this. Does any one have the sample source code implementation in C# / C++? Thanks and Regards. Amar.

    Managed C++/CLI csharp c++ tutorial question

  • OnComm Events in MSCOMM OCX control
    A AmarjeetSinghMatharu

    I have to write the event handler for MSCOMM.OnComm who is listening to serial port for data, so that the event is fired 'OnComm' is executed when the data is arrived. My understanding for the documentation is unclear as how to achieve this. Does any one have the sample source code implementation in C# / C++? Thanks and Regards. Amar.

    C# csharp c++ tutorial question

  • Rewriting progress code in C#
    A AmarjeetSinghMatharu

    Pallini, Thanks for your reply. I did not understand your comments, request you to elobrate. To give you more information. 1. I have a code written in Progress 4GL it is live and is a business application. 2. I have to write this code again in C# means porting the complete application in to .Net. 3. I wish to achieve this without unerstanding the code and it's logic. What I interpret from your reply is , Identity transformation can do this job of writing a progress.w file into cshart.cpp file? Please comment. Thanks and Regards. Amar.

    C# csharp tools

  • Rewriting progress code in C#
    A AmarjeetSinghMatharu

    Hello All, I have a chunk of code which needs to be re written in to C#. The challenge is I want to port this code blindly. Is there any utility/ tool which can automate the process of doing this or I have to port this code the hard and real way, I mean understanding the progress code and then rewriting it to C#. Please suggest. Thanks and regards. Amar.

    C# csharp tools

  • how to monitor network connections on windows mobile 2005
    A AmarjeetSinghMatharu

    Hello., Like netstat is for windows XP I want to find the same utility for windows mobile 2005. This helps in monitoring which port my PDA aplication is listening to. Please suggest. Thanks and Regards. Amar.

    Mobile sysadmin tools tutorial

  • Request your comments to design my System.
    A AmarjeetSinghMatharu

    Hello All at Codeproject, Greetings!!! I am designing a module which primarily acts as a bridge between the Hardware/firmware C/C++ code and .Net webservices. To elobrate It calls the C/C++ code functions to interact the H/W and calls XI SAP webservice interface to validate the details etc. The webservices are exposed via WSDL files. I have to comeup with the design of the firmware/ H/W APIs and bridge them to webservices. I request your wise guidance to come up with a system which could also act as a C/C++ code module and .Net module. Here is what I already think of: 1. Group firmware code and webservices calling code in to single VC++.Net process. 2. Group firmware code in to C++ ATL COM Component and webservice part in to VC#.Net and let both interact with CCW and RCWs. 3. Group firmware code and webservices calling code in to single classic VC6 process for simplicity. I am doubtfull if VC6 can call webservices Here!!! I shall be looking forward for your openions very eagerly. Thanks and very best regards. Amarjeet.

    Design and Architecture csharp c++ wcf com design

  • How to consume the web service if only WSDL file is exposed.
    A AmarjeetSinghMatharu

    Hi All, I have only the WSDL file given to me. My requirement is to consume this webservice programmatically through C# code. Please guide me or show me the relevant link where I can get the knowledge. Thanks and Regards. Amarjeet

    ASP.NET tutorial csharp wcf

  • How to consume the web service if only WSDL file is exposed.
    A AmarjeetSinghMatharu

    Hi All, I have only the WSDL file given to me. My requirement is to consume this webservice programmatically through C# code. Please guide me or show me the relevant link where I can get the knowledge. Thanks and Regards. Amarjeet.

    C# tutorial csharp wcf

  • How to retreive UUID of the device connected via USB to my PC.
    A AmarjeetSinghMatharu

    Hello All, Greetings!!! My requirement is to retreive the UUID of the device connected via USB to my PC. I am just new to this. How can I write code which runs on on my PC with windows XPro talks to the device through and retreive the UUID of the devide connected. Please suggest. Thanks and Very Best Regards. Amarjeetsinghmatharu@yahoo.com.

    Mobile com tutorial question

  • Are all folders in XP are readonly be default?
    A AmarjeetSinghMatharu

    Hello All, I try to access programmatically C:\Documents and Settings\All Users\Start Menu\Programs and place a short cut. I get access denied error. Analyzing this I found that any folder in XP Pro is read only, Removing the read only attributes does not really change the folder attributes permanently as they are still read only viewing the properties again. Please suggest on how to go further. Thanks and Regards. Amarjeet.

    System Admin help tutorial question

  • How to add My Application shortcut icon in Start-->All Programs
    A AmarjeetSinghMatharu

    Hello All, I need to add a short cut icon to launch my custom application from Start-->All Programs. To elaborate, when I click on Start-->All Program, I should be able to see the name of my applcation like many others already are (Microsoft Office etc.), clicking on icon should make me launch my application.I do not have any idea how to achieve this? Please suggest. Thanks and Regards. Amarjeet.

    C / C++ / MFC tutorial 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