IDE :: Remove Source File From Project Without Deleting Them?

Apr 5, 2010

how can I remove a source file from a Visual Basic 2008 express project withtout deleting it??

I tried Build Action None and I get plenty of errors concerning .Dessigner file.

View 4 Replies


ADVERTISEMENT

.net - Remove All Comments From Source Code File

Apr 1, 2010

Is there a macro in the Visual Studio editor to remove all comments from a VB.NET source file?

View 2 Replies

VS 2010 Items On Form Are Gone After Deleting Data Source?

Mar 5, 2012

OK so I did a noob screw up, I was cleaning my application and delting unused data sources and unused data bindings. Now my form is blank! All code shows up for the form and all items still show in the mainFrm.Designer.VB

View 4 Replies

Update The Dataset To Reflect An Added Column In The Data Source Without Deleting The Adapter?

Mar 28, 2011

I've made a dataset using the dataset designer, and I'm trying to add a column to reflect changes made to the database (added a column, nothing fancy). Is there a way to 'refresh' the dataset schema from the datasource without deleting my adapter (and all the methods and queries I've created)?

View 2 Replies

IDE :: Completely Deleting Project From VS 2005?

Jul 29, 2011

I would like to know how to delete a project from Visual Studio 2005 without leaving any elements behind to cause trouble or make Visual Studio think that it is still there.

View 3 Replies

Deleting A Text Line In Windows Forms Project

Jan 10, 2011

I am busy with a project converting VS2005/2008 sln files.

I am quite far but have came acroos a problem with my source code.

I have found the files I need to change, I have changed them to the version that I need.

I now need to read the files back into my program and delete the line I have changed as it contains project numbers that are irrelevant. Then I need to save it.

I have got as far where I have searched for lines that begin with 'Project'. I have changed this also so it's now a question of reading the files in, Deleting the line with the 'Project' number and saving them.

[Code]....

View 1 Replies

C# - Add A Reference To Some Source Code To Include In A Source File In .net, Winforms?

Jan 26, 2010

I don't know what this is called so I've struggled to find an answer from google but I have a vague memory of it from t'old days.I've sub-classed (* see below) about 8 framework controls, overriden some properties and added some functionality into each one.The changes I have made are identical in every case. If I make a change, I have to go through each class and apply the same change there.I was hoping there may be a keyword such as <IncludeSourcefile "common.vb> that I can put into each class.

(* note) I use the term sub-classed but I don't know if that's the correct terminology. I've also seen it used for call-backs. Is sub-classed the correct term to use?

View 6 Replies

VS 2010 Why Does WebClient.DownloadString Remove Part Of HTML's Source

Nov 13, 2011

When I go to webcrawler.com and search for something, then look at the source code, a chunk of HTML similar to this displays the search results:

<div id="webResults">
<div class="searchResult webResult">
<a class="resultTitle" data-icl-coi="540" data-icl-cop="results-main" href=[website] target="_blank">[title]</a>

[code]....

But when I use WebClient.DownloadString to read the source code to a textbox, I only get this:

<div id="webResults">
</div>

There's nothing. All of the webresults have been removed.How come I can view the code in my internet browser but not on my application?? I even used an InStr method to confirm that the results weren't contained in the generated code.

View 8 Replies

IDE :: Project Currently Has No Data Source Associated With It?

Feb 11, 2010

I have purchased and installed the EBook "Visual Basic 2008 Step By Step". The package comes with a companion CD on which are practice projects that correspond to the book. I have installed Visual Basic Express 2008 and also installed the "Practice Files" exactly as required. When I enter the VB 2008 Express IDE and attempt to load the project or solution files, the program loads and I get no error. The problem is that I get no data when this happens. The "Data Source" box displays a message that reads, "Your project currently has no data sources associated with it. Add a new data source, then data-bind items by dragging from this window onto forms or existing controls." The files did load properly for me once, but have not ever since. Does anybody have any clue as to what needs to be done here?

View 1 Replies

IDE :: What Does It Mean For A Project To Be Under Source Control

Jun 4, 2010

What does it mean for a project to be under source control?

View 1 Replies

Billing Project Source Code?

Feb 1, 2008

send me source code for any billing project

View 3 Replies

How To Delete Data Source From Project

Jul 14, 2011

How do I delete a data source from a vb.net project. There is no delete/remove in the data sources window and if I delete the corresponding xsd file I end up with errors in the designer file. 'm having to do this because when I change a data

View 3 Replies

Project Open-source If Use .NET Languages?

Sep 22, 2009

I know VB.NET and i want to develop a program. Which i think later will be open-source if i fail to keep updating it. My question is : Is it possible to build open-source project by using .NET languages ? Or do i have to build open-source projects only using open source languages like Java,Ruby, Python etc ? ( I mean is there any restriction from microsoft on building open-source projects using their langauge and tools ?)

View 5 Replies

Source Code For Setup Of Project Application

May 8, 2010

Source code for setup of vb.net project application?

View 3 Replies

Remove Kernel32 Dll From Project

Jul 23, 2009

I want to migrate vb.net project onto linux platform using mono, but I am getting one problem system.dllnotfound exception: kernel32.I like to ask ,when does visual basic add this kernel32 dll. can I remove this kernel32 dll from my project?

View 2 Replies

Add A New Data Source To Visual Studio 2010 Project?

Jan 7, 2011

im trying to add a new data source to my visual studio 2010 project. As it stands my project consists of a few windows forms. I plan on making it access a database (made in access, unless this is a problem), and be able to perform pre-set queries, search/sort, and basic delete,add,edit functions. I will hopefully be later adding the function to print reports according to the database entries.However, the problem i am having is that when i go on to data sources, and click add new source, the following happens:3, it asks me which connection i will be using, i click new connection, then in the new connection dialog i choose the following : Microsoft Access Database File (OLE DB), then i browse for the database i made in the 'database file name' box, Then i delete the default username in the log in to database bit, as my database has no protection.

View 3 Replies

Share Open Source Code And Contribute To Other Project

Feb 23, 2009

I'm looking for a place where I can share my open source code and contribute to other projects. Can anyone recommend me a site/community where there is lots of support and enthusiasm for open source?

View 3 Replies

Source Codes For A Restaurant Management System Project?

Nov 4, 2009

and Send me some codings for a restaurant management system project using any programming language preferably VB6,VB.NET,PHP&MYSQL,HTML with Javascripts[i][color=#000099][size=3][font=Times New Roman]

View 2 Replies

Remove All Trace Of A Component From Project?

Jul 15, 2011

I have been making a order processing system for a friends company and have 99% completed it. i was going through everything double checking all the components and i put a "DotNetBar" component on the form but then deleted it as i didnt need it. i only have a trial version of the dotnetbar and do not plan on publishing the software with the component on.

so after i deleted the component from the form i built a test version of the system and installed it on a different computer but when installing an error appeared saying something along the lines of dotnetbar component cannot be found. i couldn't find any trace of the component in the page.designer.vb file.

im by far no expert in vb (this is the first real program i have developed for actual use), i cannot find any way of getting all traces of the component of the project.

View 2 Replies

Cerate Installer Project - Install Framework 3.5 SP1 From Local Source Instead Download It?

May 7, 2009

I created a small application and an installer project for it. I can install and also run it, only thing htat i dont like is that during setup, it downloads .NET Framework 3.5 SP1 and this takes long sometimes. I want to have it on the installation CD later.

I have seen in the installer's detected dependencies, that there is the 3.5 framework contained and it has a InstallURL property = [URL]..I am a little confused about all the Framework stuff on this site - so just 3 simple questions:

1) which file exactly do i have to download,
2) where to put it and
3) what to write into the property InstallURL then? (Maybe needed to change also other properties)?

View 5 Replies

Linking A Data Source (Access 2007 Database) To A VB 2008 Project

Feb 1, 2011

After trawling around the net for a good few days, i decided to post something here.

Basically, i've got a problem linking a data source (Access 2007 database) to a VB 2008 project.

I've broken it down to having a problem dragging a table onto my form, when it generates the nav bar, it says "0 of {0}", and the table is empty (despite the actual database containing values)

However, this happens only at home, at college it works totally fine. The only difference that's obvious is that i'm using Windows 7 at home, and Windows XP at college.

View 2 Replies

Remove A Module From A Project In Vb Express 2008?

Feb 25, 2010

Does anyone know how I can remove a module from a project in vb express 2008 without physically deleting the module?

View 5 Replies

Remove Warning Messages After Converting Vb6 Project?

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

Way To Remove Warning Messages After Converting Vb6 Project?

Apr 20, 2012

way to remove warning messages after converting vb6 project to VB.NET

View 2 Replies

Deleting Records From A LstBox And Dat File And Setting Reminders To Date In Dat File

Aug 2, 2010

I am creating a program that allows a person to enter details about their farm, stock, and machinery in order to electronically keep track of all of the information. I have created the forms and done all the coding for the data entry, and now what I would like to do is allow the user to delete a single record from the .dat file. I am able to delete it from the LstBox (using a "Delete Entry" btn coded simply with

lstvehicles.Items.RemoveAt(lstvehicles.SelectedIndex)

(using the vehicles section for examples)), but I am unsure of how to delete it from the .dat file as well, to prevent it reloading upon data change / program reload. Also I would like to be able to have a reminder come up on the program start up that gives a reminder to (in the vehicles instance)when a vehicles rego is due, the date being associated to a date that is entered into the same lstbox data using a datetimepicker.

View 5 Replies

Save The File Location Or Directory Of A File In Mysql Without Deleting Its Slashes?

Mar 16, 2009

i just want to ask how can i save the file location or directory of a file in mysql without deleting its slashes...i tried to save it directly.. for example: the original directory is c:folderimg.jpg and when i checked it on mysql it is save as c:folderimg.jpg

View 5 Replies

Create Event Log Source As Part Of Installation - Windows Forms App, Vs Deployment Project

Mar 27, 2011

I have a vb.net windows form app that I am deploying as using the visual studio deployment project. The app needs to write event logs to the application log in the event viewer. For reasons explained here I need to create the event source during the installation process. Something like this to run as part of the installer

If Not EventLog.SourceExists(My.Application.Info.ProductName) Then
EventLog.CreateEventSource(My.Application.Info.ProductName, "Application")
End If

That code needs to be run during the installer with elevated privileges. So my questions are:

How do I execute that code above as part of the installer? How do I get the installer to do the UAC prompt to allow that code to run as part of the installation?

View 1 Replies

File I/O And Registry :: Deleting Lines In A Sequential Text File?

Mar 22, 2009

I know that Deleting a specific line in a sequential text file is impossible but instead copy the needed lines and not copying the unneeded ones to an output file .. killing the old one and renaming the new one with the same.. I can't make this step...

That is my record file

Code:
Input #1, CustomerName, CustomerHomeAddress, CustomerBussAddress, CustomerTel1, CustomerMob1, CustomerID, DateRent, CarRegPin

Code:
"Josek Sam","68 West Land Street","149 Union of States","4524563","45635463","JOSKSAM1",#2009-03-02#,"MILANCGLZ2008"
"Josef Malm","142 Unions Street","64 Hamersters Street","452504","42542054","JOSFMALM2",#2009-03-06#,"MILANCGLZ2008"
"Dave Green","131 Oxford Street","96 BlueBane Route","452542452","43254345","DAVGRN3",#2009-03-07#,"MILANCGLZ2008"

I made a form that when you put your CustomerID in Text3 Box.. it access the records and make some calculations. now.. The customer will return the car.. Then his data should be deleted.. I want to know how to make that when I enter the CustomerID and press on the Command button .. It copies the other lines to a new output folder and doesn't copy these ... So it appears to be deleted using this way..

View 3 Replies

VS 2010 Add - Append - Rename And Remove Project Resources During Run Time?

Aug 25, 2011

How to add , append , rename and remove project resources during run time? How to get a list of all resources during run time? How to use project resources? (for ex. i added textfiles and images how can i open them?)

View 1 Replies

Using Microsoft Windows Common Control 5.0 COMCTL32.OCX - Remove Interop Dll In Migrated Project

Jun 3, 2010

I am migrating VB application in VB.NET. In VB application , there are using Microsoft windows common control 5.0 COMCTL32.OCX. When I add this component in migrated project, it becomes interop_mscommlib.dll. I want to remove any interop dll in my migrated project. So my question is : Is there any .net supported COMCTL32 which i can use and from where I can get that.

View 3 Replies







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