Hello once again StackOverflow community!
I have a fairly simple questions but surprisingly I am unable to find this answer while using google for the past hour...
Question is: Can you create a Form inside a Class Library, or in other words can I have my DLL(Class Library) create a form programmatically?
I am working on a Updater for a application a few friends and I use and I constantly find myself making small changes and tweaks in the code the more we use it so it would be nice to be able to update it with less effort on my part.
Related
I'm converting a project which started life as a PHP application to a Windows Forms Application in VB.Net, and am not sure how to go about formatting my output. The original, of course, simply outputs in HTML, and I've thought of using a WebBrowser control, but is there a better/more standard/any other way to display formatted output?
I'm new to Visual Studio, and Windows application programming in general. I've done a fair amount of work with VBA, so I'm familiar with the basics of the language, but still trying to figure out a lot of things. I think my question is beyond asking how to display output in VB.NET, as I'm familiar with the various form controls, such as label and textbox, but I googled extensively before posting here, and could not find what I was looking for. VB tutorials I've found are along the lines of "A variable is...." which I don't need. This site, while pretty basic, does have some interesting stuff, and is where I came across the WebBrowser control, but I'm just wondering if that's the best or only way to do what I want.
This question already has answers here:
A New and Full Implementation of Generic Intellisense
(2 answers)
Closed 9 years ago.
I am making a simple application and I would like to perform an action that suggests code as you type, just like other programming languages do. Examples of where this has been used is within programming language software such as ... visual basic, Xcode, Small Basic, etc. My application would evolve around a RichTextBox and as you type, a box would appear below showing suggestion's of words. If you are still confused with my question see images below, showing examples from Visual Basic and Small Basic
Small Basic
Visual Basic
.
These drop down suggestion box can also be accessed with CTRL + SPACE
I know this is quite a complicated and longwinded question but any suggestions on how I can create this would be great.
I found a solution. However the project is programmed in c# instead of vb.net so I simply followed the instructions online you can find the solution here
I'm having a number of issues, and the current one is overcoming a security exception when using iTextSharp.
This article
http://www.junlu.com/list/27/763977.html
To which I was directed following this question I posted yesterday:
Displaying a bar code with iTextSharp using Chris Love's Barcode Handler (2 part)
Seems to be what is required to overcome my problem. But I have searched and searched and cannot find a definitive and simple answer to the question "How do I compile a DLL"
So, having made the suggested modification to iTextSharp, I need to make it into a single DLL.
I have absolutely no idea how to do this, despite an hour of Googling!
I'm using Visual Web Developer 2010 Express. Which according to my searches does not have any built in capability to do this. So... how do I?!
Do I NEED to download Visual Web Developer Pro? I can surely download the free trial and use that, but going forward, I don't especially want to have to download a pay-for program to do this as it's a rare occurrence for my needs.
Im intrested in finding out how i can add and extract cell values in open office calc using VB.net
dose anybody know any good refrences online to help me get started
The first think you need is the OpenOffice SDK. Here is that link: http://download.openoffice.org/other.html#tested-sdk
Now, most of the examples are written in JAVA and C++. However, there are several sites out there that have utilities or example code for porting to VB.NET. However, you should really learn about UNO with Open Office through this link here: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide.
Use the guide in tandem with any control or interface you use so that you have a clear understanding of what you are attempting to do. Here is an thread from another site that shows some example code: http://user.services.openoffice.org/en/forum/viewtopic.php?f=25&t=15504
I know this will be a difficult question, so I am not necessarily looking for a direct answer but maybe a tutorial or a point in the right direction.
What I am doing is programing a robot that will be controlled by a remote operator. We have a 3D rendering of the robot in SolidWorks. What I am looking to do is get the 3D file into VB (probably using DX9) and be able to manipulate it using code so that the remote operator will have a better idea of what the robot is doing. The operator will also have live video to look at, but that doesn't really matter for this question.
Any help would be greatly appreciated. Thanks!
Sounds like a tough idea to implement. Well, for VB you are stuck with MDX 1.1(Comes with DirectX SDK) or SlimDX (or other 3rd party Managed DirectX wrapper). The latest XNA (replacement for MDX 1.1/2.0b) is only available for C# coder. You can try some workaround but it's not recommended and you won't get much community support. These are the least you need to get your VB to display some 3d stuffs.
If you want to save some trouble, you could use ready made game engine to simplified you job. Try Ogre, and it's managed wrapper MOgre. It was one of the candidate for my project. But I ended up with SlimDX due to Ogre not supporting video very well. But since video is not your requirement, you can really consider it. Most sample would be in C# also, so you need to convert to VB.Net to use. It won't be hard.
Here comes the harder part, you need to export your model exported from SolidWorks to DirectX Format (*.x). I did a quick search in google and only found a few paid tools to do that. You might need to spend a bit on that or spend more time looking for free converter tools.
That's about it. If you have more question, post again. Good Luck
I'm not sure what the real question is but what I suspect that you are trying to do is to be able to manipulate a SW model of a robot with some sort of a manual input. Assuming that this is the correct question, there are two aspects that need to be dwelt with:
1) The Solidworks module: Once the model of the robot is working properly in SW, a program can be written in VB.Net that can manipulate the positional mates for each of the joints. Also using VB, a window can be programmed with slide bars etc. that will allow the operator to be able to "remotely" control the robot. Once this is done, there is a great opportunity to setup a table that could store the sequencial steps. When completed, the VB program could be further developed to allow the robot to "cycle" through a sequence of moves. If any obstacles are also added to the model, this would be a great tool for collission detection and training off line.
2) If the question also includes the incorporation of a physical operator pendent there are a number of potential solutions for this. It would be hoped that the robot software would provide a VB library for communicating and commanding the Robot programatically. If this is the case, then the VB code could then be developed with a "run" mode where the SW robot is controlled by the operator pendent, instead of the controls in the VB window, (as mentioned above). This would then allow the opertor to work "offline" with a virtual robot.
Hope this helps.