Recommendation For Object Container

Sep 28, 2009

I need a recommendation for a data container. I am loading a sequence of letters (Latin characters) into a text string.I then want to pass the individual characters into a 2-D matrix-like container (i.e. populate left to right based on # column assumption).I then want to search for patterns within this matrix using rules similar to that of a crossword puzzle (Left to Right, Top to Down, Left to Right Diagonal).What is the best container to do the anlysis in?I am assuming the decision to this will be based on the search flexibility of the container.My initial goal is to use crossword puzzle rules as noted above.But I may want to expand this to search backward as well (ie. Right to Left).

View 1 Replies


ADVERTISEMENT

Database - Create Model Container Object?

Sep 9, 2011

So I create the model container:

Private mdbContext As PFModelContainer
Private mdbTransactions As Object

Before I did it this way:

Private mdbContext As New PFModelContainer
Private mdbTransactions As mdbContext.Transactions

Thinking maybe I was doing something wrong I changed it over to the first way, then I do:

Public Sub New()
mdbContext = New PFModelContainer
mdbTransactions = mdbContext.Transactions
End Sub

Once I hit mdbContext = New PFModelContainer it takes me over to the PFModel.Designer.vb Where it steps through the following:

Public Sub New()
MyBase.New("name=PFModelContainer", "PFModelContainer")

At which point it terminates execution of the code. This is the error it gives me on the Immediate window:

A first chance exception of type 'System.ArgumentException' occurred
in System.Data.Entity.dll

Is there something I can do to make this error go away? I tried deleting the project and recreating it with my old .edmx model that I downloaded from Mozy from when it used to work. It stopped working (as far as I can tell) after I changed the .edmx model and updated it. Maybe I did something else in the other project too, but I'm not recalling anything.This is what is in the app.config:

<connectionStrings>
<add name="PFModelContainer" connectionString="metadata=res://*/PFModel.csdl|res://*/PFModel.ssdl|res://*/PFModel.msl;provider=System.Data.SqlServerCe.3.5;provider connection string="Data Source=|DataDirectory|inDebugMyDatabase#1.sdf"" providerName="System.Data.EntityClient" />
</connectionStrings>

Should I be referencing System.Data.EntityClient and System.Data.SqlServerCe.3.5 somewhere?The EDMX property Entity Container Name is PFModelContainer and the Namespace is PFModel.

View 1 Replies

Label Size - Drag The Label Object From The Toolbox And Drop In The Tab Control Container

Feb 4, 2007

I have been using vb6 for a while, I am following a tutorial by MS to develop a basic application and a simple task cannot be completed for whatever reasons! The tutorial asks to drag the label object from the toolbox and drop in the tab control container. Then, go to the label size property and adjust the size to some different dimansion. Basic stuff, right? It won't let me do it! After I enter the new dimensions (which by the way are not large or very small), the label size (both width and height) resets back to its original dimensions! I have the vb.net sp1 installed.

View 2 Replies

Getting Recommendation For VB Development Computer?

Jan 12, 2010

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?

View 1 Replies

Visual Studio Development PC Recommendation?

Aug 13, 2009

i have two questions, and i don't know the best place to ask them. 1. Can anyone recommend a configuration for running Visual Studio 2008 and vb.net programming ? Is a quad core cpu better or a dual core enough ? Will things be much faster with an SSD hard drive or a 10k rpm regular drive will be enough 2. Does Visual Studio 2008 support multiple cores when compiling vb.net projects ? We have solutions with many projects and compilation is sometimes quite long.

View 5 Replies

VS 2008 Receipt Printer Recommendation?

Jul 7, 2009

Can anyone recommend a POS receipt printer that would integrate easily to a .NET WinForms application?Basically what I mean by integrate easily, is that the printer would actually show up as a standard windows printer, because the existing application uses Microsoft reporting services to print receipts, and I do not want to have to redo the entire receipt process via some SDK or API exposed by some proprietary receipt printer.Right now the client is printing on 8.5x11 sheets of paper from a standard printer, and it is just silly to use such big paper for receipts.We thought about getting half sized paper, since the current laser printer tray supports it, but found that non standard paper sizes run much more expensive than standard size paper, and it is not worth it.So I will tweak the report layout to fit a smaller size once I have a printer in place to use, so I am just looking for a recommendation if anyone has worked with any specific POS receipt printers.

View 2 Replies

.net - Recommendation For 3rd Party .NET Serial Port Class/Component?

Aug 10, 2010

I am looking for a serial port component for .NET that overcomes the issues with the built-in Serial Port component related to sudden unplugging of USB-to-RS232 adapters, and suspension of the computer while the port is open. (Untrappable errors occurring after the the device is unplugged or the computer comes back after being suspended.)I have been using Richard Grier's solution, but I still have problems when resuming from suspend.Is there a 3rd party component that you would recommend? I have tried several, and each have their shortcomings. Ideally I'd like a drop-in replacement for the standard serial port, but I'll take whatever I can get.

Edit: It turns out that upgrading to .NET 4 and using the serial class works fine on XP, but does not work on Windows 7.

View 2 Replies

Actual Implementation Of StackForm MSDN Recommendation For Compact Framework

Aug 11, 2011

I'm looking for an actual implementation of StackForm recommendation. It can be a framework, API or any light-weight, Compact Framework-compatible library.It's not too complex to implement that idea, and I did in the past a couple of times, but I'm friend of not re-inventing wheels and maybe someone or group did an open sourced project implenting a generic navigation manager in order to create Compact Framework Forms application using this approach or any other similar to it.

View 1 Replies

Book Recommendation With Good Lambda Expressions And LINQ Chapters?

May 20, 2009

I'm looking for an advanced level VB.NET book which covers LINQ and Lambda Expressions.Generally I read C# .NET books due to lack of good VB.NET books when it comes to generic .NET Framework related subjects. However Lambda and LINQ is quite different in C# and VB.NET I'm looking for an advanced level VB.NET book on this subjec

View 1 Replies

C# - Actual Implementation Of StackForm MSDN Recommendation For Compact Framework?

Jun 24, 2012

I'm looking for an actual implementation of StackForm recommendation. It can be a framework, API or any light-weight, Compact Framework-compatible library.It's not too complex to implement that idea, and I did in the past a couple of times, but I'm friend of not re-inventing wheels and maybe someone or group did an open sourced project implenting a generic navigation manager in order to create Compact Framework Forms application using this approach or any other similar to it.

View 7 Replies

Any Container Like The Map In C++?

Apr 2, 2009

There is any container for vb.net like the map in c++?

View 2 Replies

Use A Non-MDI Container As A Container?

May 23, 2011

I have a form (say Form1) opened into a MDI Container form, and I want to open a new form (Form2) as a child of Form1. I open it with Form2.showdialog() but it don't act as a child, I mean, I can move it outside the bouds of the Form1 (and even the MDI)

View 2 Replies

Container For Constants In .NET?

Jun 29, 2010

Say I have some constants that depends one of other, and I decided to keep them together in a container instead of keeping it as individual constants in a class.I thought use a Structure for that scope, but compiler force me to declare a private member for that structure.

[Code]...

View 4 Replies

Design Own Rtb Which Can Act Like A Container?

Jul 21, 2009

is there a way to design my own rtb which can act like a container? I mean I want to add the functionality of a container e-g panel to rtb. How can I start it?

View 7 Replies

Did Container Change In 4.0?

Jul 27, 2010

This is more of a ASP.NET question, but we are using VB.NET so it might be relevant. We just recently upgraded an ASP.NET 1.1 project to 4.0.Once we started running through the app to regression test it, we found that (consistently) if we made a call like DataBinder.Eval(Container, "PropertyName") from a User Control, ASP.NET complained that it could not find the PropertyName on the page.

PropertyName *does* exist on the User Control, but not on the page.This worked up until we upgraded to 4.0.The fix we found was instead of using "Container", we used "Me" to reference the control that the code was being called on.

View 2 Replies

MDI Container Backgroud With RTL?

Jul 29, 2009

start a desktop app. make the form 1- MDI Container = True. 2- Right to Left = True , 3- change the Right to left Layout = True.Set the background to any jpg image, when you run the form, the backgroud disappears.

View 3 Replies

Set Pixel In Some Container?

Feb 2, 2012

VB 6.0 had a Set Pixel function, which is not available in VB.net. using a draw ellipse function with parameters specifying a circle one pixel in diameter.The above is painfully slow.I have been drawing graphics in a Bit Map using a Set Pixel function & then copying the entire graphic from Bit Map to a Picture Box. This results in nothing seeming to happen for several seconds & then the entire graphic is displayed in the Picture Box.

The above does the job, but it would be nice to display the graphic as it is being generated pixel by pixel, which was possible using VB 6.0, Might there be a Windows 7 API which would set a pixel? Might Microsoft be considering a Set Pixel function for Picture Box graphics?

View 5 Replies

Usercontrol Like Container?

Apr 5, 2012

I made a User control.I add two Panel in this Usercontrol. But i want one of panel keep control like container when i add my usercontrol in the from.but when i add user cousercontrol does not contrin any controlntrol in the from but my . how can i user usercontrol like container

View 3 Replies

Anchor 1 Control With Other Instead Of Container?

Feb 10, 2010

It is possible to anchor 1 control with other control instead of container. I mean suppose i want to maintain fix distance between 2 controls during resizing form.

View 1 Replies

Asp.net - Create New Container Azure

Jul 22, 2011

I am trying to migrate large data that is required for our website hosted on Azure to access. The data amounts to about 7GB. After reading few forums, I have come to know that SQL Azure BLOB Storage can do the trick for me. how we can store data in SQL Azure BLOB Storage and access it? At first I want to try to store a Test.txt file in the BLOB and access the contents of this file from our website and display it.

View 1 Replies

ASP.NET ItemTemplate Container.DataItem

Mar 5, 2011

I have a Repeater on one of my pages like so: [code] But, when I run it it errors out with the message:'btn<% Container.DataItem %>' is not a valid identifier.I want to append btn to the Container.DataItem value so that I have dynamically assigned control names that are associated with the underlying data item. Any ideas?

View 1 Replies

Cannot Get A New Windows Form To Use The MDI Container

Jan 2, 2011

I have an older VB6 program that uses a MDI sheet. this program was upgraded to VB.net. I can not get a new Windows Form to use the MDI Container. the new sheet lays over the top of the MDI sheet.

View 10 Replies

Change Backcolor Of MDI Container?

Jul 30, 2010

How do I change the back color of my MdiContainer?

View 1 Replies

Close Button And MDI Container?

Jun 18, 2012

My doubt is :1] I have got many forms and MDI container. There is close button on all the forms.One of the form name is Homepage.2]Whenever the user clicks on close button,i.e.the cross button with minimize and maximize box, The form will close but at the same time it should redirect to homepage.3]I know to show new form ,we use Homepage.show().But,This homepage.show() is written in the code when we got button or other controls.4]What can be done with this cross close button? How to code for this?

View 13 Replies

Container.DataItem Works Only In C#?

May 24, 2009

This line of code((Matches)Container.DataItem).MatchIDworks in C# but in VB.NET, when used in a Repeater, I get the error

View 2 Replies

Create A Graphics Container?

Sep 21, 2009

I have the following [code]...

when i draw the rectangle, the moment the container refreshes itself i lose my shape or if i run the app in full screen and then into normal window mode the shape either gets clipped or deleted. I would like to create a grahpics container to always keep the shape 'alive'.

View 5 Replies

How To Refer To Container Of A Usercontrol

Mar 9, 2011

I have a user control called UCO and it is being put in many diffrent forms.How can i refer to these forms from the code of the UCO?For instance, how can i get the color of the form and make the UCO have the same color?

View 1 Replies

If Container.DataItem.BooleanValue Then?

Jun 8, 2012

Working in VB.NET, in a repeater. I only want to display part of the repeater if one the data item's fields is set to true.I am struggling to write a line that will accomplish this but am trying along the lines of this:

<% If '<%# Container.DataItem.IsLive%>' Then %>
<asp:PlaceHolder ...
<% End If%>

View 2 Replies

Keep MDI Child Inside MDI Container?

Jun 22, 2010

In my program, I want the user to be able to move an MDI child window anywhere inside the MDI container but I need it to be kept completely inside the container boundary. For example, the upper left corner should never be at a location less than 0,0 when moved left or up. Currently, if I slide the child window too far left, it extends outside of the MDI container window and the MDI container shows the bottom scroll bar.

Is there a way to prevent the child window from moving outside of the boundaries of the container window? I tried adding code to the .move (see below) so that if the new location was less than 0,0 then it reset it to 0,0 but then the child window controls flicker as the window is moved beyond 0,0 and the logic moves it back to 0,0. It appears that even though the code changes the location to 0,0 and the window shows the child moved to 0,0, when the mouse moves again, the window jump back to its unmoved location.

Private Sub MyForm_Move(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Move
If Location.X < 0 Then

[Code].....

View 2 Replies

Put A Cmd On The Panel 2 Of The Split Container?

Dec 15, 2009

I have a split container. the first panel is a richtextbox.. my question is how will i put a cmd on the panel 2 of the split container

View 13 Replies







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