|
yeah but it will add 48 useless subitems, and is there any alternative way to do this, because the index may change then i can use key of the column, but i dunno how ??
EDITED :
SOLVED
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
modified on Wednesday, February 20, 2008 11:15 PM
|
|
|
|
|
Hi,
I need to display CSH from my app. I call
Help.ShowHelp(this, "myHelpFile.chm", HelpNavigator.Topic, "secondTopic.htm");
and it works fine, but I can't get the help file to expand the nodes and scroll to that specific topic. All it does is displays the topic, but the table of contents stays collapsed.
Is there any way of doing this? I'm using .Net 1.1
thanx
|
|
|
|
|
can anyone help me in this,
i have a multi form app. , i have many open forms, all of the same type(say MyForm)
i want to get the text of a textbox inside each open forms)
as well as many info, including the position of the form
can anyone tell me how to do it
thnx in advance
Web Developer @ Silverkey Egypt
|
|
|
|
|
Maybe add each form to a collection as you instanciate them, then iterate through the collection.
Dave
|
|
|
|
|
1. If it's MDI, you can get the open forms in MDIChildren.
2. If it's not, you can get the open forms in Application.OpenForms.
Expose a get-only string property from MyForm, which return the text box's Text property. Get all the open forms from 1 or 2, check whether it's type of MyForm, cast the form to MyForm and access the exposed property.
|
|
|
|
|
thanks you very much, will try that
Web Developer @ Silverkey Egypt
|
|
|
|
|
Hi, I'm using .Net 1.1 and I'm looking for a way to set a proxy for the axWebbrowser component...
I did googled for a while, but without any luck :/
any ideas?
Thx ahead
|
|
|
|
|
Under .NET 1.1, it uses the proxy settings setup in IE. There is no option to specify your own proxy settings seperately. That didn't appear until .NET 2.0.
|
|
|
|
|
Hi,
How can I add a linear regression line (like Excel's trend line) to a OWC chart object in a Windows Forms application?
Thanks
|
|
|
|
|
Does the CSharp compiler come with all versions of .NET Framework?
Is it totally free to use the CSharp compiler?
_____________________________
...and justice for all
APe
|
|
|
|
|
IT is free to use the C# compiler, as it's distributed with the free .NET SDK.
I don't believe it's distributed as part of the .NET runtime.
|
|
|
|
|
Judah Himango wrote: I don't believe it's distributed as part of the .NET runtime.
I think that it is, but I may be completely wrong.
|
|
|
|
|
Ed, you're right. The C# compiler is installed as part of the .NET Runtime.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Good Delphi isn't making me go loopy then...
|
|
|
|
|
Hi,
YSisins is a generic collection
YAS_BOND_PX is a property inside the above generic collection
in some cases some of the records in the generic collection is empty i.e. no value
When I debug this line
YSisins[intCounter].YAS_BOND_PX.ToString()
in the immediate window it shows:
'YSisins[intCounter].YAS_BOND_PX' is null
Question: In code, how do I check if this has a value or not?
I tried the following but they give error:
if (YSisins[intCounter].YAS_BOND_PX.ToString().Length > 0)
if (YSisins[intCounter].YAS_BOND_PX.ToString() is null)
if (YSisins[intCounter].YAS_BOND_PX.ToString() = "null")
error is :
object reference not set to an instance of an object
Thanks
|
|
|
|
|
It sounds like YAS_BOND_PX is an object which needs instanciating whenever you create a new element in the YSisins collection
Dave
|
|
|
|
|
arkiboys wrote: Question: In code, how do I check if this has a value or not?
I tried the following but they give error:
if (YSisins[intCounter].YAS_BOND_PX.ToString().Length > 0)
if (YSisins[intCounter].YAS_BOND_PX.ToString() is null)
if (YSisins[intCounter].YAS_BOND_PX.ToString() = "null")
Well, if its null you can't call .ToString() on it - hence the error.
if(YSisins[intCounter].YAS_BOND_PX == null) is what you're after.
|
|
|
|
|
if (YSisins[intCounter] == null)
|
|
|
|
|
Quoting the OP:
>>in some cases some of the records in the generic collection is empty i.e. no value
That means that one element in the list may be _null_
if you try to access the property on that element, you will get a null reference exception.
Eg:
myList = new ....
myList.Add(null);
var res = myList[0].SomeProperty; // will give nullref exception because list[0] is null.
If he means that the property of a record might be null he should have stated so.. not that the record itself is null.
modified on Wednesday, February 20, 2008 2:17 PM
|
|
|
|
|
Hello
I'd created a form and wrote the(write to txt file) operations using streamwriter it was work well, the problem was when I save the status of controls in the txt file, it save all the controls , I need to save the status of some of these controls not all....is there any idea.
Thanks in advance
The way of Professional softwares start in two:
Simple codes and develop it.
Simple but effective ideas.
|
|
|
|
|
Hi
Im trying to use the CustomConfiguration section to read some settings for my program. Is there a way to use ConfigurationElementCollection with anonymous Elements?
All the examples i find look like this in the settings
<protocols>
<protocol ref="UDP" properties="(mcast_addr=228.1.2.3;mcast_port=45566;ip_ttl=32)" />
<protocol ref="PING" properties="(timeout=3000;num_initial_members=6)" />
<protocol ref="FD" properties="(timeout=3000)" />
<protocol ref="VERIFY_SUSPECT" properties="(timeout=1500)" />
</protocols>
But I dont have a unique id for each element
It looks like this
<Filters>
<MyFilter Path="Some Path" FileName="some Filename"/>
<MyFilter Path="Some Path" FileName="some Other Filename"/>
</Filters>
Well im not excactly sure that my values are not unique but what i really want is to define a class called Filters and it should have all its children as an ArrayList or Array.
anybody tried this?
|
|
|
|
|
Hi,
I need some help with my code.
I have a combobox that fill from a table adapter by the datasource,some thing like this:
cmbx.datasource = ada.getdata();
now, i want to check if the user input in that combobox does exist in the combobox datasource but i cant find a way.help!
also how can i restrict the user to enter/choose only from the combobox items(that i fill earlier).does the combobox has a property for that?
thank you.
|
|
|
|
|
If the comboBox is populated from a dataSource, why would the user's selection not exist in the dataSource? Or did you mean something else and just explain it poorly?
And to prevent user typing into the comboBox, again, if thats what you mean as its hard to understand your english, change its DropDownStyle to that of DropDownList.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
hi friends.. i have a text box.. in one form.. and i dont want user to do copy the contents from some other place and paste it at text box..how to do this? please help me
|
|
|
|
|
Hello,
actually i dont think its the best.
at the texbox's Properties change the "ShortcutsEnabled" to "False"
or at runtime
<br />
txtTrial.ShortcutsEnabled = false;<br />
this will prevent the user from copying or pasting
|
|
|
|