What Are The Files That Must Be Packed On To Run The Program In Each Computer
Apr 23, 2010
I am a programmer Mtbdy in Visual Basic Dot Net I want to ask a question What are the files that must be packed on to run the program in each computer?
View 3 Replies
ADVERTISEMENT
Nov 18, 2010
how to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)
View 3 Replies
Sep 23, 2009
I have a program that needs to access the files that are open by another program on the computer.When my application comes up I can easily see if the other application is running with the .net Process.GetProcessesByName method
Dim MyProcesses() as Process = GetProcessesByName("AnApplication")
For Each Instance as Process in MyProcesses
If MsgBox("application is running - do you want to end it?", MsgBoxStyle.YesNo or MsgBoxStyle.Question, "Warning") = MsgBoxResult.Yes then
[code].....
The problem is that the Instance.Kill does not allow the application to end gracefully. In VB6 you could use the SendMessage API to send a close message to the application and it would end gracefully - i.e. give the user the normal closing prompt. This just slays the application - leaving any open files in their potentially incomplete state, etc.
View 4 Replies
Jun 28, 2010
I've a small home network and i want to make a program that's transforming files between two computer and make me chat with all computers.
View 1 Replies
Jun 2, 2012
i have a audio program that will play some mp3 files from a folder. but the audio files together take up about 1 gb. it is possible to let my program download the files from the internet after it is installed on a computer. to a specific folder..?
View 3 Replies
Jul 11, 2009
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
View 6 Replies
Dec 21, 2009
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 Replies
Sep 13, 2008
how can i get it to play other files besides just .wav, like .mp3. wave files are way too large to be used easily if you want a good quality. why cant i play .mp3 files with it?when i convert a 2.1 mb mp3 file to .wav it turns out to be 36 mb?any other ways besides computer.audio to play audio files on command?
View 1 Replies
Jan 13, 2012
Does anyone know if there is a way to read a packed file in .Net?
View 3 Replies
Jan 26, 2009
How do I assign a starting date and time to a DateTimePicker. I tried...myPicker.text = "01/26/09 08:00" but the following error message is returned....
View 15 Replies
Nov 13, 2011
I've searched all day and did not find any for vb language this my code,but it does not work.[code]I can add a bitmap to stream and see the results with Windows Media Player [code] but I do not know how to convert Dib ptr to a bitmap or hbitmap.
View 2 Replies
May 2, 2012
This would be easier if I were able to have the external computer get its own name and just pass it to a web service as a variable, but I'm not able to do that right now. There are a variable number of computers from several different entities that regurarly access a web service on one of our servers. Changing only some VB.Net code on the server and nothing at all on any of those external computers, how would I be able to get their names programmatically in VB.Net?
View 2 Replies
Jun 22, 2011
I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.
View 7 Replies
Feb 11, 2010
I am using VS 2008, for the VS application with no code at all. any ideas on how to restore the files that were originally there? I would assume there are files somewhere on my computer I an get to, but I cannot figure out where they are located.
View 2 Replies
Oct 8, 2009
is there a way to read a specific file from another computer through ethernet cable??for example, there is a text file on my laptop and i would like to us my desktop to retrieve it using VB2008 through ethernet..i like to use IP address which is more specific..
View 3 Replies
Aug 26, 2010
Can anyone provide the resource to learn making connection between computers over the LAN and retrieve files? EDIT: And can I browse the folders like its done in the local machine?
View 3 Replies
Jun 22, 2012
I will be working with another programmer today. He is just installing VB 2010 Express this morning on his computer. My question is how do I copy some of my projects over to his computer. Will copying the folder(s) under C:Documents and SettingsMy_User_NameMy DocumentsVisual Studio 2010 Projects.. be sufficient or will there be other support files I need to copy as well?
View 3 Replies
Sep 23, 2010
I recently came across a problem with My.Computer.FileSystem.DeleteDirectory(). It will not delete read only files.I found out by Googling that I could delete the read only files by changing the file attributes to 'Normal'. So I wrote a recursive function, as below.
Private Sub DeleteDir(ByVal dir As DirectoryInfo)
For Each d In dir.GetDirectories
DeleteDir(d)[code].....
It seems to work fine, but it would be nice if My.Computer.FileSystem.DeleteDirectory() had another parameter to delete read only files, or there was an easier way to do this.
View 2 Replies
Dec 4, 2010
I am having trouble opening my vb.net 2005 project from a backed up copy on a hard drive. The original files are on my old XP computer which I no longer have access to. I am trying to open the project in vb.net 2010 on Win7. I have converted the project to vb.net 2010 and when I open the file, nothing shows up, when I try to open them, it tells me the form isn't found in the project directory because it's been moved or deleted. I know that the software on the hard drive didn't back up .exe files, I'm not sure if it did back up other kinds of files. I don't want to restart the project because I've spent over a year on it and have written over 3000 lines of code on it.
View 5 Replies
Apr 18, 2012
I am using sound files in my project it is saved to my usb so when I use another computer I have to chang the location of the sound file I was wondering if there is a way so that when my project is put in to use the sound file location dose not have to be changed I mean is there a way to save it in to the prohere is my code
Private Sub frmplay_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
My.Computer.Audio.Play("F:\computer science\comp4\comp4\bin\song1.wav")
[code].....
View 4 Replies
Jul 8, 2009
I am trying to do drag and drop from files on my computer.Say the user has a file on the desktop, and he/she drags it onto the open application, I would like it to read the file path of the file and put that in the first column of my DataGridViewI have tried this but get no luck, I have DataGridView AllowDrop equal to True, but when I drag a file to it I get the "Circle with a line through it" action meaning it can't be done.How do I drag and drop?
View 3 Replies
Jan 29, 2009
What is best for this one? Should I be using those socket classes or is there a more appropriate one that I could utilize? Those machines will be connected over internet.
This is another thread in VB6.0 but I don't mind doing it all in .Net.
View 3 Replies
Jun 22, 2009
This is the situation: i have the central location with the main computer,and 14 distanced locations connected in VPN and often we need to update program manually (on distanced locations) by overwriting the existing .dll-s of the program and this is pain in the ass to connect remotely to 14 locations and on each workstation overwrite the .dll files so i want to create application which is going to be installed on each WS and by running this app it will check the program folder on central computer and if there is any file with newer version then existing one on the WS it will copy it from central computer and overwrite the old file/s on WS. It is a small app with two buttons and progress bar but the main thing is the Update now button because i dont�t know which commands it should commit.
View 22 Replies
Jul 16, 2010
I have created an shareware application using vb.net visual studio 2008 for windows desktop, and packaged it using innosetup 5.3.8. The problem is when i have installed the application in C:Program FilesApplication and it runs successfully(use trial period of the application), Im also able to install the application once again freshly with the same setup by installing in different directory.eg C:Program FilesApplication new . The application in C:Program FilesApplication new does not have any settings of the already installed one.
Where do i went wrong . Do i need to take care of this in my application(vb.net) or innosetup. How to take care of the already installed path in innosetup or carry the settings of already installed application to newly installed path by upgrading the older one.
I dont want to write any thing in registry because the application does not want any administrative permission requirements.If i install the application in same path it gets updated with the older settings being taken over to this new one and it works fine.
View 1 Replies
Feb 15, 2011
This has to be simple, but can't find the answer.I want to display a list of all files from a folder in a listbox. Easy..., but I want to display only the filenames without their paths.
For Each foundFile As String In My.Computer.FileSystem.GetFiles("C:My Folder")
ListBox1.Items.Add(foundFile)
Next
This gives me list looking like that:
C:My Folderfile1.txt
C:My Folderfile2.txt
[Code]...
View 1 Replies
Jul 27, 2010
I'm working on a program that lists all of the files on all of the drives on my computerI'd comments. To use the program Start a new Windows Forms application and replace the code on Form1 with the code listed here.
Imports System.IO
Imports System.ComponentModel
Imports System.Globalization
[code].....
View 19 Replies
Feb 13, 2011
In my application I play sound files that are located in a folder on my computer's desktop.
Const sSoundFolder = "C:UsersChrisDesktopSound"
Now that I'm ready to deploy my app, I want to reference all the audio files so others can hear them in the application.
I read how to reference them... but what I don't know:
Do I have to change the above code to some sort of reference folder in my application instead of my desktop?
View 3 Replies
Jan 9, 2011
I am moving from vb6 to vs2010. I installed vs2010 but no vb program, even the simplest will run. As soon as I load a solution either vshost32.exe or vshost32-clr.exe will shut down.If I create a vb application, even with just a form, a button, it will not run but will exit with the following.
'WindowsApplication1.exe' (Managed (v2.0.50727)): Loaded 'C:WINDOWSassemblyGAC_32mscorlib2.0.0.0__b77a5c561934e089mscorlib.dll'
The program '[3000] WindowsApplication1.exe: Managed (v2.0.50727)' has exited with code -2146233082 (0x80131506).
If I create an exe it will run on other computers but not mine, exe's that are created on other computers will run there but not on mine, so it doesn't seem to be a vs2010 problem but something else. I removed and reinstalled .net framework, 1.1, 2.0, 3.0, and 3.5 but that didn't help either. Since exe's that I create will run on other computers but not mine, I suspect it's .net framework but other than uninstalling and reinstalling it, I have no idea what to check.
[Code]...
View 2 Replies
May 9, 2011
We have created our program in vb and we have a connection to a database as well, but we tried to run the program on other computer using VB it does not work it shows an error message because the data base has different path in my computer so if I run the program on other PCs it will not work.
View 6 Replies
Jun 10, 2009
I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?
NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?
View 2 Replies