|
upgrade to .Net 3.0 Service Pack 1.
Silence is the voice of complicity.
Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python
Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay
|
|
|
|
|
Why will this help? Is there some way to accomplish this in .Net 2.0? Thanks,
Sounds like somebody's got a case of the Mondays
-Jeff
|
|
|
|
|
Skippums wrote: Why will this help? Is there some way to accomplish this in .Net 2.0? Thanks,
no, you can't do it in .net 2.0 because there's a bug in the svcutil.exe.
you need the bug fix that comes with updating to .Net 3.0 SP1.
You can then take the generated code and use it with .Net 2.0
Silence is the voice of complicity.
Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python
Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay
|
|
|
|
|
hi there,
i'm trying to insert a text at particular column and row(item) in listview,
and i think it may not be done easily.
e.g.
i have 50 columns in a listview and i add a item and want to insert some text on 1st and 49th column of listview.
insert on 1st column is simple(below), but how can i insert directly in 49th column.
listView1.Items.Add("SOME TEXT", 0);
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
|
|
|
|
|
Create your subitems, set the text of the one you need (the 49th) and add these subitems to a listviewitem, then add this listviewitem to your listview.
Dave
|
|
|
|
|
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.
|
|
|
|