.net - MasterType After Converting From ASP.Net WebSite To Web Application Project?
Aug 18, 2009
After converting a Asp.net website to web application, I receive 'Type MyNameSpace.MyMaster is not defined' error on pages that use the MasterType directive.
eg In the aspx file <%@ MasterType VirtualPath="~/MyMaster.master" %> In the designer.vb file the following code is generated and has the error described above:
Public Shadows ReadOnly Property Master() As MyNameSpace.MyMaster
Get
Return CType(MyBase.Master, MyNameSpace.MyMaster)
End Get
End Property
[Code]...
View 2 Replies
ADVERTISEMENT
Jan 23, 2012
I am following the guidelines from [URL]..Mid way through the process they have you rename your App_Code to Old_App_Code folder and compile ... at which point i had DLL's in my BIN folder and i started to repair my aspx/ascx files.
e
Today i find the compiled bin files missing an now all my pages are sqwaking they cannot find the numerous Public Class - Public Shared Function's ... I have verified their build action to Compile but am unable to rebuild an have them regenerate on account of project errors.Advice on how to rebuild the bin or how to properly reference a Public Shared Function? My VB code includes an Imports statement taht used to find the class in app_code.
View 1 Replies
May 12, 2012
Is it possible to convert a full c++ project to vb.net project?
View 3 Replies
Sep 24, 2010
Is it possible to convert a project from Visual Basic 2 to the visual basic in Visual Studio 2008? If so, how do I accomplish this?
View 3 Replies
Aug 11, 2011
I am converting an old project I made to VB.NET from VB6. What would be the VB.NET equivalent of this VB6 class? I can't seem to figure it out.
Code:
Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal numbytes As Long)
Public strBuffer As String, strBuff As String
[code]....
View 13 Replies
Nov 4, 2009
I have my project in which i have many .bas files and now i want to convert the project into VB.NET. The vbp files are directly converted by Visual Studio 2005 but .bas files are not being converted.
View 2 Replies
Dec 27, 2011
I have several asp.net website projects for various sites.Currently I want to add REST API's to these projects so I can start developing mobile apps (using HTML5/JavaScript/CSS3 and PhoneGap) that make use of these webservices.
Since WCF is far more powerful than regular asp.net webservices (among others with control over the service and authentication/authorization), I'd love to add these to my existing website project.
I did a Google search but cant find anywhere a step-by-step tutorial how this can be done. And also if there's any functionality I'd possibly loose when adding WCF functionality.I was also thinking of creating a new project specifically for WCF, but think I'd rather add it to an existing website project.
View 2 Replies
Mar 13, 2009
I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox charavters counter control develped by [url]...The database is attached with MS SQL Server Management Studio Express and the files are stored in the SQL default "Data" folder.
The whole project's code and forms are stored in a folder in my E drive.I need to hand the whole project to another coworker who have to finish it, please describe in steps how can i make my website portable (like i can put it all in a folder that he can carry around in his flash disk).
View 1 Replies
Aug 24, 2011
I've recently had an issue at work where I have lost my solution files to my projects, but I still have the executables that have been produced by the projects / solution (yes, my fault for not making better backups). Is there any software out there or any way of decompiling the executable back into a solution / project file??? IF yes, fantastic! If not, it just means I can cross it off as an option!
View 3 Replies
Oct 31, 2010
I'm looking for a tool (paid or OSS) to convert a mid-sized VB.NET project to a C# project. I've searched StackOverflow and have found a few questions/answers, but most suggest .NET Reflector or online copy/paste single file tools. Reflector doesn't seem to fit the bill as it will convert an assembly, but we're looking for a whole-sale project converter which will maintain the project including file names, comments, etc.
We're fully willing to manually address items that cannot be automatically converted, but would like to start off with a fairly comprehensive converted project.One recommendation we found is Elegance Technologies'[URL}...
View 5 Replies
Nov 23, 2009
I have inherited a large VB.NET solution that was created in VS 2003. I am trying to update it to VS 2008 to maintain it. I no longer have access to an install of VS 2003.
The solution contains 15 projects that are console applications and 1 that is a Website application. The website application refers to some assemblies in the other console projects.
When I try to open the solution in VS 2008 all the console applications open but as it tried to open the Web application (or website? -- not sure) I see the dialog "Trying to open http://dmedibiz/dotcom.vbproj". It is unsuccessful in doing so. I don't have a website named http://dmedibiz on my development machine.
I tried changing the name of the website in DotCom.vbproj.webinfo, but that does not have any effect in VS 2008. When I go so far as to change the Hosts file so that the local machine resolves "dmedibiz" to the proper folder on my local machine, I keep getting prompted for a login and cannot access the folder even using the administrator login. I have tried adjusting the security on the Folder and in IIS Manager and even in the Frontpage Extensions, but nothing works.
So, what can I do to open this web project along with the other projects whose classes it references? Is there a way to change the website reference in the upgraded application? I actually do not want Frontpage Extensions in the site, but there was some reference to that also in the erro messages about installing them to "fix" the problem.
Here is the error I am receiving...
Unable to open the Web site '[URL]. Could not find a Web server at 'http://dmedibiz'. check to make sure that the Web server name is valid ...'
Can anyone tell me how to change the website location reference? Or must I remove the Web project from the solution and create a new Website and then copy in the files that need to be worked on?
View 1 Replies
Jan 21, 2012
confirm the forum for this question about Visual Web Developer 2010 Express. I found a VWD Express forum, but it was in Spanish... Lo Siento. My issue is selecting a down-level, 3.5, framework version as I create a new project/website. I have figured out how to CHANGE the target framework version once the website/project is created. I have the 3.5x installed on the system and available. The articles I have seen discussing this issue, refer to a framework version selection drop list in the new project creation dialog/wizard. I do not have that option.
[Code]...
View 5 Replies
May 20, 2010
I have a vb 6 project developed with VB6.0 on XP. I've installed Visual Studio (Professional Edition)2008 on a Windows 7 box. When I tried to convert the vb 6 project (.vbp file) using VB 2008's wizard, I got error messages that the "upgrade failed" because it could not "load the referenced components: msadodc.ocx (6.0.0) and msde.dll It is recommended you install VB6.0 with all referenced components......"I have the VB6.0 CD's and tried to install it on the Win7.0 box and got the message that VB6.0 was incompatible ?
View 2 Replies
Apr 16, 2009
I have converted a VB6 project to VB.NET and am left with a large number of inline 'warning messages' such as "UPGRADE_WARNING: Couldn't resolve default property of object varJonSkeet" that I would like to get rid of. Is there a way to do this within Visual Studio 2008? Will it be easier to remove the warning messages with regex? I would prefer to do the removals one file at a time, but it isn't a dealbreaker.
View 4 Replies
Apr 20, 2012
way to remove warning messages after converting vb6 project to VB.NET
View 2 Replies
Feb 1, 2012
I am trying to convert a VB.NET project to C#. I am conveting all the forms and classes as required, but I don't know where I need to write the events from ApplicationEvents.vb (I believe its autoGenerated from Properties) Here is the code in my ApplicationEvent.vb file:
[Code]....
View 4 Replies
Jan 17, 2012
Final step in my application. I finally got all the requirements working, but now I need to have the application run in the background.
The application was written in Visual Studio 2010 VB, Win form app.
The requirements are as follows:
1.) run the application at start up
2.) no icon
3.) always in focas
4.) always runs in the background.
Here's the full code I have right now (working! whahoooo)
Public Class Form1
Private Property count As Integer
Private s As New Stopwatch
[CODE]...
View 2 Replies
Jan 26, 2011
I have Single VB Class inside website project and I need to generate XML Documentation for this class. is there any tool that can generate this documentation?
View 1 Replies
Mar 14, 2009
I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox characters counter control developed by [URL]..The database is attached with MS SQL Server Management Studio Express and the files are stored in the SQL default "Data" folder.
The whole project's code and forms are stored in a folder in my E drive. I need to hand the whole project to another coworker who have to finish it, please describe in steps how can i make my website portable (like i can put it all in a folder that he can carry around in his flash disk).One more thing, I already finished my side of the project, I need to ship it out to this other programmer.
Can anyone suggest something like a: Checklist or Must Do list to achieve this?PS: I have had a problem trying to move the project from one server to the other, the project seems to look for the dlls of the AJAX control and the textBox counter where i originally unzipped the folders in which they cam in, which i think was on my desktop, although when i added those controls to the Tools tab, i created a new tab, then i choose the dll from the where i unzipped the controls source code, aint that enough?
View 1 Replies
Nov 1, 2010
In asp.net web site project , i have created a .vb class file in App_Code folder. In that class i have created a Shared SubRoutine , in that code i want to use Server.Transfer method to transfer control to another web page .But Server property is unavailable in that code. Where is problem ? can anyone explain this.
View 1 Replies
Jul 17, 2011
I have recently built a website in visual studio 2008.. Now i want to convert it into a desktop application.
View 1 Replies
Jun 23, 2010
My boss gave me an MS Access application that was developed by our former colleague. He wants me to convert that application to VB.Net Windows form application. I went through the MS Access Application. It contains tables, queries, forms, reports and macros. I could not find the programming (Where is the code written in MS Access?). My boss wants the windows application to be same as the MS Access Application (both in design and logic). I don't how will i develop the windows form. How can I achieve this?
View 2 Replies
Jun 23, 2010
My boss gave me an MS Access application that was developed by our former colleague. He wants me to convert that application to VB.Net Windows form application. I went through the MS Access Application. It contains tables, queries, forms, reports and macros. I could not find the programming (Where is the code written in MS Access?). My boss wants the windows application to be same as the MS Access Application (both in design and logic). I don't how will i develop the windows form.
View 4 Replies
Nov 14, 2011
I have found this amazing control that does exactly what I need, only problem, its in C#. Does anyone know of a VB version of this code? I've tried using converters, but all of them have failed in successfully converting the project. Maybe one of you guys knows how to convert it?
Anyway, here is the control: [URL]
View 2 Replies
Jun 4, 2012
I converted my project Visual studio 2003 to 2008. and when i run may project pressing F5 this error comes
View 5 Replies
Sep 7, 2009
Is there a way to convert a windows form application into a console application in visual basic?
View 2 Replies
Mar 25, 2011
I'm constructing a temporary website at [URL]. I would like to know if I can run an application from Visual Basic 2008 Express Edition on my website. It is a Table design from DataGridView which I can run successfully from my desktop but I want to upload for use on my website.
[Code]...
View 13 Replies
Jul 6, 2011
I am converting a C# Web Application to VB.NET. The problem occurs with the line of code in RED colour. I am unable to find a VB.NET equivalent of this line.
ArrayList arrSymbologies = new ArrayList();
// get all public static properties
PropertyInfo[] propertyInfos;
propertyInfos = typeof(BarCodeReadType).GetProperties(BindingFlags .Public |
BindingFlags.Static);
[Code]...
View 6 Replies
Aug 23, 2010
I am trying to merge my vb.net Web application project with my c# mvc project not ideal at all but the project is too big to do it any other way.
View 1 Replies
Apr 17, 2012
ASP.NET: Web Site or Web Application?
I just wanted to get advice on which one I should use and why?
View 1 Replies