Search:

Type: Posts; User: IndioDoido

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    7,307

    Load DropDownList with SQL Server data

    hi,

    I'm trying to populate a ASP.NET DropDownList with SQL Server data using C#.
    I can do this just by using VS2008 Drag 'n Drop features but i would like to accomplish this just by using C#...
  2. Replies
    37
    Views
    12,550

    hey everyone! My problem is finally solved :) ...

    hey everyone!
    My problem is finally solved :)

    The problem was with my anti-virus software...yes, it's true. I wasn't able to connect to my virtual machine because i had bit defender installed,...
  3. Replies
    20
    Views
    43,012

    hi guys! i resolved the problem... it's all...

    hi guys!

    i resolved the problem...

    it's all about authentication.
    i have to insert my windows admin authentication in the service properties of my server application so that it can run the...
  4. Replies
    20
    Views
    43,012

    sorry...copy&past failure :S ...

    sorry...copy&past failure :S



    strcpy_s(buffer, sizeof(buffer), "cmd /C \"net localgroup > C:\\gList.txt\"");


    the cmd will read:
  5. Replies
    20
    Views
    43,012

    something really strange is happening... i'm...

    something really strange is happening...

    i'm having no problems using createProcess() to execute commands like:




    but then run this simple command:
  6. Replies
    37
    Views
    12,550

    DAMMM VISTA!!! :mad: Tomorrow i'm going to...

    DAMMM VISTA!!! :mad:

    Tomorrow i'm going to test my app between two winXP OS, and see the results.

    By the way...isn't it strange i can run the client and server app both under vista without...
  7. Replies
    37
    Views
    12,550

    i already spoken with my professor, and he said...

    i already spoken with my professor, and he said that i need to have admin privileges in both host and virtual machines. And for the pipes to work i have to activate file and printer sharing in both...
  8. Replies
    37
    Views
    12,550

    Sorry about my last this comment, i was wrong, it...

    Sorry about my last this comment, i was wrong, it "triggered" the same checking:


    if (hPipe==INVALID_HANDLE_VALUE)


    I called the DisplayError function in that checking, and it showed me this...
  9. Replies
    37
    Views
    12,550

    hi BobS0327 i've changed the error checking...

    hi BobS0327

    i've changed the error checking code to:


    if (hPipe==INVALID_HANDLE_VALUE)


    I still get the same error in the event viewer when i send a command to the server :(
    But, in the...
  10. Replies
    20
    Views
    43,012

    i've managed to run the script like this: ...

    i've managed to run the script like this:


    CreateProcess(NULL, "cmd /C echo test > c:\test.txt", NULL, NULL, 0, 0, NULL, NULL, &si, &pi))


    What are the differences?
  11. Replies
    37
    Views
    12,550

    hey everyone! My client and server apps are...

    hey everyone!

    My client and server apps are working nicely on the same machine. I can send command lines from the client app to the server via pipe and the server runs 's the commands. How can...
  12. Replies
    37
    Views
    12,550

    your right! i changed it back to: char...

    your right!

    i changed it back to:


    char *pszPipe="\\\\192.168.1.82\\pipe\\ServNT";

    and it "works"...

    really strange :S
  13. Replies
    37
    Views
    12,550

    oh! i thought that userid was different from user...

    oh! i thought that userid was different from user name, sorry :S

    ok, i will humor you...
    after changing:


    char *pszPipe="\\\\192.168.1.82\\pipe\\ServNT";

    to this
  14. Replies
    37
    Views
    12,550

    When you say to add my userid to that group, do...

    When you say to add my userid to that group, do you mean the userid i use in the host machine? If so, how can i get my userid? :S
  15. Replies
    37
    Views
    12,550

    I think the problem is really in the...

    I think the problem is really in the authentication :S

    This project uses windows authentication between the client and server.
    If i'm in a specific account sending a message through a named pipe...
  16. Replies
    37
    Views
    12,550

    lol, no offense taken ;) Yes. Every time i...

    lol, no offense taken ;)

    Yes. Every time i make changes to the server code i remove the old one and then install the newer version, then run it from windows services.
  17. Replies
    37
    Views
    12,550

    sorry tabstop, i pasted the wrong thing :( My...

    sorry tabstop, i pasted the wrong thing :(
    My previous post is now correct
  18. Replies
    37
    Views
    12,550

    okay... this is what i did: char...

    okay...
    this is what i did:


    char *pszPipe="\\\\192.168.1.80\\pipe\\ServNT";

    if (!WaitNamedPipe(pszPipe, NMPWAIT_WAIT_FOREVER))
    {
    DisplayError(pszPipe);
    return 1;
  19. Replies
    37
    Views
    12,550

    BobS0327: where do i add the function? On the...

    BobS0327:
    where do i add the function? On the server app or client app?
    and were in the code do you want me to call it?
  20. Replies
    37
    Views
    12,550

    hi matsp. It can't be the firewall, because i...

    hi matsp.
    It can't be the firewall, because i turned it off on both machines (local and virtual).

    BobS0327: I'm going to try that and tell you what happened.


    If it is a security issue on the...
  21. Replies
    37
    Views
    12,550

    hi BobS0327, thanks for the reply :) i changed...

    hi BobS0327, thanks for the reply :)

    i changed the the ip of the target machine to it's computer name, and it didn't work either :(



    char *pszPipe="\\\\TSCII03CLT1\\pipe\\ServNT";


    What...
  22. Replies
    20
    Views
    43,012

    lol :D know i get it ;) thanks, going to...

    lol :D

    know i get it ;)

    thanks, going to try it...
  23. Replies
    20
    Views
    43,012

    sorry Salem, but you lost me :( Here is my...

    sorry Salem, but you lost me :(

    Here is my transactNamedPipe() function i use to send a string to the pipe and receive a string from it:


    TransactNamedPipe(hPipe, str, lstrlen(str)+1, str,...
  24. Replies
    20
    Views
    43,012

    Salem: i'm using named pipes to send the scripts...

    Salem: i'm using named pipes to send the scripts in a string to the server. How do i send a file through a named pipe?

    hi nucleon: i tried your method (/C and /K) with these CreateProcess(), but...
  25. Replies
    37
    Views
    12,550

    WaitNamedPipe() Issue

    Hi...

    I'm trying to send a message to a server using a named pipe. I managed to send a message from the client application to the server application in the same machine. But when i try sending the...
Results 1 to 25 of 200
Page 1 of 8 1 2 3 4