Search:

Type: Posts; User: sapator

Page 1 of 13 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: Making page with asp.net app in Iframe responsive

    Been a while since I've use asp.net .
    Back then I remember a lot of issues where coming from Safari let alone a combination with safari and Iphone.
    If you can't make an app strictly for phones then...
  2. Replies
    6
    Views
    151

    Re: Create a Database Programmatically and

    Aha. i missed the database string that it was at the end.
    So first try to check you configuration on TCP:
    Go to Start->Programs->Microsoft SQL Server 2005/2008/2012 ->Configuration Tools and select...
  3. Replies
    6
    Views
    151

    Re: Create a Database Programmatically and

    Please check your connection string:
    https://www.connectionstrings.com/sql-server/

    At least this: Server=(local)\netsdk;
    I believe should be this:Server=(local); Database=netsdk;
  4. Replies
    6
    Views
    151

    Re: Create a Database Programmatically and

    Put this on top of your code:

    Imports System.Data.SqlClient
  5. Replies
    8
    Views
    302

    Re: Get remote Process Description.

    It's not. And not sure if it can get more descriptions on remote ("smss" is my test one).
    But anyhow I can live with 98 out of 107 corrects.
  6. Replies
    0
    Views
    104

    Suggestions on WMI

    Hi.
    I'm using WMI to get remote processes on computers.
    No, I can't use process class, search yesterday posts if you have questions.

    So What I do is create the management class and then get the...
  7. Replies
    8
    Views
    302

    Re: Get remote Process Description.

    No problem.
  8. Replies
    8
    Views
    302

    Re: Get remote Process Description.

    Hi.
    Thanks but that is Win32_Service class that is used for services.
    The process namespace as mentioned in OP is Win32_Process class.
  9. Replies
    2
    Views
    196

    Re: How to recover damaged hard drive ?

    This is a generic question.
    HDD or SSD?
    System or backup?
    Internal or external?
    Broken or Data loss?
    NTFS or ANY BS Apple use?
    etc..

    First you never ever use the drive with you operating...
  10. Replies
    8
    Views
    302

    Re: Get remote Process Description.

    So, yeah, not working.
    The remote passed Intptr complains about remote and does not proceed.

    So another attempt is to call OpenProcess API first, pass all the process, and then pass the...
  11. Replies
    8
    Views
    302

    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...
  12. Replies
    8
    Views
    302

    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 =...
  13. Re: How to Revert Identity Impersonation to original user

    No Problem.
  14. 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...
  15. 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)
    ...
  16. Replies
    15
    Views
    352

    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...
  17. 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...
  18. Replies
    10
    Views
    424

    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.
  19. 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)
  20. 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...
  21. 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...
  22. Replies
    31
    Views
    864

    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
  23. Replies
    31
    Views
    864

    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...
  24. Replies
    31
    Views
    864

    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...
  25. 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.
  26. 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...
  27. Thread: Post Race!

    by sapator
    Replies
    65,100
    Views
    6,597,781

    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
  28. Replies
    14
    Views
    577

    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.
  29. Replies
    14
    Views
    577

    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...
  30. Replies
    15
    Views
    481

    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...
  31. Replies
    15
    Views
    481

    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:
  32. 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...
  33. Replies
    15
    Views
    481

    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...
  34. 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...
  35. 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...
  36. 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...
  37. 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...
  38. Replies
    14
    Views
    577

    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...
  39. Replies
    9
    Views
    323

    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...
  40. 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.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width