Starting A New Project From A "Blank / Empty Project"?

Jul 4, 2010

What is required to use the "My. (anything)" namespace? i am starting a new project from a "Blank / Empty Project" add a new class

Shared sub main()
my. (anything)
end sub

now, logic says that im missing a reference or import, i have include all the references from a new forms project, so should not have any issues with this. but no.con someone enlighten me on the "My" namespace and what reference is required to use it.

View 5 Replies


ADVERTISEMENT

Starting From A Blank Project?

Jun 3, 2012

I decided to explore deeper into how blank forms and controls are created.I don't know where to start. I'm not expert by any means I believe I just now the basics.I tried and start new project but instead of windows form template I used Blank Project. Added a module and creating sub main.I created a new class and copied few lines from a previous project and it gave me several errors.Brushes, Color, Font, Graphics are not defined. I am not sure if it's correct but when I added System.Drawing Reference and System.Drawing Namespace the errors was removed.Moreover, 'My' is not declared.

I would like to know what basic references and namespaces I need to add.(Note: I tried to add all the referenced and namespaces found when I create a windows form project but the errors was not removed)Moreover, how to create my own form and controls.

View 9 Replies

Starting A Project Through Another Project In VB?

Jun 27, 2012

My notepad program in vb is stored in C:librariesMy DocumentsVisual Studio 2010Projects

otepad
otepadindebug
otepad.exe

And my Tic-Tac-Toe program is stored in C:librariesMy DocumentsVisual Studio 2010ProjectsTic-Tac-ToeTic-Tac-ToeindebugTic-Tac-Toe.exe These are the paths of the applications(the ones which will run when double clicked).Now, I want to create a third project in visual basic. It will have only two buttons. One, to run tic-tac-toe and the other to run notepad. How do I achieve this? That is, how do I make one project run when I click a button on another project?

View 1 Replies

In-project Components Fail If Project Is Opened With In-project Component Used On Initially Open Form?

Dec 20, 2010

Public Class ExtendedDateTimePicker Inherits DateTimePicker

View 5 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

Starting A Combobox - Treeview - Checked Project In Vb?

Sep 5, 2009

in making a combobox - treeview - checked in visual basic. I have seen a few examples in c++ but I am unable to convert that code. Nor do I know how to integrate ++ code into my project. So, where do I start? Custom control? Is there a custom control project at startup of visual studio?

View 3 Replies

Include Contact Project Into Another Project / Add More Items To Database / Forms In New Project?

May 6, 2009

I have a project that I have created, it something like a contact database.It is complete with its own sql server database, and controls and forms.I kinda of understand that I can include this project into another project.This is the tricky part,Can I include my contact project into another project and add more items to the database and forms in a new project?What I'm after is like using classes.My contact database would be like the base class, and the new project would be adding more features to that project.

View 10 Replies

Console Versus Blank Form Project?

Jan 21, 2011

Regarding a console application and VB forum program - In searching XML parsing examples I find several using Console.Write and Console.Write - To show my inexperience I (out of habit going through a couple preliminary examples) I created a new VB project with a blank form - I then copied and pasted the XML example using the console commands Errors - I just found the "create console application"What is the difference between a console application and the project using a blank form? Can the console commands like Console.Write work with a VB form project?If so (#2)What is the advantage in creating a console application - why not just start with a blank form and go?

View 1 Replies

VB - Root Namespace In The Domain Project Is Blank

Feb 10, 2010

I have an VS2008 solution with 2 projects, WebUI and Domain; WebUI references domain. The Root Namespace in the WebUI project is:MyCompany. MyProjectName.WebUI. The Root Namespace in the Domain project is blank. (Namespaces are manually declared for all classes). So everything has been working fine, until I tried to reference a class in Domain via a fully qualified path: [Code]

Does this make any sense? So, then I cleared my WebUI Root Namespace, and voila, the fully qualified declaration then does work. However, doing this then seemed to invalidate the registration of all my user controls on my pages. The only thing that seemed to solve this was in the codebehind of each user control, manually add a namespace of MyCompany.MyProjectName.WebUI. which might make sense as perhaps the namespaces of the pages somehow had still retained the root namespace value. But, if I was to create a brand new aspx page and drop a user control on (this is before manually adding the namespace), even that page couldn't properly register it. Yet, the user control properly rendered in design view. so the VS UI seemed to be able to properly resolve it, but the compiler seemingly can't.

So from what I can tell, I can at least get things to work by manually wrapping user controls in the proper namespace. Why this is necessary for aspx pages, that have no namespace specified, to see the user controls, seems to make no sense. Is there some fundamental principle I am misunderstanding??

View 2 Replies

Add Project Setup Project For Project For Visual Studio 2008?

Nov 15, 2010

i was developing Voice Chat Application in visual Basic .NET 2008 i try a lot methods to make installer for it :

1- i add Project Setup Project for my Project for Visual Studio 2008 Deploy & setup Type Projects and make it with output option and detect dependices

2- i try make it with Setup Factory 8.2.1

3- i try with MSI Factory 2.0

4 i try with Setup Factory 6.0

and after making installer copying it to my test virtual Machine or my friend lap and install it i get this error when try to run my application :

[Code]...

View 3 Replies

Add Project Output Group" Dialog Box Shows Up Empty?

May 8, 2009

I wrote a web application(website) for a company using vb.net 2008 in VB.NET and asp.net and , so now i want to create a "Setup Project" trying to make it an installation package.according some online source i did: click "File"on the main menu, then, new project> web setup project>ok , then select webapplication folder However, when I tried to "Add -> Project Output", the "Add Project Output Group" dialog box shows up empty. There is nothing showing up in the drop-down list. According to a VB.NET book as well as some online tutorial, there are supposed to be stuff in the drop-down list showing the types of projects.

View 4 Replies

Compile A Blank Project In .net It Is 15kb With "Enable Optimizations"?

Feb 2, 2009

I am noob to vb.net so be easy , i know in vb6 if you compile your project with p-code instead of native it can make a empty project 12kb, if i compile an blank project in .net it is 15kb with "Enable optimizations" enabled. is there anything else to make projects smaller?

View 3 Replies

Move Item/project To Other Project/computer VB 2005 Express

Feb 21, 2009

VB 2005 Express Visual BasicI want to move (part of) projects to different projects/ computer.I used File - export template- and was able to save templates of whole project or item(s).They saved nicely in a subdirectory called "templates" as zip files.How do I import to 1/ other project on same pc?2/ To a different computer?I tried copy zip files into corresponding folder on new system. No luck.

View 5 Replies

Revert The Project To The Last Good Build To Avoid Project Lose?

Apr 12, 2010

I made a change to a project and hve induced a major problem. I have warnings and errors now, but I can still debug the project with the "last successful build" Iwould like to just revert everything to that build but I can't find a way to eliminate the problems I induced or find a way to go to a earlier build. Hopefully I can get back to an earlier version or I will loose the entire project as I can no longer get to the designer.

View 5 Replies

.net Express 10 Speed In New Project Versus Old Upgraded Project?

Feb 24, 2012

If I put this piece of code in a new fresh vb.net form, add a button and two labels and start debug I get execution time of about 11.5s.If I put the same piece of code in a new form in an old project upgraded from an earlier version of vb.net, start debug I get an execution time of 7.5s.So I do exactly the same in the two projects but get different execution times.

What do I have to do with the fresh new project to get the same execution time ?I am not interested in improving the code to be able to calculate primes faster. I just want to know what is the significant difference between an old upgraded project and a new fresh one. I am using windows 7 64bit on a 2,4 Ghz Intel quadcore.

Public Class Form2
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim l, h, p As Integer

[code]....

View 1 Replies

Asp.net - Converting A Web Site Project To A Web Application Project .net App_code?

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

C# - Project To Project Reference Specific Version In Same Solution

Jun 7, 2012

I'm developing application that is plugable. The plugins are loaded via Assembly.LoadFrom(). In my solution I have 4 projects. A WPF, 2 DLL and another DLL that is a plugin for the app. The plugin project references one of the other DLLs. When I build the Solution and run I was getting an error trying to use the plugin dll because it was expecting an older version of the referenced project. I had to clean and rebuild the plugin project to get it to run correctly.

[Code]...

View 1 Replies

Close Project And Open Another In Multi-Project Solutions?

Apr 11, 2012

I am developing a Multi-Project solution (A, B) in Visual Studio 2008.

I need to run a second project from the start up one and then the first project should be closed.

The matter is that I want to Exit the A.exe and kill the process and the dll that are depending on it. And then Run the B.exe.

View 4 Replies

IDE :: While Compiling The Project It Takes 5 Minutes To Build Project

Jan 31, 2009

I am using 8 different vb projects in one solution, beside this I am also using one 3rd party control ion all the projects, while compiling the application it takes around 5 minutes to build the project, While building the application I have observe that it uses lc.exe file which is used for "Reads text files that contain licensing information and produces a .licenses file that can be embedded in a common language run time executable." at this point it takes too much time.

View 1 Replies

Project Missing From Project Output Group During SetUp?

Nov 12, 2009

I new to this Forum and relatively new to VB programming. I have read some really good posts here and thought I would ask about a perplexing problem I'm having. I createdindows Form application, built it and deployed it with no problems. However, when I added a small block of code, re-built the app and went to add the app to the Project Output Group in the file system editor the project was not in the Project drop down list. I closed the Setup project and deleted it from the project folder and checked my code and re-built the app and tried the Set Up project again with the same result

View 2 Replies

VB 2010 - Try And Load A Project (any Project) The Program Freezes

May 28, 2010

Has anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:


HTML

An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.

View 9 Replies

VS 2008 : Get Multiple Icons In A Project For Use With Shortcuts OUTSIDE The Project?

Nov 28, 2011

How do i get multiple icons in a project for use with shortcuts OUTSIDE the project..

View 7 Replies

VS 2008 Export A File From One Project Directly Into Another Project?

Jun 28, 2009

Is there a way that you can export a file from one project directly into another project?

For example, in one project i have a file called authInvalid.vb and i need to export it into another project?

View 4 Replies

VS 2008 Add "Project Output Group" Is Empty?

Feb 24, 2010

I wrote a small application in VB.NET 2008 and wanted to deploy it. so I created a "Setup Project" trying to make it an installation package.

However, when I tried to "Add -> Project Output", the "Add Project Output Group" dialog box shows up empty. There is nothing showing up in the drop-down list. According to a VB.NET book as well as some online tutorial, there are supposed to be stuff in the drop-down list showing the types of projects.

make the drop-down list inside Add "Project Output Group" dialog box whow something jz like in the tutorial.

View 15 Replies

.net Project With C# Fluent NHibernate Mappings Project?

Sep 30, 2010

Having successfully tried out nHibernate, I would now like to try using Fluent for mapping. My main project is in vb.net but I would really like to use c# for the mappings since the lambda expression capability makes it much cleaner. Can you have a separate project/assembly for your mapping files without creating a circular dependency with domain objects?

View 2 Replies

Added It To Project But After Running That Project It Displays?

Mar 3, 2011

My problem is with Splash screen I added it to my project but after running that project it displays forever until I clicked on my main forum. please help me how to give a particular time to splash screen i.e., 2 seconds.

View 5 Replies

C# - Access Members Of A C-Sharp Project From .NET Project?

Jul 26, 2009

I have a multi-project .NET 3.5 solution. It's ASP.NET based with c# code-behind in all projects except one.I'm attempting to access members from a C# project called "Core" from a VB.NET project. I set a dependency to the Core solution in my solution properties. However, Core. brings up nothing. Furthermore, my other C# projects that have Core-Project as a dependency (in the solution settings), are able to declare Core objects. Example: Private Core.ObjectName InstanceName; Also, Intellisense brings up plenty of info in the C# projects.how I can hook into these members from my VB project?

View 1 Replies

Convert .NET 2005 Project To C# 2008 Project?

Jun 16, 2009

Is there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5.

View 6 Replies

Database - Access A Datasource From One Project In Another Project?

Feb 16, 2010

I have access to a database table that has been added as a datasource in project (A). Is there any way to refer to this database table from project (B) WITHOUT adding it to project (B)'s datasource?

ProjB.databasetable.GetDataSetSchema

View 2 Replies

Open A Project Using A Command Button From Another Project?

Mar 27, 2012

I have a number of independent visual basic applications. Now I want to develop a window that will have command buttons to open each of the applications. How do I write the code in these buttons?

View 2 Replies







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