Recent content by aeskan

  1. A

    Question Anyone familiar with RS232 port programming?

    InertiaM; Your guess was almost right, not in VB6 version, but in my .Net version I had a forgotten Dialing function which used the Modem and did not close MSComm correctly, therefore it impressed on System.IO.Ports.SerialPort as well. By closing MSComm in that function the probelm is solved...
  2. A

    Question Anyone familiar with RS232 port programming?

    Hello everybody, Previously I had written an application with VB6 that works with COM Ports via MSCommLib.MSComm. It works properly with COM1 as RS232 port and runs its codes perfectly. Lately I'm writing another application with VB.Net 2010 which needs to deal with RS232 port. Therefore I'm...
  3. A

    Question How to connect an electrical switch to my application via USB port?

    Thank you Herman, good advice. And how about using USB-Serial adapter, does it work properly?
  4. A

    Question How to connect an electrical switch to my application via USB port?

    Hi guys, I've read articles about; "Sending and receiving data from RS232 or USB ports" or, "Using vb.net to switch on/off electrical devices", but conversely in my case I want to just using a simple electrical switch to do something in my vb.net application (via RS232 or USB port). For...
  5. A

    Cannot create ActiveX component Error

    Thank you anyway John for WMI Code Creator, it was useful. But in my case, the problem was a bunch of permissions in Group Policy, WMI Policy, Windows Firewall, DCOM port range configuration and some Windows services that must run for remote computer mananging. After error: "Cannot create...
  6. A

    Cannot create ActiveX component Error

    John, Surely it's an extremely useful tool. It generated codes below. strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem",,48) For Each objItem in colItems Wscript.Echo...
  7. A

    Cannot create ActiveX component Error

    Thank you John, at a glance seems a little complicated, I try it.
  8. A

    Cannot create ActiveX component Error

    Hi everybody, I'm not sure this post belongs to this section, if so I would apologize. I'm trying to get the computer description by computer name. The problem is; I get this error "Cannot create ActiveX component" when the following codes run, while the variable ComputerName sets to another...
  9. A

    Question Changing WebBrowser RightToleft

    Thank you John, your links led me to this; If (WebBrowser1.Document IsNot Nothing) Then For Each doc As HtmlDocument In WebBrowser1.Document.All doc.RightToLeft = True Next End If Or; WebBrowser1.Document.RightToLeft = True Note that these codes must be written in...
  10. A

    Question Changing WebBrowser RightToleft

    Hello everybody, How could we change RightToLeft property of WebBrowser in Vb.Net. MSDN says; Does it mean there is no way to programmatically change it? Thank you.
  11. A

    Question Working with Excel

    Great, Thank you for sample, seems to be useful. So you had tested it before. Doesn't it solve your problem in Excel? I read about Perl the night I was searching for Printing Excel documents LOL. I'm just downloading ActivePerl and will tell the result whenever I learnd how it worls. Has it any...
  12. A

    Question Working with Excel

    Obviously being newbie in forums does not mean being newbie in software developing, although all of us are always newbie in science, sepcially computer science, for it's an endless ocean. Anyways, no dobt xPortTools should be a worthwhile tool as you described. I will research about that. But...
  13. A

    Question Working with Excel

    Rob, Totally what's the usage of Excel in your applications? I usually use it to produce predefined invoices, reports and similar things, and now I'm going to replace ReportViewer or Crystal Report. What's your usage of Excel? Couldn't you replace it with some thing else?
  14. A

    Question Working with Excel

    Rob, Nonce I have no idea, but think you could discuss about it on ODBC and VB.NET development section, hope you find the solution. ODBC
Top Bottom