Possible To Create A Gui From Code?
May 6, 2012
im designing an xbox 360 indie game and have a question. Is it possible for Visual Basic to create a gui from the code? Because i noticed that all my gui development at this point has been programming a windows form object.
View 3 Replies
ADVERTISEMENT
Feb 11, 2010
I have created reports that print on my printer via Visual Studio 2008/VB 2008 Basic code. I want to be able to send these reports to other people via emai. I don't care how its done, but it seems that if I could get the report into Word 2007 the problem would be solved. What are your suggestions to accomplish my objective.Terry 01
View 1 Replies
Jun 22, 2010
how to write a code in vb2005 to create an sql database
View 2 Replies
Feb 23, 2012
I'm using vb.net, and I can't figure out how to code a picturebox that I create in the code.
View 2 Replies
Dec 29, 2010
If I have a large number of classes, each similar to the other in certain aspects (they all share a common base class, but each does things differently), and I need to create Windows forms for each to allow easy changing of their values through a GUI? Create one matching form for each object in VS' forms designer, Or Use code to create the forms dynamically at runtime.
#2 makes the most sense to me, because a lot of these objects will share very common features of the form, notably "Ok" and "Cancel" buttons. But one object might need to draw a textbox on the form while another might need to draw a combobox. Not to mention, if I want to put icons on the "Ok" and "Cancel" buttons, I'd have to do this for each copy of the form in designer, and that sounds like it could get out of hand quickly.But is drawing forms through code sane? VS' forms designer is pretty sophisticated and designed to make life easier. Am I wise to consider ignoring its functionality and diving into the trench warfare of forms design through code? Or are there examples of automating form creation based on an existing object's properties?
View 1 Replies
Mar 30, 2006
I am looking for some code which will convert some geographical information entered into text boxes on a standard form, (probably linked to a database for both storage and retrieval of the data),which will then at the push of a button generate a text file in KML/KMZ format for use on google earth.[code]...
View 2 Replies
Aug 26, 2011
I want to split this up into 3 side by side tables but have been unsuccessful in any of my attempts. Currently it prints one large table. The reader.Read is performing a really simple query that pulls a few names from a table.
Dim htmlString As String = "<table>"
While reader.Read()
htmlString = htmlString + "<tr><td>" + reader(1) + " " + reader(4) + "</td></tr>"
End While
[code].....
View 6 Replies
Mar 13, 2012
I know you can do this:
Imports System.IO Then File.Create("C:app.exe")
But how would I make it so that it saves the application as a certain file, as if it were saving a game.
View 8 Replies
Jun 21, 2010
I have an assign ment that says: create an application to let the user enter his or her name (first and last name), then displays the Initial in Upper Case. FOr example: you enter "John Wow", then the Label will display "JW". I know that I'm supposed to use the Substring method. But to use the Substring, I have to have the exact location of the Leter that is going to be displayed in the Label.The problem is: the name that the user enters always vary. So in strnewstring.Substring(... , ...) ---> the number in the parenthesis would vary, too. Thus, I cannot put a number in there.So how can i create a code for this particular assignment.
View 4 Replies
Feb 19, 2012
Would this be the way to create a new form through code?
Dim f As New Form()
f.Size = New Size(300, 300)
f.BackColor = Color.White
[code].....
View 4 Replies
Dec 27, 2010
I remember that C# editor has a powerful option that when we are developing in code and type a new method (operation) name for a class, we can create its body by clicking on ALT+Shift+F10 and immediately, it will be created for it's own class.
what about in VB.NET 2008 editor?
View 1 Replies
Mar 22, 2010
I want to know if I can create a WebBrowser through code in Vb.NET, instead of dragging a webbrowser into the form.
View 2 Replies
Sep 6, 2010
I am trying to make a program that includes checkboxes that the user may make himself.I want to create a new checkbox whenever I press Button1, and i want the text of that checkbox to be the text I have in Textbox1.
Trying to make it so I can type "Hello" in textbox1 and then press Button1 and it will then show a new checkbox on my form in a given location that i put.
View 1 Replies
Jun 2, 2010
I'm new to create code about bluk sms and I want to help by send me the links of tutorials or code that I can use it to make the project.
View 4 Replies
Sep 20, 2011
I need to create a FileUpload control from the code behind page. I have this function:[code]However, even though I successfully use a similar technique for other form controls, my FormUpload doesn't get rendered to the page.I'm writing the returned FileUpload to a DIV on the page outside of my function.Update: It's sorted. Seemed to be a problem with Visual Studio. Closing it, relaunching and then rebuilding the website sorted it.
View 1 Replies
May 26, 2009
I want to make pictureboxes move from the top of the screen to the bottom of the screen (easy) when they reach the bottom I want them to cease to exist (do-able). But i want to create new ones that keep coming from the top. create an endless amount of pictureboxes while running the program?
View 5 Replies
Oct 30, 2011
I've created a bunch of Textboxes using this [code]...
View 7 Replies
Oct 3, 2010
during runtime in my application, i added items in my menu bar from a database (.mdb).. but now, i cant figure out how to create the code when they will be clicked. im sorry for the bother, and thnx to those who may fix my problem..
[Code]...
View 4 Replies
Sep 4, 2009
I have a project where the requirements is that a end user will select a template, enter some information and then my program should create a wmv movie file that has the information entered encoded in the movie.[code]...
View 1 Replies
Jan 27, 2011
At work, we need to keep track of our new clients and until now we haven't had a good way of keeping track of them. I am creating a program so that we can just enter in the client information and have it save it to a file that can later be printed. I don't know how to save the information from the text boxes as a new file. Below is a picture of the window that will do this.
When the "Add Client" button is clicked, i would like it to add that information to a file so that we have a complete list of all our clients. What code do i need to use to have it save that information where I want it?
View 6 Replies
May 15, 2011
I have the following POCO:
Public Class T1
<Required()>
<MaxLength(128)>
<Key(), Column(Order:=0)>
Property K1 As String
[Code]...
I would expect C2 to be created as Nullable, but both C1 and C2 are Not Null. Adding
<Required(AllowEmptyStrings:=True)>
Does not make a difference, as it seems the decoration is aimed at data validation, not DB creation.
So how do i get a nullable column with Code First?
View 1 Replies
May 18, 2010
I am looking for some information about creating a XML file.
It seems that there are several ways to do that. And I am a little bit confused.
Please help me with
1) Creating/Saving a file
2) Namespaces which will be used
3) Reading/Processing a XML file
4) Creating a node, etc
5) Record data to a XML file
View 7 Replies
May 27, 2011
I have a MustInherit class with some MustOveride Methods in it. When i inherit form that class, I automatically get the MustOveride Methods or properties. My question is, I want to be able, to inherit from a class, get my MustOveride functions and methods, but then with some code already in it. I've once seen a .net class that did it, when I inherited from that class, I got the methods, with some comments in it.
View 4 Replies
Mar 18, 2012
To me the answer to this question will be stupidly simple, but I cannot find it. I want to generate child forms to do simple tasks from my main form. I want to be able to create and destroy these child forms as I use the main form. I decided to create a class of the child form, with its own constructors and destructor. When I tried to do this using the Class Library Module, I could not access the Windows.Forms class to create a form.
View 4 Replies
May 22, 2011
I would like to create a folder with code and put it in any directory I wish. What is the code?
View 1 Replies
Jun 2, 2010
I want a PC to operate as a mini HTTP web server that can receive requests from local (WIFI) devices. I know how to resolve the addresses so that the URL of the PC will be known on the WIFI network, but I'm not sure how to get the PC to act as a HTTP server.
View 12 Replies
Oct 29, 2010
I have 30 objects that all need modifiying in the same way. The name of the objects are all the same except for the number increment. e.g.
textbox1, textbox2, text box3, etc
Is there a way I can increment the number using a varible, so that I can avoid repeating the same line 30 times? For example[code]...
View 5 Replies
Apr 28, 2010
Is there any way to create a new setting from source code instead of having to create the setting first and editing it later?
View 5 Replies
Dec 27, 2010
I want a hit or a Source Code or any Reference using that i can easily create a pie chart.
View 1 Replies
Apr 19, 2011
how to do this off hand? I saw a few things for Microsoft.Win32 having some classes but I can't find the reference for it in 2010, which makes me think it is depreciated.
Edit: Can't find Microsoft.Win32.TaskScheduler or Microsoft.Win32.Win32_ScheduledJob which are the 2 I see suggested to use.
View 1 Replies