VS 2010 - Can Multiple External.EXE's Be Compiled Into The FinishedProject.EXE
Jan 13, 2012
I've made great headway with an application I've been working on for the company that I work for. Will probably wind up getting a nice raise just because it's so versitile and can be completely customized. It's to be used to execute remote commands to perform different tasks on the workstations that we have here at my office (approx 100+ workstations).Anyways... After weeks of googling and forum reading, I have all that figured out. Here's a good generalized question:Rather than my application starting an external application with the system.diagnostics.process.start("PathToExternal.EXE", "/ExtraSyntax", "user", SecurePasswordVariable, Domain) is there a way that the External.EXE file being called upon can be compiled INTO the WHOLE application at build time?Can multiple External.EXE's be compiled into the FinishedProject.EXE? Like, I'm in VS2010 Express and I can place multiple External.EXE's into the Solution Explorer. In my application, for the "PathToExternal.EXE" I can drag the file listed in the Solution Explorer INTO the
system.diagnostics.process.start()statement and it'll translate out to "mydocsVisual Studio 2010ProjectMyProjectMyProjectExternal.exe"
If I run it from VS2010 it'll run. It'll do everything it's supposed to do... I check and there's a copy of the External.EXE file's in the paths listed above... Those files are 53.5kb and 135kb each... My built Project.exe is only 35kb... Is there a way to have my External.exe's compiled into the project. exe so that at run time, I can just pull up their function? or extract it from the complete Project.exe, use it, then delete it???? I've done this before with a scripting application called AutoITScript... I'm wondering if VB has this function....
I would like these to have their separate "Bin" folders too if possible at all (I tried using "Probing" but I guess that's not allowed for web apps and defaults to "Bin" folder). If not that then definitely some ability for these to work together under one app/virtual directory because I'm not allowed to create another at any cost :(
Does anyone know how I could get my app to show the ISP of the machine it is running on, I can get internal and external IP addresses, just need to know if possible and how to look up ISP from this information
I am using VS 2010 to create a Mac OSX like dock application.Everything has worked great apart from one of the key features of the dock! So what I want is:When the user clicks the minimize but on any (including external application) it minimize to the dock I have created rather than the windows Task-bar.
I start an external Program using System.Diagnostics.Process.Start I want monitoring when a user has started a new file, saves or opens another file and get the info of the file in current process
I guess this one is pretty basic, yet i have not been able to figure out.So here's the deal, my application uses an external exe to generate some txt files that the application needs for a use case. Since hard coding the path of such exe would be hideously wrong in so many aspects i would like to include a little configuration option for the user, so he can specify the path of the external exe for the application to be used.I also would like to have something like that for the path of the Database I'm actually using.
I'm trying to send a click to an external app using the coordinates inside it, not the coordinates of the screen, if you can understand me...
How can I do this? Being more exactly, I'm trying to get a radio button's coordinates of an external application, then, clicking it (using its coordinates, not its class/name), if its possible...
I would like to include a text file for easy ediing of data that my app will read and pull data from. My external data file is a csv fileI want to display a checked list box that display this info and based on selections in the checked list box cand in a procedure later call commands based on those selections.
In a program of mine, I have a resource (which is a textfile). This contains also vb.net code, It is resource which is binded to an .exe, with the mainprogram that I have. So the main program calls the resource, and the resource bind to an exe file.
I have this line: Declare Function GetProcAddress Lib "kernel32" (ByVal handle As IntPtr, ByVal name As String) As IntPtr In the source.txt and I want to replace this whole line by a string(or word) which calls this line from somewhere else. For example in another source.txt. A textbox is not possible because this is not a vb form, but a .txt-file. Maybe I can create another resource, which IS a vb.net form, call it or something? In this case. I can create a textbox with this line that I gave above, And I can use it by: textbox1.text.
how to compile other files into an external file, where they can be accessed by the simple "application.startuppath" code. I got all the files i need, the .dlls, my .exe, and my resources, but the tut's i have been finding havn't been working for me. [URL] tried that with a few adjustments after it didn't work twice, and still no luck.
I am trying to write a simple standalone windows forms project that basically contains various buttons which run external application setup files. The problem is I want to be able to run it from a USB stick. I have created a folder inside the project with all the files I need to call in it. I am using Process.start but the paths are obviously going to be wrong when the project is running from the stick as the drive letter may be different each time. How do I over come this.
I'm trying to set hotkeys for all my favorite websites. When one of these hotkeys are pressed, I want it to load the assigned website in internet explorer, but I want internet explorer to load on my SECONDARY monitor. I've already set out the hotkeys to load internet explorer, but it loads on the wrong screen. How to check if an instance of IE is already running. To be a bit more specific: the secondary monitor is set to the LEFT of the primary one. And the resolution is at 1440 x 900. So basically, I want to programmatically set IE's position to (-1440, 0) from within my application itself.
creating a COM component Instance like this for supporting multiple version of COM components
Creating Instance Private _cmObjct As Object Public Property CreatingInstances() As Object Get
[code]....
at the same time how to declare this method without referenced dll SSDP is an interface so how to declare this interface for my usage is this Correct ...?
Error: Dim d as Object = Activator.CreateInstance(Type.GetTypeFromProgID("SecureTronics.SSDP"))
Weird problem, it only happens for one of my clients, and it happens on all 3 of their computers. Their computers are Windows XP.My form has a Windows Media Player control on it, to play a video from the internet. When the form loads, I get an exception "External component has thrown an exception". It happens in the form's designer, in the InitializeComponent procedure, at this line:CType(Me.wmpVideo, System.ComponentModel.ISupportInitialize).EndInit()
It works great on 100 other clients computers, running XP, Vista, or 7, and this is the first person to have this issue. If I take the Windows media player out of the form, it works fine.BTW, those computers have Windows Media Player installed, I already checked.
I wam trying to create a application that will take a screenshot when the timer ticks over.What I need to find out is how do i Make a type of 'crosshair' system for the window that the screenshot will be taken.ike I will have my main VB app and the end-user will drag the crosshair over lets say, Their iTunes libary and the ap will get the height, width of the iTunes and then take a screenshot JUST OF THE ITUNES program, not the whole dekstop.
So i want to start an application with my vb.net app and it should start as a hidden process, meaning no window and nothing in the task bar, only in the task manager ofcourse.
This is what i do
Dim fov As New Process If CheckBox2.Checked = True Then RichTextBox1.Text = RichTextBox1.Text & vbCrLf & "* - Launching" fov.StartInfo.FileName = ("test.exe")
[Code]...
This does not work.. I have also tried the "fov.StartInfo.CreateNoWindow = True" command which does not work either. I can live with a solution that would start the window minimized instead of totally hidden.
I am wondering if it is possible to call an application, say "notepad.exe" (among other application's that are already open) and setting focus on the same, so the user can readily start working on it.
I want to get status of an extarnal program for example notepad.is it minimize,maximize or active or in background? how can understand from my vb application?i think need to write api function. i found somethink from forums but they just control extarnal application not give a status.
I have webbrowser1 whihc is used to download files on my server in the background (invisible)but when its an external link (which could be any filesharing site eg, rapidshare, mediafire etc)a new tab shows called "external link" with the webbrowser1 visible, and of course mediafire, rapidshare visible/navigated.how can i close this "external" tab when "save as" has popped up from computer?i cannot do it any other way as all filesharing sites are different.i already know how to close the tab, just need some sort of event handling on this part.
My question is as follows: The user has clicked File>Open in Notepad and also clicked on a file/folder. My Application in VB.NET needs to know the path and filename of the selected file/folder before the user selects the OK button of the Open Dialog box. How can I do this with VB.NET (VS2010).
I have a VB application that executes an external application, via Shell().
What I want is to be able to have control over the "shortcut properties", if you will (such as icon & title), resulting in the external app being forced to use that specified icon and title for its spot in the taskbar while it is running.
A normal desktop shortcut does this easily (by editing its properties) but I don't know if it's possible to take advantage of that.
I know that here there is a similar question but I would like, if possible, to be able to define a relative path for 'Start External Program' or any workaround that do not constrain me to add a complete new empty project to my solution. I am using VB.NET in Visual Studio 2010 environment developing WinForms apps.
I wanted to know if it is possible to Zip a folder without any external dll nor any external references - just with native features.I've been able to Zip files with System.IO.Packaging, but it does not include folders and I cannot tell it to Zip the parent folder.I know there are external dll and so, but I'd like to know if it's possible to make it from a native way.