|
The solution which i am working on is a huge one, where in i am not allowed to create any new forms of my own. Is there any other way?
Thanks
kumar
|
|
|
|
|
Hi...
In my application , i am creating a project which gives me a dll file i am using that dll in other project. I had added dependency for my application properly. From my windows application project i am starting some threads which are there in dll file. But when i exit my application...only my windows are getting closed(Forms) but my application is running in PC.
Why my application i still running although i am exiting the application...? Is i something with dll...?
Thanks in adavance,
Vinay
|
|
|
|
|
Are u using multi threading or something??
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
Hello
please test below code :
<br />
Application.ExitThread();<br />
May be it's usefull !
Regards.
|
|
|
|
|
I am creating application for controlling 8-channel Lightshow through LPT for a small club.
I want lightshow to work by sound input from soundcard. I don't know how can I create a function which would return current output power on the requested frequency(low,mid,high...).
I tried to do this with DirectX.DirectSound, but it seems to me too complicated.
So if anyone have a suggestion, i would be very grateful.;)
Thank you,
Miha
|
|
|
|
|
Hi
I have a DataGridView (C# 2005) which filled from dataset.
Now i want to save the row which user added to last of datagridview.
One of cells type is CheckBox.
When i'm trying to get it's value i see nothing :
<br />
dataRow[4] = dGridView.Rows[e.RowIndex].Cells[4].Value.toString();<br />
I want to see "True" or "False" but i see : "" !?
How can i get the value ?
Thanks for your help.
|
|
|
|
|
Ok
I got my answer myself !
this is the code :
<br />
DataGridViewRow dgRow = dGridView.Rows[e.RowIndex];<br />
dRow[4] = (dgRow.Cells[4].Value.ToString() != "" ? true : false);<br />
Tanx 4 me:->
|
|
|
|
|
Hi, Respected Programmers
Kindly tell me correct syntax/method about:
I have one textbox in my form which is belong some string value like
textBox1.Text = "ABCD";
and I need to transfer it to crystal report in "Text1"
and I am trying with this syntax:
ReportObjectReport.SetParameterValue(1, textBox1.text);
this is not working. and error message is arising "Invalid index"
Kindly tell me correct syntax of said.
Thank you in Advance
|
|
|
|
|
Is the Parameter collection not zero based?
For example:
ReportObjectReport.SetParameterValue(0, textBox1.text);
|
|
|
|
|
Hi, I would like to learn how to enlarge a window horizzontally to let view hiden objects.
I hope to receive some useful answer, thank you all in advance.
Lula
|
|
|
|
|
Set the Height property.
Christian Graus - C++ MVP
|
|
|
|
|
Hi,
the question is that:
I vould like to enlarge horizzontally, not vertically, a window
I red this article: http://www.codeproject.com/csharp/shrinkarea.asp where they show how to enlarge vertically a window, but I need an similar example to enlarge horizzontally.. now I do some tests but if somebody could help me to do that..i'll thank very much
-- modified at 2:18 Wednesday 22nd November, 2006
|
|
|
|
|
Say what?
Speak geek please!
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Yes!
There should be one day per year, where everybody is posting in his native language!
|
|
|
|
|
Yes! We shall call it, "no answer to your question day".
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Set the Width property.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
Ok i have my XML file a generate in my application which holds account information.
How can i populate only the "AccountName" field in a treeview?
i tried and am struggling it doesnt populate correct.
Im using VS2005 and this is a windows application.
my xml file looks like this:
<accountdatabase>
<xs:schema id="AccountDatabase" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="AccountDatabase" msdata:isdataset="true" msdata:usecurrentlocale="true">
<xs:complextype>
<xs:choice minoccurs="0" maxoccurs="unbounded">
<xs:element name="AccountTable">
<xs:complextype>
<xs:sequence>
<xs:element name="AccID" msdata:autoincrement="true" msdata:autoincrementseed="1" type="xs:int">
<xs:element name="AccountName" type="xs:string" minoccurs="0">
<xs:element name="UserName" type="xs:string" minoccurs="0">
<xs:element name="Password" type="xs:string" minoccurs="0">
<xs:element name="Note" type="xs:string" minoccurs="0">
<xs:unique name="Constraint1" msdata:primarykey="true">
<xs:selector xpath=".//AccountTable">
<xs:field xpath="AccID">
<accounttable>
<accid>1
<accountname>gmail
<username>me
<password>1234
<note>njun
<accounttable>
<accid>3
<accountname>codeproject
<username>me2
<password>1234555
<note>hhhhhhhh
<accounttable>
<accid>8
<accountname>myacc1
<username>qwe
<password>111
<note>fgfg
I only want the "AccountName" field to show in the treeview so when they click on it the rest of the data shows in labels.
I have done this with a listbox but would like to use a treeview
thanks alot guys hope you can help
Regards
|
|
|
|
|
Hi
You can use xpath to query a specific node within a xml file.
Open a xml file in a XmlDocument object (System.Xml namespace) and then you can get its elements using xpath.XmlDocument has some methods that you can use to query a xml file for example you can use SelectNodes or SelectSingleNode or GetElementsByTagName.
You can use serialization to serialize and deserialize your xml file into an object model.You can use xsd utility to build this object model from your xml file the you can use XmlSerializer (System.Xml.Serialization namespace) to deserialize your xml file into your object model and use this object model to populate a treeview.
Regards
Nima
|
|
|
|
|
Hi, Dear Respected Programmers
Kindly let me know about (Set CSS Class) in CrystalReport.
I need some easy examples / Source Link about said.
Thank you
Have a nice day!
|
|
|
|
|
hi everybody,
i was working with gridview with a column in it where i added a linkbutton to it after making a temolatefield.i need to pass a value with it that is there in gridview. my code is like this :
'<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CommandName='<%#
"Default2.aspx?diaryid=" + Eval("diaryid")%>' Text='<%
#Eval("diaryid") %>' Style="position: static"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>'
code behind is :
protected void LinkButton1_Click(object sender, EventArgs e)
{
LinkButton lb = (LinkButton)sender;
Server.Transfer(lb.CommandName);
}
i think ihv passed the value correctly,but i dont know how to fetch it in a label on next page.
thanks in advance.
|
|
|
|
|
MyLabel.Text = Request.QueryString["diaryid"] ;
|
|
|
|
|
hi everybody,
how to add event to a check box. as soon as the checkbox is clicked i want to display a label which was invisible earlier.
thanx n regards,
saurabh.
|
|
|
|
|
click on checbox and then open Properties windows and then click on Events
|
|
|
|
|
hi
i am a friend of saurabh.pls also tell what the next step is?
|
|
|
|
|
in the code window
make the visible property of label true
like label1.visible=true;
Hope this will work.
NEHA GUPTA
|
|
|
|