USB Communications And .net Service Packs

Mar 15, 2009

I have a program to print to receipt printers and communicate with other pos hardware using the esc/pos commands and other pos device structures.It talks happily on LTP ports and COMM ports and for the last 3 years has worked well with USB printers, extracting information from the registry and connecting directly to the USB port.For all communication is uses direct calls to kernel32.dll via the win32api.The difficulty is the latest .net service packs have altered something in the communication. The USB side of the software fails to communicate on computers with .net 2 service pack 1 or above installed.

View 6 Replies


ADVERTISEMENT

Detecting Installed Excel Version (and Service Packs)?

May 13, 2009

I need to be able to detect which version of Excel I have installed in my machine from some .NET code I'm developing. I'm currently using Application.Version for that, but it doesn't give me information about Service Packs.

View 4 Replies

Where Is The VB 9.0 Power Packs

May 29, 2010

i got a program i ran that says unable to install bla bla microsoft.visualbasic.powerpacks.vs version 9.0.0.0 be installed in the global assembly cache (GAC)first

View 2 Replies

Upgrade And Power Packs?

Nov 16, 2009

I got a new laptop friday, it has windows 7 and its a 64 bit system. I installed visual studio 08. everything was fine until I opened one of my projects.Seems like the powerpacks drawing items no longer exist, there is only a pointer and reort viewer in the group now and all of the items that I have used in the past are keep my app from running.

View 2 Replies

Communications :: Send A Command Via RS232 Communications

Jan 26, 2009

I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.

How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.

I am using this code currently without the start and end bits

Code:

View 8 Replies

IDE :: ClickOnce With Power Packs For Graphs

Apr 24, 2010

I have used the vb power pack for graphs and the following to files are included in the application files.

Microsoft.VisualBasic.PowerPacks.Vs.dll
System.Windows.Forms.DataVisualization.dll

But the install only works on the machine it was built on, if I take them out it installs but no graphs. How can I get this to install on all machines?

View 2 Replies

Deployment :: Visual Basic Power Packs?

Mar 24, 2009

I include the power packs in my app, and now I encounter problems when I try to deploy it to some other Win-XP machines which do not have Visual Studio (2008), although I include its DLL inside the installation package.The DLL is "C:Program FilesCommon FilesMicrosoft SharedVisual Basic Power Packs1.1Microsoft.VisualBasic.PowerPacks.Vs.dll" and I'm just copying it into the installation path

View 1 Replies

Power Packs Print Form Limitation Is 8 1/2 X 11 There A Way Around It

May 17, 2009

I am using the print form from power pack is there way to extend the limtation of 81/2 x 11.

View 3 Replies

Detect Installed Power Packs In Target System?

Nov 18, 2010

I wanna detect the version of installed Visual Basic Power Packs in target system.How can I do it with Registry values (Windows from Win XP)?Or, How can I check the version of Visual Basic Power Packs assembly , e.g : how I can check the version of Microsoft.VisualBasic.PowerPacks assembly ?

View 1 Replies

VS 2005 - Power Packs 3 Windows 2000 - Printforms

Dec 7, 2009

I am writing a program on my Windows XP computer at home and installed Power Packs 3 so I could take advantage of Printforms I copied the project to my flash drive and brought program to my office that has windows 2000, the program wouldnt load because Power Packs wasnt intalled. Windows 2000 wont allow Power Packs 3 so I installed Power Packs 2 hoping that would work. Its looking for version 9.0.0.0.0

View 2 Replies

VS 2008 : Adding The Power Packs 9.0 In The Installation Setup?

Sep 24, 2011

I've just created a setup file for my application . Instead of using the click once process , I used the Create Install Free 4.14.5 program , in order to be able to specify some parameters that under click once I couldn't (like specifying installation folder etc) . The problem , however , is that now when I installed the application , an error message appears saying that the computer is missing the Visual Basic Power Packs 9.0 (which I indeed used in my application) . So , is there any way I can add it to my setup file ? That is in order to avoid making people manually downloading and installing it .

View 4 Replies

VS 2008 SimpleShape Events Not Working In VBPower Packs

Apr 5, 2010

Here is a simple class I coded inheriting SimpleShape in VBPower Packs. The events are not firing. What might be the reason? I checked the property "CanRaiseEvents" and it says "True"

[Code]...

View 4 Replies

Unable To Deploy Application With Visual Basic Power Packs

Mar 24, 2009

I include the power packs in my app, and now I encounter problems when I try to deploy it to some other Win-XP machines which do not have Visual Studio (2008), although I include its DLL inside the installation package. The DLL is "C:Program FilesCommon FilesMicrosoft SharedVisual Basic Power Packs1.1Microsoft.VisualBasic.PowerPacks.Vs.dll" and I'm just copying it into the installation path. What am I missed?

[Code]...

View 2 Replies

.net - WCF Service Hosted In A Managed Windows Service Connect Using A WCF Service Application

Jul 14, 2011

i have a Windows service that is hosting a WCF service through net.tcp and this is working great. I have also created a WCF service application. I am trying to add the net.tcp service reference to the service application. Then I add it to the GAC that goes ok but if I try to RegAsm the WCF service application to allow it to be called from Server.CreateObject I get the error:

Warning: Type library exporter encountered a type that derives from a
generic class and is not marked as
[ClassInterface(ClassInterfaceType.None)]. Class interfaces cannot be
exposed for such types. Consider marking the type with
[ClassInterface(ClassInterfaceType.None)] and exposing an explicit
interface as the default interface to COM using the
ComDefaultInterface attribute.

It does not work. I have tried to call it through a class library but this does not work either as the end point is not set correctly.

View 1 Replies

Service Error Cannot Open <service Name> Service On Computer '.'

Feb 3, 2010

I have a VB2008 application which can control a windows service i.e. start, stop, pause etc. This runs ok on a Windows XP machine but not on a Win 7 machine (message is - Service error cannot open <service name> service on computer '.') ( if I stop the UAC then it runs ok ). It seems to be a rights issue,

View 3 Replies

Warning1 The Service System.ComponentModel.Design.IInheritanceService Already Exists In The Service Container

Mar 15, 2010

I got this warning that I don't know what it means.Warning1 The service System.ComponentModel.Design.IInheritanceService already exists in the service container.Parameter name: serviceType00

View 2 Replies

[VS 2005] Service Control Manager Privileges - Communicate With A Windows Service On A Remote Machine On The Network

Jul 23, 2009

I am trying to communicate with a Windows service on a remote machine on the network but i keep getting an exception saying the following: "System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.

[Code]...

View 4 Replies

Have A Dotnet Windows Service Which Monitor Other Services And Upon Stop Of Any Service?

Sep 18, 2009

Is it possible to have a dotnet windows service which monitor other services and upon stop of any service, the monitoring service would be able to start the stopped service.

View 4 Replies

.NET Application Receiving 503 Service Unavailable Error When Calling Web Service?

Apr 28, 2009

This is a bit of unusual problem that I'm experiencing, but recently one of the users of a production application started reporting errors in the system. These were traced to a 503 Service Unavailable error when making a call to a web service used by the application.

Now here's the odd part, only the one user is affected by this issue. Other users of the application have not reported any errors. When the user logged on to a different machine that worked for another user, they still received the error.

View 1 Replies

C# - Make Service Act Dynamically Based On Service Running Condition?

Jul 6, 2011

i was trying to make my service act dynamically... i have set time for my service about for 2 min ,if suppose it was doin huge amount of work means it will exceeds that 2 min time limit then we need to check the service condition if work is pending means we need to run that instance until upto finish.

public static void StartService(string serviceName, int timeoutMilliseconds)
{
ServiceController service = new ServiceController(serviceName);[code]............

View 1 Replies

Use Windows Search Service Instead Of The Old Indexing Service To Index Files?

Jul 7, 2009

In the past I had the indexing service installed on a Windows Server 2003 and used it to index files for my website. I did this by executing an OleDbCommand with a query and a connection string.How do I accomplish the same thing with the new "Windows Search Service" (Windows Server 2008) by using VB.NET? Does this work the same way so that I only need to change the Provider name which has been "MSIDXS.1" up to now? Case true, what is the new Provider name?

View 1 Replies

Web Service Client Accessing Java Web Service / Connection Aborted

Sep 27, 2010

I had a problem getting a VB.NET web service client to receive the response object from a Java web service.In the process of posting this question someone from another department volunteered some code written for a similar situation.I couldn't find this anywhere on the net so I'm completing my question to help others out.[code]The web service is Apache CXF with some Spring elements mixed in.

View 1 Replies

Service Reference Stops Working When Make Changes To WCF Service?

May 26, 2011

I'm using Visual Studio 2010 and .NET3.5. I've created a WCF service application. I'm including two DLLs that contain the types I'm returning. The first method I wrote works both in WCF Test Client and also in a console application I created to test. When I move on to the next method that returns a generic list of a type. It works great in WCF Test Client, but when I update the service reference it acts as if the service is unavailable. All my objects say can't find reference, and I can no longer see it in the object browser. It's like it just disappears. I can still see it in the Service Reference folder. If I go back to the WCF app and comment out the contract and implementation of that one method it work again. I created a local class very similar to the class I'm using from the dll, and the it works. Is there something I'm missing here? Can someone point me in the right direction?

View 1 Replies

Windows Service: Multiple Instances Of The Same Service Class?

May 3, 2011

When you create a Windows Service, you create a list of the services you want to start. The default is this:

ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service}

Can you have multiple instances of the same Service class (that bind to different addresses or ports), like this?

ServicesToRun = New System.ServiceProcess.ServiceBase() {New Service("Option1"), New Service("Option2")}

Or will that cause problems? Should we use two different classes instead?

View 1 Replies

Service Deployement - How To Deploy A Service Made In VB

Aug 31, 2011

how to deploy a service made in VB.net. Most of the websites just say use installutil.exe this is fine while your testing your service on your local machine whit vs2010 on it. I am in the final stage now of my service like 99% is done and my last % is how to get my service installed on the server i need it on. I can't publish because this wont work with a VB.net Service Project. So all i want is a clean and easy Tutorial or Someone who can explain me how to do this without the need to install VS2010 on the server to get install-util.

View 4 Replies

Stopping A Windows Service, A Different Service Stops As Well?

Mar 3, 2009

We have a server with multiple services written in .Net 1.1 and 3.5 running on a Win 2003 server. Everything runs fine, but when we stop a certain service, an unrelated service stops. I have checked and neither has any dependencies. The service we stop is in 3.5, and the unrelated service that incorrectly stops is in 1.1. We get no error messages, nor event log errors, so we are baffled.Does anyone have an idea as to what may be causing this?

View 7 Replies

Windows Service - Get The Account Name After Whenever The Service Is Started ?

Nov 17, 2011

I am using this method to install windows service

processInstaller = New ServiceProcessInstaller()
serviceInstaller1 = New ServiceInstaller()
serviceInstaller2 = New ServiceInstaller()[code].....

How can I get the account name after whenever the service is started ?

View 2 Replies

Service.close() Vs Service.abort() - WCF

Jul 20, 2009

In one of the WCF tutorials, I saw the followign sample code:

[Code]...

View 4 Replies

Tear Down Wcf Service After Each Web Service Call?

May 5, 2012

I inherited a working WCF Web Service with one major flaw - the WCF Service consumes memory and does not release unless the service is restarted. After a half a day of requests hitting the web service, the memory on the server hosting the service climbs to close to 2 gig and is dead in the water.

I'd like to be able to release memory after the web service has received its response but cannot figure out how (WCF is still new to me). [code]...

View 2 Replies

Which Account Using For My Service Windows Service

Jun 25, 2009

I am using a windows service and tried to copy some file as below,System.IO.File.Copy("Z:abc.txt", "C:helloworld.txt")Note: Z: is a map drive from another host in 1 LAN (same LAN)I got error, "Could not find a part of the path 'Z:abc.txt'."But when I tried it at a simple application using windows application, it works with the same code as above.

View 8 Replies







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