Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How to create org charts in vb.net?
Draw your own, using boxes and lines in the graphics paint method?
If you have Visio, then you could use Automation to create an org chart in Visio.
Get a copy of Microsoft Office and fire up Visio. Drag and drop to your heart's content. Why reinvent the wheel?
You could look at our component mentioned in the link above :
demos # http://www.orgchartcomponent.com/demo.aspx and download the samples from else where on the site!
The easiest way is to use the TreeView control.
It has several limitations for writing an org chart (no way to do double reporting or matrix
organizations), but if the org you want to represent is hierarchical, it is OK.
It does not require any type of extension like Visio or creating your own graphics: this is the main reason for which I used it in my application.
Draw appropriate icons to represente the various level of organization and do extensive use of tooltips to make it more usable. It can be easily put in a SQL DB.
Main source for information with several good examples:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview(v=VS.100).aspx
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have two question for labview users. I'm quite new to this language, I would like to know if design like in the picture attached (extensive use of disable diagram structure) are:
a good practice to separate part of code (I like the structure input/computation/output)
does not imply extra computation time
labview disable structure
Thanks in advance!
PS: sorry I had to hide some code not my will...(licensed)
No, the code is compiled and disable structures are ignored. But the best practise is to use subVIs (with proper connector pane and icon) to structure input/computation/output.
Everything that is connected to the left of your subVI connector pane is input.
What you have in subVI is computation.
Everything that is connected to the right of your subVI connector pane is output.
Please have a look below:
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I regularly process shipping labels that come from the shipping company as PDFs. Before printing them, we add to each one:
a white vector box to block out part of the label
an image of our logo in a different spot
These additions are always in exactly the same spot on the page.
I would love to be able to script this in some way. I'm pretty flexible with options -- I have an iMac, a Windows 7 machine and a Ubuntu server in the house.
Any suggestions?
I would say you have plenty of options here.
There are a lot of PDF libraries out there and many of them can read existing PDFs. If you are fine with commercial libraries and are willing to use .NET stack for the task then I can recommend you Docotic.Pdf library.
Here are samples:
How to draw geometrical shapes
how to use images in your PDF documents
Disclaimer: I work for the vendor of the library.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'd like to try and create a program playing a game. I.e. "a bot".
I want to be able to directly access the pixels on the screen. I.e. have my program "see" a game and then "make a move"(or at least draw a picture of what move it would make).
Both Windows and Linux advice is appreciated, though my guess is that it should be easier to do on Linux.
I'm guessing this could be done with some X/Gnome call?
I'm not afraid of C, even complex samples are welcome.
SDL is a cross-platform library that allows you to directly access framebuffer pixels. You can learn about accessing the pixels on screen through the pixel access example on the documentation wiki.
Generally speaking, bots don't see the game graphics but see the underlying data structure instead, unless you are trying to do something related to computer vision.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In SAP,
can we have a push button on custom container in ALV. Is it possible or is there any other possibilities for that.? Pls help me...
Thanks in advance
Well, I would rather use custom containers for things like tableviews. If you are working with the standard Dynpros you can just add a button in the dynpro designer and implement the behaviour you would like. To give a more detailled answer, I would need to know what you are planning to do. Of course you can also create a ALV grid and modify the buttons which are displayed there. Maybe you elaborate a little bit more what you're planning to do and then I can give you a recommendation.
Yes, this is possible - check out class CL_GUI_TOOLBAR and the associated documentation (like http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCCITOOLBAR/BCCITOOLBAR.pdf) and sample programs. AFAIR there's a demo program that lets you assemble a toolbar dynamically, I just don't remember the name. You'll usually want to insert some kind of splitter first, then add the toolbar to one side of the container so that you can place other elements like trees or tables next to it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
The question says it all really.
What are the differences between these two methods that appear to carry out exactly the same function?
Is there guidance to say which should be used or are there conditions when you may use either?
The FileSystem.MoveFile has some more options than File.Move, like for example optionally showing a progress dialog, and creating the destination folder if it doesn't exist.
If you just want to move or rename a file, the File.Move method will be called in the end whichever you use, so calling it directly means slightly less overhead.
I believe they have near-identical functionality. Most people I've seen would prefer to use the latter, because "MyComputer." is a VB.NET-only construct, whereas File.Move is used in both C# and VB.NET. This makes it easier to get help, and easier for C# coders to read the VB.NET code and vice-versa.
I haven't checked My.Computer.FileSystem.MoveFile, but you can state if they are differences moving html files with associated images directories., because File.Move just move the file, but doesn't move the associated directory