i would like to thank every body answered here i think using lan have big problem , the pc should first consider the lan is plugged then starting other operations and while i need using just simple circuits the pc will not detect them as a connection ! then as far as i know will not send any data .
coolerfantasy
Posts
-
problem not solved -
LAN Port Controlling Relaynot writing driver .. just using existing one for example 'Realtek RTL8168D/8111D Family' sure with Visual Basic .
-
LAN Port Controlling Relaycan you tell me how ... please
-
LAN Port Controlling RelayIf you read my last post you will find whom dont got it i said ok , yes i must use protection circuits my question out of its purpose , as a result of these posts you absolutely dont understand what i mean and now we discuss protection instead of control and signals .
-
LAN Port Controlling Relayto make the idea much clear and what i exactly need there is two Leds attached to the lan port , one of them is TX data which is green color , if i can just get like that signal then my problem would be solve .
-
LAN Port Controlling Relayhi guys .. there are big misanderstand i'm not said that i will not using protection circuits i said dont need interfacing circuits such as ICs ... etc just one pin gives (1 , 0) to control something .
-
LAN Port Controlling Relayi need only to get any voltage out from my laptop to control a relay how to get a signal from a LAN port from any pin ? in my laptop there is no com Port or lpt Port also the usb port needs interfacing circuits which is not nessesary in my simple project ... thats why i choosed the LAN Port i use (visual basic 6) .. any help would much appriciated .
-
LAN port on/off LEDyou are right i will repost in the vb forum .
-
LAN port on/off LEDgood day all .. i need only to get any voltage out from my laptop to control a relay how to get a signal from a LAN port from any pin ? in my laptop there is no com Port or lpt Port also the usb port needs interfacing circuits which is not nessesary in my simple project ... thats why i choosed the LAN Port i use (visual basic 6) .. any help would much appriciated .
-
Adodc : how to retrieve single value into EditBoxthank you and thanx to all those posting my Question its solved .. :-D
-
Adodc : how to retrieve single value into EditBoxi made it ,,, partially !! to inform you about my mdb file :- its name (inventory.mdb) it hase one table (Stocks) the fields are (StockName,StockID,...) now i can extract values from only the "StockName" which its string values by the following code in button click :-
m_ado.SetRecordSource ("SELECT * FROM Stocks");
m_ado.Refresh ();
C_Recordset m_Record = m_ado.GetRecordset ();// this line can be omitted !COleVariant var1;
var1.vt = VT_I2;
var1.iVal = 1;
COleVariant value = m_ado.GetRecordset().GetFields().GetItem(var1).GetValue ();
m_edit = value.bstrVal;UpdateData (FALSE);
how to extract the other values such as "StockID" which its integer or any other fields ? thanx .
-
Adodc : how to retrieve single value into EditBoxan example would clear the case thanx .
-
Adodc : how to retrieve single value into EditBoxm_edit1 is a member variable for the EditBox , EditBox is one of the tools which used in Dialogs it has the class CEdit , EditBox in visual C++ is similar to textbox in visual basic ;)
-
Adodc : how to retrieve single value into EditBoxhi every body i am trying to retrieve a single value from Adodc into EditBox here i got an error :- m_edit1=m_adodc1.GetRecordset().GetField().GetItem("StockName"); where "StockName" field of names in my table "Stocks" the error :- binary : '=' no right side takes class tagVariant , or no convertion available im working with "visual c++ 6 / mfc" dialog based project thank you in advance .