View Files Inside A App?
Jun 9, 2012
I need to be able to have some way to show the contents of a folder in my application. much like windows explorer, in a sense that there are specific icons for say a video, image or music. is there a easy way to implement this in say a flow layout panel?
View 3 Replies
ADVERTISEMENT
Jun 20, 2010
which are the control used to display word files and excel sheets inside vb.net forms ? (i have already added reference lib.)
Platform: Vb.net (framework : 3.5)
language : visual basic
View 1 Replies
Mar 16, 2012
I don't find how to submit a form that's in a partial view.I've made a kind of search engine for a website. I'd like to add it in the layout from a partial view. My problem is that when I click on 'submit', nothing happens if I'm not in the search view.[code]
View 2 Replies
Mar 29, 2011
Why cant i accesss this textbox inside the repeater I have used the following on the rgroups itemdatabind no matter what i do it says the object cannot be referenced.
<asp:Repeater ID="rGroups" Runat="server">
<HeaderTemplate>
<ul id="prod_nav" class="clearfix">
[Code]....
View 2 Replies
Apr 1, 2010
I know i can run webforms and mvc views in seperate files, but i want to run the web server control output and events in/on the mvc view page, however, i keep getting this compiler error:
Line 38: <CuteWebUI:Uploader ID="UploadPic" runat="server" UploadType="IFrame"
Line 39: FileTooLargeMsg="{0} cannot be uploaded! File size ({1}) is too large. The maximum file size allowed is set to: {2}."
Line 40: TempDirectory="~/UserData/Images/TemporaryImages" UploadingMsg="Uploading..."
[code]....
i don't know what else do do, it just wont recognize the control name when im writing the event signature, right after the "handles" keyword, comes the server control name and then a dot, and then the event name, but as events its just giving me "Me", "MyBase" and "MyClass" options to run events for... doesn't let me access "FileUpload.OnFileUploaded" which is the control name & event name i want to write the sub routine method declaration (and subsequently method) and signature for.
View 1 Replies
Oct 25, 2009
Iam using vb.net 2008.I have richtextbox. I save as wordpad format [rtf] file. Now I need to view it in inside the panel of my form.[code..]
View 1 Replies
Jul 28, 2009
i have a question in vb about inside a data grid view i need to create a combo box...
View 1 Replies
Jun 10, 2012
I have a asp grid with a few columns that bind to data. The last column has been converted to a template-field. In this template-field is a button with a modal popup extender attached to it. Hidden inside this field is a modal popup. This modal popup is used to add a new account. it contains 2 text boxes, drop down lists and buttons("Add" and "Cancel"). When "add" is clicked the modal should close after the inserting of the new account in the code behind.
The Problem: I get the popup to display and load the Drop down lists from the cache, without problem. How do I get the button click event to fire in the code behind. I've tried using a JavaScript function that performs a _doPostBack('btnAddAcc','') but it keeps returning the error "JavaScript error: Object expected". I gathered after about 1 hour on Google that it is because "btnAddAcc' is not found because it is actually within the grid-view cell and can't be directly accessed. Using page methods and ajax calls is a last resort as the company has a strict policy against this and only allowes this after a bunch of paperwork.
The Code:
<asp:GridView ID="gvNEA" runat="server" CssClass="gridA_Orange"
AutoGenerateColumns="False" AllowPaging="True"
EmptyDataText="No transactions with 'Non Existent Account(s)'"
[Code]....
View 2 Replies
Nov 22, 2009
I'am trying to add files inside a folder but i get this error
The directory name is invalid.
My Code
Dim NUMc As Integer
NUMc = System.IO.Directory.GetFiles(foundFile).Length
ListBox3.Items.Add(NUMc)
View 3 Replies
Jun 11, 2012
I'm working out on a function in my program to let it update all the downloaded files by a button, I tried this:
[code]...
But when I try it .. It says that I cannot remove the directory because it already has files inside it.My question is, how can I remove all these files together (Without mentioning each one of them because they're about 100 files) so I can be able to delete the directory?
View 4 Replies
Feb 1, 2011
I am trying to get my vb.net application to look inside a folder on the web server and then let me know whether there are files in there or if the folder is empty.
View 3 Replies
Aug 14, 2011
i have a problem on displaying the files inside a listbox i cant see files like .wav or .mp3 or .wmv or any video or movie related files...
on my forms load this is the code
Private Sub Subjects_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label4.Text = System.IO.Path.GetFullPath(Application.StartupPath & "....
[Code].....
View 10 Replies
Sep 22, 2009
Title says it all. How can you obtain a list of files (as a stringcollection or some other storage method) which contains the full path on the user's computer to the files?
View 1 Replies
Feb 22, 2012
How to unzip and zip? i need to move file around inside of zip files really any help?
View 8 Replies
Feb 18, 2011
As you can see from the picture there are two .ico files in Icons folder inside of the application. My question is simple - how to access those?
View 4 Replies
Oct 23, 2009
I want to ask how can i view all (.reg/.vir) in a listview. Then 2 buttons (refresh and delete)
- VB08G peter.
View 12 Replies
Aug 4, 2010
Can anybody tell how to list view opened files in VB.NET.
The opened files should be seen in list view at the left part of GUI.
View 1 Replies
Nov 11, 2011
Is there a way to do this?
View 2 Replies
Jun 19, 2009
I have a DLNA server setup and it works fine. I would like to write a small app play the music, vids and pics. however, when I googled "DLNA VB.net" i am not getting an samples to use.
is it possible to view the DLNA files via VB.net? If so, how?
View 3 Replies
Oct 15, 2011
How can I make my app to download all files inside folder 123 from web [URL]
View 1 Replies
Jan 9, 2012
I know this idea of - if message boxes are used to display error messages inside a .dll and when the .dll is installed in a different computer (possibly a server machine), errors occurring inside that .dll will be shown in the server and not to the user. Since practically there will not be a person near the server to click 'OK' to the error message every time it occurs it will stuck the programs using the .dll.
So how to write exception handling to a .dll project?
View 1 Replies
Feb 3, 2012
i have a problem with SetEnviroment function in VB.net. i have a small program created with vb.net and want to communicate with batch file changing the environment variables but as I mentioned in the below sample code is not running clear and while run.bat is running there is no effect inside batch file What might be the problem?
[Code]...
View 2 Replies
Jul 23, 2009
I want a code that checks if there are any files in a Folder. So I want to specify the folder name.
This is what it should do:
It Checks if there are any files in the folder (Data)
If there are no files in folder:
Form2.Show()
If there are files in the folder:
MsgBox ("Welcome", MsgBoxStyle.OkOnly, "Welcome")
View 3 Replies
Jul 12, 2009
I am looking for a way to rename all JPG's inside a directory. So I'll pass it a directory (for example C:/PictureTest). It will then rename all JPG's inside that folder to something of my choosing.
View 3 Replies
Dec 21, 2009
I have a folder that contains overs 1000 files,some files are sql script and others are text doument.I want to rename all the sql files and for the text documents,I want to replace a particular text by another text but opening each document and doing replaceAll requires lot of time
View 1 Replies
Oct 13, 2009
I'm using the WebBrowser component to view specific directories on my hard drive, I was wondering if it would be possible to change the view of the files through the code (Thumbnails,details,list...). In addition, Is it possible to delete a file through the code that is currently selected in the webBrowser window? I know there are alternatives to using the webbrowser control as a file explorer but I really like being able to change the views of the folder contents, the alternatives I have seen so far only allow for list views.
View 2 Replies
Apr 21, 2009
ok.. i have the code to load files in a listbox, just for that folder.
i would like to add a button that would load files one folder up from the current folder...
here's the code i'm using to load files from folder in case something needs to be adjusted..
TextBox1.Text = "C:Documents and SettingsOwnerDesktop"
ListBox1.Items.Clear()
Dim filepath As String = (textbox1.text)
[Code].....
View 5 Replies
Apr 29, 2009
i want to be able to view files like window explorer does.. i have tried a webbrowser, except i don't like the left side menu in the windows explorer unless it shows folders. in my case, i would like to add folder icons. reply in detail if the code is complicated, on what actual toolbar items and imports do i need to do such.
View 7 Replies
Apr 21, 2010
I have been wanting to make a file downloader (enter the website link, it browses files, with the Filter you give it, then has a download link for each file.) I haven't coded VB since 2006 and can't even remember the basic code.
View 4 Replies
May 17, 2010
I am using IE 7 and Vista
View 3 Replies