Search:

Type: Posts; User: sapator

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    1
    Views
    63

    Re: Get remote Process Description.

    OK.
    I haven't found anything on WMI or Process.
    I am not very optimistic about this but the only other way is Windows API.
    I have made a sample here if anyone interested that I HAVEN'T tested on a...
  2. Replies
    1
    Views
    63

    Get remote Process Description.

    Hi.
    This is nuts.
    So Anyhow I'm trying to get the process description as show in task manager.
    From what I read you might need to do this:
    Dim info As FileVersionInfo =...
  3. Re: How to Revert Identity Impersonation to original user

    No Problem.
  4. Re: How to Revert Identity Impersonation to original user

    I haven't ever tried to revert, so Just look at the example I linked to , just do not try to revert anything, put your code inside the using and when the using ends, see if it reverted to he previous...
  5. Re: How to Revert Identity Impersonation to original user

    I haven't tested but theoretically if you put USING in the impersonate then when the code steps out of using it will revert back.
    You can do a test, here is a sample of using (look post no #7)
    ...
  6. Replies
    15
    Views
    292

    Re: Solution Explorer

    It really depends on what you want to do.
    Building an company structure project can go a lot of ways. It can also depend on the size of the company, the databases you have available, the servers the...
  7. Re: Stored Procedure Stepping on Itself

    OK.
    I now show the office code and that is why I wrote the IF by memory reaction .
    This is if the issue is NOT on how the web service is handling the SQL transactions.

    So from what I can see on...
  8. Replies
    10
    Views
    355

    Re: Unique System Code

    I'm guessing he uses WMI for HD id.
    But you don't need the HD id if you just combine the username as suggested.
    And of course if you make this a web app the HD id goes completely useless.
  9. Re: Need help with this complicated query

    This?



    select * from T1 inner Join T3 on T1.id = T3.sid where T1.id not in (select T2.pid from T2)
  10. Re: Stored Procedure Stepping on Itself

    I have written something similar at the work PC because I remember having issues but our server is currently down so I cannot see something.
    As a quick test.
    How about and IF on @result = 1 if...
  11. VS 2015 Re: Include mp4 video in my.resources

    I haven't tried but you might be able to include it in your resource as "others" -- add resource but is it practical to do so?
    Suppose you have one 200mb media file and you include it. Your exe...
  12. Replies
    31
    Views
    761

    Re: Getting a new machine

    I' not against getting a Laptop, I just said that you can get a better brand.

    Also yereve ratted me out in cold blood.. Niiice. :p
  13. Replies
    31
    Views
    761

    Re: Getting a new machine

    Since you are rich, can you spare the win i7 PC? :bigyello:
    I want to put a Ryzen in there to make it a proper one.

    What MAC stuff are you doing that your i7 cannot I'm wondering...
  14. Replies
    31
    Views
    761

    Re: Getting a new machine

    If you can live without a Laptop then DO NOT , DO NOT buy a laptop.
    In the end desktops can upgrade for a LOT longer than laptops (OK unless you strip the MB and the Graphic card out) , they are...
  15. Re: Start Service on remote computer using different credentials

    Here:
    https://www.vbforums.com/showthread.php?862611-CopyDirectory-(User-folders)
    Post #7.
    Change the ("username", "domain", "password", 3, 0, tokenHandle) to 9 instead of 3 if it does not work.
  16. Re: Start Service on remote computer using different credentials

    Hi,

    You would not do what you do now.
    There is no point creating a WMI scope and not using it anywhere.

    What you need to be doing, and it works 100% IF you set the correct permissions and...
  17. Thread: Post Race!

    by sapator
    Replies
    65,072
    Views
    6,533,747

    Re: Post Race!

    Snowed today in Athens.
    It hasn't snowed for 12 years!

    So everybody ignored the covid and went up to Likabetous hill.


    180233
  18. Replies
    10
    Views
    438

    VS 2010 Re: Form2 is opened repeatedly

    That's what I also suggested at post #4 but if he wants to do it with API then that's fine by me.
  19. Replies
    10
    Views
    438

    VS 2010 Re: Form2 is opened repeatedly

    That is why I suggested the other way to do so.
    Anyhow, this will work fine:



    <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
    Private Shared Function...
  20. Replies
    15
    Views
    422

    Re: How to get rich

    I don't like swearing let alone see the word written but also thought it was censored as it's a swearing word in Greek.
    Also since we are at the topic, idiot comes from the Greek word Idiotis, a...
  21. Replies
    15
    Views
    422

    Re: How to get rich

    Nop.
    As we say here "kairos gar engys" , the time will come that they will pay for what they are doing.
    Goodnight from Athens also :wave:
  22. Re: winmm.dll mciSendString - How to loop from specific song point?

    There is nothing to apologize for.
    I just wanted to clear it up for the OP that I think he still thinks that I provide the media player control rather than my solution.I probably did not explain it...
  23. Replies
    15
    Views
    422

    Re: How to get rich

    I don't think bitcoins worth getting into now. Maybe a couple of years ago when some people became really rich but now it does not worth individual effort and resources.
    About clean energy. Here is...
  24. Re: winmm.dll mciSendString - How to loop from specific song point?

    What? People sleep? :)

    In my example(again, NOT media player Microsoft control), if you play a song and click the left arrow button, it will rewind you back to 5 seconds, if you click the right...
  25. Re: winmm.dll mciSendString - How to loop from specific song point?

    Nope, you're wrong.

    My example is not a media player, it's a full example of an implementation of a self created media player using mcisend that does what the OP asks. You can first take a look...
  26. Re: winmm.dll mciSendString - How to loop from specific song point?

    No disrespect to passel's answer but, I've provided a full example of a media player that include seek, play , position changing and other functions in VB.NET , the link passel provided is VB6 but...
  27. Re: winmm.dll mciSendString - How to loop from specific song point?

    Hi.
    Although there might be newer approaches on playing media, like adding the media player control, I don't anything that will work with just coding and not adding the pre made MP control.
    So I...
  28. Replies
    10
    Views
    438

    VS 2010 Re: Form2 is opened repeatedly

    I believe he tries to use an implementation of the FindWindow user32.dll to open a form on the same app.
    Something like:



    Dim nWnd As IntPtr
    Dim zeroIntPtr As New IntPtr(0)
    Dim...
  29. Replies
    9
    Views
    279

    Re: Assistance Visualizing Schema

    A little tired right now but, as solution that I can think of is create another tabled called p.e. "Groups" so, when user send the first email to John and Jane it will get be summed the second to...
  30. Re: [RESOLVED] Sort array of servicecontroller

    It not one dimensional so it will fail.
    Possible if you try with something like Array.Sort(of) but not sure.
  31. Re: Sort array of servicecontroller

    Yes, again, brain f#rt :bigyello:
  32. Re: Sort array of servicecontroller

    Brain F#rt

    arr = arr.OrderBy(Function(x) x.ServiceName).ToArray()
  33. Re: Sort array of servicecontroller

    Yes it's only the PC services so it may be 200-300 the most.
    OK another question.
    I remember Shaggy provided a sorting option of the same array some years ago but I can't find the example and I...
  34. [RESOLVED] Sort array of servicecontroller

    Hi, I have an array of ServiceController()

    For some reason some services are not sorted at first, so I need to sort it back order by servicename.

    I don't want to Do as loop
    So I do:


    ...
  35. Replies
    2
    Views
    381

    Re: Node.JS, where can I install it?

    I've only use node.js a year or so before just for testing and that was on Visual Studio but as I've read it can be done on cpanel and of course PHP.
    So:...
  36. Replies
    1,745
    Views
    105,632

    Re: Corona virus, China major city lockdowns, etc.

    Pharmaceutical companies have actually taken their cash very seriously.
    We were down for 25mil doses in Greece till the end of March and we have around 200.000 .
    That is fine, no one is doing the...
  37. Replies
    6
    Views
    294

    Re: New Printer (Recommendation needed)

    I can tell you from my experience, from the multinational company I work for.
    We are mostly handling Ricoh, Panasonic and HP printers.
    Ricoh, no, just no, Panasonic more reliable but will break...
  38. Replies
    1,745
    Views
    105,632

    Re: Corona virus, China major city lockdowns, etc.

    For vaccinated people here.
    Be aware that you are not scot free , Israel covid and death cases raise after the vaccination.
    https://ourworldindata.org/coronavirus/country/israel?country=~ISR
    So...
  39. Replies
    1,745
    Views
    105,632

    Re: Corona virus, China major city lockdowns, etc.

    Yeah, I highly doubt that for my own conspiracy reasons but I hope we won't have to find out.
  40. Replies
    1,745
    Views
    105,632

    Re: Corona virus, China major city lockdowns, etc.

    Hope we don't have to but putted to the test again.
    But (again Greece) now we know every mask and social distance and we are in a much more strict lockdown and (elegantly) death are more than the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width