|
hi,
i want make a tree like this
........................... A
.........................B..C..D
.......................E..F.....G
........................I.........H
A=>B,C,D
B=>E,F
C=>F
D=>G
G=>H
E=>I
F=>I
PLEASE GUIDE ME
I AM WORKING ON "PLOTTER ROBOT"(FYP).
|
|
|
|
|
zeeShan anSari wrote:
PLEASE GUIDE ME
erm... how exactly should we guide you. You've not even nearly provided enough information for a code-related answer.
|
|
|
|
|
strat with treeView control and then TreeNode Editor .i am confuse that how two nodes link same node.
like
....A B
/ /
.. C
I AM WORKING ON "PLOTTER ROBOT"(FYP).
|
|
|
|
|
zeeShan anSari wrote: i am confuse that how two nodes link same node.
They dont. TreeView nodes have only one possible parent node.
To accomplish this you will need to start from the very beginning and create your very own control. And before you ask, no, I don't have the entire working code for such a control.
|
|
|
|
|
it is a java code
addNode("0", 0.0f, 0.0f);
addNode("1", 1.0f, 1.0f);
addNode("2", 5.0f, 2.0f);
addNode("3", 2.0f, 5.0f);
addNode("4", 7.0f,5.0f);
addNode("5", 8.0f, 8.0f);
addNode("6", 10.0f, 5.0f);
addNode("7", 8.0f,2.0f);
addNode("8", 12.0f, 8.0f);
addNode("9", 13.0f, 5.0f);
addLink(0,1);
addLink(1,2);
addLink(2,3);
addLink(2,4);
addLink(4,5);
addLink(4,6);
addLink(6,8);
addLink(8,9);
addLink(2,7);
addLink(7,9);
is it possible in C#
I AM WORKING ON "PLOTTER ROBOT"(FYP).
|
|
|
|
|
how to add a "Web UserControl" in Class Library project ?
when i select Add --> New Item ,
it don't have a Web UserControl item !
|
|
|
|
|
Add a new class. Inherit from System.Web.UI.UserControl. Make sure the project has a reference to the dll.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I need to consume a web servcie but when i try to access it through my code or through command prompt for generating proxy classes it gives me error
underlying connection was closed : unable to connect to remote server
If i send the same soaprequst to online webservice thorugh altove then i get the successful response back.
|
|
|
|
|
That normally means the host could not be found or the port could not be connected. Make sure you have the hostname and port correct.
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."
|
|
|
|
|
yeah i have checked that many times that hostname and port are correct but i am still unable to connect through code.
|
|
|
|
|
Weird indeed. Can you connect via Visual Studio?
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."
|
|
|
|
|
When I debug my C# program in vs2005, I always met the problem of first-chance exception:0xC0000005: Access Violation.
The problem occured when vs loaded the dlls.
If I run the exe outside the IDE, it's OK.
I doubt that an anti-virus software I installed yesterday caused the problem. Before the antivirus installed, everything was OK.
Please help.
|
|
|
|
|
|
Thanks.
But I cannot open that page.
|
|
|
|
|
first-chance exceptions are exceptions that have been caught and dealt with. No need to worry about it
BTW: that exception code is the same as NullReferenceException
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."
|
|
|
|
|
Thanks. I would not worry about it at all if the IDE ignored the problem and let me debug my program.
|
|
|
|
|
Your settings just might be wrong, I have fallen in a similar trap if I havent reset the settings for exceptions. Go to Debug, Exception, click 'Reset All'. Also make sure you dont have native debugging turned on, if you dont need it. Try it now
xacc.ide
The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."
|
|
|
|
|
Thanks. I unchecked the "debug unsafe code" and reset exception settings, then it's OK.
|
|
|
|
|
How can I save a word file directly to server? Means, I have open a existing word file using browser and and i need to save the file .
Any idea ???
Happy Programming
-----
Abhijit
|
|
|
|
|
search for this:"ASP.NET 2.0 FileUpload Server Control" for ur query. and try searching CP before u put in your query. a lot of things are already there on this magnificent site.
|
|
|
|
|
|
Firstly, I suggest you go away and learn how to be polite. Secondly his answer is perfectly reasonable for the question you supplied. If you put more detail in in the first place on what you wanted to do then prehaps his answer would have been more detailed!
Please learn to be polite.
|
|
|
|
|
First of all i am sorry , if i have use any non polite words in this discussion !!!!
But do you have the ans ??
Happy Programming
-----
Abhijit
|
|
|
|
|
Check out these options:
ROUTE ONE:
1) Downloads the file.
2) Make changes. Save it.
3) Upload the file.
ROUTE TWO:
1) Try using a Word Automation on server to provide editing and saving directly. Remember that there are known issues with Word being automated from ASP.NET. I have a review and an URL to appropriate KBs here: http://lavanyadeepak.blogspot.com/2007/03/office-automation-for-aspnet.html[^]
2)Try using third party office components like ASpose Word. I haven't tried them and hence can not comment on it.
ROUTE THREE:
Have you tried Html-Kit (http://www.chami.com/html-kit/[^])? It has a workspace feature of saving to FTP wherein the application 'Save' toolbar icon actually maps to an implicit FTP PUT. You may need to have a hook in your Microsoft Word to achieve this.
|
|
|
|
|
Hi Vasudevan,
Thanks for yor your help ! i will surely check it and let you know when done !!!
Thanks again
Happy Programming
-----
Abhijit
|
|
|
|