Insert Shape Program Code?
Sep 16, 2011
I am looking for some simple help, excel has this command built in but I am trying to recreate it within a Windows form application. One of the shapes available in excel is a process flowchart square......I would like to create an interface for users to be able to insert a flow chart by drawing some basic shapes. what is the VB code to activate the insert shape command but not actually draw the shape, just allow the user to draw it. I know this may not make sense but if I need to try and describe it again let me know.
View 1 Replies
ADVERTISEMENT
May 14, 2012
i want to create a listbox in which a user introduces a name (Ex Item1) I also want to user to insert a comment in the shape of a string ( Ex. Item1 was added yesterday) and link it somehow to his Item1.
Once the program starts the user should be able to insert an item in the listbox with a comment; and once he selects the item i want a MsgBox appearing with the comment of the specific Item, that he also inserted.
Think something like a book library using a listbox.You go and browse books in a listbox and once you click on them they display on the right the cover of the book, the authors, date, ratings etc.I just need to know how to link a ListBoxItem to do something, and i want the Library administrator to do it in runtime.The MsgBox example should do it for me.
View 1 Replies
Feb 23, 2012
I have two tables and the form contains a text box so I need to add rows of Table 1 to Table 2 and taking the value in the text box for each row is added to Table 2.[code]...
View 9 Replies
Apr 12, 2012
I have a flash clock html code and i would like to insert it to my form to be able to show that clock on it
View 1 Replies
Mar 23, 2011
I am using Rack-mounted Equipment (US units).VSS as stencil. I need to Connect a server on Rack.
View 1 Replies
Jun 30, 2011
Using arrow keys to move a shape also changes the value of trackbars elsewhere in the program?
View 7 Replies
Feb 23, 2010
There has been an Visual Studio addin created by Heslacher based on code by JohnWein which allows one to copy code in Visual Studio and paste it as HTML code block here in the forums.urls...
View 10 Replies
Apr 14, 2011
The program allows users to insert Documents along with a bunch of their attributes into the program. The documents are stored in a relational database. One of the required functionalities is allowing the user to look for such documents. The User normally search directly for the obvious attributes of the document, like a unique ID, or it's Title. The problem is that from the search parameters is not allways known which ones will the user fill. For example the user inserts the name and version of the deocument, another time the user enters part of the Title and the person that delivered the document, or might just enter the document number and nothing else. Some of the data might even be incomplete, like title, name of the person who created the document and so on. The idea from the person who designed the system (I'm only reimplementing it) was to allow easier searches for the user, and allowing the user to search for more parameters tod with the idea that "the more parameters, the more specific results", since the results are always group of documents instead of single documents.
View 14 Replies
Feb 3, 2012
When a user completes a form, s/he can complete up to 5 records at a time.
If the the user completes 1 record, the ID increments by 1.
However, when a user completes more than 1 record, we would expect the ID to increment by as many records as the user completed.[code]..
View 3 Replies
Mar 26, 2009
[code]...
created table using microsoft sql database fileinto
View 2 Replies
Dec 23, 2011
I have already my code for generating primes in visual basic. net. Now I need to include inside my prime loop a TWIN PRIME loop which generates adjacent pairs of odd prime numbers.
An example would be [17,19] , [29,31].. ect. I am not sure how to write the code or where to insert it? I know that I have to have a 2 valued state variable SW.[code...]
View 3 Replies
Mar 15, 2012
is there any way i can do this? As normally you can use a BB code on the post. But when using POST string it says error. i'm not sure if its because of the characters in the URL which are giving it an error but i've added in front of " etc [URL ="http://url"]LINK[/URL] is the BB Code, how can i make this work please? as i'm currently using this in a text box then postings it.
ive tryed
[URL =""http://url""]LINK[/URL]
[URL ="http://url"]LINK[/URL]
*Had to add space before "="
View 5 Replies
Feb 4, 2012
how to insert the VB code in the thread exactly like how it appears originally?
View 2 Replies
Feb 23, 2012
I have two tables and the form contains a text box so I need to add rows of Table 1 to Table 2 and taking the value in the text box for each row is added to Table 2.i have insert syntax but it is need to modification:
INSERT INTO table2(column3,column4)
SELECT column1 + @parameter FROM table1 WHERE column2=true
table1: column1 column2
[code]....
View 5 Replies
Mar 14, 2011
i have one project (let's call it project1) that is going to add properties to another project's class. The thing is I wanted to make it automatically. So in my project there are two lines of code which I want to add at the bottom of the class.vb or class.cs in a project called project2. Is it possible? If so, how?It is a data access builder software which after adding some new columns to our database we use it to generate its properties and its parameter to be added in BLL. Since we do it often (changing our database structure) I did not wanted to copy data from data access builder software and add it to project2 manually.
View 3 Replies
Mar 30, 2009
I have a simple Entity Framework. For simplicity's sake I will transform the entity names to Northwind Like.I have a IEnumerable Of Customer and Item Objects
View 1 Replies
Feb 12, 2010
I'm just a beginner at VB.NET...I want to be able to insert a combobox control onto my form through code but I'm not sure how. Google doesn't seem to answer.
Something along the lines of (I have no idea)
Me.AddControl("Combobox")
I would obviously then need to set the properties to setup the position/size etc.
View 1 Replies
Nov 18, 2009
I have a database in sql server 2005 named as Addressbook and table Persons with PersonID as PK.I have created 4 textbox on form for FirstName, LastName, Address, CityID and an ADD button. When I input data to text boxes and press F5 then it show some error message. I hv tried eerything but failed.My code is as following and error messae is (The SqlParameterCollection only accepts non-null SqlParameter type objects, not Boolean objects.)[code]
View 1 Replies
Jul 28, 2010
I want to ask how to make 1 button when they click on it to load the file "start.bat" or how to insert the code from the (.bat) file
ucp.exe + save
Couse i want to make Launcher for the game but the game cannot be run from ucp.exe, couse the game is old version so i need to make it thoud this code from .bat file. And if the file is missing "ucp.exe" to show error that is missing And if the file is missing "start.bat" to show error that is missing (if only that it cannot include the code from the bad inside the program)
View 10 Replies
Jun 5, 2011
code to insert a row to a table in database in visual basic 2010?
View 1 Replies
Dec 3, 2010
i use Ms Access 2010 DB as Backend and Programing using VB.NET COdeNarmada
View 1 Replies
Mar 14, 2011
I am creating a VB.NET (2005) GUI that uses several controls embedded into tab pages.When VB.NET autocompiles (if I switch windows) it adds lines of code to the .Designer file that causes errors:Windows' is not a member of 'System.Windows.Forms.TabPage'.is generated for:
Me.tbRxMinValidBits.TextAlign =
System.Windows.Forms.HorizontalAlignment.Right
The underlined part is what .NET is showing as the error.
[code].....
View 4 Replies
Oct 31, 2010
Is it safe to place the code of INSERT Sql command inside my While End While
[code]...
View 1 Replies
Feb 14, 2011
I have a program that runs the checked items from a ListView control. These items are self-extracting ZIP .EXE files. Unfortunately, I want them encrypted, and it doesn't seem like WinZip lets you pass the password as a parameter. This means, the user has to input the password (they're all the same for all the .EXE files) over and over again.
Try
If Not String.IsNullOrEmpty(TextBox1.Text) Then
If Directory.Exists(TextBox1.Text) Then
[Code]....
I've seen some stuff about using Windows APIs but that seems like it could cause some problems since these are external programs not owned by my program.
View 2 Replies
Sep 26, 2009
I start learning Adobe Flash CS3 and i wonder is there a way that i can insert flash in form and make it more cool ?
If vb can read flash then may question will be how to make it after the flast ends to open next form?
View 2 Replies
Mar 18, 2011
I want to insert two values into two tables of a sql database which i had created. In my vb.net code my problem is if i insert it get insterted but only in one table else sometimes it's not getting inside.[code]...
View 2 Replies
Oct 1, 2009
I am trying to make a program that inserts text into another application. I want the user to be allowed to choose which application they want to put the text into Word, Notepad, WordPad, Firefox, IE, Anything. How do I do this? The user is obviously going to have to input something about the application but what do I need?
View 2 Replies
Oct 20, 2010
ok, trying to put an INSERT query into my program, but not sure the exact sytax, i know the query itself, but not the rest of the code to get it working.
View 2 Replies
Oct 24, 2011
I am trying to export some data from a SQL Express table to Access using VB.net. The data is correctly displayed in SQL as, for example, temperature with the small degree object and the letters F or C for Farenhiet or Celsius. The character is of course represented by ° = "°" in html code, which is what appears in my access tables.
How can I get the insert statements to correctly pass this symbol? I have thousands of records and this applies to maybe a hundred or so in each of a few hundred DB's I am running this conversion on.I read the data from a Gridview an .aspx .net web page and then use an insert query with an Access OLEDB connection.
[Code]...
View 1 Replies
Feb 12, 2011
I want to know the accurate coding for inserting value from textbox to Access table . e.g : Student type in their name to textbox , when the add button is clicked, the name will be stored to the Microsoft Access table that has been created
Due to too many code version I have been research on web( youtube, google, forum, blog etc) I getting confused of different code from different programmer, can anyone let me know the exactly working coding?
View 3 Replies