C# - SagePay Integration From Windows Forms?

Mar 2, 2010

Ive been asked to integrate a windows form application with SagePay to take payments directly from the application. The SagePay documentation talks about ASP.NET so Im not sure whether this is possible. Has anyone integrated a WinForm application with SagePay before?

View 3 Replies


ADVERTISEMENT

Windows 7 Taskbar Integration?

Nov 27, 2010

i have windowsdeskopintegration.dll and i want codes for progressbar, jumplist, takslist, taskbar buttons but in visual basic forms applications.

View 3 Replies

VS 2008 Windows Media Player Integration?

Mar 12, 2010

In my Application, I have a Windows Media Player App integrated. Is their anyway I can have it so If a checkbox is checked, Then it will automatically start playing, And if the checkbox is NOT checked, then the user has to manually press the play button?

View 1 Replies

Base64 - Decrypt The String Returned Back From SagePay?

Jan 25, 2011

I have been having some problems trying to decrypt the string returned back from SagePay.I used their asp.net kit which included the encrypt and decrypt functions using base64 - sending the information to SagePay is not a problem but I am having a number of problems trying to descrypt the string.Here is the function I am using to descypt:

Private Function base64Decode(ByVal strEncoded As String) As String
Dim iRealLength As Integer
Dim strReturn As String
Dim iBy4 As Integer

[code]....

I don't think the web server is trying to encode anything as there are no + symbols within the url string and I have just glanced over the two to compair they are the same.This returns a blank string whereas when I use the sections commented out in the first loop i get a really weired string back and when I use their simpleXor function it just returns complete nonsense.

View 1 Replies

Operator '*' Is Not Defined For Types 'System.Windows.Forms.VscrollBar' And 'Systems.Windows.Forms.VscrollBar

Oct 29, 2011

I am trying to use values from form1 in my project, in form2, but Im not sure how to do it. I've tried

txtboxTotal = (Form1.vsbLength * Form1.vsbWidth) * Pattern

But I get: operator '*' is not defined for types 'System.Windows.Forms.VscrollBar' and 'Systems.Windows.Forms.VscrollBar.'

View 14 Replies

Implicit Conversions From 'System.Windows.Forms.Control' To 'System.Windows.Forms.Webbrowser'

Sep 8, 2010

I have the code which checks if there is a selected tab

Private Function GetBrowser() As WebBrowser
If TabControl1.SelectedTab IsNot Nothing Then
For Each c As Control In TabControl1.SelectedTab.Controls
If TypeOf (c) Is WebBrowser Then
Return c

[Code]...

View 2 Replies

Unable To Cast Object Of Type 'System.Windows.Forms.Button' To Type 'System.Windows.Forms.TextBox'

Apr 28, 2009

I have a panel with some controls in it (several textboxes, a slider, 2 buttons, and a small groupbox).. When I click a button, I want all of the textboxes within the panel to be readonly... So I have this code: [code] When I run it though, I get the following error:Unable to cast object of type 'System.Windows.Forms.Button' to type 'System.Windows.Forms.TextBox'.If I remove a button, it moves on to give me the same error but for a label..

View 4 Replies

Basic Application(windows Forms) Doesn't Exit Properly After Navigating Through Forms

Jul 9, 2010

I have a basic three form application. It doesn't seem to close after navigating through forms. If I were to open the application, and the main form is displayed. If I press the X button, the application closes fine(Goes from processes) If I were to open the application, and then navigate from the main form to another form using me.hide & form1.show, and press the red X on Form1, the application again, closes fine.

[Code]...

View 6 Replies

Forms :: Visual Studio 2010 Windows Forms App Screenupdating Property?

Jun 4, 2011

.NET developing and have a simple question, i've been stuck on this for a while and searched many forums first with no solution so i'm posting myself. In VB for excel i've used Screenupdating=false to disable the screen updating however now i'm creating a visual studio 2010 windows forms application and its not showing up as a property. Here's the code i've tried.

[Code]...

View 4 Replies

Application That Has Multiple Front Ends Developed Using Windows Forms / WPF / ASP / Compact Framework Mobile Forms

Apr 9, 2010

I have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.

Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?

View 3 Replies

Forms :: Startup A Second Windows Forms Inside The Parent Form?

Aug 26, 2010

I would like to know if its possible to start up a second windows forms inside the parent form. Ex: A button is pressed and a new form is showed. I would like to keep that new form inside the parent form, and have it not be able to go outside the parent form.

View 2 Replies

Forms :: String Cannot Be Converted To System.windows.forms.label

Mar 31, 2010

I am writing a program for my A-level coursework But for some reason I got this build error this has never occurred to me before, I have no idea why I can't use string for the name of my form.

View 8 Replies

Forms :: Windows Forms App Copy A File To A Preset Folder?

Jan 9, 2012

a program and i need to have a button put a file into a folder, i know how the button works i already have it doing some other stuff. i just don't know the code to copy and past it to a folder.

View 1 Replies

Inherits System.Windows.Forms.Form Is Missing In New Forms?

Mar 5, 2012

When I add a new, empty form to my VB.NET VS9 project, the linenherits System.Windows.Forms.Formis missing.What am I doing wrong here?I thought it would be added automatically.I experienced that some thing get weird if this line is not there (Form_Load is not firing, I think).

View 3 Replies

Integration Of Two Applications?

Oct 31, 2009

I need to understand if I can integrate two applications... one which I purchase, and one which I will write in VB. What my application needs to do is to retrieve data from the purchased application form and then update back to the purchased form fields.

View 2 Replies

Winforms - How To Load Binary To Windows Media Player In Windows Forms

Jul 24, 2011

I've successfully saved video files into SQL server as varbinary. Now, my problem is, how can I play those videos in Windows Media Player (embedded in my Windows Forms).

View 1 Replies

Code Works In A Windows Forms Application, But Not In A Windows Service

Jan 19, 2010

I'm porting code that I wrote for use in a Windows Forms application to a Windows Service, but for some reason, the code that worked in the Windows Forms application is now throwing errors in the Service

View 7 Replies

Forms :: Disabling BackGround In Windows Application Same As Windows Cardspace

Sep 24, 2010

I am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.

View 1 Replies

Scroll In Windows Forms Treeview Only On Windows Server 2003

Apr 10, 2012

I have a problem with scroll in a treeview in a Windows forms application (Framework version 3.5).

The strange thing about the problem is that on Windows XP, Windows 7 and Windows 2008 the scroll works as excepted, but in Windows Server 2003 SP2 the scrolling doesn't work. Enable/disable Visual Styles doesn't seem to make a difference on Server 2003.

Steps to reproduce the error:

1. Add a treeview to a form and add x nr of root items (and 1 sub item to each item).

2. Expand a number of nodes. The non-standard thing here is that we are changing the node integral height because we display a usercontrol with the treenode (See example of the code below).

3. When you scroll afterwards, you cannot scroll to the bottom node. The scrollbar is all the way down, but we are not seeing the last node.

Public Shared Sub SetNModeHeight(ByVal Node As TreeNode, ByVal IntegralHeight As Integer)
'Create instance of tvitemex structure.

[Code]....

View 2 Replies

Forms :: Command Line Args In Windows Forms?

Aug 2, 2010

I was playing a game recently and saw that they could use args in the shortcut, and I decided to try to impliment this into my application...so far, I got: (runs this sub on load)

Sub startup_args()
If Environment.GetCommandLineArgs.Contains("+game") Then
Dim path As Array = Environment.GetCommandLineArgs

[code]....

just to see what it returns, but the application crashes. I also tried path.tostring(), but that didn't work. When I did:

If Evnironment.GetCommandLineArgs.Contains("+game") Then
Dim path as string = Environment.GetCommandLineArgs.tostring
MsgBox(path)

[code]....

but that returned the value "SString.Array[]"...

View 7 Replies

Forms :: Creating A Sub Main In A Windows Forms Project?

Sep 13, 2010

What is the vb.net equivalent to accomplishing this?

static void Main()
{
frmCalcView view = new frmCalcView();

[code].....

View 5 Replies

Sharing Business Logic Between Windows Forms And Web Forms?

Feb 4, 2010

My question is, am I able to share a business logic layer seemlessly between the two presentation layers or is there anything I need to watch out for. I'd really like to not have any duplication of business logic, so any advice would be more than welcome.

View 3 Replies

.Net Integration In Install Package

Aug 6, 2010

I was wondering if it is possible to bundle a .net framework client runtime (.net framework 4 to be exact). Because not many computers have .net framework 4 Installed and i don't want them to download from the microsoft site. As i checked the program itself is a redistributable package <link>. Now the problem comes how do i integrate this into my own installer so that instead of asking for a download it would just ask to install the framework and then install from the setup that will be included in the package. I am using a standard setup project. Using VS 2010 Pro.

View 1 Replies

.NET SIP Phone System Integration - CID?

Apr 10, 2010

I would like to integrate our SIP VOIP FreePBX phone system with our VB .NET app. Especially Caller ID. I want the customer's caller ID to show up in my app.

View 6 Replies

Integration Between The App And Outlook (2003)?

Feb 6, 2012

I have a VB6 app migrated to VB.NET / VS2010 currently under test. Issue is with integration between the app and Outlook (2003). In summary the app opens an Outlook Explorer window to let the user view a calendar and update appointment items, any changes made are validated and if OK written to a db.

There are two methods here, one handles event Item_Change and does the validation / updates, the other handles Explorer_Close and tidies up all the Outlook objects. There is a condition in the Item_Change method ("If rs.RecordCount = 0 Then") which if detected needs the Outlook Explorer to be closed programmatically.

[Code]....

View 4 Replies

Integration Kit Exist For VS 2008?

Nov 19, 2010

Does the Visual Studio .NET Help Integration Kit exist for VS 2008?Tim Alvord

View 3 Replies

Integration Of Help File In ASP.NET 1.1 Application?

Apr 3, 2009

I have developed an ASP.NET 1.1 Application. I have also writen a help file in html format. how to integrate the help file into the ASP.NET application.

View 4 Replies

VB And Microsoft Access Integration?

Feb 21, 2011

I am a student at the University of Findlay in Ohio. In our software engineering class we were given an assignment to make a database of 2 tables in Access. Simple enough. We then had to integrate that database in to VS. Again, quite simple. Along with that we are to make 4 reports that can be displayed to the user.

The problem comes here. I can not figure out how to allow the user to select say a Recruiter Number and show all the Clients who that recruiter is in charge of as well as the amount of money they owe and what they have paid already. Also I need to total those two values.

[Code]...

View 1 Replies

VBS Script Integration Into A Project?

Mar 23, 2012

I have the following script that works just fine if I run it as a VBS script.

Const Enabled = 1
Const Disabled = 0
Set objUser = GetObject("LDAP://CN=wiles, anthony,OU=JOI

[Code].....

I've read up on MSScriptControl.ScriptControlClass, though that would work on a windows XP computer, but seeing as i'm using all windows 7 X64 bit machines in my domain, thats not really an option.

View 2 Replies

VS 2008 : Integration Of ASP.net And C Program?

May 12, 2009

the project is about this:there's a user interface(ASP.net web application) which is connected to a client / server program written in c (this program has to be in c).the c program works like this:the server has to be running, and its done by:

./server 1234
the the client tries to connect to the server by:
./client localhost 1234

when two modules are connected, different messages can be sent from the client to the server.now what i want to achieve is to send the command from the web application to the c program... so by a button click the c program would run and send the command...

View 4 Replies







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