DLL That Is Accessed During The Installation Of The Program?
Dec 4, 2009
Computer.FileSystem.FileExists(Environment.GetFolderPath(ProgramFiles) to get the Program Files directory in my application. The problem is that when running on a 64 bit version of Windows 7, I am getting the Program Files (x86) directory, not the 64 bit directory. As far as I can tell, everything is compiled as 64 bit.This code is actually in a DLL that is accessed during the installation of the program.
Is there any way to get the 64 bit path?
View 2 Replies
ADVERTISEMENT
May 3, 2012
How I can find program when accessed to folder... I know it show what file created, but I wish know WHICH program accessed to folder not what is created in folder !
View 14 Replies
May 23, 2011
The VB.Net program in question creates several files, adds them into a zip file (using DotNetZip), and saves the zip file into a given directory (which the user chooses). This comes out just fine. But when I use it to save directly to my USB flash drive, I can't eject the drive without shutting down the program first.I've tried disposing the zip object (from the DotNetZip library), doesn't work. I also tried setting FileIO.FileSystem.CurrentDirectory to somewhere else on the machine, still no.
View 1 Replies
Jul 12, 2010
what Files do I need to include for the installation of my program-do I need to include all the files in the debug folder? or do i only need the EXE?
View 5 Replies
Aug 16, 2011
Basically I want my program to do the following, it's all theory atm but i'll put it down psuedo style..
WHEN formloads CHECK
does userdetailsexist
IF userdetailsexist THEN
loginform.show
[code].....
Get it? First time the program is opened, the user creates an account with it and a file is created stating that an account has already been made, and then the user logs in.Second time its loaded, if that file exists, don't show the NEW USER page, and allow the user to log in, checking their details against the local file.Now whats best, a txt file? A db?Whatever method as I need all the settings chosen in the program to be there every time it loads up...Also, Is it best to make this program have to be installed so it has access to all the resources on the computer?
View 3 Replies
Jun 18, 2012
I'm working on the VB.NET VS 2010. We are creating a software distribution list. Currently a user needs to go to the Add New Programs wizard to view their available programs and then click install. We'd like to automate the clicking of the "Add" button to and kickoff the installation via a script.
View 1 Replies
Feb 18, 2012
I'm a beginner. I recently developed an application in C#. Now I wanna develop its setup. I read a few articles online, followed them, found it very easy. I also changed the default location of application folder from C:Program Files to C:. My application folder is containing a few folders besides exe and dlls which I added manually.
Now here the problem starts, when I install the application and change the location say from c: to d:, my files (all files including exe and dll) are going to user's given location. But my folders (all folders in application folder) are going to c: (which is default location given while creating setup). But I want output files and that folders at same location
View 1 Replies
Jun 2, 2011
I've written an app in VB 2008.using .net framework 3.5
It uses a MySQL database.No app.config file for settings, I had this, but removed it when troubleshooting :S
Error is this.
When I compile in VB2008, it runs flawlessly, no issues.I added a setup wizard so I can distribute the project as well.When I put this on a client machine, it installs fine, but on the program run, this exception is thrown.[code]...
View 3 Replies
Apr 26, 2010
I am needing to make a flooring installation program using Visual Basic 2008 for school, for some reason I have not been able to figure anything out about this even though i have the information needed.
View 6 Replies
Jul 21, 2009
I'm making a custom installer program and I have a next and back button, and 2 forms, Form1 and Form2. I click the next button and instantly the next form is there. I tried to do that with .show and .showdialog but if I do that another window pops up to either replace or add to the current form.
View 9 Replies
Mar 5, 2010
I've just finished a project, but in it, you can switch between three backgrounds, and I want to export it to another computer with an installatinoprogram, but I have no idea how to do that. I know that it should put these pictures somewhere so the program knows were they are. while it's installing, i want a picture to come up over the status bar, and maybe something that you must agree with terms.
View 5 Replies
Nov 22, 2009
I'm working on a project that will be finished pretty soon. But I've got a problem: I have songs in the program, and in the installation program I want to add a sub folder that installs on the computer in the same place at the game. In the sub folder pictures and music should be. But how do I do this and how do I change the file path so it can independent be installed on a new computer?
View 13 Replies
Dec 9, 2010
I'm developing software in Windows Vista 32bit using VS Ultimate 2010...I remember back in the day when I was in high school, I could write a program and just share the executable file with some one without any additional software requirements etc. etc.
View 10 Replies
May 24, 2009
I just made an application using MySQL for the database. I use WAMP.Can I combine WAMP and my application installation into one packet installation ?
View 2 Replies
Apr 14, 2009
Is there a way to set the installation path of my program to c:Foldername.
question number 2 is that I have 2 database files which is located in m� program, is there a way to copy these to a spesific location during the installation of the program?
View 1 Replies
Jul 15, 2011
Why am I getting a request to configure DAO when I start a program I am developing in VS 2008? After I execute several cancels, the program runs fine.
View 1 Replies
Feb 5, 2010
I'm looking for suggestions on keeping a program that is running on a network updated. Installation consists of 15 users, each have the program on their local pc, but they all access same date from sql server. I am looking for a clean method that would allow me to update one folder on the network and for each computer to get updated when they run the program and the programs sees a later ver on that folder on the network. (Obviously I can do this inside the program itself since it won't allow being overwritten while opened.)
View 3 Replies
Sep 25, 2009
When my program is installed, I need to place a folder in the directory path of "C:\" in order my program to work. How do I include the folder in my project, and then durning the install Place the folder where it needs to be? Could someone be so kind as to point me in right direction to read up on something like this?
View 3 Replies
Jul 13, 2009
how do i make an installation wizard so that the program would work on the client machine ( pc or laptop not server ) so that the client doesn't need to download .net framework separetly ?
View 3 Replies
Jun 10, 2009
The default installation of my setup project is as follows:
[ProgramFilesFolder][Manufacturer][ProductName]
The problem is PC in Europe don't have a "Program Files" folder, it's in a different language.When I remove [ProgramFilesFolder] from the setup program, the installation doesn't work. I would like to install the application in C:AppFolder,
View 1 Replies
Aug 3, 2011
I have VB 2008 Express installed in my PC. I downloaded a program source code written in VB6 but could not open the files. What do I need to do to get this codes displayed.
View 4 Replies
Aug 9, 2009
Where in Visual Basic 2008 Express Edition Software program do you specify a specific installation directory for a program?
c:Program Filesfinished program
I want to publish my program to try it out on another system and I want to ensure its installed in the directory structure I want.
View 3 Replies
Aug 16, 2010
Can it give a problem if a file is saved this way in a program:
Public aPath As String = Application.StartupPath
Dim outfile As New StreamWriter(aPath & "" & accountfile1)
View 13 Replies
May 26, 2010
We have lots of security policies in place and many people (or process) have the privilege to access anyone's computer. Is it possible to tell who access and when and what folder was accessed? I know eventlog has lots of entries you can check, but in terms of what folder was accessed, is it possible?
View 1 Replies
Mar 23, 2010
I have 2 computers. Both with w7 as os. I have installed wampserver on one of them.I have mysql database on wampserver.Then I have made a vb.net program to connect to mysql database. I have put the program on both computers.What I want to do is for those two programs to see the same database that is on one computer. For them to be able to add, delete, update that 1 database. How do I do that? How do I network the mysql database? Do I also have to install wampserver on the other computer?What do I do
View 1 Replies
Dec 1, 2007
I'm getting an exception with the message "Deleted row information cannot be accessed through the row".
I already searched from similar questions but so far i wasn't able to find the solution for my problem.
The exception happens in the line
Code Block
View 4 Replies
Oct 20, 2009
I want to get the last accessed directory path, what code should I use? The directory path I mean is just like when we use OpenFileDialog, default path of it is the last folder we accessed. I've tried to search but get no result.
View 4 Replies
Nov 20, 2008
I currently have an application that uses the FileSystemWatcher object and events to monitor activity in a selected folder. this works great for detecting files being copied to or created in the folder, moved or deleted and changed, however, I am trying to determine if a file is accessed (opened) regardless of if it is modified. One of the NotifyFiler options is LastAccess. It appears that this fires an event, however, it always seems to be the Modified event. I would like to be able to keep track of file access and modification separately. I currently store the activity in a listbox and also in a richtextbox where the text color illustrates the type of activity.Does anyone know how to accomplish determination of file Access versus file Modification?I have included some of my FilesystemWatcher code below.
Code:
Private Delegate Sub AddActivityTextDelegate(ByVal sActivityText As String, ByVal cColor As System.Drawing.Color)
[code]......
View 2 Replies
May 19, 2009
Suppose I have an IEnumerable such as a List(TValue) and I want to keep track of whether this list is being accessed (to prevent issues with, say, adding to the list while it is being iterated over on a different thread); I can always write code such as the following:
Dim List1 As New List(Of Integer)
Dim IteratingList1 As Boolean = False
' ... some code ... '
[Code]....
(I realize this code is very arbitrary, but it illustrates what I'm talking about.)
My question is whether there's a better/cleaner way to perform this check than by manually updating and accessing a Boolean, as above. I feel like there must be, but, to my knowledge, there isn't any IEnumerable class with a built-in "I am being iterated over" method or property. And writing a new class that implements IEnumerable and contains such a property seems like overkill to me.
View 3 Replies
Oct 17, 2011
I want to build my own class. In it, I need to recreate a behavior we can see in DataTable and in some other places : accessing items by their name or by their index. [code]...
View 5 Replies