.net - Pieces Required For A Usable MVVM Framework?

Sep 17, 2010

As my company migrates towards the .NET framework from VB6, it looks like we are going in the direction of WPF (my boss is in love with the Office-style Ribbon control). I've been working to mock one of our VB6 applications in WPF and decided to experiment with MVVM at the same time. I'm being discouraged from using an existing MVVM framework, so I guess I need to write my own. The biggest concern right now seems to be a method for registering and managing all my views from a central spot - a manager class - but I'm not exactly sure how to implement this.

View 4 Replies


ADVERTISEMENT

Is The .Net Framework Required For Even A Single Line

Sep 22, 2010

I wrote very simple code to send emails. I wish that end users who do not have .NetFramework installed, could also install this application without installing Net Framework.

View 2 Replies

Net Framework Required For ClickOnce Type Installers

Aug 28, 2010

Do we need to have .NetFrameWork Installed on Client's computer, if we make setup by using ClickOnce technology?

View 1 Replies

What Version Of The Dotnet Framework Is Required By My Application?

Apr 29, 2011

How do I tell what version of the dotnet framework is required by my application?I am using Visual Studio 2008.I have these installed on my machine:

.NET FW 2.0 SP 2

.NET FW 3.0 SP 2

.NET FW 3.5 SP 1

Are the service pack 2 updates inclusive of service pack 1? I don't think I need .Net 2.0 - do I need 3.0 if I also have 3.5 ? Do I look somewhere inside Visual Studio, or at my references?

View 3 Replies

Asp.net Mvc - Make A Required Class Properties Not Required

Apr 8, 2011

I have a class set up to hold values on a registration form (VB.NET, MVC), and among the properties is a Password property:

[Code]...

View 3 Replies

.net - Converting CLOB To A Usable String

Oct 8, 2011

I'm writing a tool the retrieves data from an Oracle database. The majority of the fields are VARCHAR2, but there's one particular field I want to retrieve that is a CLOB. I'm trying to convert the text in this CLOB to a string that I can then run a regex against it to isolate a certain bit of information and then display that information in the program's console. Unfortunately, I can't seem to figure out how to convert this CLOB into a usable string. I've tried a lot of different things, but what I've got at the moment is:

[Code]...

View 2 Replies

Usable By A Person Or Company, That Uses Databases And .NET?

Aug 11, 2009

Okay, so, for school i have a project i need to completely program by the end of next semester. My graduation project. And it needs to be a full-blown piece of software that would be theoreticly usable for a person or company.assignment was simple:make an application, usable by a person or company, that uses databases and VB.NET

so i started brainstorming and i came up with the following:a client-server application where the server runs on the company's mainframe and it's employees (seeing as it would be an IT company or another company that would use a lot of computer files) can upload to, and download files from, where each file would have a description and additional information (extension, date,emplyees would also be able to exchange private messages so that collegues of the uploader can be notifies that the file they would need is uploaded.

in addition to that there would be an administrator (or multiple) that can overview all PM's (make sure there's no abuse of the system) and administrate the files (delete/edit/...)So really, i have no idea where to begin building this application, so i would think that if i get the interface done, i atleast have an overview of what and how i would need to code.

note: wow now i think about it this seriously sounds more like a website than an application... but still it sounds like a good idea to me and has to be done or else i would not graduate

View 5 Replies

Convert The Results To A Usable Color Number?

Oct 11, 2010

When I use GetPixel(x,y) I get a string varible of this:

Color [A=000, R=000, G=000, B=000]

How do I convert this to a color?

View 4 Replies

Create A General Usable Method In A Class?

Oct 12, 2010

I want to create some reusable code in my forms.The idea is that a class is growing when more subroutines are added so, I need to store the finished subs somewhere to make place for others, this way I don't lose myself searching through the entire class

View 4 Replies

Make VB Code Usable With Multiple Clients?

Sep 21, 2011

l have just written a vb.net application and would like to install it on the server such that various users would access the central database on the server how would l achieve that in vb.net

View 1 Replies

Converting A Downloaded Query Xml String To A Usable Xml Document In .NET?

Sep 22, 2009

I would like to convert a image query, found here [URL]..In vb2005.net to the xmldocument which I can then cruise around and grab the data with, current code using the webclient isn't giving me a good xml document to use. Any ideas how I can fix this?

[Code]...

View 1 Replies

Make RadioButton Only Usable A Limited Number Of Times?

May 15, 2009

I need to know to limit the number of times a radio button can be used. Maybe the number of times the radio button has been used can be stored in an XML file, and when the user wants to reset the counter all they would have to do it delete this file. I really don't know, that's why I'm asking you. But,the program will append a string every time a button is clicked with a radio button selected, I just need to know how to, for instance only allow RadioButton2 to be used in this manner say... 15 times.

View 5 Replies

C And C++ - Function - Extend It So That It Also Returns A Usable Array Of Pointers To Some Structures

Feb 18, 2009

Correct the problems with this function, and then extend it so that it also returns a usable array of pointers to some structures.

The extended version of this function should: Maintain the same "char *" return type which returns a pointer to a usable, for storing a C string, memory buffer.

In addition, also return a usable array of pointers to structures. This array of pointers is of variable and random length, which must be obtained using GetNumberOfSomeSeqsToGenerate(), which is called, ONLY, from within this new extended version of the function.

The type of these structures and the function that should be used to get these structures are defined as follows:

typedef struct {
char* name; /* '\0'-terminated C string */
int number;
} SomeSeq;

[CODE]...

View 2 Replies

Extract Only Particular Pieces Of HTML?

Nov 19, 2011

I have came up with code in my vb.net app that can extract particular tags, but what if I wanted to extract only certain lines of html code?

<td style="min-width: 100px; " align="right" class="aw-td body-td">4,400</td>

View 10 Replies

Reading Strings In Pieces?

Jul 19, 2010

how to read a string in pieces.

Let's say the string is 800 characters long. I want to read 100 of them each time. How do I accomplish this?

View 11 Replies

Split A Class Into Several Pieces?

Aug 14, 2009

I'm having a bit of trouble learning the uses of partial classes. I know they are used to split a class into several pieces for convenience but I don't understand how to put all of this into play. I'll show you what I mean here:

Lets say I have an interface named "ICar":

.NET
Public Interface ICar
Sub TurnOn()

[Code]....

OK, now that I have all of that, how do I put it to simple use in my partial class "OffRoader"? (You can add a "console.writeline" event to the methods if you want, in order to show me the uses of these partial classes.)

View 3 Replies

VS 2010 Utilizing A Class Globally - Create An Instance That Is Usable Across Forms / Modules

May 8, 2012

I have created a class (pasted below in case I did something wrong) for which I want to create an instance that is usable across forms/modules. I can create an instance of the class in a single form/module no problem via DIM User as New User but how do I go about create a public instance accessible from all parts of my program?

[Code]...

View 7 Replies

Breaking Code Into Managable Pieces?

Sep 2, 2009

I am working on a project and the code for FORMS1.vb has become quite large, 20K lines.How can I break this down into more managable pieces. I have tried Modules but I get multiple reference errorsd when I move like all of the reporting code to a module. The report code has nothing to do with the forms other than being able to call that code from an object on the form.

View 3 Replies

Cut The String Into Pieces And Then Stored Them In An Array?

May 3, 2011

In my website I have a textbox that allow user to enter a group of numbers like this:

(118,38,137,15,156,14,157,36,152,49,142,57)

Now i want your help to show me the way to store these numbers in array to be like this:

[118 38 137 15 156 14 157 36 152 49 142 57]

View 3 Replies

Pieces Of Code Exhibit Different Results?

May 16, 2011

Anyone care to explain why these two pieces of code exhibit different results?

VB.NET v4.0
Dim p As Integer = 16
Dim i As Integer = 10
Dim y As Integer = p / i

[Code]...

View 6 Replies

Reading Pieces Of Text From Txt File?

Mar 11, 2010

I am currently working on a program that edits txt files but it's for a game. There is a file that contains information that the client uses. This is what the file looks like:

|piece of code here|another piece|and another piece|
|piece of code here|another piece|and another piece|
|piece of code here|another piece|and another piece|
|piece of code here|another piece|and another piece|
|piece of code here|another piece|and another piece|

I want to make a program that reads this file and reads each piece of code separately and places them in different places like this:

[URL]

View 1 Replies

Looking For Tutorial On MVVM Using WCF And WPF?

Mar 14, 2011

I'm wondering if someone can point me towards a good article/tutorial explaining how to use the MVVM pattern in an WPF Application that uses WCF web services. My WPF client calls a service reference to get data objects that contain data from the database but from everything I've seen and read so far about MVVM I am still not clear on how to use MVVM to work with the data objects I am retrieving from the WCF services.

View 1 Replies

WPF & MVVM: Any Examples Using VB?

Sep 26, 2009

Almost every example of MVVM I found is coded in C#, are there any examples/tutorials coded in VB.Net? I'm having a hard time translating C# to VB.Net since I haven't really used C# in any meaningful way...Also, does a MVVM Template/Toolkit for VB.Net exist yet?

View 4 Replies

.net - ASP.net: Extending Or Adding Pieces To Existing BoundField

Nov 5, 2010

Is it possible to add a property to the existing asp:BoundField control without creating a brand new instance to which I'd have to declare <tst:BoundField></tst:BoundField>?

View 1 Replies

Change Colors Of Chess Pieces In The Game?

May 3, 2009

I wanted to know how to find the code for Chess Titans (Vista) I have the program that can open .dll's and .exe's and explore there structure, I just need to know how to get that code.

View 5 Replies

Need To Copy And Paste About 50 Pieces Of Information From One Window In To Another

Sep 11, 2009

i am trying to implement a very simple program, that simply copies some text from one window in to an appropriate text box field in the other window. I need to copy and paste about 50 pieces of information from one window in to another.I suppose i can load the entire SOURCE window's text in to a text box control, and then i want to use sendkeys to populate appropriate fields in the other DESTINATION window that i want to populate with this information.My guess is that i will need some kind of windows api (Win XP) to get a handle on the appropriate text boxes in the destination window (or tab through it or something)

View 9 Replies

.net - MVVM Design Consideration

Feb 3, 2011

I am currently developing a new WPF application and have the majority of my business logic layer developed (ie my Models). I am about implement ViewModel classes to represent one feature of my application. I am quite new to the Model-View-ViewModel pattern and I have a question about which approach would be best to use when implementing my ViewModel classes.

[Code]...

View 3 Replies

C# - Reusing A Menu With Mvvm And Wpf?

Jun 7, 2011

I was wondering what the best approach is for sharing a menu across all wpf windows/views. My Application doesnt really fit the navigation model, so will probably use a Ribbon control. I am leaning towards creating a user control for the menu and dropping it on each view, but have also seen Josh Smith's msdn article, where he loads user controls.

View 2 Replies

Implementing MVVM In Silverlight?

Nov 11, 2009

IM Looking at Implementing MVVM in Silverlight.Kind of new to Silverlight and I'm Definately new to MVVM Pattern.I get it all But I want A set of small Prism VB.Net MVVM exmaples if that makes sense.

View 1 Replies

Grab Different Pieces Of A String To Place Them In A Different Order In A List?

Oct 7, 2009

I seem to have a huge issue right now trying to grab different pieces of a string to place them in a different order in a list. Unfortunately i can't just find the placeholders for the strings and extract the data that way so i was using indexOf to find commas in the string provided. the problem i'm having is that i can assign the first comma and extract 0 - "," but i'm stuck on how to progress the indexof so it will move through the string submitting everything between the comma's.

Public Class Form1
Private Sub btnAccept_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAccept.Click

[Code].....

View 4 Replies







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