VS 2008 - Add Db To Project While Db Is Under Development
Jun 13, 2009
Initially I added an Access database to my project and handled ommunication/manipulation with the Db this way. When I made changes to the Db they did not reflect in the Database in my project so I began manually writing code to get to my Db. The original Db remains in my project, along with all the objects it created (tableAdapters, etc.) only they are not used at all. As I stated, I communicate manually.
Now, almost a year later, I figure there has to be a way to add the Db to a project and it reflect the Db as it evolves. Essentially, I want to use the objects I've created in my Db (Reports, Queries, etc.) in my project. Maybe there are classes/methods/objects available to get to these Access Db objects manually as well? I've searched, but nothing definitive.
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?
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.
I've started to develop a small rpg style game, I've got all the movement of the character and map and the collision detection done but now I'm actually writing the GAME.So I start off with a message displaying saying "hello blah blah blah"My problem is how do I link from that message to the next one, started when the player moves.
Here is all my code, as you can see I start a Next_Event sub but I'm just poking around in the dark if someone could give me some pointers, that would be excellent!
I have been assigned to a project where an existing developer has been working on a web app on VS 2008 storing all files on his local workstation.I need to assist and eventually take over deveolpment of the web app development. My workstation only has VS 2005 but I will be installing VS 2008 in the coming days.
My question is: what is the best way to access all of his work, and make it so that it is acessible to other developers as neccesary.
I'm not a daily programmer so these nuances regarding VBnet drive me crazy. I've written my app with a P4, XP, dotnet 3.5 PC using VB express 2008.Does that mean are not NOT compatable with any machine running dotnet 3.5?
I am at the stage of planning the application which will conect to a Ms SQl database, and process some data to Excel files.The problem is, that i would like to make a base pure application, without any functionality, and then add functionalities by adding some external files with code to program folder.I`not sure if what i just wrote is clear. To simplify:I would like to have an application which connects to a database, but let`s say when after 1 year, i will be in need of some more functionality, i woun`t have to change the code of whole application, but can just add a new file, and when I run the application there will be one more function to be chosen from the list.
does anyone knows how to develop dlls for crystal reports 2008?My OS is Windows7 x64 but i would like to develop dlls for x64 and x86, i won't mind to compile them separately.
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.
i'm doing a program, and i'm working with a guy (he's kinda like a teacher) and he's teaching me tiered coding, UI, BLL and DAL.i've been taught to have the UI in one project, and the BLL in another, but they're in the same solution. pretty much i don't know how to declare things from the BLL project in the UI project.
I emptied the recently-viewed projects from the registry but now the project which I'm working on does not appear there even though I've opened it many times. How do I get the project to appear in recently-viewed projects?
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.
Is VS 2010 just IDE features - or do I need to use it to target more recent framework versions?Starting a big project and want to make sure I'm aware of what VS 2010 offers over VS 2008.
We are in the process of creating active-x controls used within our application. Since Microsoft stopped supporting classic Visual Basic, is it wise to use Visual Basic to develop the Active X control or the latest VC++/ATL/MFC libraries provide more feature where we can create controls faster by leaving Visual Basic flexibility?
We will not be able to use .NET/VB.NET/C# since the application is supposed to work inside containers and containers may not support latest .NET runtime.
I am working on a VB6 project and my organization is planning to upgrade the technology from VB6 to VB.net. As I am new to VB.net windows application development, I dont know where to start and what to include in code. I have read that VB.net windows applications code should have AssemblyInfo, CultureInfo, Windows Security authentication etc. But I have still not found any article, code sample or VB.net windows application sample that could give me a complete list of features that an organization level VB.net windows application must have.
I am completely new to ASP.NET programming, and was asked to work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005.Being used to php/java I was hoping to find some kind of similar API to php.net and the javadoc. It would be very useful to have as I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.In the project I basically only need to use ASP.NET to read from a SQL 2005 database and write to JSON files. where to find a clean and decent API to work with?
Which language, VB.Net or C# is the best language to choose for development right now? Needing users to have the .Net framework is something that I see as a drawback to Vb.NET, but what are the pro's and con's of each language? What can be achieved with one but not the other?
I know this might sound a little silly. but I'm confused as to what language does sharepoint code behind uses? do they use vb or c#? or is it possible to use eithe
I currently develop VB programs on a Dell Dimension 9150 with XP Pro SP3 that I bought in 2006.I use my computer to develop VB 3.0 to VS 2010 programs. I also use Microsoft Office 2007, Expression Studio 4.0 and other email and internet searching and reading.I'm not a game player or music player. I mainly do just development and other utilities to aid in my programming efforts.
I am going to buy another computer and I was wondering what others would recommend as far as how much memory and hard drive space and which processor to get. I would also like a recommendation as to which operating system to get, Windows 7 I'm sure, but which version?
I want to develop a software that can be used to design and print plastic Id card. The software will consist of toolbox where user can select item for drawing and data entry, i.e. label and picture control. The Label could be linked to database and should give user to save and retrieve the project in the feature.
I've been trying to find the answer to keeping an application from allowing "scaling" of controls and forms to the user's settings. I have set the autoscalemode to "none" on one form but it doesn't seem to work. I'm using Visual Studio 2008 Visual Basic. My users are on using either XP or Windows 7. I think we are all using Framework 3.5 but not really sure.
I knew this problem would eventually become an issue but ... Now the problem has become an issue. I have a user that has dual monitors and has the text setting on medium. Now the label controls overlap the input text fields.