Multi Form / Part Application Need To Make Part Protable For Transfer
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.
I'm in the process of developing a database project which will consist of 3 applications, which can be used on their own. The user may choose to purchase just one of the applications, but when the others are used I'd like to have additional functions enabled.My question is what is the best method of developing multi-part projects which can be connected together for additional functionality?
I have a small program that is used for managing media libraries for some software front-ends. Basically, it reads in the files of a directory and, one-by-one, creates a new directory by each file name and moves the respective file into the new folder.Everything works well, but I am wanting to extend the functionality a bit.I would like to include multi-part file detection so that titles that are named as such:
movie-disc1.avi
movie-disc2.avi
would be moved into a single folder named movie. The files would not be renamed.As of now, I simply have an option that will allow the user to ignore certain files that match a regex pattern:
Dim m As Match = Regex.Match(IO.Path.GetFileName(filePath), "(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck]|d)[ _.-]*[0-9]+)(.*?)(.[^.]+)$")
Hi.. Im using an application to capture selected part of screen by resizing the form and capturing area of it!! now i want to reset the form once my work id done!! i mean if i press a "RESET" button the form should be load as first time it was loaded.(the real form size..)
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
I'd like to be able to run and use a programme as part of my application. I have a sound editing application and rather than have several different windows, I'd like to be able to show this editing program in a panel of my own VB application. I'd also like to be able to close it and reopen it.
shutdown -s t 60shuts down the PC in 1 minute. I would like to make the seconds part of the syntax variable as:Dim varSec as integer Process.start(shutdown s t & varSec)But it doesnt work nor produces errors. Can it be done this way?
I have a set of nested classes built inside a main class called MainClass. This is a class library project, the end-user will be using the MainClass by referencing.
I want to add a user login functionality at the creation point of the class. So that if the login fails, the entire class is inaccessible to the user. I have the following code
We have a client who has asked us to write a GUI that is capable of connecting to an existing, running application. This specific application has quite extensive .NET and ActiveX hooks in it, but it's a third-party application and we do not have access to the source code. The client has specified VB 2008, despite the fact that the target application has perfectly good GUI creation tools itself.
I can successfully start a separate instance of the target application, but that is not what the client wants. The idea is that the user would start this application, open a specific file with it and then start the GUI which would take control.
I have searched a number of locations (including 18 pages so far of this forum) to try to find help on this sort of thing, but the success is slow coming. One code snippet enabled me to find the running process, which may help me to connect. I am also browsing CodeProject to try to wind useful information on this.
I am doing a project of insert,delete,update and search of customers in a windows application. But I have the problem on the search part. The search part is that I am searching by telephone. But the problem is that I want display an error messagebox if the user have enter an invalid telephone which does not match in the database.
I've spent a while searching around and I can't find a solution to this:I have a transparent, borderless form that displays a clock. I can load this just fine, but I want the clock to be part of the desktop, so it cannot take focus, is behind other applications, and is not hidden with Win+D (similar to applications like RainMeter).
I need the solution to work with VB.Net (I'm using 2010)
I need to print part of a form as a report, I can print a full screen capture no problem, but does anyone know if I can print a particular section of a form such as a group box ?
So im makeing class, where i need to change BackColor for part of form..What i meen is, i need to change forms BackColor, but not for all form, but for, example 20px from top..
i have a form frmCLreport which is open on the show button in frmCause form. Now frmCause is child of MDI form because it will on the menu item of MDI.now my problem is that, when i click on menu frmCause will open as a child of MDI, but when we click on the show button on frmCause a new form will open name is frmCLreport. this will open on another window,but i have to call this form in same MDI form as child, is it possible?
i have a form in which i have Name, startdate, end date, total hours, hourly rate, age and the total week hours. I want to print the name of employee with startdate, end date and total hours.
As Autodesk is going to discontinue VBA for their Inventor product in the near future I have been looking at other ways to run VB.NET in Inventor. To date it doesn't look like VSTA will be the replacement. Automation from an External VB.NET app is certainly possible, but leaves something to be desired for speed and integration. Compiled Add Ins are the Cadillac of choice but can be a royal pain to debug and develop. Autodesk now provides a lightweight VB.NET script interface called iLogic. It's main purpose is to allow extreme customization of Solid Modeling parts. The code actually resides inside the Part Model file.
i am working on Scrollable form, when i am trying to print this form with PrintForm object its printing only the showing part not all the form this the code which am using. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable) End Sub
I'm making a VB .net program to build a word document, depending on some parameters.Now I want to do an input of a text in a table, where a part of the text is in bold and an other part not. In this case "This is my text andthis is my bold text".How can I do that?
One number is represented with four hex values.First two hex parts are my "whole number" part, third and fouth hex numbers are my "decimal" part. I just wanted to store my complete number (whole and decimal) in an excel table.My problem is following when I am storing whole part and decimal part of my number separately, then it works fine am getting f.e. 3017 and 0,9445123 in my excel table, but when I am concatenate them, then I am getting following expression in my excel table f.e. 30,179,445,123 but I want 3017,9445123.
The last language I programmed in was Visual Basic 6.0.In VB 6.0, if I added menu items, the menu items would reduce the size of the container.For example, if the form had a height of 1000 and I added a menu item then the inside of the form would be 1000 - menu height.In 2010, if I add a MenuStrip control and dock it to the top and then I add another control and dock it to fill, the top part of the other control appears underneath the MenuStrip.I would like to make it so that the other controls I add to the form cannot resize above the lower part of the MenuStrip.
I have a laptop with vista and desktop with win xp. I am building the application on win vista but when i copy the same project and view it on win xp , then it only shows the fields that fits on the screen. the rest of the fields that needed to be scrolled on right , does not come at all. The project works fine on win vista. I even tried to tried publishing the project. it works fine on win vista but is missing some fields on win xp.
Basically, I want PictureBox1 to zoom in on a certain location of a form.
Like this
PictureBox zooms in on part of the form.
NO I dont want it to change a fixed zoomed in image so dont tell me to zoom it in and put a fixed imaged. As the image i wanted zoomed in constantly changes.
P.S This example isn't my form, just an example
Just to make it clear, I want my pictureBox to zoom in on a different part of the form. The image is on a part of a WebBrowser.
I have created a class which generates a form in code. I have hooked up the buttons and a text box so that they work. Now, I am trying to hook up the Resize event (and probably will need other events) for this form. How do I do that? If I can understand how to do it for the Resize event, I should be able to apply that to whatever other events I might want to use. I can't just put "Handles frmMyForm.Resize" or "Handles Me.Resize". I get the message "Handles clause requires a WithEvents variable defined in the containing type or one of its base types." This all has been a learning experience.
I have only recently started using VB.NET after having a little experience in VB6. I am trying hard to force myself into this OOP mindset. I want to know if a certain thing is possible.
I want to be able to call a function in the beginning of my main form's startup sub. The function call would look something like this.
Code: Private Sub frmMain_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim Username, Password, NewPassword as String