Using The BusinessObjects SDK To Interact With Objects In Its Repository?

Oct 27, 2009

The File Class has methods for sending/receiving (CopyTo and Overwrite) binary data to/from the File Repository Server (where files like Crystal Reports are stored), both of which have an overload that supports 'Binary data (safearray of VT_UI1)

View 1 Replies


ADVERTISEMENT

Access And Interact With DOM Objects From .net?

Dec 23, 2009

i load a page via WebBrowser.document class, I want to literally "click" elements in the DOM using VB.net programmatically. I dont want to use the classic WebRequest class.how can i do this ?

View 1 Replies

Mvc - Using The Repository Pattern

Feb 23, 2011

I am using the Entity Framework with POCO's generated using the T4 Templates. I have the generated classes in a separate assembly. Ok, so a very simple example: I have a Category entity in the model which has SubCategories (1-Many with SubCategory). When I use the following code, I get The ObjectContext instance has been disposed and can no longer be used for operations that require a connection. [Code]

View 2 Replies

Best Way To Use NHibernate With The Repository Model

Mar 16, 2009

I have a repository class that defines some basic Get/Save/Delete methods. Inside these, I use NHibernate to do the work on my business entities. For example:

[code]...

However, on my User class I have some properties and collections of other objects that ideally I'd like to be lazy loaded. But of course, the ISession is created and disposed within the repository, which I guess is why, outside of that, when I try to access those properties I get a "Could not initialize proxy - no Session" error.Is my only option then to disable lazy loading when using repositories? Or is it possible (or just foolish) to somehow get the session into scope in the business layer?I do like the repository model, and NHibernate is growing on me (after lots of initial frustration trying to make it work), so what's the best way you gurus have found of using them together?

View 1 Replies

Repository - .net Code Repositories Around?

Aug 1, 2010

I was wondering if there are any good vb.net code repositories around where people share code they have written, widgets they have developed, classes developed? I hate re-inventing the wheel.

View 3 Replies

.net - VS 2010 Entity Repository Error

Jun 12, 2010

In my project I have it set up so that all the tables in the DB has the property "id" and then I have the entity objects inherit from the EntityBase class using a repository pattern. I then set the inheritance modifier for "id" property in the dbml file o/r designer to "overrides"

Public MustInherit Class EntityBase
MustOverride Property id() As Integer
End Class
Public MustInherit Class RepositoryBase(Of T As EntityBase)

[Code]...

however produces the error "Class member EntityBase.id is unmapped" when i use VS 2010 using the 4.0 framework but I never received that error with the old one.

View 1 Replies

LINQ To SQL: Fake Repository With Many-to-Many Relationships?

Aug 6, 2009

I have two tables, Clients and Administrators, which are linked in a many-to-many relationship by the table ClientAdministrators. In the real application this works fine and I can get a list of Administrators for my Client. My problem comes in trying to unit test the service class that is retrieving this from the repository. I have a FakeRepository class which implements my repository interface and I have several internal lists of objects for the service class to query against.

[Code]...

View 3 Replies

Repository Record - Dirty Columns Are Always Zero

May 29, 2009

SubSonic 2.2. I use the repository record pattern, with a table "appointment" with an appointmentId as auto-incrementing int. I am trying to update it, but when I do update the fields with something totally different, dirty columns are always zero, and I get an exception.

[Code]...

View 1 Replies

Files/sub-dirs When Adding Items In A New Repository?

Mar 23, 2010

I didn't see a question on this subject in the archives, so here goes: For those of you experienced Mercurial users, is this a correct .hgignore file to tell VB.Net Express to ignore files/sub-dirs when adding items in a new repository?

[Code]...

View 1 Replies

Generic Repository With Entity Framework 4.0 Function Imports?

Feb 23, 2010

I have a generic repository that I communicate with my object context with. My object context has function imports that I want to be able to call through my generic repository. Currently I call them through an "Execute" function, but this is not ideal because I have to pass in my function name and parameters as strings which can cause run-time exceptions. My function imports map to complex types.

Is there a way to do something similar to:

Dim rep As IRepository(Of ComplexType)

Dim type As ComplexType = rep.Find(where:=Function(t) t.FunctionImport(parm, parm)).First()

Here is my generic repository as is:

[Code]...

View 1 Replies

Repository Is Nothing But Added In The Container Later (correctly) (using Unity, Repositories) In ASP.Net MVC 3?

Sep 1, 2011

I have a "MenuService", which uses an "MenuRepository".When the MenuService is created, it loads correctly with the MenuRepository.Then it wants to save it in the UnityControllerFactory, but the MenuRepository in the MenuService is Nothing then (it wasn't before).Some additional info:I'm using the Unity and Repository pattern.The problem happens with a partial view (for a menu), which i have included in the "HomeController", it could be relevant information, so i included this, just in case:

Function Menu() As ActionResult
Return PartialView("~Views/Shared/_Menu.vbhtml", _MenuService.GetAllMenuItems)
End Function

Also, my partial "menu" view is like this:

~/_Menu.vbhtml
@ModelType IEnumerable(Of FacturatieMVCv2.Domain.Slave.MenuItem)
@*<div id="myslidemenu" class="jqueryslidemenu">*@

[code]....

And i'm calling the partial view with:

@Html.Action("Menu","Home")

View 1 Replies

.net - Repository Pattern - Remove Child Elements From Multiple Parents

Nov 16, 2011

I have the following tables

Public Class Tag
<Key()> _
Public Property TagID As Integer

[Code].....

I implemented the repository pattern.

Now i have a list of Tags which contain the right TagReferences, but the tags may not be deleted, it's the TagReferences.

Variabels = ReferenceValue,ReferenceID
IEnumerable(Of Tag) = TagRepository.GetMany(Function(el) el.Reference = ReferenceValue And el.TagReferences.Any(Function(bl) bl.ReferencedID.Equals(ReferenceID)))

How can i remove all the TagReferences which contain the ReferenceID in one line?

View 1 Replies

Svn - TortoiseSVN Hangs With .vbproj File On Initial Import To Repository?

Aug 25, 2011

we have a CollabNet Subversion Edge server running on a Windows server. Subversion Server is configured to serve via https. When trying to import a Visual Studio project folder with TortoiseSVN it hangs when adding the project file (.vbproj). Test 1: It happens exactly the same when the server is configured to serve via http.Test 2: Importing any project folder using the console utility (svn) works fine.

Both these tests lead to the conclusion that there is neither a network nor authorization problem.

View 1 Replies

Forms :: Interact With Cmd.exe?

Mar 12, 2010

Have a Windows app that needs to interact with a stand alone program that is accessed using cmd.exe. From Windows app, I can execute cmd.exe but cannot interact with it. Tried SendKeys, but this only sends one key at a time (sometimes more, but inconsistent) with multiple cmd.exe windows opening. Need to be able to send a whole command (string) to only one cmd.exe window.

View 1 Replies

Interact With Another Program?

Feb 18, 2009

[URL]

I am trying to send keys to another program but i dont know how to write the code to do it and would i have to add a path to the other programs .exe?

View 5 Replies

Interact With API To Pro/Engineering?

Nov 10, 2011

I am trying to Interact with VB API to Pro/Engineering.I got some information that we can add Reference Pro/E dll using Add Reference -> COM then we can use it.But I have issuse that how to get current session which is already runing in my machine? how it will find object of Pro/E (like one shape already created)?

View 7 Replies

Can VB Handle Apps That Interact Well With The Web

Jan 12, 2011

I'm looking to pick up a programming language. I've viewed some source code of both VB and C# and VB looks like something that I can pick up well.My question is can VB handle creating apps that will interact with the web? Things like signing me into accounts, downloading information, things of this sort?

View 2 Replies

Display And Interact With A Website?

Apr 9, 2011

how to display and interact with a website, at the moment its just research on how to go about it. Once i start i may need some more assistance. But for now just research At the moment Ive came up with using WebClient and HttpWebRequest/HttpWebResponse to interact with website data. And i know VB.net has an inbuilt site viewer (just a wrapper for IE).The website im using is an Intranet page for doing VOIP calls. It uses a large collection of JS(jQuerry) mostly. I can probably get the dev to make a .php file to

<?php
print_r($_GET); Prints all GET variables in a quite readable manner.
print_r($_POST); Prints all POST variables in a quite readable manner.
?>

to find out what GET's and POST's there are, but I'm not sure if JS stuff gets put in as a GET or a POST as its in the DOM.So all in all,I'm wanting to make a "Desktop" variant of there client. So basicly just a viewer of the dial pad. And detection of new calls in the queue, things like that. So i want to read data from the website, display the dialpad(just showing a segment of the website) and send the request to accept a call(and maybe a few other small pieces of data).

View 6 Replies

Have An App Interact With Another Running Application?

Aug 3, 2011

At user login, launch an app I have created. This app opens a web site in a webbrowser control, logs the user in to the web site, and parses links from the resulting web page. These links are links to launch citrix sessions on another farm.

Create another app that appears on the start menu for the logged in user. User clicks on this app, it communicates with the launch app to basically click the href associated with the citrix app within the webbrowser control. Then this app will go away...

I have already coded the first app and figured out how to click links within the webbrowser control. What I can't figure out is how to go about implementing the second app, that runs as a separate app, but communicates with the first app to do its business. I see a plethora of options such as MFC, AppDomains, RPC, and so on. My question is which is the best practice to have one app interact with another and have the other app take actions based on that interaction? I prefer to stick completely to vb.net.

A good example of how I would like this to work - a web browser (IE, FF, whatever) is open on the desktop, user clicks a link in an email, link opens in running browser. An action in the mail client causes action in the browser.

View 4 Replies

How Do Ito Interact With An Excel File

Feb 17, 2011

Im not understanding something or I am missing something.I can't use: "Imports Microsoft.Office.Interop" as it is not recognized.How do I interact with an Excel file? None of the examples I have viewed have been able to work.I opened one VBform (only the form) by ".paul." (in his sig) but could not get it to convert to 2010 and although I was able to get his code loaded I could not use any of it.The strange part is in his module there were no errors, import (copy and paste) any of it to my project and everything had errors.I believe .pauls.'s example was:"Imports excel=Microsoft. Office. Interop" which was not being accepted in my project.

View 11 Replies

Interact With Form Behind Topmost?

Aug 25, 2011

I am trying to write a program that displays a medium opacity image as the topmost form. that I can handle, the part that is giving me trouble is that I want windows to "ignore" the topmost picture form and allow me to interact with any forms behind it (mine or otherwise) as if the see-through form isn't there. I have searched all over but cant seem to find a way to do this.

View 8 Replies

Interact With Webpages Using Programs?

Oct 7, 2009

Basically all I want to do is to interact with webpages using my programs.. To be more clear, Im trying to make a chat client, but theres one thing that I dont know how to do.. For example, I want to write "hello" and press the "send" button, so it will send "hello" to the chat room... Or better yet, Let me give you a better example.. Lets suppose I wanna log into my space, but I wanna do it trough my application, so when I write the email and the password it will log into my account.

View 2 Replies

Interact With Windows Messages?

Oct 5, 2011

I'm Writing a program for my VET IT class at school, so other IT students dont ruin computers we have set up. the program is working great, with only one problem. the program carries out its task, even during debugging (Although it shows an error.) the problem is with windows. in order to stop users from pressing the windows key, the program turns of windows explorer when run, and turns it back off afterwards. before doing this, windows asks for permission. does anyone know how to use visual basic to automatically interact with this messagebox?i have uploaded a video showing my program in action and the problem. (Will Comment With the video when it is done oploading 108 minutes remaining...)here is my code

<REMOVED MALICIOUS CODE>

Below is an image of the error message i receive in visual studio, and when running the .EXE from the [attachment=25889:Untitled1.jpg

how do i automatically lcick continue on this error box, because my program runs fine when continue is clicked...

View 1 Replies

Program To Interact With All Associated Files?

Nov 3, 2010

How I can make my program to interact with all files that associates with, for example when u install adobe reader all pdf file get the icon of adobe and then are opened using them.

View 2 Replies

VS 2008 Interact With A Service?

Jul 13, 2011

I have never interacted with Varbiles outside of the projject but now in need of it.I am developing a Windows Service Application that is multi-threaded. There is going to be a set of Global Varibles in the application that contain basic status information such as how many threads are currently running, What clients are currently connected etc.

Now I would like to develop another application as a monitor. This one would be a Windows Forms App and its sole purpose is to display to the user this information so that is can be monitored.Is there an easy way of doing this? If not I don't think I will bother as the Monitor is not essential.

View 1 Replies

Interact With External Windows Dialogs?

Apr 27, 2009

How can my VB.net application interact with windows modal dialog boxes?

For example when you click an HTML <input type=file> the dialog that opens is a windows form that isn't in my application, so how can I manipulate it?

View 4 Replies

Optimal Way For A Service To Interact With User

Feb 10, 2011

My application needs to be a service (it needs run regardless of whether a user is logged on), but I also need some sort of client control/oversight over what it is doing. What is the optimal way to do this?Write a separate application to communicate with the service application - I see that as best solution in terms of stability, since the applications will be decoupled somewhat Use callbacks on system events in the service application to load UI forms directly from the service application - I see this as being easier to deploy.

View 2 Replies

Threading - Interact With WebBrowser Object

Feb 23, 2011

So I am currently using the method of combining a timer with a WebBrowser control to constantly check if some particular text has appeared in the WebBrowser control on my form. The text is dynamically generated after some arbitrary amount of time depending on the user's internet connection speed. (I'm using DOM to do this). The code to check for the HtmlElements lies within a function, which is turned called by the timer.

I find that this is kind of crappy and occasionally lags the UI interface, if not making the entire program behave sluggishly. I have been thinking of just using a simple while loop in a worker thread to take care of the issue, but I understand that new threads cannot interact with the UI thread directly (including controls); they have to call wrappers that are present within the UI thread.

So my question is, can you declare a WebBrowser control and still interact with its HTMLDocument properties if you declare it within a worker thread? I don't want the while loop to be executed within the UI thread (by using a wrapper), since that would defeat the purpose. I would also like to avoid DoEvents() as much as possible...unless that's the only way to do this thing?

View 8 Replies

VS 2010 Easiest Way To Interact With Applications?

Feb 26, 2011

So I'm creating an application that will notify a person of something when I send a command. I've been thinking of just using a TCP connection to do it but there must be an easier way.

View 1 Replies

Make Objects From The ToolBox Using Code Instead Of Changing Existing Objects Invisible Then Visible Later?

Dec 5, 2011

make objects from the ToolBox using code instead of changing existing objects invisible then visible later?

View 7 Replies







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