[02/03] "550 5.7.1 Unable To Relay
Jun 18, 2012I am using SMTP Mail.. I am getting this issue"550 5.7.1 Unable to relay for user.domai.com"I have added the server name in the Relay of the IIS This also not done the trick?
View 4 RepliesI am using SMTP Mail.. I am getting this issue"550 5.7.1 Unable to relay for user.domai.com"I have added the server name in the Relay of the IIS This also not done the trick?
View 4 RepliesIs there any code I can use in controlling a relay through a usb port using vb.net. I have to control some cylinders. So i have to use the relays and control them. For that I need to communicate through USB.
View 6 Repliesi wrote some code to control an ip device, i made in windows forms application , silverlight and asp.net, they all work on the local network , but won't work from internet web server, i have the router forwarding to local device ip and port,
i get this error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 226.45.306.158:4999
here's the code used
Private Function SendRelayCommandTest(ByVal e As String) As String
'SendTextToIP("setstate,1:" & thePort & "," & TheState)
'Dim IPHostCC1 As String = "192.168.1.105"
[Code]....
im new around here and also to VB.NET infact any aspect of programming, im hoping to be able to some useful stuff but at the momment im a little stuck i only have basic knoweldge so anyway here goes im programming in VB.NET 2008 Express edition, im also using inpout32.dll which is running ok and also controlling the parallel port fine.the problem i have is as follows the program so far is controlling the 8 outputs at the momment, i can turn each individual one on but when i try to turn multiple outputs on it will only turn on one and the other that was turned on goes off i understand its controlled in a 255 bit array but how to decode it is a little tough
View 5 Repliescurrently doing a college project called Home Appliances System by using Voice Command.I have done the voice command part and now it comes to the interfacing between PC and relay board part. Currently I'm considering using USB port to send data(to trigger the home application). Does anyone know how to do it with VB.net?
View 9 RepliesI am controlling a relay board via a COM port, no problems. I need to connect to an IP connection, and read data from the server, after sending a username and password. Depending on the data, will depend on what relay I am going to switch.Now I have no idea where to start, I have a document that explains how I need to connect to the IP interface, and what data to expect.
View 7 RepliesWe are trying to modify a program to control a usb relay device. Essentially what the program originally does is give you a series of check boxes that you check to make the relay fire. We tried to modify the code so that the box is checked after 5 seconds using a counter and an if statement. It works, but only partially, what happens is the check box shows a check, but the even that is normally triggered does not happen. [code]
View 4 Replieshow to capture an on/off signal from a relay and count the seconds of elapsed time between the cycles on a com port? Also, which pins on the com port should be used for this?
View 12 RepliesI am trying to send a simple email
Dim email As New MailMessage, Now.ToShortDateString, "Time Report")
Dim emailClient As New SmtpClient(
[code].....
I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay
"01+//" - Relay 1 is switched ON
"01-//" - Relay 1 is switched OFF
"02+//" - Relay 2 is switched ON
"02-//" - Relay 2 is switched OFF
[code].....
So i am confused as to how to separate each relay out with that code above and just be able to turn on any number 1-4 relay on or off independently from each other!
I'm using interface with relay and interface is connected to computer on COM (serial) 9 pins port. In Visual Studio 2005 I'm using this
SerialPort1.Open
SerialPort1.DtrEnable = True
SerialPort1.Breakstate = True
[code].....
I am trying to get my 4 port USB relay board to work in VB.net using the COM PORT. I found some code from a poster who has the 16 port USB relay version. When trying his code i can only get it to turn on relays 1-3 all at the same time. The product can be found here: USB 4 port relay I was following what the guy in the post was doing to turn his on:
[Code]...
I have a property which is an array of items but when I come to add an item to the array it says I must use the new keyword, but I can't use a new keyboard with a property.
(item is a custom class)
Private itemsvalue As item()
Public Property Items() As item()
Get
[Code].....
how I can add the xx item to the array of items.
Theres no error that is stroked with red but when i try draging a icon i just dont work ::(
heres the code:
Imports System.Runtime.InteropServices
Imports System.IO
Public Class Form1
Public rowz = 50
[code].....
I have a form that is first displayed as 425 x 66. When you press a button, the form expands to 425 x 398 and a message appears (a label prooperty) with the text: Processing Files. When the files are finished prosessing, a listbox appears and summarizes which records were added to the database.
The label begins as Not Visible. After I change the size of the form, I change the label property to Visible.
This used to work, but now, for some reason, the text simply doesn't appear.
I tried changing the lblproperty to Visible at startup but when I do this I get a black bar where my lable should appear.
I've migrated a VB6 Windows based system into VB.NET (version 2008) thru the use of wizard. I'm able to run the program and generate ralated reports at the development PC BUT when I installed it on a server, the system seems not runing at all (no report being generated) and without any error. I tried to install it at another 2 different servers and having the same result...no report being generated and without any error.When I installed it at a PC (NOT server), the system able to generate reports.
[Code]...
I am trying to add a Handler, but it do not work. what am I missing? I getting this error.
Dim EditingTextBox As New TextBox
Dim Save_Button As New Button
Dim Cancel_Button As New Button
Private Sub Labels_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
[code]....
I have a form with several listviews. 1 master with two columns and 10 other all with two columns. I have been able to do a drop from 1 to the others and among the others. I want to move the second column around also. I can't read the subite.
[Code]...
I'm passing some values to another site to get the values from it.below mentioned is the code which I used in VB.NET
Dim status As
String
Dim strHTML As String
Dim xml = xml.open("GET", "http://www.xyz.com", True)
xml.send()
[Code]...
I'm running a 32-bit vista home, and I'm trying to instal Visual Basic 6.0 Enterprise Edition, but I seem to be having problems.
View 1 RepliesI am developing a project that is dealing with CCTV camera made in china. I am provided by some DLLs from the company. Now i want to consume that dll into my application. I have tried default Visual studio's ADD REFERENCE features. then I have tried tlbimp.exe but it doesn't work.[URL]..I have search a lot about dll, some says "Check the dll header" and CLI Header. I opened this fine in notepad and I found only like "This will not work in DOS mode...". what to do next. Is there any way I can consume this file in .net.
I have already tried to add it as reference in Visual Studio 6.0 VB. even it says this is not a valis library.
Still dumpbin.exe is listing the function inside that dll.
I am confused about this scenario. Please guide me what to do with thi.
I am trying to create a Windows Forms control in VB.Net to wrap around a control in an old DLL I created in VC++ 6. I am trying to make a call to an API entry in my control:
Code:
<DllImport("myctrl.dll")> _
Protected Shared Function InitMyControl() As Boolean
End Function
However, when I add a call to InitMyControl to my control's code and try to load the form on the test project, the following error shows up:
Quote:
Unable to load DLL 'myctrl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have tried putting a copy of myctrl.dll into the Debug and Release folders of both the control library and the test project, but I continue to get the error. I even copied it to my WindowsSystem32 folder, but still no luck.
I have a program that I have written using 2005 and .Net Framework 2 SP2. I went ahead and created the snk file placed it in a shared folder on the same server that I will be running the app from. In my AssemblyInfo file I added point to where the snk file is located as follows.
View 7 RepliesI have a problem on sending sms which it only send only one letter to the receiver. For example, I have sent the word "Hello" and the receiver only receive "H". I am using the serial port to send the sms.[code]....
View 11 RepliesI have a Form class with a property defined as[code]...
View 4 RepliesI'm accessing a router using Webbrowser, to get some information from it.After logging into the main page, you click on a link which runs a script to display the info you want. I can do this OK in Firefox or Internet Explorer.In my VB program, having navigated successfully to the router's main page, I try to do this by using InvokeMember ("click") on the appropriate link element in the document and get this error in the script that runs:
"Unable to set the value of the property 'location': value is null or undefined".I don't know how to see the source code of this script, so any ideas on what the error may mean?When I hover over the link in Firefox, the status bar shows it as: javascript:MainFunction('./cgi-bin/v2x00.cgi?fid=168')
I was dabbling in pure Word VBA here and it occured to me that mixing the 'Set'-lessness of .NET with VBA might be confusing to programmers doing .NET Automation. Beyond that, the ambiguity example for Set here (near the bottom of the page) didn't seem to apply to the reason I had to correct the OPs code to include it. Further amusement came from reading some comments by one of the architects of VB here.
View 5 RepliesI have written an application that uses a DataGridView to display 740 rows, there are currently around 25 columns in my list. Have noticed in Win 7 64 bit that when I scroll the final row repeats, say 20 times, before it refreshes, its as if the display of my laptop cant keep up. Now this is a brand new Dell XPS i7 lappy with Radeon 4670 graphics so that should be fine.Also, the rows in the DGV seem to flicker a little, like it is constantly trying to refresh.My DGV works fine on Win XP.
View 1 RepliesI am trying to use a 3rd-party Interop assembly called SmartWIM.
I have added it as a reference and added an Import statement
Imports SmartWIMLib
I then initilalise it with
Dim objSmartWim As New SmartWIM
All pretty standard stuff, I've done this countless times with Interops. However, whenever I try and use any methods I get the following error [code]...
just downloaded ObjectListView. After adding the dll file when the objectListView is placed on my vb.net form it shows an error Type 'BrightIdeasSoftware.ObjectListView' is not defined.
View 6 Replies