Possible To Perform Web.config Transformations Without Publishing?
Aug 19, 2011
I am using VS2010, and I understand that when I publish a web application, the Web.config I am using is transformed based on the build settings.i.e. When I choose Debug, it uses my development SQL server, and when I choose Release, it uses my production SQL server.What I want to know is: Can I, using only the built in Visual Studio Development Server, select "Release" from the Configuration drop-down, and then the green "Continue" arrow (F5), and run using the transformed Web.config settings?
About publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?
is there a control which allows me t amke slideshows of some kind?Like one image flowing into an other after a period of time (like the desktop backgrounds of Windows 7).
Question: I need to draw pictures as below in C#/VB.NET Draw ishihara-transformations (circles in circle without intersection)?
Note that my problem is NOT drawing circles in C#.
My problems is drawing them without much whitespace and without intersection.
My thought would be using "Orbits" and then draw the circles with center on the "orbit" lines. (with some orbit lines for bigger and some only for smaller circles)
In VB2005 GDI+, it's not too difficult to get zooming and panning working together, or rotating and panning. But I am finding it very difficult to get all three functions working in coordinatioin. The code below is the nearest I have reached so far. It's a working example on a standard Windows Form, but please supply your own image. The user can drag the image with the left mouse button, and toggle wheel zooming or rotating by tapping the space bar. Both zooming and rotating work. But the stationary centre of zooming or rotating (marked by a red cross in the example) remains relative to the image.
I have a class library (Named ADI), that needs some configuration settings from the project using it (like connectionstring, filesystem locations etc).
I want to define these settings in my Windows Forms/Web Projects App.Config or Web.Config, like other settings.
Here is part of my app.config for my windows forms application:
Our main application has both a asp.net and winforms component. There is a class that is used by both sides and needs info from either the web.config or app.config files. The class itself does not know if it's on the client side or on the web server (at this point). We are getting errors when it's attempting read app.config when it's on the web side. Is there a way for the class to tell if it needs to read web.config or app.config?
I had a working WCF published to IIS on my server. Recently I created another, self-hosting WCF (windows service) and added a reference to it from my WCF on IIS. Like this:
ASP --> WCF (in IIS) --> WCF (as win service)
Now, I can't seem to add a reference to my first WCF in my ASP app. So I've got this:
ASP XXX WCF (in IIS) --> WCF (as win service)
Here's the service model from the WCF in IIS. I'm publishing to http://localhost/LetterWriterASP/
<?xml version="1.0"?> <!--
Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio.A full list of settings and comments can be found in machine.config.comments usually located in
when i publish an app in vb.net it creates some files: application files directory, app.application, and setup.exe i am going to be distributing this application to people who can barely use a computer, so i need to bundle everything in one, self-extractable package.
In my current program, I'm calling some EXEs by just clicking on a button (so basically an all-in-one tool). (I'm using VS 2010)Question is: when I publish my project, you get of course a setup which you have to install. I'd rather have it be an EXE you can just launch.
When i use the 'Publish <ProjectName>' feature in VB .NET, a setup file is created. When u run the setup, u cannot specify where u want to install ure program. Is there any way to change that.
I'm a college student, and I made a web-based game for a friend using Visual Studios. I created a WPF project, and it's saved as an .xaml file. All of the free web hosting sites I've found would only let you post in HTML, CSS, or Flash. I've looked online for any help, and even looked for converters.
I have created a simple website in visual studio 2005 Express. How do i publish this on a IIS server? I have installed asp.net so do I just copy default.aspx, default.aspx.vb and web.config into c:\intepub\wwwroot\?? I hope this is the correct forum,
I created a program, but I can only publish as an application manifest and .app file. I want to publish or resave it as a .exe file that contains the entire program.
i can publish my app fine.it creates the setup and the rest of the files, whatever they are.on my operating system, the setup runs fine.when trying to install it on another system, it asks for the microsoft 3.5.net.this update can take quite a while.how can i publish my app, in such a way that it can run from the files in the setup and not have to have any other addons, as .net framework. i know it's possible, since i was able to install other software before i had the .net framework.
I'm working with Visual Basic 2008 Express. My application opens with the Terms screen, a form that asks the user to declare his acceptance of certain terms and conditions or to decline. If he accepts, the app opens the main screen, giving him access to all the app's facilities. If he declines, the app gives him a message and then closes. Whether he chooses to accept or decline, the app puts his decision in My.Settings so that it can be used next time the app is opened. In this way he is presented with the Terms screen on the next opening if he declined on the last run. But if he accepted on the last run, he is presented with the main screen on his next opening.
All works fine when I do a debug run. But when I build and publish the app onto my desktop it opens with the Main screen instead of the Terms screen.
I am using Web Application Deployment for publishing on IIS. At first I have converted my website to a web application. My application compiles and build fine on my VS2005. But when I try to run it via CC.net. It comes up with a 100's of errors. Following is the list of someof the errors that keep repating in the same file.
errorBC30284: function 'GetCannotChangeMessage' cannot be declared 'Overrides' because it does not override a function in a base class.errorBC30451: Name 'GetAndChangesCanBePerformed' is not declared.errorBC30456: 'GetStatusMessage' is not a member of 'Object'.
why my build is failing with these errors. As functions are overridable in base class and also names declared
Ugh, missed the g on "Changing".. I'm working on a program that needs to be edited outside of the program. I won't go into a bunch of specifics. Basically, I have a 4 buttons and a .txt file. I want to set ti up so the user can change the word in a line so that it will change the button's text. That's the first part I'd like to knock out.
I've just completed my first VB.Net program and I want to publish it as a stand-alone program. When I use the "Publish" function from the Project menu, it creates an installation program that is required to complete before I can use the program freely. Is it possible to just make a program that will run without needing to "install" it?
I have a running program currently installed in my server, this program is running 24hrs a day. Now I did some enhancements on this program and tried to publish it. My publishing is successful but when I click the setup.exe Im have error message: "Critical error during application's main start up procedure. Description: Required processing files missing." I tried to deploy it also on my server but the same problem so I copied back the original for the program to keep on running. Attached Images error_when_setup.jpg (19.1 KB, 38 views)
i just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows
PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) Common Language Runtime : 4.0.30319.235
I've written a really simple launcher app for my team at work to use. However I wrote it in VB.net Express 2010 so its using .NET 4. I need it to be compatible with older machines that are using .NET 2 or maybe 2.5. I don't want to force upgrading to a higher .net if its not needed. And in some cases we work on old machines that can't be upgraded. My app is really simple and I'll post the code if needed. I am still a noob, my coding is ugly, and this is a quick and dirty tool.
I have a problem when im trying to publish my project to my ftp site, ive put in everything corectly..i get a message saying Error 1 Failed to connect to ' url... the Web site url...The components for communicating with FrontPage Server Extensions are not installed. ive tried microsofts fix for it - without sucess/.im using visual basic 2010 express/
i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing.
I have installed an application in MS Server 2003 R2 that I recently completed. Now I'm trying to install an update. It installs but does not recognize it as an update, it Installs the app. as a second App.I Installed the same app. in XP and the update was recognized and the app. was updated.Is there a special way to publish for MS Server 2003 R2.I'm using VB2008 Express in a Vista.