Call .Net Services From Existing VB Application?

Aug 27, 2010

How to call the .net windows service from VB application

I have only the executable for VB application. Through the exe , I am able to view the .Net service, but it does not allow to install the .net services.

View 1 Replies


ADVERTISEMENT

Implementing .Net RIA Services With Silverlight3 Using Only Existing Code / Classes?

Oct 20, 2009

As my latest questions have stated, i am in a process of researching on Silverlight 3 and its application as a suitable RIA solution to a pre-built project a client of ours wishes to webify. And my experience in .Net and silverlight is about 3 - 4 weeks.I have now become aware of .Net RIA Services. I require to use an existing VB class; which was created as a quick wrapper class to emulate a small piece of the client's application code. This is used as a proof of concept. It contains one function which uses the client's DLL files to return a simple data type This class has already been used successfully with Flex/Weborb combination.I unfortunately do not have enough knowledge or experience in Silverlight/RIA Services to grasp what it is i have to do to get the file working. All the examples I find online only specify the method where you use a database as dataSource etc.Could you please inform me how i would go about implementing RIA Services with Silverlight 3, using existing code/classes with no DB? Or could you point me in a direction for further research on the matter?

View 1 Replies

Sanitizing Is Needed For Web Services That Call Stored Procedures?

Jul 12, 2009

I am building a series of web services in VB.Each of the web services takes multiple string values, performs some validation/processing then calls a Stored Procedure using Linq to SQL. Some of the string contains user data that is stored in the database:These string values passed from the web service are escaped to trap single quote characters, semi colons and the various bracket types. I am calling the SP using the datacontext.spname(parameter1, parameter2) method.

View 3 Replies

Reporting Services And Web Application (with HTTPHandler)?

Nov 30, 2009

We are trying to add SQL Reporting Services to a .Net 2.0 Web Application. SRS has been installed on the server successfully, but we get an error when we try to load a report or access the report manager:

Server Error in '/Reports' Application.Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'netGmrc' or one of its dependencies. The system cannot find the file specified.

The error is being coming from a line in the web.config where an httpHandler called Upload.axc is being added to the web application. The entire httpHandler section is listed below.

<httpHandlers>
<add verb="*" path="Upload.axd" type="netGmrc.Upload, netGmrc"/>
<remove verb="*" path="*.asmx"/>

[code]....

When we remove the Upload.axd handler from Web.Config, everything in SRS works fine. What is the proper way to have Reporting Services work along side the web application with this httphandler?

View 1 Replies

VS 2008 Application Runs Like As NT Services

Jul 5, 2010

I am new in programming. Have a some knowledge in scripting. me in sample coding using VB 2008. - Create an application that will run on system start up and still run even if user's Log off. - The application will read a list file that contains other application names (e.g notepad.exe) then the application will continue running.. if notepad runs then it will log to a text file the time started the execution and after it was quit it also log the application ended time of execution. - Like its running as services.

View 6 Replies

Convert An Existing Standalone Java Application To A Dynamic WEB Application?

Mar 24, 2010

how to convert an existing Standalone Java Application to a Dynamic WEB Application which can be deployed on Apache-Tomcat Server container ?

View 2 Replies

C# - Create Web Services And Link It To Smart Device Application?

May 18, 2010

i have novice skills in programming in vb.net,I just finish my project and applications for Data logic memoir wherein the data has been save to text file or SQL compact server database in the Handheld Device and use Active Sync Connection to pass Data into H/PC to Desktop P.C and Vice Versa.I just shift now to C#.net and start learning it and i just successfully transpose my Smart Device Project from VB to C#.

But now i want to Start Projects linking The device to server using Web services

View 1 Replies

VS 2008 - Web Services Application Takes FOR EVER To Build / Run Using Windows 7

Jul 6, 2010

I'm a relatively seasoned VB (COM) vet but this is my first VB.Net application and as is my luck a web services application feeding off a site that I can't publicly mention nor can I post any code that may expose the site.

So, here's the problem. I have written a simple form and have 2 buttons. 1 button simply asks the webservice for it's version. This works no problem. I was able to load the web reference using their supplied WSDL file for this "version" class. Now that I have that working I think "GREAT, that was straight forward. I have my credentials, urls, etc working, the rest of this should be just as straight forward." (See where I jinxed myself here?)

Anyway, I move onto the next WSDL and set of classes and get that reference added no problem. (Man that took a LONG time, like 20 minutes.) I then build my "Get my order data" code syntaxes on the prescribed exposed classes and run my project just to see what errors I get. The "run" process takes almost 45 minutes to an hour..... It's as if the app is getting the WSDL set all over again but doing it over and over..... I have no clue what's going on.

I've tried to disable all the Windows 7 "potential" issues, UAC, firewall, etc, but these changes don't help. Anti virus, spyware, etc all these are off and no difference. I'm running VS2008 as an Admin, right click "run as admin", and have complete control over this machine. Any ideas, suggestions, etc are VERY welcome and I am happy to expose as much of this application as I can providing I can stay with in the rules of the confidentiality contract.

View 1 Replies

Make An Application That Can Control The Processes And The Services In A Remote Machine?

Feb 17, 2012

I am a new member here and a new user of VB.Net.So, I would like to know how to make an application that can control the processes and the services in a remote machine.

View 4 Replies

Upload A File Into Program Application Running Under Terminal Services?

Jul 28, 2011

We are developing an application in VB.NET that will need to accomodate remote users logging onto a Microsoft Terminal Server using RDP through the MSTSC.exe client.

Is it possible to offer an 'Upload' button which will allow the remote user to pick a file from his/her local hard drive and upload to the server ?

View 1 Replies

Windows Services - Configure App.config Application Settings During MSI Install .net?

Feb 1, 2012

I am trying to create an msi install for my windows service. The reason for creating an msi is that the intended users want to be able to quickly install the service with as-little intervention as possible.

i can get the service to install as a msi but i have a variable within my code that i need the user to define when the msi is being installed. the variable i require from the user is the file path which they want the xml files my service creates to be located.

i thought i could configure the app.config application settings to contain the file path that the xml files should be written to. However i'm struggling to do this and im not to sure if its the best way to do it?

I have my setup project that contains my executable and has my textbox which will contain the one variable from the user.I have an installer class which contains my serviceinstaller and process installer. This is where im struggling to understand what i need to do next. Do i need to override the install method? The current code of my installer class was automatically generated and is as follows:

[Code]...

View 1 Replies

Windows Services - Configure App.config Application Settings During MSI Install?

Jul 14, 2011

windows services - Configure App.config Application Settings During MSI Install

View 3 Replies

Add / Implement An Interface To An Existing Class Without Changing Code Anywhere That Call The Class And Functions

Mar 1, 2010

I need to create unit testing project for my current website. The currentw ebsite si written in VB. All unit testing examples are using interface to create mock object. My current VB class does not implment any interface. Can I add interface and implement it to my current class and functions without affecting or changing codes to any pages in my website that call the functions? For examples my current class is like:

[Code]...

View 2 Replies

Application Does Not Return From Call To System.Windows.Forms.Application.DoEvents?

Aug 2, 2011

I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.

Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me
doubt that theory but I really don't know.

[Code]...

The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?

View 1 Replies

Change An Icon Of An Existing Application?

Oct 4, 2011

Is it possible to change an Icon of an existing application? I mean script in vb an application that allow to change any icon of apps. If its not , create a shortcut with the icon we want of any apps.

View 1 Replies

Call External Windows Application Form From Application?

Aug 17, 2011

I Have one Windows Application in which i have one MDI Form (Say App1). And I too have another Windows Application in which I have a Child Form (Say App2). So now i want to Call App2 from App1 .. And want to Display App2 form As MDIChild in App1 MDI Form . I am Able to open the Form of App2 , But how to set It As App1' Child .

View 2 Replies

Skype4COM - Make A Skype Application Using VB - Application That I Call You?

Aug 27, 2010

I'm going to make a Skype application using Visual Basic, I use them "Skype4COM.

Below is a link on the page somewhere in the middle Skype4COM. It is the DLL that I use.

But my question is, how can I in my application that I call you? Not that you're on the phone but if someone phoned you before you've pressed record.

View 2 Replies

Attaching To Existing 3rd Part ActiveX Application

Oct 11, 2009

We have a client who has asked us to write a GUI that is capable of connecting to an existing, running application. This specific application has quite extensive .NET and ActiveX hooks in it, but it's a third-party application and we do not have access to the source code. The client has specified VB 2008, despite the fact that the target application has perfectly good GUI creation tools itself.

I can successfully start a separate instance of the target application, but that is not what the client wants. The idea is that the user would start this application, open a specific file with it and then start the GUI which would take control.

I have searched a number of locations (including 18 pages so far of this forum) to try to find help on this sort of thing, but the success is slow coming. One code snippet enabled me to find the running process, which may help me to connect. I am also browsing CodeProject to try to wind useful information on this.

View 5 Replies

[2008] Create Update To Existing Application?

Mar 16, 2009

I have recently released a free application for some game and now I have added a few features 'the public' requested.

I used Inno Setup to create the installer, which works just fine.

Now however, instead of having the ask the user to uninstall the current version, and then reinstall my new version, I want to be able to give the user an Update install exe which they can simply run and it will update the existing application.

One thing I would like is that the users Settings are not changed. So hence the following questions: 1. Where are the Settings stored? I thought it was in the user's Local Settings <Application Name> directory, but I cannot find my application there... I cannot find it in the All Users or Administrator 'accounts' directories either...

2. Are the Settings stored depending on the Version of your application? (Assembly Version / File Version)?

If 2. is true, then obviously changing the Application Version (which is logical in an Updated executable, no?) would also change the Settings back to default..? Can I avoid that?

Finally, is it enough to simply overwrite the executable? What registry 'work' do I need to do, or can Inno Setup do that for me? I am only using one other file which is the SharpZipLib DLL file.

View 1 Replies

Start In 2008 Express Existing Excel Application?

May 14, 2010

How do I start in visual basic 2008 express, a existing Excel application? e.x test.

View 2 Replies

Call New Page From The Existing Page?

Aug 22, 2009

I am beginer to ASP.Net. Can u tell how to call new page from the existing page. In VB.net by executing the statement "Form2.show()", New page will be loaded. In the same way how to load new page in ASP.Net ?

View 2 Replies

Automate Existing Windows Form Based Application Using Autoit?

Jun 15, 2011

I want to use automated testing using autoit for my existing windows form based application. Currently looking at the autoit documentation I couldnt figure out how to start a existing windows application in vb.net and then use it for further automation.

View 3 Replies

What Is Ado.net Synchronization Services And How To Use These Services

Mar 14, 2009

What is ado.net synchronization services and how to use these services

View 1 Replies

PDF - Takes A 1 Page Existing Pdf That Ispecify And Inserts That Into Another Existing Pdf?

Nov 11, 2010

I need to make a program in vb that takes a 1 page existing pdf that i specify and inserts that into another existing pdf that i specify.

View 4 Replies

Use Shell To Have Application Call An External Application But Its Not Working - Error: 'System.windows.shell'

Jun 3, 2011

I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!

Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.

Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click

[CODE].....................

View 2 Replies

VB2010 - Call Application.Run() In Application Without A Form - "Object Reference Not Set To An Instance Of An Object

Nov 12, 2009

My problem is when i try to call Application.Run() in a application without a form i get "Object reference not set to an instance of an object." when i run it outside VS. but if ran in debug or release mode it works just fine. i may just be forgetting to setup application right, but ive done it before in this same manor and it worked fine.

Sub main() 'this runs first.
AddHandler Application.ApplicationExit, AddressOf ExitEventHandler
dbg_f("handle added")

[CODE]...

Commented out init_timer and init_ready, and now it causes the same error for the myName line. there seems to be something wrong with class Application. btw theres seems to be something wrong with the forum code formatting.

View 4 Replies

C# - Sample Windows Application In .net Which Uses Windows Services?

Sep 22, 2011

Code can be in C# or VB.Net.t is urgent P.S project deadline tomorrow

View 2 Replies

Call / Use A VB6 Dll In Application?

Apr 11, 2009

How do I call/use a VB6 dll in VB.NET application? Welcome to the All-In-One Code Framework! If you have any feedback

View 1 Replies

Call A .NET Created DLL In VB6 Application?

Oct 12, 2010

I need to call a VB.NET DLL in VB6 application

View 2 Replies

Call Vb6 Exe File On Application?

Dec 17, 2010

I want to call vb6 exe file on vb.net application that I am currently working on. The VB6 Application has the login screen and I don't want it to be displayed as the start-up screen. As soon as I call the VB6 appl the program must activate the enter key, so that I cannot put the login credentials manually.

So How do I make my program press the ENTER key?

This is my code for calling the vb6 application </Process.Start("C:\Importing.exe")>

View 4 Replies







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