VS 2010 How To Share Files
Dec 22, 2011
A thing which i've discovered with vb2010 is that you can't share files like a form or something that way it comes at least. If you attach a form or usercontrol from a different folder it will automatically copy it into the current project folder and then save to that. How can i stop vb from doing this? It won't always be but in this case i need to share a few forms among multiple projects and it would be a royal pain to have to copy them each time manually.
View 4 Replies
ADVERTISEMENT
Jan 22, 2012
Wondering if it is possible. It works on the idea that all files share common code. The program would ideally analyse the source file and compare it to the reference files. It would then find common parts of the code and write it to a rebuild file. At the end the rebuild file and the reference files would then be able to rebuild the source file without it being present.
For Example.
source file code = xxyyzyzyxw
ref file 1 = xyxxzyzxwyy
ref file 2 = zxxwyzzywxx
The program would then analyse these files and make a rebuild file like the following
source(0,1) = ref1(2,3)
source(2,3) = ref1(10,11)
source(4,7) = ref2(5,6) + ref2(5,6)
source(8,9) = ref2(2,3)
Thus you would be able to build the source file using these instructions and the reference files.
View 1 Replies
Sep 11, 2010
I got two projects. GUI/Console and I want to have them in the same project directory with two different projects so:
C:Project1GUI.VBPROJ
C:Project1Console.VBPROJ
The problem is simple: It will overwrite the My Project directory, how to change this?
View 3 Replies
Sep 25, 2009
I have a program where I need to be able to access files from an administrative share on a remote machine where the username is administrator and there is no password. I want to be able to access these files without the user getting prompted to input the username and password.
I have searched around and found some references to WMI - but as far as I can tell, WMI is mainly for managing the remote machine and not necessarily for file access (?). Also, some information gathered about WMI leads me to believe that it may be disabled on some machines or not installed on others (?). Since this program is meant to go out to a diverse customer base, I need to make sure that I cover as many angles as possible to ensure this program will run on as many machines as possible.
View 9 Replies
Feb 3, 2008
I'm working on a network chat for my office I want to add a way for users to share files or be able to send and receive file.
View 7 Replies
Oct 26, 2009
My ultimate goal is to allow users to select a file from a dialog as if they are uploading a file. Instead of file being saved to the server, a hyperlink will be generated from the file's path.This hyperlink will then be used on our intranet page in order to open the file located on our network share.Is there any practical way to accomplish this?I have tried both an HTML file type insert and .Net's FileUpload Control but neither will work since for security reasons the full path of the file is never accessible.
View 2 Replies
Oct 19, 2010
just wanted to ask if it is possible to have different applications sharing the same session (i.e. database session)... i'm planning on creating a web-based application and a form-based application using asp.net for web and vb.net for forms but i need to have them share sessions since some global variables will be session based and also authentication to one application should also authenticate on the other.
View 2 Replies
Jun 17, 2010
I'm writing a small software similar to the calculator in Windows, the calculator in Windows has a menu bar; in the menu bar, you can find "scientific" and "standard" mode; once you select different mode, your form will be changed, but the two forms still share the same menu bar.
I want to create the same effect of this:
1. Two forms, only one is visible at any time
2. The menu bar on the top of the two forms should be shared between these forms
I just started learning VB for 2 weeks, I'm not sure my thinking can be achieved by VB, if not
View 4 Replies
May 7, 2010
I can seem to find is vbs code for retrieving remote share permissions using WMI.I've tried to convert this code to run on vb.net but don't seem to be getting anywhere.should I try to convert the below code or are there other methods I can use to retrieve the permissions. I can easily get the list of remote shares using win32_share but not the permissions
Code:
strComputer = WScript.Arguments(0)
Set objWMI = GetObject("winmgmts:\" & strComputer & "
ootcimv2")
[code]....
View 1 Replies
Jul 6, 2009
I've search tons of .net pages and all I can seem to find is vbs code for retrieving remote share permissions using WMI.I've tried to convert this code to run on vb.net but don't seem to be getting anywhere.hould I try to convert the below code or are there other methods I can use to retrieve the permissions. I can easily get the list of remote shares using win32_share but not the
View 4 Replies
Jul 13, 2011
I've had this problem with both VS 2010 and Visual Web Developer 2010. I want to save my projects on a network share (which I have as a mapped drive), because our network drives are backed up daily. For some reason though, VS only shows local drives when I try to save a project - all my network drives do not show up.
View 1 Replies
Jul 7, 2011
how to share and edit variables between forms? I want the user to be able to enter a value into a textbox and the program store it and then load another form and do calculations and display answers but I can't get it to work.
View 2 Replies
Feb 29, 2012
I am trying to list folders under a specific share example: \servernameshare I want the list to display in a listbox named folderlistBx I do not want to see file names or subfolders, just a list of folders
Private Sub ListBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBtn.Click
Dim FS As New FileSystemObject
[Code].....
View 1 Replies
Dec 19, 2011
I have a program that are multiple thread. Each thread calculate some data independently. however, they will need share a hashtable which controls a hardware resource. because the resource is limited, so, it may need lock the resource for a thread, and then release it when thread is finished. and the resource can not be reused immediately, will have to wait for some time, say 5 or 10 minutes, for the device to reset.
View 3 Replies
Oct 26, 2011
Greetings, I'm a little bit confused about SQL Server Compact behavior.I have a small app that uses a small sdf file located on a network share.The problem is that while the app itself is working perfectly well using the connection string that points the location of the sdf file on a network drive, when I try to open the same sdf using the Server Explorer I get this error:
SQL Server Compact does not support opening database files on a network share.Obviously, if the app IS working it does indeed support network shares, then why Server Explorer cannot open it?
I copied the database file to a local drive but it's not very convenient. What might be the problem?
View 3 Replies
Apr 30, 2010
I've been struggling for hours now to get some working code to list the share permissions of a remote share. I've got WMI code which uses win32_share which lists the shares and path and it works great. I"m now trying to add in a routine to get the share permissions as well.
I've searched just about every site for some sample code and can only find some C# (I think) code.
[Code]...
View 1 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 5, 2010
i try to make a program that can share a database to other people using a upload/update system but when i try to download/upload it keeps saying mdf file in use how can i make the code so that it Uploads and overwites the file without that error.as it must be so it must upload to my server (build in)and download (also build in)the error gives file in use constandly how can i fix this issue?of that file in use problem. even when these no querry or other code running?
View 9 Replies
Feb 23, 2012
How do i make a code that unzips files and then move those files into another zip file?
View 2 Replies
Jun 6, 2012
The situation: when i build my project (or publish) Visual Basic 2010 makes and exe and a couple ddl files. when i run the project with the .exe and the other files the program works perfectly.
My problem: I want to share it with friends and it is just a verry little program ( a n internet radio) so i want it to be 1 .exe with out any other instalation needed so i can easly share it to anyone who wants it. when i make an even smaller program and Debud->build it, it is only 1 exe and no instalation needed. so is there a way to make my program to 1 exe only?
View 4 Replies
Jun 19, 2012
I need to list all files folders, subfolders and subfolder files under a selected directory in a list box not sure how to do the logic in the last amount of code lines to enumerate all subfolders dna files.Here is what I have so far:
Dim OldProfileDir As String
Dim NewProfileDir As String
Dim Newdocs As String = ""
Dim Olddocs As String = ""
[code].....
View 3 Replies
Feb 27, 2012
simple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.
View 2 Replies
Dec 14, 2009
How to start vb.net application from a shared file in LAN I mean that the application is installed in my PC but I want other users to get access to this application using my shared file.
View 8 Replies
Jun 6, 2011
i am working on a app. and i need to know how can i share floders that the app will use to save flies over the net. i was thinking about crearting a data base that would save all the files on to it , and then share the data base with fellow co workers, but i do not know how to add a excel file or word doc. in the database. i am pretty new to all of this so any help would be great. the app is writen in visual studio 2010.
basical it will let the user access the file he needs to compelte his work off shore. the files are created and saved as he needs them. once he is finished, i need the app to send the floder to some type of server ( dont have a server yet) so that the office and other co workers can see the files when they run the app.
View 1 Replies
Jun 11, 2009
I've looked in System.IO. but I can't find anywhere to get the unc share name of a path/drive.Anyone know how to get the unc share name of a folder, i.e. 'O:MyFolder'.
View 4 Replies
Feb 17, 2009
I have to do an application that share a folder and his sub folder.
This application have to run on Vista computer.
What's the best way for share a folder ?
View 1 Replies
Jun 21, 2010
can I have 2 form share the same progress bar? If so how does this work?
View 3 Replies
Apr 26, 2011
Visual Studio 2008 / Windows 7 / .net framework 3.5 / Windows forms application
My applicaiton has the following App.Config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
[Code]....
View 1 Replies
Apr 16, 2011
I have created a Bus Booking Website [URL]. I want to share the bus booking form with other sites so that they use our services.How can do I this using vb.net?
View 2 Replies
Feb 12, 2011
How can I connect to a network share without using System.Diagnostics.Process.Start?
I need to connect to a network share and get feedback if it already exists.
Can I use some kind of API?
View 1 Replies