|
You are welcome
|
|
|
|
|
Hi!
I have the following problem:
My C# application creates a special file-format, called *.tvp.
When I build my Setup Project, an icons is show symbolizing my program. What I want now is:
All *.tvp files shall show this icon after installing my program as this for example works with *.doc files. They also show the winword icon.
Does anybody know about settings to realize this?
Thanks a lot
|
|
|
|
|
|
Hi all,
when i add the ActiveX control(microsoft office document imaging viewer control) into my form, the visual studio 2005 thrown "Failed to import the activex control.please ensure it is properly registered" error...please let me know what i did wrong...
thanks
|
|
|
|
|
Hi I have an untyped dataset with one datatable in it. The datatable is bound to a datagridview. I also have some textboxes that I want to bind to the datatable.
Hello.
When a user enters some values on a row in the datagridview I want these values to show in the corresponding textboxes. It should also be possible to type directly into the textboxes which should then update the corresponding row in the datatable/datagridview.
Datagridview
------------
ID Name Age
Datatable
------------
ID Name Age
textboxID
textboxName
textboxAge
I have tried getting this to work for a while but without luck, any help would really be appreciated
|
|
|
|
|
You can attach each field of the datatable with
nameofdataset.Tables[0].Rows[i].ItemArray[j]
with the indexes i an j changing for the Rows and cells you want to change or read out
|
|
|
|
|
I have been given a project to do where I have to customize the Right-click menu of the Outlook window and have an option that sends the whole email to a Windows Application’s textbox. Plz help!!
Mvelo Walaza
Jnr Developer
Telkom SA
|
|
|
|
|
|
Hi
My program runs f1_paint(object sender, PaintEventArgs e) this draws line a the form. Now I get some values from external source like a file and I want to update the f1_paint(object sender, PaintEventArgs e) how do I do it?
Basically the drawline function is in the f1_paint and I loaded everything in it file the file control etc etc but when an event occurs I store a bunch of values on a buffer and want the drawline in f1_paint(object sender, PaintEventArgs e) to run a-fresh with the new data...how do I do it?
Thanks
Samuel
|
|
|
|
|
Hello,
You could call "f1.Refresh()".
All the best,
Martin
|
|
|
|
|
Hi,
Control.Invalidate() exists so you can signal something has changed that affects
the look of your Control; it sill cause a repaint to occur.
|
|
|
|
|
What have you tried ? The obvious is to repeat this code with a 1 and a 2 in place of the 0.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Why don't new and override appear at the same point in the declaration?
public override void Blah(){}
but
new public void Blah(){}
|
|
|
|
|
Hello my angry friend!
Steve_Harris wrote: Why don't new and override appear at the same point in the declaration?
You can do it just like you want!
All is possible:
public override void Blah(){}
override public void Blah(){}
new public void Blah(){}
public new void Blah(){}
So take a big breath and relax.
All the best,
Martin
|
|
|
|
|
Thanks mate! I blame Wrox for printing one before and one after the public .
|
|
|
|
|
Steve_Harris wrote: I blame Wrox for printing one before and one after the public.
Yes, thats kind of unconsistent!
You are wellcome!
All the best,
Martin
|
|
|
|
|
But it seems partial must always be last when included?
|
|
|
|
|
Hello,
Yes, that's true!
But in fact it is also limited to classes I guess and so I would also not se it as unconsistend.
public class partial MyClass
All the best,
Martin
|
|
|
|
|
Reply will be appreciated.
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
Make the icon your drag image
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi. I am having problem in getting the name of the node in treeview control. When I searched in events list there is no exact event which matches this scenario. If I select "DoubleClick" event, I dont get any reference of currently selected node.
The contents of tree (i.e nodes) are generated dynamically. When clicked on any of this node, I should get that node's name
Should I create new event of my own? If so, how to do that? tell me how should i proceed.
Thanks,Divya
Divya
|
|
|
|
|
No you dont need to create a new event.
You can use the NodeMouseClick event of the treeview.
e.Node.Name will return you the Node Name.
In btw, make sure when you add a node dynamically, you specify its name also
|
|
|
|
|
My target Framework is 1.1. NodeMouseClick event is present in 2 and 3 framework. Is there any method to do in 1.1 framework?
Thanks
Divya
|
|
|
|
|
Use AfterSelect event instead.
Make sure you handle the first click as it will return the name of root node.
|
|
|
|
|
treeView1_AfterSelect(), displays node name for just a single click.i.e as soon as u select a node, its name is displayed.
But I want name of the node to be displayed after double clicking it.
Thanks,Divya
|
|
|
|