VS 2008 Sharing Development?

Mar 5, 2010

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.

View 4 Replies


ADVERTISEMENT

VS 2008 Sharing A Form Between Two Projects?

Jul 12, 2011

I want to use a form in two project.

I have developed it in one project, I now want to make it available to another project.

I have removed it from the project and moved the .vb & *.resx files to a directory for common modules.

I then go into my project select Add Existing item, select the .vb project and say Add as Link.

But now my form is missing - I just have the code.

I have two classes MyPanel & MyForm. MyForm was first, MyPanel second. It says they should be the other way round. When I swap them I get the message "to add componets to your class, drag them from the toolbox...."

View 1 Replies

VS 2008 Sharing With Mdichildren Use Events?

Apr 19, 2010

I've been working on an application recently and it has exceeded the scope of a single form.I decided that it would be a good time to use an MDI container and split the interface up over a number of different child forms.As the application was written, there were a few different classes that were being instanciated on the original form.I've migrated these over to the MDI parent form so that I can allow all of the children to interact with them.The route that I'm going down right now is raising events on the child forms and watching for them on the MDI parent.The parent form is then doing whatever the child did to the instanciated classes in the past.

View 3 Replies

VS 2008 Sharing My.Settings Across Solution Not Just Project

Oct 9, 2009

It must be to close to the weekend, but I thought I read at some time an article of an easy way to have a common settings file for both application and user settings across a solution.

I currently have a Solution that contains 4 projects. Each of these projects need to access the same set of settings and be able to update the user settings. Is there a way to do this utilizing the My.Settings functionality?

View 2 Replies

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.

View 2 Replies

VS 2008 Game Development?

Jun 17, 2009

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!

[Code]...

View 8 Replies

VS 2008 Target And Development Machines?

Aug 12, 2011

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?

View 5 Replies

VS 2008 Base Application For Future Development?

Jan 19, 2010

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.

View 13 Replies

VS 2010 Crystal Reports 2008 DLL Development?

Nov 17, 2011

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.

View 1 Replies

VS 2008 Sharing .NET 2008 Application EXE?

Jul 3, 2010

We are rewriting our VB6 application in VB.NET 2008. The application contains several VB.NET dlls and one COM OCX control.We want to keep our executable file in shared folder of Server and want to create a shortcut in all other PCs. (This is the way we deployed our VB6 application)We know that using .NET Code security option we can give permission for sharing exe of a VB.NET 2008 program and .NET Framework is necessary to install in Client and Server PCs.

1.In which place we need to change .NET Code security: Server or Client?

2.Our application has a COM OCX control. Will it affect our sharing?

3.Which resource will be used for running application: Server or Client?

4. We want to use local resource of client such as reading registry setting, INI file etc. Is it possible?

5.Where to put DLLs of the application: Server or Client?

View 2 Replies

VS 2008 Is Excel Import And Export Format Supported In Windos Mobile Development

Jun 12, 2012

is excel Import and export format supported in windos mobile development? because i cannot find it in add reference..

View 1 Replies

VS 2008 Sharing Variables - Private Sub Could Use The Variable Created On Private Sub

Jul 23, 2010

if for example i have two private sub I declared a local variable on private sub a... is there a way that private sub b could use the variable created on private sub a? Im asking because im in a problem in my app were using global variable is not an option to make the long story short

View 5 Replies

File Sharing Without Using LAN

Jun 6, 2011

We are given a task to create a software that can share files between two computers without using lan (internet connection) but the presence of hardware devices can be used like cable, rs232, usb to usb or can be bluetooth to bluetooth file sharing. We searched about file sharing without using lan. The result was "socket programming". Is socket programming is applicable for vb.net? If yes, how is it program?

View 1 Replies

Sharing A Private Sub?

Jul 10, 2011

how to make projects which span multiple files and classes just fine. I've had big multi-file things working.I've been told explicity that my classes have to be private...yet at the same time I'm supposed to have a main method elsewhere and somehow call a menu in my main working file.I can get the program working perfectly when I do it in a logical manner but I just can't figure out how to call a private sub. I keep getting the error reference to a non-shared member requires an object reference.I've tried breaking the rules a bit and making one initial sub which is public, shared, etc... but all this does is delays the error until it tries to call its first private sub.

View 3 Replies

C# - Sharing Code Between 2 Projects Without A Dll

Dec 2, 2010

How can I have code-sharing between two projects without making a dll?

The issue is: I have a tool that syncs users & groups from LDAP to a database.

Now the tool is a windows service, but testing it as such is very difficult and time consuming.

Which is why I made a console application where I can test the LDAP syncing, and then just copy the respective sourcecode-files over to the service project.

But... keeping the common files in sync is a bit of a problem. I don't want to make a dll, because this probably creates me a problem with the 3rd project, a windows installer (for the service) where I have to use ExecutingAssembly path...

Is there a way to share the code without making a separate dll? Automagic statical linking, so to say ?

View 6 Replies

Can't Enable Net.tcp Port Sharing

Jul 13, 2011

I'm doing my dev work on a Window 7 x64 machine, deploying to a Windows 2008 x32 server. At the moment I'm adding WCF services to some internal apps so that we can build smaller clients using net.tcp bindings that report to the user what the server is doing without running multiple instances of the server. To cut back on how much administration the apps will require, I tried enabling port sharing on my first server app. I'm using the app to self-host the WCF service so they can be easily moved from one server to another if necessary. Here's the code starting the server:

Dim _service_host As ServiceHost
Dim active_server_address As Uri = New UriBuilder("net.tcp", "localhost", CInt(My.Settings.ServerPort)).Uri

[Code].....

I get the following error when I put a breakpoint at the last line: Unable to automatically step into the server. Connecting to the server machine 'nettcpportsharing' failed. The requested name is valid, but no data of the requested type was found. The Try...Catch block housing that code says the exception type is AddressAlreadyInUseException...but when I run netstat I don't see anything else listening on that address. There's no occurrence of 'nettcpportsharing' anywhere in my solution. I've checked to make sure that the Net.Tcp Port Sharing service is started.

View 1 Replies

P2P Chat And File Sharing?

Jun 10, 2011

I am working on developing p2p chat system and also file share system....But only thing is that ...i can't find out the way to find how to implement it...i have worked on client server programs but i m not able to get p2p...The concepts of P2P are:-

1. All nodes connected can act both as server and client depending on requirement....

2. They can connect to each other find file who is the owner of file and then ask for file....

View 1 Replies

Sharing Data Between Forms?

Nov 17, 2009

I am working with several RFID readers that perform different function in my vb.net program. Currently each reader port number is hard coded into the respective form. For example, reader 3 operates on COM1. However, this will be problematic when installing on different machines.

What I would like to do is have a "configuration" form where the user can select each reader and then select the COM port. Then all other code references these settings. What would be the best approach for this.

The only way I know to do it currently is to place this information in a small database and then have the forms reference that database, but it is a lot to do for such a seemingly trivial task.

View 3 Replies

Sharing Memory Between Applications?

May 11, 2009

I have to implement some way of communication between 2 applications:

Program 1 is receiving data at a relatively high rate (sometimes up to 100k in a second). This application receives the data, does only very few computations and saves the received data to disk for later in-depth-analysis or just recall.

Program 2 shall do some real-time analysis on the same data which may at some point become rather complicated.

It is necessary to split up the 2 tasks into separate programs because the data has to be saved under all circumstances and without losses. Program 2 is still in a development phase, it has to be improved, recompiled, debugged. This shall not disturb the data collection and archiving.

Since application 2 has to go through all the data that program 1 receives it would be slowing down everything very much if the programs had to communicate e.g. via TCP. Therefore I am looking for ways to have some shared memory or whatever else might make it possible for P2 to access the data collected by P1 without too much overhead.

View 12 Replies

Sharing Objects Across WCF Services

Aug 16, 2010

Problem with WCF and Multiple Namespaces.The major difference I am having is that I don't control both ends of the wire.My setup is similar to this:[code]The first thing you do is login via the login service and receive a security ticket. The ticket object is located in the My.Objects namespace. For each subsequent call in My.Service1 and My.Service2 you have to pass in the security ticket to authenticate the call. The issue I am having is that instead of the client (a .net one for now but Java and others in the future) seeing one My.Objects.Ticket the references are resolving as My.LoginService.Ticket, My.Service1.Ticket, and My.Service2.Ticket. When the client tries to pass the object retrieved during login to any other function it is receiving an object mismatch error.How can I make each service resolve objects to the My.Objects namespace?

View 3 Replies

Sharing Resources Between Forms?

Apr 12, 2010

I have some icons and images that are stored as embedded resources in my form1.resx file. Is there any way I can access these resources from my Form2 without adding the icons as project resources?

View 5 Replies

Sharing Text Between Forms?

Sep 9, 2008

How do I share text between forms?I want a box to popup exactly like a input box, but needs to be multiline, Is there any east way to do this or will I have to create a second form?If so, how do I share the string between forms to then output in a textbox on 1st form?

Also, I have VB 2008 Standard, and I want to build an application for a handheld, Is it possible to build an application and then pass it over to someone who has the professional version to make it work on pocket pc? Or does the entire build have to be on pro already?It's a very simple program...

View 4 Replies

Sharing UI Validation Between Forms?

Jan 25, 2012

I am trying to figure out how to seperate my business logic from my forms. This is my first attempt at doing this, but I would like to figure out how to handle events from multiple forms within a class. I have found myself routinely writing the same logic over and over in each form class and its time I figure out how to completly seperate out that logic in winforms so I can reuse the methods across all of my forms.

So basically I have this click event in form1:
Private Sub btnSubmit_Click(sender As System.Object, e As System.EventArgs) Handles btnSubmit.Click

[code].....

View 1 Replies

Sharing Variable Value Between Forms

Jul 31, 2009

When I declare a variable as public, shouldn't it be available in another form? I am trying to write a windows mobile prg with 12 static mileage points, form1 has the 12 buttons for start point, but when I call form2 with the destination points, my start variable value is not carried over. I intend to then assign a mileage based on the two points and write to file on mobile device. We support 12 schools, and I want my employees to track mileage easily.

Public Class main
Public start As String = "start"
Public dest As String = "dest"
Public miles As Decimal = 0
[Code] .....

View 4 Replies

Sharing Variables Between Forms?

Jun 16, 2010

i've almost completed my Yahtzee game except for the high scores function. I've got everything worked out except how to take the highscore variable from Form1, and share the data with Form 2

View 12 Replies

Two Datasources Sharing One Combobox?

Feb 11, 2011

I have two comboboxes. Depending on what is selected in the first combobox, I want the second combobox to display a different field from a different table within the same database (.mdb).Is this possible?I have the following code, but I get a "Complex DataBinding accepts as a data source either an IList or an IListSource." Error when running the code.

[Code]...

View 5 Replies

Two DatsSets Sharing One Combobox?

Feb 14, 2011

I have a database (.MDB) containing several tables. I also have two comboboxes on a form. I would like to populate the second combobox with a field from one of several tables in the database based on what the user picks in the first combobox.

So... if the user selects Option A in the first combobox, then the second combobox would be populated with contents from a field in table A. If the user picks Option B in the first combobox, then the second combobox is cleared of items from the table A, and repopulated with contents from a field in table B.

I basically created the comboboxes on the form and set the DataSource and Display member of the second combobox through the control's properties. The TableAdapter (is this the corrector terminology) was created automatically by the IDE. I have tried using the code below to switch the tables, but I get an error: "Complex DataBinding accepts as a data source either an IList or an IListSource."

Select Case strTagPrefixTable
Case "BLT"
cboBLTFmt2.DataSource = ECDT_C_V_BOLTSTableAdapter

[Code]....

View 4 Replies

WCF Service Sharing Types

Mar 26, 2012

I am writing a WCF service and code to consume it and I want to share data types between these services. I have a WCF library with the types I want to share defined in it. My WCF service and my WCF client both reference the assembly from the library. Classes look like this:[code]Right now when I do this the compiler gives me an error because it cannot implicitly convert type myclientnamespace.MySCF.Myclass to myclientnamespace.MyClass. I have read the posts here and the article here - which was referenced in another stackoverflow thread. These state that if my client code is referencing the same assembly as my service code and I have that assembly reference in before I create the service reference the client code should not create proxy classes and rather use the classes in the referenced entity assembly. I have tried this and it is not working. I even made sure that the "Reuse types in all referenced assemblies" radio button is checked when I create the service reference.can anyone see what I am doing wrong here? Should creating the service reference after the entities assembly reference was made not result in reusing the types?Is it possible to reuse types in this fashion?

View 1 Replies

Best Practice For Sharing Variables Across Forms?

Mar 27, 2011

I need to share variables across two forms in vb.net. One of them is the main form and the other is a child form.

Create a static/shared variable in one of the forms and access it in the other forms via:
Form1 frm = new Form1(); //creating object of parent to access shared variable
frm.a = "abc"; // passing value

Send an instance of the main form to the child form when creating the child form. The variables can then be accessed via a property function. Create global variables in a module. This seems like the easiest option, but I doubt it is the best option.I also read something about delegates and events, but I don't know how to implement this.

View 4 Replies

C# - 2 Browser Windows Are Sharing Their Session?

Nov 3, 2009

Many of our users, internal and external, start our web application. Then at some later point, they open a new window from within the browser. They want to have 2 independent sessions of the application running. However, by doing it this way they are actually using the same session data.

Is there a way, in code, to determine if there is another browser window open with the same session?

We're using VS 2008, C# and/or VB.Net.

COMBINING MY RESPONSES FROM BELOW:

Maybe I'm saying this wrong. When they open a second window and change it to a different widget number, and then go back to the original window, on the next post-back it will be using the second window's widget number, not its own. We are using IE7.

View 5 Replies







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