.net - Advantages And Disadvantages Of Including PDB Files With Release Application
May 13, 2010
I've got a VB.net application. Currently the release version of the application is produced without a PDB file. This gives me error logs lacking useful details such as line numbers. I'm looking at including the PDB files with future builds but i'd like to know what the advantages and disadvantages of this are (performance wise, size wise, code security wise)
View 4 Replies
ADVERTISEMENT
Jun 27, 2012
At a colleague's workplace, a decision is trying to be made about whether to use both languages in the workplace or to standardize on one? There are some VB.Net developers and some C# developers. What advantages or disadvantages would there be to using both or to using one? Edit: To clarify this question, the question is not asking the advantages of one over the other, rather what are the advantages/disadvantage of standardizing on both languages versus standardizing on one. For instance, one point could be that C#/VB.Net may have more third party tools available and hence it may make sense to standardize all developers on that language.
View 9 Replies
Apr 22, 2009
I wanted to gain knowledge about the following params.
1. Use of Reflection?
2. What is the advantage of reflection?
3. What is the disadvantage of reflection?
View 5 Replies
Jun 21, 2011
What is the advantages and disadvantages of using Public Interface in a ClassLibrary?
View 2 Replies
Dec 13, 2009
What are the improvements in vb.net compared to vb6 that make developing such an application easier?
View 3 Replies
Jun 9, 2011
How to list all files in a folder including subfolder files.
View 9 Replies
Aug 17, 2010
i have this right now:
ListBox1.Items.Clear()
Dim di As New IO.DirectoryInfo(TextBox1.Text)
Dim aryFi As IO.FileInfo() = di.GetFiles("*.*")[code]......
and that displays only the file name, like text.txt but i want it to display C:/Text.txt and all the files in the subfolders too, like C:/Program Files/Test2.txt but i just get test.txt from only the c:/ .
View 2 Replies
Jul 7, 2011
I simply leave the GUID text blank in Properties/ Application. Can someone give the advantages of using the GUID? I have done a few searches on Google and VBFORUMS but have not found a FAQ describing its true advantages in VB Application design.
View 3 Replies
Feb 15, 2010
Any advantages of protected modifiers in console application in Visual Basic .NET
View 2 Replies
Dec 10, 2010
Is there anywhere I can add folders to my project, so when someone downloads my project/program they automatically get the files I added into it. Say I want to include a data file, and my program automatically uses that file for my RichTextBox1 - And everytime they save, it saves to that file - And when they open up the program again, it opens that automatically preloaded file that came with the program?
View 1 Replies
Jun 28, 2009
faster way to enumerate through a directory and sub-folders to gather all the files in the enumeration? This is what I have right now:
Public Shared allFiles() As String
allFiles = Directory.GetFiles(<ServerLocation>, "*.*", SearchOption.AllDirectories)
EDIT: I am enumerating these files from a server location. I don't know if that will change the perspective of this question or not.
View 4 Replies
Feb 19, 2009
I've tried searching for a way to get a list of all files + all files in all subdirs. I've tried a simple shell("dir /s /b > myfile.txt") but it doesn't work because of some Danish specific characters. I have looked at the "getfiles" method, but I can't get it to work
View 4 Replies
Jun 22, 2010
I'm writing a program that gathers a list of files within a directory and optionally, every file within the subdirectories (10 levels deep) of the directory then exports it as a text file. I have no idea how to do this so I just attempted to code it myself.
It works by gathering a list of every subdirectory within the selected directory and their subdirectories, so on and so on and adds them to a listbox. Then to gather the list of files I used a for each to get the files within the subdirectories but it shows "(Collection)". After exporting it shows " System.Collections.ObjectModel.ReadOnlyCollection`1[System.String]".
How can I make this code work? I think I could've done this much easier a different way but I need the full path included.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
ListBox1.Items.Clear()
Dim FolderBrowserDialog1 As New FolderBrowserDialog
[code]....
View 1 Replies
Jan 3, 2011
I have written a simple app that allows our clients to access documents they might need throughout their time of doing business with us. They access these document via a button click event. First off I'd like to publish this program and install it onto a CD so that the end user does not have to install anything on their machine. They just simply pop the CD in and the program runs and they can click on whatever document they need. I'm having to trouble figuring out how to install it on a CD. I am also pretty sure i've done my mouse click events incorrectly because i have the exact path to the documents in my resources file.
i'm currently using the "System.dianogistics...process"(i'm not sure if thats the exact syntax and i forgot a couple of the words) function(i'm not sure if this is a function or not. i'm not super familar with VB). but when i use this method it requires the exact path for the file. which doesn't make sense if i want it on a CD which would change the location of the file for my C: to E:.
View 1 Replies
Jul 23, 2011
How can I combine all of the output Released files into just a single .exe file? Like for example I have these file extensions: .exe, .pdb, .vshost, vshost.exe, vshost.exe.manifest, and then 2 xml files that have to do with my program.
So once again I am trying to get all of these files into possibly one file. Do you know how when you go into your Windows Program Files folder, there are none of these files. I am basically trying to do the same thing.
View 8 Replies
Apr 19, 2012
I am trying to write an application to delete files in a temp directory - so for example C:WindowsTemp
I need it to delete all files and subfolders (including all files in these subfolders) - but to NOT delete the top/root folder i.e. in this case Temp
I have tried
Dim fso, fldr
Set fso = CreateObject("Scripting.FilesystemObject")
Set fldr = fso.GetFolder("c:windows emp")
[Code].....
View 9 Replies
Jun 19, 2012
I'm new to the .NET platform (old-time ASPer) and for a project have a simple pair of .aspx scripts that take some querystring data and process it. They both make use of the same Subs, Functions in them, so naturally I'd like to move the code to a common resource.vb file. Having done some reading, it looks like my options are a Code-Behind type setup, and placing the Subs, Functions in a .vb file and placing that file in App_Code.So, the Code-Behind model doesn't seem to make sense here, as the functions are shared by both files. Placing the Subs and Functions in /App_Code/resources.vb and I am getting the following error when trying to call any of the routines:
View 2 Replies
Jun 18, 2010
What is the 'proper way' of giving my application to people?
Ideally I just want to zip up the minimal amount of files and for people to put this in a folder of their choice and just run it.
I've noticed from playing with a "Publish" I end up with a "setup.exe" and also a "Application Files" folder.
Within that folder are the necessary files (a DLL and a .EXE) to run my application. Can I just supply those two files out to people?
View 7 Replies
Aug 10, 2009
how to Total Folders and including files from Windows explorer into listview using drag & drop method at vb.net
View 3 Replies
Feb 18, 2011
I have the following code below in which I have a class with some class level Excel objects defined.When I call excelModule.Test from another class all these Excel objects are getting created and I can see an Excel instance in Task manager.
Do we have unload event for class to release these objects?
Module excelModule
Public myRange As Excel.Range
[code].....
View 2 Replies
Aug 25, 2009
I have a web service that I'd like to include as a project reference inside a windows forms application. (The application will be running on non-networked hardware.) I could simply copy the *.vb files I need into my forms project, but I'd rather not fork the code base.It wasn't hard to include the ASP project in the windows forms solution. However, I can't figure out how to reference it in my forms code.
View 2 Replies
Mar 10, 2010
I am writing a desktop app in VB.Net, and I'd like to include a web browser control to automate certain functions the user might have to perform in the browser. I have to render the page so I do not want to use the webrequest to make direct calls. When I publish the app, do I have to be concerned with which version of Internet Explorer the user has on their machine? Are their any third party, freely available, stable web browser controls available for VB.Net that people are using?
View 3 Replies
Jun 12, 2011
I have been dealing with this problem for awhile now, and ever since I tried publishing my application, I keep getting this error:Error1Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, Type=win32'.ifxtweet2
View 2 Replies
May 7, 2010
What are the best practices to develop a software in such a way that I can release updates, I mean I can release an update which replace the existing executable but in case I have added some new references (dlls) to the project this won't work ? Is there any way I can do it without running an MSI?
View 6 Replies
Jan 20, 2011
I changed my VB2008 Express development system from Windows XP to Windows 7.After installing Windows 7 I installed VS2010 with VB2010 Express.Tried that and had issues so I installed VS2008 with VB2008 Express.The application I was developing with VB2008 on my XP system will compile and run in the debug environment with VB2008 on Windows 7 but the Release build (double clicking the .exe in the Release directory) will not. An information box pops up stating the application stopped working. No application Form ever showed up on the screen. I can run a simple application I start from scratch on this new setup.The release .exe compiled on my old XP system fails in the same way.What could be the problem? The application of interest uses an SQL Server CE database. A reference forSystem.Data.SqlServerCe is included in the References. What could be different about running in the debug environment vs running the
View 5 Replies
Jul 4, 2011
how to create a setup file with inno software including interop.MessengerAPI.dll of any application.I have created a setup file with inno.but it is work in only my pc it is not work in anather pc after creating a setup file.In my application is chatting application.how it is work interop.MessengerAPI.dll in anather pc?
View 1 Replies
May 22, 2009
Including NET Framework 3.5 - SQL Compact Server and other packages in VB 2008 Application installation
View 5 Replies
Apr 11, 2009
How do I publish/deploy the WinForms application including a database file via ClickOnce?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback,
View 1 Replies
Aug 12, 2009
Are there any disadvantages in performance by using the CallByName function in VB.NET? Is there any better way to do the call by Name in .NET 2.0 onwards.
View 3 Replies
Jul 3, 2009
I have classes which have automatic properties only like public customerName {get; set;}. They are public because they are accessed outside the class. They can also be accessed inside the class. They offer good encapsulation and better debugging. I can put a breakpoint on one if I need to know who is accessing it and when.My question is what are the disadvantages of using properties only with no corresponding fields? I can make the setter or getter private, internal.. etc which means I also have flexibility of scoping it when needed.
View 8 Replies