Open File Through Tree View In Visual Basic?
Nov 23, 2011I had a tree view in visual basic with many root and child.
I want to direct open file like xlsx, aspx even a folder each time i click at the selected node.
I had a tree view in visual basic with many root and child.
I want to direct open file like xlsx, aspx even a folder each time i click at the selected node.
I'm using VB Express 2008 and I would like to open an excel file and save it with different name file. For example, I would like to open a file in
C: est.xls
And then I want to save them with different file name such as
C: ry.xls
when the user clicks on the add button another form launches, which enables the user to add student info such as name, address, course, start date and end date, this information is then written to class when the ok button on that form is clicked, and then displays the data on the initial form in data grid. the user can add multiple entries and they are all displayed on the intial form and a the data grid is populatedwhen any of the rows in the displayed grid is selected, and the update button is clicked then the same form launches as the previous one and but this time its in the update mode and pre populates the form with the inital values.
View 3 RepliesWhether I am using VB 2008 Express or VS 2010 Beta 1 Visual Basic, I get the same error: "Debugging information for 'EXCEL.EXE" cannot be found or does not match. Cannot find or open the PDB file" I have filled in the Debug Tab information: Start external program: C:Program FilesMicrosoft OfficeOffice12Excel.exe
[Code]....
I am creating a Twitter desktop application but I am having some problem/url..."I don't know much about developing with MS Visual Basic in this way, but if it has access to some kind of embedded web view you could make use of that in some way theoretically. Even better would be if your application can register a URI scheme on the system. "So I am asking if there is an embedded web view available in MS Visual Basic.
View 1 RepliesI have mdi application, on main form which is mdi container and has a tree view. i open the child form on afterselect even of treeview. the issue i'm facing that i open the form but focus remain on tree view until i click on the the form. my question is how i can give focus to form rather it stays on treeview. i tried frm.focus also activatemdichild(frm) no sucess.
View 21 RepliesI have a Data Grid View pulling in rows of data from an Access Database. I would like to code it so that when a user double clicks on a row, a window opens with that particular row being opened.
In addition, I would like to code a button so that it does the same, that is open a window with the selected row data.
How can I get the selected row ID or other data in VB?
EDIT: Forgot to mention this is a DataGridView.
How would I open a program within Visual Basic 2010? (Like running "Application.txt" from "C:" within a Visual Basic project.
Public Class getfrom
Dim getfrom As String
Dim saveto As String
Dim download As Boolean
[code]....
i have create software using visual basic 2008 now i am stuck with several matter
i need a code that can open multiple URL in one time... when i click the button.. the URL also i can easily add or deleted it
How do I run files/application with standard editor/viewer?
View 1 Repliesthe VB .net experts. I added the following code and I get an error as shown below.
[CODE]....
I have a appliction developed on Visual studio 2003, .Net Frame work 1.1.After I migarted that application to Visual studio 2008, .Net Frame work 3.5, Visual Studio is crashed as opening some Visual basic designer files by Visual Basic Form Editor.The below is detail error message of Visual studio:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe[code]......
How do i open an VBS project in Visual Basic Express Edition?
View 1 RepliesHow can I open a Visual Basic application that I created in 2002? I downloaded a current version of Visual Basic Express and was able to connect a new project to the .mdb files but I couldn't figure out how to open the other files which I need to actually use the application.
Ideally I'd like to run the .exe file, but it doesn't seem to be compatible with Windows 64-bit. Alternatively I'd be happy recreating it with the various components if I could figure out how to access them.
i'm creating a program in visual basic and i want to have a shortcut key that opens up another form even though my application is not the foreground window
View 1 RepliesI want to develop a tree view and list view form by using vb6, how to construct a tree view and list view form?
View 1 RepliesI need to open an MS Word document and insert a picture to it using VisulaBasic 2008 by clicking on a button. I tried the automation code provided at this link [URL] but I can't find how to do what I want.
View 6 RepliesI have created a (kind of) 'Desktop' Form for the main basis of my program. Basically it is made up of 3 panel controls.
1. Holds all buttons which load the different forms (Like the windows start menu when expanded). name: StartMenuPanel
2. Holds Information on log in deatails. name: LogCheckPanel (very thin panel at top of screen)
3. Main panel which takes up the majority of the screen (where I want the forms to load). name: MainPanel
My aim is: When a button is clicked from the 'StartMenuPanel' the form will load with-in the 'MainPanel'.
I tried changing the start position to 'centre parent', but the panels are in the way so some of the childform is overlayed by the panels.
[Code]...
When I run this I get the following error: 'Top-level control cannot be added to a control'.
I hope I've explained this well enough.
We are testing the visual basic 2010 ee in one of the computing suites at a secondary high school. The installation was fine When we tried opening or saving a project it saves it into a default location i.e my documents. The problem withthis is pupils dont have access to c:. They their own drive on the network (h:) where they save their work. When i went and changed the settings in VB in tool > options.
View 3 RepliesHow do you extract source code from a VB.NET .EXE file?
View 3 RepliesMy code is below - doesnt work
1. Currently I am in Query.xls.
Application.Workbooks.Open ("C:AdiData.xls") 'Opening a file to query from
Worksheets("Sheet1").Range("K2:K" & rowCount).Formula = "=VLOOKUP(RC[-5],'[D:AdiData.xls]Sheet1'!C3:C5,3,0)" 'Performing vlookup in data file
I am unable to do this.
From my login form, and when a correct Username and Password has been succesfull and I get a messageBox saying "welcome to your System" (Picture Below) and when I press the OK button in that MessageBox, I want to open Form3.do I add code to the Underlined code (below Picture), or Do I write a completley different code after the messageBox code.
[Code]...
Just wondering how I can populate the child node in the following coding (I am able to populate the parent node but still wondering how to list out the child nodes)
===Extra Info===
I have a class to retrieve the Category Table (CategoryID, CateogryName, ParentID) and stored it via List<T>, when I need it, I declare CateogryDAL pass it to CateogryData.
[code].....
i want to create tree view of my computer in windows application in vb.net 2005
View 1 Replieshow to write?inserting an avi file in visual basic on .net what is the syntax?
View 1 RepliesI want to search and some changes on headers in my .doc file
View 2 RepliesI have a batch file which I would like to include in my code. Dose anyone know how to run a batch file within the codefor example:I have the bath file at c: est.batWhen a click a button a want this batch file to run.
View 7 RepliesI wrote a program to save a ini file and read it in visual basic 6.0 but i want in visual basic 2008 the code i used in vb6 is this:
[Code]...
What is the best way to zip a file with my visual basic application?
View 2 Replieshow do i add something like the Icons i saw here - [URL]
View 4 Replies