Can I set up a DataGrid to do this...
When I click on a particular field in a DataGrid, it opens up another
program called wlk.exe and send it the text of the field I clicked on?
So it would be like wlk Fld1=ClickedFie ld 6 1194
Untested but . . .
In the click event
System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " &
dgPeople.Curren tCell.ToString( ) )
OHM#
Michael Murschell wrote: Can I set up a DataGrid to do this...
When I click on a particular field in a DataGrid, it opens up another program called wlk.exe and send it the text of the field I clicked on?
So it would be like wlk Fld1=ClickedFie ld
Regards - OHM# On**********@BT Internet.com
The Click event doesn't seem to work when I click on a field in the
DataGrid. It does work when I click on empty space in the DataGrid.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Untested but . . .
In the click event
System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " & dgPeople.Curren tCell.ToString( ) )
OHM#
Michael Murschell wrote: Can I set up a DataGrid to do this...
When I click on a particular field in a DataGrid, it opens up another program called wlk.exe and send it the text of the field I clicked on?
So it would be like wlk Fld1=ClickedFie ld
Regards - OHM# On**********@BT Internet.com
OK, then CurrentCellChan ged should do it
OHM#
Michael Murschell wrote: The Click event doesn't seem to work when I click on a field in the DataGrid. It does work when I click on empty space in the DataGrid.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Untested but . . .
In the click event
System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " & dgPeople.Curren tCell.ToString( ) )
OHM#
Michael Murschell wrote: Can I set up a DataGrid to do this...
When I click on a particular field in a DataGrid, it opens up another program called wlk.exe and send it the text of the field I clicked on?
So it would be like wlk Fld1=ClickedFie ld
Regards - OHM# On**********@BT Internet.com
Regards - OHM# On**********@BT Internet.com
Perfect!!! Thank you!!!
Now I just need to figure out how to get the text in the field. The
dgPeople.Curren tCell.ToString( ) gives you the coordinance.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message
news:eN******** ******@TK2MSFTN GP12.phx.gbl... OK, then CurrentCellChan ged should do it
OHM#
Michael Murschell wrote: The Click event doesn't seem to work when I click on a field in the DataGrid. It does work when I click on empty space in the DataGrid.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Untested but . . .
In the click event
System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " & dgPeople.Curren tCell.ToString( ) )
OHM#
Michael Murschell wrote: Can I set up a DataGrid to do this...
When I click on a particular field in a DataGrid, it opens up another program called wlk.exe and send it the text of the field I clicked on?
So it would be like wlk Fld1=ClickedFie ld
Regards - OHM# On**********@BT Internet.com
Regards - OHM# On**********@BT Internet.com
I got it...
dgPeople.Item(d gPeople.Current Cell)
"Michael Murschell" <mm********@gon elco.com> wrote in message
news:uO******** ******@TK2MSFTN GP09.phx.gbl... Perfect!!! Thank you!!!
Now I just need to figure out how to get the text in the field. The dgPeople.Curren tCell.ToString( ) gives you the coordinance.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:eN******** ******@TK2MSFTN GP12.phx.gbl... OK, then CurrentCellChan ged should do it
OHM#
Michael Murschell wrote: The Click event doesn't seem to work when I click on a field in the DataGrid. It does work when I click on empty space in the DataGrid.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. > Untested but . . . > > In the click event > > System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " & > dgPeople.Curren tCell.ToString( ) ) > > OHM# > > Michael Murschell wrote: >> Can I set up a DataGrid to do this... >> >> When I click on a particular field in a DataGrid, it opens up >> another program called wlk.exe and send it the text of the field I >> clicked on? >> >> So it would be like wlk Fld1=ClickedFie ld > > Regards - OHM# On**********@BT Internet.com
Regards - OHM# On**********@BT Internet.com
Glad I could help.
OHM#
Michael Murschell wrote: I got it...
dgPeople.Item(d gPeople.Current Cell)
"Michael Murschell" <mm********@gon elco.com> wrote in message news:uO******** ******@TK2MSFTN GP09.phx.gbl... Perfect!!! Thank you!!!
Now I just need to figure out how to get the text in the field. The dgPeople.Curren tCell.ToString( ) gives you the coordinance.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:eN******** ******@TK2MSFTN GP12.phx.gbl... OK, then CurrentCellChan ged should do it
OHM#
Michael Murschell wrote: The Click event doesn't seem to work when I click on a field in the DataGrid. It does work when I click on empty space in the DataGrid.
"One Handed Man [ OHM# ]" <On**********@B TInternet.com> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. > Untested but . . . > > In the click event > > System.Diagnost ics.Process.Sta rt("wlk.exe.ex e " & > dgPeople.Curren tCell.ToString( ) ) > > OHM# > > Michael Murschell wrote: >> Can I set up a DataGrid to do this... >> >> When I click on a particular field in a DataGrid, it opens up >> another program called wlk.exe and send it the text of the field >> I clicked on? >> >> So it would be like wlk Fld1=ClickedFie ld > > Regards - OHM# On**********@BT Internet.com
Regards - OHM# On**********@BT Internet.com
Regards - OHM# On**********@BT Internet.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Frederik |
last post by:
Hi all,
Situation: Windows Forms, DataGrid, CSharp, WinXP Pro, VS 2003
How can I add a click event to an Image?
The Imageis in a DataGrid, drawn with the 'DrawImage' mehtod.
The Image does not seem to have a click event!
Thank you for your time and help,
|
by: Lalit Bhatia |
last post by:
Hi
when focus is on a cell in datagrid. double click event does not occur.
when I double click on rowheader, columnheader then this event fires.
I am using DataGridTableStyle in the grid.
--
Regards,
Lalit Bhatia
|
by: J McD |
last post by:
Hi
I have a DataGrid with an ImageButton column. When I click on an imagebutton I get a postback but it doesn't run the OnImgBtnClick method. I can actually comment out the line where I add this Click event to the ImageButton Column and it makes no difference, I still get a postback. This is driving me crazy...something seems to be causing an OnClick postback and it isn't my Click event
I've included the code below....any help will be...
|
by: Mac via DotNetMonster.com |
last post by:
Hi all,
For a datagrid, I would like to have a label (outside the datagrid) that
reflects the current record in the datagrid. A click event work fine when you
click on the row header or on a datagrid separator line, but when you click
into a cell, the event is not raised.
Is there another event I should be using? Why isn't there any cell based
events?
|
by: Ben |
last post by:
I have a DataGrid in where I have code in the MouseUp Event that checks
the area of the Grid clicked, and highlights the entire row. Problem
is, that if you the "Right-Click" on another row, it highlights that
row and any subsequent rows using the "Right-Click". In essence, the
Right-Click of a mouse is inadvertently turning my Grid into a
Multi-Select, which I do not want.
I thought about finding a way to disable Right-Clicking in...
| |
by: Nick |
last post by:
Hey guys,
I have 2 events on a windows forms datagrid, the mouse move as well as the
double click events.
What's happening is that when I double click on a row in the grid, the mouse
move event gets triggered and the double click is not identified at all.
Is there any way I can invoke the double click when the mouse move also
exists?
|
by: Ryan Liu |
last post by:
Hi,
I need the MouseDown event be trigged everytime when you press mouse in a
datagrid (System.Windows.Forms).
But seems mouse event will only fire once, and it seems changed to edit mode
for the cell (even the cell is read). The mouse event won't fire again
until I click on some other cell and come back and click on the original
again.
|
by: hiuentsang |
last post by:
Hi,
How can I access the event generated by the click on a linkbutton in a
datagrid? My requirement is like this...
I've placed a linkbutton in a datagrid. The user clicks on it, and
some value is stored in the ViewState. I am not able to capture the
event of click.
Please Help.
Thanks & Regards
|
by: Hardy Wang |
last post by:
Hi all,
We have DataGrid control in Web Form, our client requires to be able to
click anywhere of a row to fire the event same as LinkBotton column is
clicked. We we did in ASP.NET 1.1 is
in ASPX page
<asp:DataGrid id="MyGrid" runat="server" AutoGenerateColumns="False"
AllowSorting="True" AllowPaging="True" runat="server"
EnableViewState="True">
<Columns>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |