Change Build Executable Image For Program?
Jul 18, 2011How do you change the build executable image for your program? Right now mine looks like a blank form. I would like to add a custom image.
View 2 RepliesHow do you change the build executable image for your program? Right now mine looks like a blank form. I would like to add a custom image.
View 2 RepliesI have a program that outputs a file. I want the user to be able to just double-click the output file and launch the program, just like Word and Excel. In Word for instance, one doesn't necessarily have to open WORD then click on File--> Open and locate another Word doc. He can just go to the folder and open the Word doc. I want to implement the exact scenario in my program.
So far I have tried creating TextFile and added it to the Resources. On FormLoading, I simply I stream-read the Resouce file, but I can't write to the Resource on FormClosing, since the Resource is ReadOnly. Also, the Resource is built & compiled so I suppose you can't add anything to it at run time.How you lunch an output file without launching the Executable program that created it?
Imports System
Imports System.Windows.Forms
Class MyButtonClass
[code].....
As Google and Yahoo have provided barely anything, I was wondering if anyone can point me in the right direction on how to, or an example of how I can build a working executable during runtime in vb.net.It's for my custom school project.
View 1 RepliesI finish to makethe forms and the code of my project, but when I try to make the executable file it shows errors about some forms that I created as test but I deleted so I wonder where I need to go to take them out and try to build again my executable smoothly?Example: Unable to open module file :'C:....CrystalReport2.vb': The system cannot find the file specifiedNote: That CrystalReport file was eliminated because I didn't need it.
View 2 RepliesI want to build a executable that asks you a question like "Do you want to download file?" and when the user says yes a file will download from a defined server location to executable defined directory?
View 7 RepliesIn VB6 you could BITBLT things around before refreshing the screen. In .NET, I'm aware of DrawImage, but that can only be done on a paint event rather than before anything gets painted. The issue I have is, I need to open several files with image data in them and then build a bigger image with those smaller images. Before I could open them, BITBLT them to a Buffer. As far as I can tell .NET offers no way to do this as the only function I've been able to find (DrawImage) only works within the paint event. Is there still a way to do this in VS08 or no?
View 6 RepliesI wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.
View 5 RepliesRecently the study vb.net but I still have not figured out how do I remove an image or an executable from the resource. If I put an image and add to the resource and I would extract C: foto.jpg
View 1 Repliesi'm using VB 2010 Express and I want to change the Executable Version Info?
View 2 RepliesI was wondering if it is possible to have persistent changes to resources in an executable. I am using VB 2010. I don't know how to be much clearer than that but I will try.
> User opens program and picks 'File A'
> 'File A' is now copied into the executable, thus storing it forever (or until deletion of .exe
> .exe is now slightly larger because 'File A' is inside the program
> User can extract or delete 'File A'
I am totally a newbie to VB.net, now I am developping a Windows Service, which will start an *.exe when starting. How can I detect and re-start a process of this executable if it got killed by some other program?[cod]e...
View 2 Repliesthis i want to make my program to be executable..but i dont know how to make when i go to the file the makeproject1.exe is greyed out...what is the problem on this.
View 2 RepliesI want to share an executable program that I was working on.
View 3 RepliesI'm trying to run a program (mame.exe) within a vb program. Mame is a program that allows you to run old video games. The games are stored in rom files. If you want to run mame.exe from a dos prompt, the syntax is "c:/mame.exe [rom]". The [rom] is the particular game you are running. I'm trying to create a front end menu from which I can execute games.
I've tried:
Process.Start(
"c:/mamefiles/mame.exe [rom]")
and I get an error that says it can't find the file.
I tried
Process.Start(
"c:/mamefiles/mame.exe", "[rom]")
and it seems to start the program but immediately shuts down mame.I tried
Shell("c:/mamefiles/mame.exe [rom]")
and again it seems to start the program but immediately shuts down mame.
Ok, so I'm working with a team of people/programmers and we are all trying to explore the possibilities within Visual Basic 2008. As such, we are all working on our own programs at the same time, but all for one small organization. Well, I'm working on making an installer that will bascially do as follows:
View 4 RepliesI have a custom button in IE8 which starts up my program. Now what I wanted to do, was pass an arguement such as: 'myprogram.exe /ie'
From the IE8 button, and well my program will do rest from there. Now my program adds the button just fine, shows up fine, all that works. But each time i'd add an argument after my application path, IE8 would say it can't find the program. If you want to test this out, goto run, type in gpedit.msc, then 'User Configuration'->'Windows Settings'->'Internet Explorer Maintenance'->'Browser User Interface', and double click on 'Browser Toolbar Customizations'. And in the small window that pops up, is an option for adding custom buttons to IE. I was using this for testing purposes, since it was faster to edit a button here than in my program. When you add a button you choose the executable to link it to. But if you add any arguments after it, IE will simply not be able to find the program. Even if that same command works when you type it from 'run'.
So, now my question is, since apperntly you can't have any arguments in the button, is it possible to detect what executable starts your program? For instance, detect if iexplore.exe started up my program?
how to make my program installable to other pc? Can I have a simple procedures.
View 4 RepliesI have an executable that I was able to get working on all XP machines by registering all the .dll's associated with it.On Vista, however, I go through the exact same registration process but right when I open the executable it goes to a "WindowsApplication1 has stopped working" dialog. I registered the DLLs in the SysWOW64 folder. I also ran Dependency Walker which came up with IEFrame.dll as flagged, don't know if that is relevant though.
View 6 RepliesI would like to install a readme.txt file in the same All Programs folder as my application using ClickOnce deployment. The Build Action property is set to "Content" and the Copy to Output Directory is set to "Copy always" for this file. In the Application Files dialog box, Publish Status=Include for the file. After running setup.exe, the app is installed properly in the Start/All Programs/MBCI folder, but the readme.txt file is not there. Is the file installed somewhere else?
View 4 RepliesI am working on a relatively simple program in VB.NET. I am trying to make the installation process as simple as possible for the user.I know its possible to use the executable from the debug directory as a stand alone executable, but are there any drawbacks to this approach? For example, if the user does not have .NET on their machine, the program will not run. Is there a way to publish the program so it is self-contained in a single executable file?
View 4 RepliesI'm working on a Steam Skin Creator. To do so i need to make my app to be able to make Targa images, since the user can change the color of the skin. I need to know how to make a 32-bit Targa image byte by byte, and how to color specific pixels. Here is how the TGA pic will look like ( 10x10 pixels )
I've got a listbox in visual basic 2008 with lines that look like:
item 0; item 1; item 2; item 3
How can I select that line and change within that line the value of e.g. item 3? (by default it's set to 0 and should be set to a value > 0 when entered by the user.
After that I need to calculate the total price based on the price in item 2 and the new value of item 3 (being >0)
When CheckedListBox is only one line high, all itmes hidden, there are two small black arrows on right side, one up and another down. I want to CheckedListBox only has one down arrow, when click the down arrow, will popup a window and show all items, like the control below [URL]
View 1 RepliesI've got a variable, BuildDateTimeStamp, would it be possible to add a pre build event to update the value of this variable?code]...
View 3 RepliesI wish to have two EXE files in my project. Say one EXE has startup form ABC.vb and other is BCA.vb I am not able to change the name in Build so whatever is my startup file, my exe file's name remains the same. How to change it?
View 1 RepliesIt's probably the most basic of things, but all I can find is how to launch a program, and not with the interactions I desire. Any tips as to the terms to use to search for answers, or links to topics regarding questions similar to mine, would be very appreciated. I have a wealth of info to read through, but I could use your knowledge to save myself time.Here is what I am trying to do:
Use a Button (A) to Launch a Prompt where User Selects Directory Path to an executable Program. The Selection is to be Persistent after the initial selection (saved in a settings file i assume?), and the Selected Path (or just "programname.exe") is to be Displayed in a Text Field (B). Launch Selected and Indicated Program via a Launch Button (C)
I am "weeks new" to visual basic 2008 but I was hoping that someone might tell me how I can open an image in whatever type of "visible" graphics window (always positioned at: x=0 y=0); move to some "definable position" of interest x=(n) y=(n); change the brightness of that "individual pixel" by some "definable means of measure" from its original state; and save the new image as a separate image file?
View 4 RepliesI am currently building a system in SQL Server 2005.
I have a table that holds information about certain insurance schemes such as overheads and other things. These values will change occasionally and currently I administer the database straight through the management Studio.
I would like to build a simple interface that will allow my colleagues to change these values by selecting the company in a dropdown and the current values will populate. They can then edit these values and submit them to the database.
Is this possible in the current Visual Studio supplied with SQL Server 2005 or do I need to get another product.
I am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....