Program Duplicate Part Of Itself In Another Location
Feb 16, 2011
ok so i have done some searching and i can't seem to find any topics on this subject maybe im not searching for the right topic but here is my problem maybe someone could give me some advise: im writing a program that has a "main" .exe on any system. it will run and do what i am asking it to so far but my problem is i need it to generate a copy of only a portion of itself it has to generate a form and a login form to export in any specified location for transfer and travel and make it "run-able" without the main being present
[Code]...
View 1 Replies
ADVERTISEMENT
Jan 26, 2011
I am trying to manipulate files as part of a Document Management application that stores documents in a location on a Network Drives. But the My.Computer.FileSystem.Drives collection does not contain the Network Drives mapped on my machine. I have about half-a-dozen of these, but none of them seem to show up in the Drives collection and thus are not visible to the other FileSystem functionality I need to use for file management.
how to make sure the Drives collection contains all my drives? I am running VS2010 Premium edition on Windows 7 64-bit on a 64-bit Dell machine.
View 6 Replies
Jun 22, 2010
I was wondering can you get a program made w/ vb to click on a certain part of the screen outside of the program? and also, can you copy information from outside the program in another window and store it in the program as a variable.
View 1 Replies
Jul 19, 2009
I am trying to convert an industrial simulation program to a VB program There is one hard concept that I have problem with, it is called "Duplicate" Ex: When 1 person pass the duplicate block A, then 2 persons comes out, (that person is cloned). 1st person goes path 1, has delay time of 1 hour. 2nd person goes path 2, has delay time of 2 hours. At the end of the 1st hour, 1st person arrives at the detour, at the end of 2nd hour, 2nd person arrives at the detour, but 1st person already moves on to the next task for an hour.
So you can consider them doing their separate tasks simultaneously. Then complication comes in when somewhere down the path, 1st and 2nd person pass another duplicate B, then total of 4 persons will run into their own separates paths and delays. Then they will come back to the starting duplicate block A, thus creates total of 8 persons and follow the same path above again.
Until some condition has been met (ex: total number of persons pass through duplicate B), then all of them will leave the system.Anyone has any idea what is the best way (logically easy to follow) to program the concept? I hope I explained it clearly. It's unfortunate that MSDN doesn't allow attaching image or video.
View 2 Replies
Oct 4, 2009
I am new the Visual Basic and just downloaded 2008, and I am wanting to make a program with a button that will run a .exe that is in the same location as the program/
View 2 Replies
Nov 15, 2009
I am working on a program where the user inputs values, then the program calculates those values and outputs the sum. When the user hits the button exit then those values entered by the user are saved. When the user starts the program again, the values are still there. I wrote the code and everything works fine. I am saving those values in notepad... and the program grabs the input in notepad and outputs those values to the program. But here comes the problem:
Lets say the user wants the information in a certain column to be added to another column somewhere in the program. Is that possible ? And if it is can it be done when I am saving those values in notepad ?
View 1 Replies
Jun 10, 2011
Im trying to make a fast food program on which the user will input the amount that he has, then he will click on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I got an idea on what to do (they will check on what they want and the program will add up the total and there is only one of each item), but im confused on how to put the amount on where the check boxes (in the program area and not the text area) and add them together. After that all I need to do is add everything up, with sales tax, and tell the user if he has enough money or not. But what im confused on is how do I get the check boxes to a amount of money and add them up (all the ones hes checked) I just dont know how to code this part of the program, once I get one done all I have to do is the same for each one, and everything showed be easy after that. But how do I put an amount on a check box and add them all up?
View 5 Replies
Apr 5, 2009
Have a program that collects response data as part of a psychology experiment and i want the output text files to show up on the users desktop so that they can find them easily and e-mail them to me. I'm using Parallels on my Mac to run windows XP and found the files in a desktop folder but they were not on the desktop. Am I coding this right?
HTML
My.Computer.FileSystem.CreateDirectory("C:Desktop" & Participant)
FileOpen(2, "C:Desktop" & Participant & "IRAP output.txt", OpenMode.Append)
[code].....
View 7 Replies
Feb 22, 2011
im making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts
1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers
2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly
3. the config files
anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.
View 4 Replies
Jun 22, 2010
what is the code to be put in your program such that your program could show its location?
View 2 Replies
Mar 13, 2010
I am using a Webbrowser in my program.
In the page source of a certain URL is the following: <input type="text" name="email" maxlength="50" value="email@email.com">
I'm trying to get the value part from the source and have it printed out to a TextBox on my program. I'm not sure how to do this but I tried. I made a new HtmlElement called email. Then I did email = WebBrowser1.Document.All.Item("email") However, when I try to add it to my textbox it doesn't work.
View 9 Replies
Jul 8, 2011
How could I move my VB.NET application to a folder using VB.NET in the same file? Essentially, I want to be able to move my VB.NET application to the Start folder when it is executed (within the same application). Also, I want to be able to move it to the same folder on any computer, for there is no set path to the Start folder on different computers. Or I would like to just create a shortcut for my application in the start folder?
View 2 Replies
Mar 17, 2011
I have this data in txt file and the data keeps changing all the time.
[code]...
I would like to read all lines and compare, if the same name and same address is found, which is in the [......], then i need to count it and show the most frequent buyer!should i read it all and put in array, and compare and put the duplicate data and count into another array?
View 6 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
Apr 12, 2011
I need to create a program which allow me to copy xx to another location. The hard part was it need to be start and running all the time (when start up Window) and only trigger to copy when certain condition was meet, - when the program detected certain string in the xx, like "end file"only it will trigger the copying and renaming process.
View 1 Replies
Jul 22, 2009
I am trying to write an application that will get the X and Y coordinates of a 3rd party application like Notepad or Word in VB.NET, but I am unsure how to accomplish this. I know some VB.NET but I am still a novice.
View 7 Replies
Apr 27, 2010
An update to my program has been downloaded to a particular folder. The code recognizes that the file is there
(i.e. "If IO.File.Exists(My.Application.Info.DirectoryPath & "UpdatesPQCM.exe) Then),
Sets the update location to that file and initiates the click-once update subroutine. Problem, I don't know how this update feature can be modified this way in run-time. I would set the update location using the solution properties but this program may exist anywhere on the hard drive, or even on a thumb drive (as per its design).
View 7 Replies
Feb 18, 2011
How to find start location of program VB.NET???
View 1 Replies
Dec 2, 2011
Where should I store my programs user data so no one will have trouble accessing it?
View 2 Replies
Mar 19, 2009
How to set the exact location of the cursor in vb.net?
what i want to do: when form1 loads the cursor position is automatically set to the position (1680; 1050)
View 3 Replies
Sep 7, 2009
If I create an array of bitmaps, something like Dim PictureArray(10) as New Bitmap..How do I then load my pictures into the array? If I try Picture Array(1) = "("c:image.bmp") I get an error.Also, can someone remind me of how I load in an image/file from the location of my program? Do I just use ("image.bmp") or do I need to specify curdir or something?
View 15 Replies
Feb 9, 2010
I have a single form that I would like to move across the screen with my VB program. Of course it's simple to set the location X and Y property for compile time using the properties tab, but I want the form to move as the program runschanging the coordinates within a for-next loop.I can easily get the X and Y coordinates of the form within my program by using X = me.location where X has been dimmed as type point.console.writeline(X) will appear as {X=20, Y=40}. for example
View 2 Replies
Mar 1, 2012
In the past I have written VB6 and VB NET 2005 programs that are installed and on the user's computer. This had to be done because the salesmen in our company have has a set of local data on their laptops so that they could do work and not be connected to our network. I would then sync the files when they connected to the network. (This same program is used by the rest of the company as well, but everyone else uses network data.)We are now at the point where we are not using any local data. Our salesmen access our network data using an iPad, VPN, and a Citrix server, which works fine
View 2 Replies
Jan 20, 2010
I'm trying to open up an html file (with explorer) and navigate to a specific anchor location. The user should just see the file open up at the anchor's position. It's a local html document, not on the web, if that makes any difference. How can I do this in Visual Basic 2008?
So far I've been opening html files with Process.Start(filename) or Shell(filename, "explorer.exe", etc), but that doesn't seem to work with the additional html anchor tag (#anchorname) at the end of the file name. Also I've looked at webbrowser control, but as near I can tell that is more for editing html files.
View 2 Replies
Mar 10, 2012
How can I move the mouse to a pixel location of a program?[code]I know it doesn't work, but I'm trying to make it easier to understand what I'm trying to do.
View 5 Replies
Jul 14, 2009
I use VS 2008 Visual Basic and I added windows forms HelpProvider to supply user with more information using F1 button when a windows form is active.No VB coding are used, just help provider and HTML docs. with css.I have created a HTML document and a picture. On both items I have set the [copy to output directory] property to Copy Always.The HTML document starts HTML page and IE is showing the text as expected , but the picture does not appear.I use click once deployment to deliver the system. The HTML documents and picture is located on the user computer after the deployment. How do I add path to a location in a win program with pictures used in a HTML document? What is the correct setting of [ build action ] parameter of these items?
View 5 Replies
Jan 12, 2012
my requirement is that i have to count occurrence of a certain date and between two months
suppose i have 10-jan-2012 now i have a date range 1-jan-2012 between 1-feb-2013 my requirement is that if i find 10-jan between 1-jan-2012 between 1-feb-2013 irrespective of year i know that 10-jan will come twice between 1-jan-2012 between 1-feb-2013 i am not understanding how to do this.i meanto say that i have to compare only day and month part of the date which will solve my problem
View 1 Replies
May 26, 2012
Is it possible to develop a program in vb.net which can find the location of vehicle in a cctv camera range?if possible ,what are the APIs and technologies used for it?can any one suggest any link or the steps involved in this process...?
View 5 Replies
Feb 18, 2011
I have a problem that I can not seem to get. I have a program that moves a picture to what ever location the user puts into the text boxes. It works as I wanted it to but my problem is when a user puts in anything but a number into the text box it gives an error, I want a message to pop up and let them know that a numbers needs to be entered not a text.
View 6 Replies
Oct 1, 2010
Write a program that requests a name fomr the user and insert the name into the list in its proper location, if the name is already in the list, the name should not be inserted. --do not use any arrays or LINQ use only streamreader/streamwriter.What i've got is this...it will add the name but not in the "proper location". if i could use an array i'd just reorder the array and then write to file, but...
Imports System.IO
Public Class Project_3a_p398
'Purpose: A program that requests a name from the user
[code].....
View 1 Replies