Search results for query: *

  • Users: just369
  • Content: Threads
  • Order by date
  1. J

    Question API FUNCTION or ANY OTHER FUNCTION

    does someone know what api funtion to use for getting remote host name right now i use System.Net.Dns.GetHostName and the nbtstat -a function, but still have some computers that i dont get their host name but i do get their mac with send arp...so how cna i get their host names with an API...
  2. J

    Question modify registry?

    how can i modify the registry withj vb net this is what i want to modify 'To Enable Remote DCOM in the computer "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ" 'To Set Authentication Level to Connect "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD" 'To Set...
  3. J

    Question Logged On user error in Some COmputers

    I have this code that gives me the user logged on name of a remote computer, but if i run the program in certaing computers, it returns with the error "Not Available Due Restrictions" which is set if the scope cant connect... why it connects fine in some computers and other not..is there...
  4. J

    Question c# to vb

    how can i write tis into vb net... i know its a script but can i transcribe it into vb net for it to work? <%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data"%> <%@ Import Namespace="System.Data.OleDb"%> <script runat="server"> private...
  5. J

    how to make an invoke

    i got a background worker that has the following code in the do work.... one of the things i want to do is to add rows if theres none available ...but i got an error saying i need to do a safe call thread...i already read about it but im stuck i put control.invoke, but that gives me an error too...
  6. J

    Question c++ to vb.net

    how can i transcribe this to vb.net public string WriteNReadBuffer(byte [] TelnetNegotiation, NetworkStream stream) { stream.Write(TelnetNegotiation, 0, TelnetNegotiation.Length); Byte[] data = new Byte[256]; Int32 bytes = stream.Read(data, 0...
  7. J

    find out what port of what switch its the remote computer

    :confused: ok i got a hard question I have diferent computers, lets say 200 cps with all known mac address. i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address... some computer arent in the domain...
  8. J

    Question remote user name

    i want to know how can i look up for a specific computer given ip or computer name ...retrieve the user logged on.. thank you im using vb
  9. J

    Question help with error Dialog in datagridview

    :confused:Hi i got this error in my code when the program runs i dont know what am i doing wrong Datagridview Default Error Dialog The Following exception ocurred in the datagridview System.InvalidOperationException: Binding Source cannot be its own data source........ heres a pic of the...
  10. J

    Question Help With LOOP time

    :confused:hi, hope you can help me out So i got this code, that checks my IPS and returns a message if its online but it was taking long and it wouldnt show the Items found line by line, rather it showed everything at the end of the loop, it loops around 1516 items. They told me to use a...
  11. J

    make windows buttons and datagrid resize to windows

    hi i like to know how to make the forms buttons and text and data... auto adjust when windows Maximize or minimaze..because when its big i can see everything fine and when i restore to a smaller window the buttons are on the bottom and cant see them... basically i want everything to look in...
  12. J

    Question Mac address

    Declare Function SendARP Lib "iphlpapi.dll" Alias "SendARP" (ByVal DestIP As Int32, ByVal SrcIP As Int32, ByVal pMacAddr() As Byte, ByRef PhyAddrLen As Int32) As Int32 Public Shared Function GetMac(ByVal ipAddr As String) As String Dim macAddress As String = String.Empty...
Back
Top