Code To Create KML / KMZ Text?
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
ADVERTISEMENT
Dec 18, 2009
I have 81 text boxes on a form and would like to create a text array in code that will equate to these boxes on the form. Once I've assigned each text box from the form to the array entry, I'd just like to work with the array - then have the actual text boxes on the form reflect the changes made to the array.
View 4 Replies
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
Jan 18, 2012
I had a weird series of errors involving e.Graphics.DrawString() when painting a panel.I am using a barcode font [Code 128] with a library that converts text to the proper format for Barcode readers.That's fine, however, when I draw it to the panel, that's where things stop being fine:But, here's where things get funky. When I put it into a TextBox instead of drawing it via Graphics.DrawString(), everything is peachy:In fact, the TextBox one looks much better than the Graphics.DrawString() one! Am I doing something wrong?[code]
View 2 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
May 20, 2012
How can I change my code # to Code & in All the text files within a folder
View 10 Replies
Feb 19, 2011
I'm making a custom control that needs to look like a Text Box but I can't Inherit Directly from text box since I need to add, Change and Override so many things that it would be more practical to just inherit Control and start new.
But now my question is: Is there an easy way to create the basic functionality of a Text Box like drawing the Text Box and handling input ?
View 2 Replies
Sep 21, 2010
I came to a company that already has a fully grown project... but coders that worked here before me didn't follow conventions and didn't use parametrized SQL queries... as a result there is over 1000 places in a very huge project that can possibly be vulnerable to SQL injection...
I need to find a solution that will automatically detect if there is an SQL injection in the code. So, for example there is a form which allows user to enter comments regarding a product, which will be sent to database on submit... how can we make sure that a user didn't enter a harmfull query instead of a normal text?
Is there any advanced code/regular expression/magic that can detect if this text contains a piece of SQL query instead of normal harmless text? I will accept any links, pieces of code in any language or even commercial software that will do that for me.
View 5 Replies
Oct 7, 2011
I'm trying to enter code into a button to save a text file from a text box.The text box is called txtEditor, I have created an open file button using the openFileDialog1 and have been successful with this I just can't get the saveFileDialog1 to work.
View 3 Replies
Nov 15, 2010
what is the code for sending IP via textbox1.text and button1.text
View 9 Replies
Sep 29, 2011
I have a TextBox and I want to allow VB syntax, but when I run the site and try to save the VB code to the database, I am getting an error. I believe the error has something to do with the VB code.I have put the httpRuntime requestValidationMode="2.0" setting in my web.config, and I've added validateRequest="false" in the directive at the top of the page, but it didn't resolve the issue.
View 1 Replies
Jul 18, 2011
Can i get text from a textbox and use that text for the second forms code?
View 1 Replies
Dec 24, 2009
I'm making a simple decoder. Type a message in the "message" text box and it spits out a code in the "code" text box. If you pop a code into the "code" text box it spits out the message in the "message" text box. Seems simple, right? Well here's my problem. I typed "The quick brown fox jumped over the lazy dog" to test it and it will put a lowercase "f" at the beginning, put letters that aren't supposed to be in there in there, and replace what should be upper case letters with lower case. I commented out the code for replacing symbols because it seemed to work fine before I put them in the code but still the same result. I checked over the code to see if I mixed stuff up. Like I accidentally put the replacement for a lower case "e" as the replacement for a lower case "h" but I can't find anything.
CODE:
View 8 Replies
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
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