VS: Windows Application Development - Undo "Build" Or "Publish" Actions
Apr 21, 2010
Is there a way to undo "Build" or "Publish" actions (like unbuilding/unpublishing) in order to get the original files/folders of the application? I am creating a program for a homework assignment and we aren't supposed to build or publish our applications but I didn't save my project before building and publishing it (out of curiosity) and I didn't upload the application's folder to the FTP server before so now there are "extra" files and folders (created during the build/publish process) and I don't know which ones are the "extras" and which I need to upload.
This is probably a simple question, but usually I develop ASP using VB.I have a small project where I am in need of creating an executable that will be a process that runs on a schedule with no user interaction.What type of Project do I create?Do I do a Windows Form application, build it and publish just the exe?I really don't need an actual window form, I just need the code to run.
I publish a VisualBasic 2008 windows application, from the Build menu,but when I install it by running the installation's setup.exe, an unusual popup window showing Windows connected to the Internet pops momentarily, and then the application opens and runs.But the application's .exe is not in Start > Programs, or on the desktop, or anywhere.Publishing and installation worked perfectly a few weeks ago.
how to run a Windows application within the VB.NET development environment. How can I 'build' or save my VB.net application, so I and others can run this application without runing the Visudal Studio?
After getting the code below from here, I would like to learn how I can easily copy/paste and undo/redo actions. The code below allows a person to "draw" on the image.
I am working on a VB6 project and my organization is planning to upgrade the technology from VB6 to VB.net. As I am new to VB.net windows application development, I dont know where to start and what to include in code. I have read that VB.net windows applications code should have AssemblyInfo, CultureInfo, Windows Security authentication etc. But I have still not found any article, code sample or VB.net windows application sample that could give me a complete list of features that an organization level VB.net windows application must have.
Now I did a clean build, and tried to publish, and I get a lot of errors and warnings that I don't understand.
Error1Cannot publish because a project failed to build.11AllJ Slots
Warning2Assembly 'Microsoft.DirectX.AudioVideoPlayback.DLL' is incorrectly specified as a file.AllJ Slots Warning3Assembly 'Microsoft.DirectX.DLL' is incorrectly specified as a file.AllJ Slots Warning4Assembly 'Microsoft.DirectX.DirectSound.DLL' is incorrectly specified as a file.AllJ Slots Error5An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISigned :Sign returned error: 0x80880253
The signer's certificate is not valid for signing.
SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exeAllJ Slots
I have to develop a new application in windows. in which i have to develop following thing but i am not getting how to develop it.I have to develop following are the two points:1)To show the http addresses that are visit by other computers on the wireless network.
So when i build or click debug on my program. No errors come up and its smooth. So i decide to publish my programme. However. I come up with a bunch of errors during the publishing.
Here they are:Error 1 Cannot publish because a project failed to build. 1 1 Simple CALC
Error 2 Unable to copy file "binReleaseSimple CALC.exe.manifest" to "binReleaseapp.publishApplication FilesSimple CALC_1_0_0_0Simple CALC.exe.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
I'm looking for a way to have my code build two copies of itself at once.The program has an "A" and a "B" configuration that need to be compiled as Prog-A.exe and Prog-B.exe every time the code is compiled. I can do this manually, but I assume there's some way to do it in code? What I'd like is to use conditional compilation to have the A configuration compile so that it runs a "setup as A"-type method on load, and the B likewise, and then have it compile both versions each time.
I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I've released the code as a Google Code project. It's easy for a developer to get the source but I'd like to make it easy to install too.
What I did was make a release build then zip up what it created, this included a setup.exe. There was also an option to "publish" my project which looks like it can enable update checks and other stuff.
Today I was build one Windows Service Application which has the reference to 4 Dll. After building the Release I found that there was one more DLL in addition to the reference I have. I checked using ILDASM and it only showed 4 dlls.What could be the issue ? How I can I check why it is getting unwanted DLL's in Release Folder?
Using Build ---> Publish is nice, but it installs (on the client's machine) into an esoterically-named directory. As you can imagine, this is a nightmare to backup. Does anyone know how I can direct this thing to install into a directory that I choose?
I'm a relatively seasoned VB (COM) vet but this is my first VB.Net application and as is my luck a web services application feeding off a site that I can't publicly mention nor can I post any code that may expose the site.
So, here's the problem. I have written a simple form and have 2 buttons. 1 button simply asks the webservice for it's version. This works no problem. I was able to load the web reference using their supplied WSDL file for this "version" class. Now that I have that working I think "GREAT, that was straight forward. I have my credentials, urls, etc working, the rest of this should be just as straight forward." (See where I jinxed myself here?)
Anyway, I move onto the next WSDL and set of classes and get that reference added no problem. (Man that took a LONG time, like 20 minutes.) I then build my "Get my order data" code syntaxes on the prescribed exposed classes and run my project just to see what errors I get. The "run" process takes almost 45 minutes to an hour..... It's as if the app is getting the WSDL set all over again but doing it over and over..... I have no clue what's going on.
I've tried to disable all the Windows 7 "potential" issues, UAC, firewall, etc, but these changes don't help. Anti virus, spyware, etc all these are off and no difference. I'm running VS2008 as an Admin, right click "run as admin", and have complete control over this machine. Any ideas, suggestions, etc are VERY welcome and I am happy to expose as much of this application as I can providing I can stay with in the rules of the confidentiality contract.
I am using VS2010. I have a project that has been deployed for several years. Project builds fine but now suddenly I get the message "Cannot publish because a project failed to build. This program is been updated and published hundreds of times.
Explanation of Build verse Publish Compile in simple english. I have my first appication I want to now deploy. I have been reading about Clickonce and it looks like a nice solution for my project. I actually tried it already but I recieved an error message "forbidden" I think there is an issue with my hosting site? Anyway I have been reading and am a bit confused to these different terms. Is build what I would use if I want to add-in a set-up / installer package with program with an exe file, sort of like the traditional way of handing someone a disk and they install it on there machine? Publish appears to what is used for the click once, but I dont think thats the only thing. I can publish to a disk? It looks like I can publish to my own computer until i figure out my website issue and test the program from there?
1) Cannot publish because a project failed to build.
2) An error occurred while signing: SignTool.exe not found.
Regarding #1, I can manually build and rebuild the application without error. I only get this error when I try to Publish.
Regarding #2, I looked in my SDKv3.5Bin directory and indeed the signtool was not there. In fact I only had 3 files (genasm.exe, genasm.exe.config, and hidpi.res). I copied the signtool.exe from the Visual Studio 2005, (file dated 10/26/2006), but I still get the same error saying it can not find the file.
I have just finished a VB2005 Express Edition program that I would like to distribute, but am encountering this error message during the execution of the setup.exe file on the destination computer:
I have a "ClickOnce" application and on the Splash screen I display the Version. I am also displaying the "CreationTime" (see below) that I thought was when the Build or Publish was done. Today I realized it is displaying the date/time when the application is actually installed on the PC. How do I pull the date when the this version was compiled, Built, or Published? I really do not care which -I just want a constant date the sticks with that version. I'm using VB 2005.
When I use the Publish command in the Build menu pillar nothing happens expcept for a few seconds showing the wait cursor. This was working a week or two back but I have now installed sp1 for Visual Studio 2010 - is this a bug or is there some way. I can get this working again. I cannot access the project properties either, which is a known problem with SP1, so how to edit the project.vbproj file.
i am developing one eform designer project..the main object of this project is there a form in this controls are drag and drop.moving and deleting and editing the properties ..it's like a our .net designer how we drag and drop the controls ..so in my project i need to implement undo/Redo functionality..please give me the basic idea of this..(Please think like a our .net Designer (UNDO/REDO))
I just created a simple application. I Builded that using build->build myapp. I got .exe of that application. i runned. all went fine. but when i closed that app, even after closing it is in memory. it is still running. how to deploy it properly?
3. Find & Select an element(mostly element ID or div ID) on a web page like buttons etc.
4. Then extract data from a webpage . Like there's a word for example "Yellow" word in the web page . I need it to find it and copy it then paste into a textbox in my application.
I am looking for a VB.net book that strings me through the entire development process of an application (Prefered: WPF ,LINQ ,ADO). I have read a few books on OOP and VB.net with small code samples demonstrating the specific idea of the chapter.I think it would be really helpful if there was a book that programmed an entire application that uses a sql database (Northwind , Adventureworks).
Just finished a database for stock management system in local terms and language. All according to their request and agreement. Now they need me to add undo/redo functionality to the application and I just dont know where to start. I am looking first for a general tip on where to begin:
I have one form, for e.g., that manages their stores. Then another for catagories...now they need the undo for all this things and am not sure if it is even possible cos datas are related.