Asp.net - Adding C# Web Form To VB Web Application

Feb 18, 2011

Is there any way to add a C# Web Form to an ASP.NET 4.0 Web Application that is written in VB.NET? I had an ASP.NET 2.0 WEB SITE that I recently converted to an ASP.NET 4.0 WEB APPLICATION. It was mostly written in VB.NET with a couple pages that had C# code behinds.

I've read the following article (the end section about mulitple languages):

[URL]

But it does not seem to help for the following two reasons

1) When I converted my site to an application, it didn't seem to add an APP_CODE folder at all

2) I'm not looking to just write a simple class, I actually want to be able to add a WEB FORM with a C# code behind

When I try to add a new item and I select which type of item I want to add, I am only given to option to add a VISUAL BASIC web form.

I have a workaround right now. If I need a new web form with a C# code behind, I take one of my old C# web forms and just copy and paste the form and C# code behind into the project and then rename it and change the class name as well. Then i make my changes and do what I need to do. It seems to work, but I was just wondering if there was an easier way.

You might wonder why want to put C# forms in my VB app. I wrote my app in VB (not well versed in C# but I can read it). I have a programmer working for me that is much more efficient with C#. I don't really have the budget to spend weeks/months getting her up to speed with VB

View 2 Replies


ADVERTISEMENT

Adding Windows Form Functionality On Web Application

Oct 27, 2011

I have been building a Web Application (ASP.NET, .NET Framework 4, VB, visual studio 2010). To be very brief the application interacts with a database and performs several actions (Insert Delete Select etc..).I am using several Gridviews, ListBoxes etc and I am not happy with the presentation outcome and the functionality provided by asp.net. In simple words my application looks bad, outdated and unprofessional.I figured that using Windows Forms that will be incorporated to the ASP ap.I have created a Windows Form Control Library to use the dll created in my app as a user control. I found out that this is not supported in .NET Framework 4 (is this true? or am i doing something wrong?). Is there any way to make my application have the 'look and feel' of a windows application? Please note that it is has to be a web app and the clients should not have to download any other application to interact with the server.

View 2 Replies

Adding A Startup Form To A Class Library Application?

Mar 25, 2012

I have a project that was created as a class library application. It does not have any start up forms. How do I add and show a start up form to this project? Where does this application start since there is no Main Sub that I can find. I am using Visual Studio 2008 express.

View 2 Replies

Interface And Graphics :: Adding A A Form As A Child Form To A Third Part Window

Mar 24, 2011

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.

[Code]...

View 7 Replies

Adding Simple Excel Like Form To A Windows Form

Aug 7, 2009

Can anyone tell me how to add a Excel like form to a Windows form so I can add and remove rows/colloms and do simple calculation. It would be nice to have tabs along the top.

View 4 Replies

Adding Application Into VB?

Jul 15, 2009

I'm doing a IPv6 simulator and now trying to add a IPv4 to IPv6 converter.But i don't have any clue how to add this converter into my vb codes.

[code]Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[code]......

View 3 Replies

Adding A Validation To Application?

Mar 15, 2012

Atm im doing a project and need a box to pop up when a user enters an invalid value, such as text or a minus number.

View 18 Replies

Adding Documents To Application?

Jun 2, 2011

I have a slight problem. I have created an application where I am using linklabels to refer to a website, this works with no problem at all, however the problem that I do have is I cant work out the command to refer to a file or document.The code to refer to a file on my PC is simple enough and works fine:

View 4 Replies

Adding Icons To Application

Oct 26, 2009

I am trying to add to my application some icons via the code.When i run my executable from debug / release compilation folder it works good.But when I move my executable files to other folders it tells me that it doesn't find the icon files.Any idea how/where I should tell the compiler to add those files to my final executable version ,that they will be visible.[code]

View 2 Replies

Adding Jpegs To .net Application?

Apr 9, 2010

i am using itextsharp and creating a PDF with images. currently the images i am using in the application are on my desktop, but i will need to make an installation file that will put the images in a specified directory on the users computer and be able to call them from the specific directory.how do i include pictures with my build?how do i reference the pictures? currently i am using:

Dim jpeg3 As Image = Image.GetInstance(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "2.jpg")

View 1 Replies

Adding In Some Bluetooth Functionality To Application?

Sep 9, 2009

I am looking at adding in some bluetooth functionality to my vb.net application. I require it to couple with a specified mobile phone (that is found by the app) than to be able to retrieve contact information, phone calls (made and recevied) and images from the phone.

Can anyone tell me what my best approach will be for this? If there are any good third party solutions that will do it? If it is actually doable? Im thinking that it should because im basically mimic'ing what all the new fancy cars do with their bluetooth phone compatibility.

View 1 Replies

Adding It To The Web Application's References Folder?

Aug 11, 2008

I'm following an article (here) and stuck on the following:"Once you have created this class and compiled it, to use it in an ASP.NET Web application, start by adding it to the Web application's References folder."

Ok, so do i now need to compile my vb class file into a .dll and reference it from the BIN folder? If so how do i compile the vb file? I'm running VS 2005 .net 2.0

View 5 Replies

Adding Multi-threading To Application?

Jun 15, 2009

I am working on adding multi-threading to my application. I have done two applications using multi-threading following a tutorial of sorts, and modifying the code to "get my feet wet."

This is the first time I am trying multi-threading within my own application, and I feel I should be beyond this type of problem, but after a 3 hour search on the forums, I can not find a solution, so I am posting this thread.

The section of code with the error

vb.net
Imports System.Threading
Imports SldWorks
Imports SwConst

[Code]......

View 9 Replies

Adding Sub-categories To Database Application?

Apr 26, 2012

I am working on a inventory application and I have a question, I have created a table for each of the main categories that I will be using, now if I wanted to add sub categories would I create another table for the sub directory and set the type as a child for its corresponding category or would it be easier to keep the main categories and just add another column in each table for "sub category" so it uses the same table but I can just filter it out easier?

If it is a better option for creating parent and child tables, how would I go about listing them in a hierarchical treeview to show parent and child sub-categories in them.

View 7 Replies

VS 2008 Adding Size To An Application?

Jun 19, 2009

I need to make an application that I'm working on seem bigger then it really is. Say it's actually 4 MB, but I want to make it 22 MB, what would be the easiest way to add size / fake the size of the app?

View 5 Replies

Adding Application To Right Click Explorer Menu?

May 19, 2010

I've added my applications extension to the right click menu via the registry (HKCR*shellCheck Versioncommand"c:program filesapplication.exe")

How do I make this extension aware? eg, the option only appears when right clicking files with my extension?

View 2 Replies

Adding Application To Startup Of Vista Or Win7?

Sep 30, 2010

How can I add application to startup of VISTA or Win7, using Setup and Deployment package?

View 1 Replies

Adding Application To Windows Right Click Menu

Apr 2, 2010

I've written a little application that uploads selected files to my ftp server. What I want to do now, is add that application to the windows right click context. For example, I've installed anti virus, if i right click on my desktop there is a there is a new item within the right click list which lets my right click on files and scans. What I want to know is, how to I add my application into the right click menu, how to get my application to respond when I click on the entry in the right click menu and any other thing anyone thinks will be useful. I have never done this before, and I have never been taught in class.

View 1 Replies

Adding Command Line Arguments To Application

Jun 2, 2011

Any way to add command line arguments to my application so that if someone wants to modify the settings they could run myexe.exe /settings and get the settings form of my application.

View 2 Replies

Adding Entry To Registry For Startup Of Application?

Sep 22, 2010

I took the following method to make a registry key in my setup project. When I run setup, it says Could not write value Run to the key. Verify that you have the sufficient access to that key, or contact your support personnel. "Below I have copied the code that I took from the forum After you have built your own application project, Right Click the "Solution" to "Add a New Project", of cource the project type is Setup and Deployment Project.

Add the "Project Outputs" into the setup project, here, it can be the your own application,Most of important step: Open the "Regstry" view of the setup project, then add new keys in "HKEY_LOCAL_MACHINE" according to the information I just mentioned. Below the key "Run", you can add a new string value. Then in the value's "Properties" view, enter "[TARGETDIR]YourApplicationName.exe" .Install your application using the msi file created by setup project, then restart your computer, you can see the result.

View 1 Replies

IDE :: Adding Glossy Buttons In Window Application?

Feb 5, 2010

I want add Glossy Button in my VB.net Window Application. How can I do it?

View 1 Replies

VS 2008 - Adding Application To Windows Startup?

Dec 12, 2009

How to Add an Application to Windows Startup visual basic 2008?

View 7 Replies

VS 2008 Adding A Product Key Needed To Application?

Nov 11, 2009

My question now is how can i add a screen where the user must enter a product key before he/she can use my program?

View 4 Replies

Adding Data Between Form To Other Form?

Aug 15, 2011

how to insert data from form1 to other form2?

View 1 Replies

2008 / Package The Application By Adding The Mysql Database

Dec 16, 2010

i am about develop an application and i want to do the following.

1. use vb.net 2008 for the application

2. use mysql database as the database for the application

Question:

1. is it possible to package the application by adding the mysql database so that during deployment it will be installed as well eg. vb.net 2008 and access database can be attached and deployed without installing any file to support

View 3 Replies

Walkthrough: Adding A Local Database Cache To An N-Tier Application?

Nov 5, 2009

I have followed this walkthough at http:[url]...but I am having problems working out how to save changes to the Local Database Cache so that I can use the bidirectional sync. This walkthough does not provide the code to save local changes,I have added the line of code for the bidirectional sync and it works if you drag datasources direct onto the form from the XSD but this uses the component TableAdapterManager and the method UpdateALL which I cannot see how to implement in this Walkthough ?how I change the local Database Cache and update back to server in this walkthrough ?

View 6 Replies

Adding A Reports Application Or A Crystal Reports Application?

Dec 22, 2010

I'm using VS 2008 to develop a solution which will report on data mostly contained in SQL Express databases, across two servers. It will be used by up to about 10 XP clients. I am unfamiliar with the Reports Applications. Will I need to buy extra licenses to use a Crystal Reports application? Why are they both included in VS? What is the basic difference between them?

View 3 Replies

Adding Controls To A Form?

Apr 1, 2010

I have been working on a VB 2005 applications for the past week and now I'm not able to add a control to the form. It's a very basic app with only one form and I can add the control in design mode but it does not appear on the form in run mode and is on the verge of driving me nuts. Pretty new to programming by the way.

View 8 Replies

Adding Information From Another Form?

May 27, 2011

I have two form

First 1 is main form name Form1

Second 1 is Form2

i want to get label1.text from form2 into form1.textbox.text

my example code

Code:
Text1.text = Form2.label1.text

this code work if both form are show()

but i want my form2 allways Hide()

View 1 Replies

Adding New Objects To Form?

Jul 8, 2011

I know that there is a method for doing this but I can't find what that would be. In my program I am looking to allow the user to create new elements(with code behind them) by entering a certain keystroke say ctrl+v(doesn't matter) and adds a textbox

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved