Using A ActiveX Protocol In VS 2008?
Jul 14, 2009
What I'm trying to do is get the information stored in a little "electronic card" trough a reader connected to my comport. I found a ActiveX protocol to communicate with the reader, but I've no idea how to use it. I'm pretty new to VB.net, and I don't have much experience in coding.So what I'm asking for is how do I use a protocol like this in a VB.net project?
Dim reading As New EmitEpt.EptReading
But that gives me the error "'EmitEpt.EptReadingClass.Friend Sub New()' is not accessible in this context because it is 'Friend'."If I remove "New", then I get the following error: "object reference not set to an instance of an object".
View 2 Replies
ADVERTISEMENT
Feb 28, 2010
I don't know how much sense the title makes, but let me give you an example:If you've used Xfire, you may have run across links that allow you to modify things in the program such as your status.This is an example of a status changing link:xfire:status?text=I%20love%20Donkey%20Kong%20Jr.And your status will change to "I love Donkey Kong Jr.
View 4 Replies
May 4, 2010
how can i solve this problem?
View 6 Replies
Apr 8, 2009
I am trying to load an actixex component in a VB project which was made in Visual C++.n VBA it works fine.In VB6, when I try to load the component on the toolbox I get an "Error 35005"In VB2008 the component can be added to the toolbox, but when I try to place it on the form, the following error occurs: "Failed to import ActiveX control. Please ensure it is properly registered."
View 1 Replies
Oct 20, 2010
How to Resolve following Error in .netNon-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
View 1 Replies
Aug 27, 2009
How to coll activeX into asp.net for publish interface?what can i do?what's step i can use?
View 1 Replies
Jan 15, 2010
I have looked all over the web for a way to create an activex DLL in VB 2008. I have seen instructions for VB 2005 and VB 6. They both mention that I need to create a new project and use the template Activex DLL for the project, but I do not have the option "Activex DLL" for a template. Is there a way around this or can i download the template from somewhere? The background to the problem is that I have a DLL file (compiled in Delphi) that I can load and use correctly in VB 2008. I want to use VB 2008 to make this an Activex DLL so that it can be used with ASP.net. I have had no such luck. I have created a DLL using the Class template, but this DLL cannot be registered with the regsvr32.exe for usage with ASP.net.
View 2 Replies
Jan 18, 2010
I am a competent (but not much more) VB6.0 programmer. I'm still developing software in VB6 and want to upgrade to VB.NET. I primarily write simple software to control proprietary hardware which is called by Active X. I need to figure out how to do this in VB.NET before I can switch over to the new version.In VB6, I connect to the VB6 by adding references to the DLLs (under project / references). When I load the main form, I declare:
Private Sub Form_Load()
Set o = New CBEDCSApp
End Sub
[code]....
View 1 Replies
Aug 5, 2010
I want to use Mozilla webbrowser component instead of the default IE webbrowser in my project. Recently, I downloaded the 'Mozilla ActiveX Control 1.7.12' and added it to my project but when I use the following AxMozillaBrowser1.Navigate [URL] I got the exception: 'Exception has been thrown by the target of an invocation.'
View 2 Replies
Nov 9, 2009
Is there a manual or can someone provide a description on how to use the Microsoft Visual Basic/C++ 2008 Express Edition to create a .ocx or activex file? I have an application where I need to create and OCX to embed in a 3rd party software program. I have the application developed but I need a .ocx file to register the application for the project. I did this a while back in V6 but the newer version seems to be different
View 8 Replies
Sep 15, 2009
I have been trying for ages to put an ActiveX control on a windows form for a CCTV camera I am using. I have registered the control with windows, added it as a reference to my VS2008 project and now it appears in the toolbox.When I put the ActiveX control on the form I always get an error saying "Failed to create back buffer surface" The control is added to the form however I can not get it to work and I suspect it has something to do with this error.I have an example project from the developers of the camera that does not have this problem, i.e. I can add the ActiveX control with no problems, however the program is in C++ and I am using VB.Net.Is there anything else I need to do to stop this error from occurring?I am using a CCTV camera from Zavio (F521E). The ActiveX control is called AxVideoView.ocx.
View 5 Replies
Jul 21, 2009
Im trying to build an activeX control to be used in excel using VB08 Xpress addition. I have found instructions to create a Class Library Project, then add a user control. Under Build there is only one option, Build "Project Name", no options, no nothing. The build creates a .dll file not an ocx (which I was expecting?)
The problem is that when I compile the control I get a .dll file that I cant register as a activeX control, therefore I cant use it in excel. Ive tried to create stupidly simple activeX controls, ie one label that says "Hello World", still no luck. When I try and register the .dll file, it doest work, therefore no dice with excel.
The strange thing is that within VB08 Xpress I can use the control in any Windows Form Application I create.
View 1 Replies
Sep 2, 2010
I am having problem with Visual Studio 2008.... When i add the Microsoft ActiveX Data Objects 2.5 Library from COM References, and just run the blank form, it runs perfectly.... But whenever i declare anything related to ADODB like dim con as new ADODB.Connection, then after that it gives me error and doesnt run the project. A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll. After that if i comment that like (declaration), then error goes........ I tried uninstalling each and every component and VS as well but the error doesnt goes....i am using Windows 7 x64. The same is working in Windows XP x86 in my virtual machine..... as i am not able to start my project
View 2 Replies
Jan 14, 2011
I'm developing a filetransfer app in VB.Net..The sizes of the files vary, but can get up to 10+ GB.I already create a chat app as a test.On the clientside I run this code to connect to the server.[code]Can I also use this to transfer files?I want the app to work through a firewall and stuff.So I think I need the outgoing data on the client to go through port 80. On the server I want to be able to receive the data on another port (E.g. 8888). Is this possible?And final question is. What protocol should I use for this purpose TCP or UDP.
View 3 Replies
May 21, 2012
Can i implement PTP (precision time protocol) or NTP (simple network timing) with sockets?
If so, how can i use them to send small packages (4 to 33 bytes) with the smallest delay possible?
P.S. I would prefer to know more about PTP, I've heard that it has smaller delay.
View 1 Replies
Apr 23, 2011
i have made media player for my own i need code that broadcast video over Lan network "clintes/server "as fast as can.
View 1 Replies
Jul 15, 2009
What are the possible handshaking protocol available using COMM-DRV for communication through MODEM
View 5 Replies
Jun 21, 2010
Does anyone know how to create a Application Protocol? For example on a web browser you click a link that goes to "steam://appid/5654" it opens the steam application and the same happens with a bitorrent magnet link. How would you do this in VB.NET?
View 1 Replies
Apr 18, 2009
I'm working on a program that detects any keyboard or mouse activity, and sends a message through the MSN (or Windows Live Messenger) protocol. The mouse and keyboard thing should be fine, but I don't know how to send messages through the MSN protocol.
View 3 Replies
Jul 20, 2010
I am trying to work out an ASCII protocol and I have managed to parse everything I need from the transmission, but have not been able to figure out bytes 14-17 and byte 20 of the response. Here is a transmission packet in Hex.
[Code]...
View 2 Replies
Dec 19, 2010
Currently have a program on the market and just did a major update which 100s of people downloaded, the problem is that that update had a major bug which made it crash. So quickly got to work to fix the bug but everytime I connect my software to the FTP database I get this Error Message:
"The underlying connection was closed: The server committed a protocol violation."
I triple checked my code. Everything is right One minute it was working the next minute it wasn't,My buyers are getting very frustrated and I've had to cancel all orders due to this., The bug in the update software which I have now fixed but this other bug to do with protocol violation.I havent tested if its just now my computer that the error messages comes up or it happens on others.I've tried 3 seperate FTP servers and all the same results?
View 2 Replies
Dec 25, 2010
how can I get the protocol and the domain form a string?
I think I should use regex for this?
Is this correct or is there a better solution?
If this is correct what should the regex code look like?[URL]..
View 1 Replies
Sep 22, 2009
For some reason i am getting this error when I try to upload to my ftp:The underlying connection was closed: The server committed a protocol violation.This happens at the GetRequestStream() portion of the code. here is my
Private Sub FTPUpload(ByVal p_FilePath As String, ByVal p_FTPServer As String, ByVal p_FileNameOnServer As String, _
[code].....
View 6 Replies
Jun 22, 2011
I'm using an Asynchronous Method to send data across the TCP Protocol. For the most part it seems to be working, but recently, I've been getting results that have missing bytes to them. How am I actually able to figure out what's missing on the sender's site and make sure all the data gets to the end? For example: my end client receives 1408 bytes of data when I sent 1532 bytes. I sent an array with a length of 1532 and the client only got 1408.
View 5 Replies
Jan 31, 2010
im trying to either download a webpage source or get the source and load it into a variable but i keep getting an error:The server committed a protocol violation. ection=ResponseHeader Detail='Content-Length' header value is invalid
Public Sub DL_webpage(ByVal url As String)
Dim client As WebClient = New WebClient()
Dim stream As Stream = client.OpenRead(url)
[code].....
View 2 Replies
Jul 26, 2011
So I have some users that are getting error: This Protocol Version is Not Supported on the following line of code in Red:
Private mobjThread As Thread
Private Sub StartServer()
Try[code].....
I am not able to recreate it on my machine or the 4 other local machines I have tested it on here.
View 6 Replies
Apr 19, 2010
I need to interface between a PC and a Microcontroller based Controller to transfer data between the PC and the Controller?
Ive got acces to the register numbers or names in the Microcontroller.
View 2 Replies
Jul 6, 2009
How I can connect my bluetooth headset to my computer(programmatically of course) and read/send audio and button data? I heard that it's something to do with the RFCOMM protocol but it might have been that it's not the RFCOMM protocol.
View 7 Replies
Jul 23, 2009
I want to ask you that how i will start with my Trivial file transfer protocol project... and no guidance is available for me....like how to establishment of connection....
My project specifications are :
vb.net
and sql server
These two components m dealing with...my request is to u that how I'll start and give some process to my project.
View 1 Replies
Jun 12, 2012
I am trying to upload file to sharepoint. Authorization works fine, but it ends up with status OK instead of CREATED. Eventually the file is not created. I do not understand why it's happening since I used approach that seems to work for others (no complaints).[code]...
View 1 Replies