Importing An Existing Form
Apr 22, 2010I have 2 projects. The first project has a form called Form1 in it and I want to import this form into Project 2 and have it fully working without any problems.
View 2 RepliesI have 2 projects. The first project has a form called Form1 in it and I want to import this form into Project 2 and have it fully working without any problems.
View 2 RepliesHow do I go about importing existing Crystal Reports to a new VS2008 project?
View 1 Repliesimporting form contents (controls) to ms word in vb.net???
View 8 RepliesThe issue I have is being able to import a batch file (text file) into a vb form. I have test data for a system in this text file that needs importing into a textbox on a form. I have a button named importbutton that when pressed, will import this file into the text area, that contains over 30 rows worth of data. (Data being single sentences related to IT issues).
View 3 Repliesdoes any one know if this is possible and if so , how? importing a excel graph and viewing it on a vb form? sample code would be very nice
View 1 RepliesWhen I import a class to a form and use it I get this error:
An error occurred creating the form. Additional information is found in Exception.InnerException. Error: The document refers to itself of the default instance created during the formation of infinite recursion. Set a reference to the form constructor using the form attribute of Me.
The code is...
Imports TCP.SystemBuild
Public Class MainForm
Dim SystemBuild As New SystemBuild
i am putting this article in the right section. Actually i need a way to import all the controls i have in my html file on the vb.net application windows form.Basically i want a way to have a replica of my html page on to the vb.net windows form.in finding a way to read the content of the html file as we read the content of the xml file in vb.net.
View 1 RepliesI am working on the following scenario: I got an existing VB.net application. Now I have to add a login mechanism to it. What I want to do is, add another form to my project and show it before the 'real' form of the program is displayed, so that it can handle the login procedure.
View 3 RepliesHow can I add a new form to my project that is based on an existing form in the same project?
I want to add a new form to my project with the same control layout as an existing form in my project, and then just change the label text and so on.
I tried to just copy and paste, then rename the pasted .vb file, but get an error when I try to open it for modification.
How do I dynamically create a form from within an existing form.i.e. when a user clicks on a button on an existing form that I have, another form is dynamically created and shown modally for the user to enter specific data or as a dialog box to advise the user of a specific result.
View 2 Repliesim trying to add a "rating" system to an existing form (i.e 1 star, 2 Star or poor, average, good,excellent etc).Does anyone know of a way to achieve this that is aesthetically pleasing with good UX either in .Net or a free 3rd party control?
View 4 RepliesI have a form already created, but now want to expand the application.I created a MDIParent, but cant seem to find how to change the existing form to an MDI child.
View 3 RepliesI'm building a code editor app in VB.NET (Framework 4.0) and it opens all ".por" files into individual forms consisting of a MenuBar and TextBox (multi-line).Currently I have 20 forms (all duplicates of the first on I designed) and if there are say 4 ".por" files in a directory, the first four will open up while the others hide.
I think it would be far more efficient by coding a new form For each item in form1's ListView...but I want the next so many to be a copy of the first form I designed since I spent a good bit on it.
Using the new Visual Basic 2005 Express Edition Beta.Created a project, form, controls, etc. Worked great. Love it, compiled perfectly.Saved everything, closed the program, went to bed. Woke up, opened the project, but now CAN NOT open the form (form1.vb) in Designer mode!! I can open the code, it's all there, exactly as I left it, but cannot get back to the designer mode to (easily) add more controls to it!F7 just opens the code, right-click just gives me code option, not designer option.This is amazingly frustrating..
View 1 RepliesHow can I add a form from one project into a new project, I dont want all the code just the form layout.My form has alot of textboxes and labels and I dont want to have to recreate it. I see the insert from existing item but not sure how to get just design and layout?I am going from 2005 to 2008 express if that makes a difference
View 1 Repliesi am trying to add an existing form to my project to reuse. From solution explorer Add>>Add Existing Item i select [filename].vb. But i can only see the codes not the dialog items.
View 2 RepliesI need to make a program in vb that takes a 1 page existing pdf that i specify and inserts that into another existing pdf that i specify.
View 4 RepliesI have successfully created a new excel with the code
[xlApp = New Excel.ApplicationClass]
and can transfer and manipulate data from my VB2008 form back and forth with the spreadsheet One time only each time I try and add additional data it wants to open a new workbook with the same name but cant seem to get it to just add the additional info.
I have an MDI parent(MDIParent1) form with a child form(frmMain).The child form got a Tabcontrol(TabControl1) in it.I am trying to load other forms(say form1) in my application to this tabcontrol as tabpages. I use the following code for that
[Code]...
How do I get an existing form to show up as a MDIChildForm?
View 3 RepliesI am creating a program for an existing database that stores the info into the database. So can I link an already existing database in MS Access to a GUI?
View 2 RepliesI want to use automated testing using autoit for my existing windows form based application. Currently looking at the autoit documentation I couldnt figure out how to start a existing windows application in vb.net and then use it for further automation.
View 3 Replieshere is a copy of my current code. Am trying to open an existing Excel spreadsheet then retrieve the old balance data refigure the new balance and store new data into the spreadsheet. Am I on the right tracK, or way out in left field?
Private
oWB.SaveAs(
"Checkbook.xlsx") Nothing
oWB.Close()
[Code].....
I have a Visual Basic .Net form (launches after the splash screen tests database connectivity) and it is not focusing above other existing windows on launch. How do I get it to focus above all existing windows and Windows Explorer windows?
View 1 RepliesI am having two tables with a similar structure. I want a code to select data from one table and update the same in second table and then delete the records in the first table.
View 6 RepliesHow to add an existing form of old project to a new project? Which extension type files to be added to work that existing form correctly?
I actually need frmContacts.vb (because a lot of textboxes and other controls are there) which I have added. Since it doesn't show any existing controls on form, I added other following files as well.
1) frmContacts.vb
2) frmContacts.Designer.vb
3) frmContacts.Designer.vb
How to add an existing form of old project to a new project? Which extension type files to be added to work that existing form correctly?
I actually need frmContacts.vb(because a lot of textboxes and other controls are there) which I have added now to my New Project. Since it doesn't show any existing controls on form, I added other following files as well. Though there is no use.
1) frmContacts.vb
2) frmContacts.Designer.vb
3) frmContacts.Designer.vb
for example i have a.exe and b.exe ( the a.exe is an vbApp, and b.exe is an executable file ), now.. it is possible to include the b.exe into a.exe and then running it from a.exe, for example importing the b.exe into vbProject and then running it without extracting it.
View 1 RepliesI have a form that allows a user to import a spreadsheet. This spreadsheet is generally static when it comes to column headers, but now the users want to be able to include an optional column (called Notes). My code crashes when I try to read the column from the spreadsheet if it doesn't exist.
Dim objCommand As New OleDbCommand()
objCommand = ExcelConnection() 'function that opens spreadsheet and returns objCommand
Dim reader As OleDbDataReader
[code].....
I have created a web service in a virtual directory using VS 2008. I have tested the service by going to the .asmx page and everything is working fine. So I selected the "Add web reference" option under the solution and typed in the .asmx URL. It found the web service successfully and added the reference to the project. However, when I try to import the service namespace using the same name as the directory under the "App_WebReferences" folder, it doesn't recognize the name and gives me an error if I try to import it. Have I missed any steps in the process?
View 2 Replies