|
ICEFLOWER2 wrote: How Can I Save and Load Tree View Items with those childrens...
Please answer me quickly if possible
and leave vb.net code for it
You cannot hurry people who don't work for you. It's a Sunday, only had a single cup of coffee, and I don't have a stake in the outcome. If you're short on time, then you'll need to learn to manage your time more efficiently.
You won't receive code either; I'll be happy to answer questions and help with specific examples, but we're not a charity that's in the business of providing free code.
Now that's out of the way, on to your question. You save/load a tree one node at a time, question is where you'd save them. Let's assume a database, like Sql Server. You'd have a table in there, with a field that points to it's primary key.
CREATE TABLE SomeHierarchy(
MyKey BIGINT,
MyParent BIGINT
);
Any root-items would not have a reference to a parent.
..I suggest you search for some examples, there's probably a few on CodeProject
Bastard Programmer from Hell
|
|
|
|
|
I have seen samples for custom code editors (modified syntax highlighting, intellisense, etc.) and I have seen samples for custom visual editors (as UI for editing files when opening with visual studio).
But: How can someone build Visual Studio extensions which allow both; a split code/design as the built-in XAML editor offers?
Is that possible without creating my proprietary editor control from scratch as part of my view?
Any hints appreciated
PS: My goal would be some custom XML with an visual representation on top. Comparable to the XAML editor, but not for UI stuff.
|
|
|
|
|
Wrong forum, try here[^].
|
|
|
|
|
Thanks for the hint. Have searched for such a forum, but didn't find it... seems somehow lost in the list of all forums on bottom there.
|
|
|
|
|
What do you mean you didn't find it? All you had to do was click the link I gave you.
|
|
|
|
|
I think he meant before you gave him the link.
|
|
|
|
|
|
|
Hey!
I've created a new on screen keyboard to use as a replacement for the default windows keyboard "TabTip.exe".
How do I make it so my new app gets called whenever someone clicks the little keyboard icon that pops up beside a text field instead of "Tabtip.exe"?
Thanks!
|
|
|
|
|
Still looking and still haven't found anything. Anyone have any ideas?
|
|
|
|
|
If they did then I would expect they would have responded to you. However, I cannot see what your question has to do with the .NET Framework; maybe you need to reword it.
|
|
|
|
|
hi
i want to use PasswordDeriveBytes class in compact frame 3.5 but this class is unknown !
its platform is windows Ce 5
i want to use CryptDeriveKey method to drive key for 3DES algorithm
can you help me?
|
|
|
|
|
You can't use it. It's not implemented in the .NET Compact Framework 3.5, or any other version of the .NET CF for that matter.
I don't have an alternate method for you to use.
|
|
|
|
|
I posted this question in "Quick Answers", no replies so far, I hope I am having more luck on here...
I've re-developed a ActiveX control in C# (basically a drop-in replacement for a age-old VB6 control). Most things work, however, I need to implement property data binding for it.
In VB6, that was an easy thing to do, thanks to the dialog here: Binding a Control to a Data Source. Simply checking the first 3 options in "Data Binding" would do the trick, and COM-aware applications could bind data to the control.
A similar problem has surfaced already, it seems, with quite a complicated workaround:
You might have to reverse engineer some of the generated code to do this. Offhand, I would create the TLB file, and then use OLEVIEW to view
the IDL.
Then, I would copy and paste the IDL into a new file, and add the
bindable attribute to the idl in the appropriate places. Once that is done,
I would run that IDL file through MIDL, and create a type library. Once you
do that, you should be able to register that type library to create your
CCW's.
It seems there is no facility in .NET to add the [bindable] attribute to a COM class.
Please, any help with this would be greatly appreciated!
|
|
|
|
|
hi, i find a super trojan with source code(server + client work perfectly) at Here
|
|
|
|
|
Hi This is Chandrakanth,
My question is i was trying to deploy the application in to the server from Visual Studio 2010 using Web Setup, but unable to deploy the application.
I am using 3 tier architecture in my application. The web set up is copying only one bin folder in to the destination folder in the server. All files and folders are not able to copy.
Is there any thing i need to configure. Please suggest me whar are all the things i need to follow.
Thanks
Chandra
|
|
|
|
|
|
hi friends i m working on project in this project i want to use only 131 character on report
|
|
|
|
|
I think you need to explain more clearly what your problem is.
|
|
|
|
|
What kind of report you are asking for.. Crystal Report or any other Report Tool.
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
sallu_maddy wrote: only 131 character on report
Where-ever from you are getting data to display in your 'report', just limit the data as per your need before binding/passing the data to report. You can count, find length and then terminate the data at specified length to use.
|
|
|
|
|
Hi
I am fairly new to the .NET stuff and to do a simple thing like navigating pages seems like a real mission, If i had more time ( which I might need to make ) i would like to learn NavigateService to implement the paging between pages but i have come to another solution which I am not to sure is the best way but i might give it ago.
So the problem i am having is firstly i am a n00b and cant seem to get the navigation right. I can get it working with the <hyperlink> tag but that has to be used on a textblock which does not seem to allow me to then add a transition effect on the mouse click element. So what i am thinking of doing is creating all of the elements for the 6 pages on one .xaml window of 1024 by 768 . Then when a button is clicked a storyboard starts and moves the page to its next area. then based on the clicks on that page another storyboard occurs and moves the part i need the user to see into the frame window.
I am just not to sure if this is best practice and if later on i will have problems with this implementation. As it is I will have to make the window a fixed size without the ability to resize ( otherwise the storyboard transitions do not work properly ) but that is actually not a huge problem with this app
any help or suggestions would be cool.
|
|
|
|
|
I am new to WCF Development, suggest me the best published online articles, as I need to make it ASAP.
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
vvashishta wrote: suggest me the best published online articles
MSDN[^], click on the link that says "Beginners Guide".
Bastard Programmer from Hell
|
|
|
|
|
Why don't you have a look at on WCF tutorial[^]
If you've never failed... You've never lived...
|
|
|
|