Search:

Type: Posts; User: Grimfort

Page 1 of 13 1 2 3 4

Search: Search took 0.35 seconds.

  1. Replies
    4
    Views
    581

    VS 2015 Re: Slow Export of SQL View to Excel

    http://www.eident.co.uk/2016/03/top-ten-tips-to-speed-up-your-vba-code/ these tips follow the same for external code. Turn off the display updates and calculations and perform changes on ranges...
  2. Re: Is there a proper way to manage application size?

    You have not really elaborated on what's in your project. As an example, I have a solution with somewhere near 30 libraries, services, window forms, apps etc. This comes up at 120mb. Of that, 98mb is...
  3. VS 2008 Re: ? how do i display a google map without the compatibility view error message ?

    If you are using the IE browser, you can control it somewhat with registry settings (for your .exe only). Have a look see here: https://msdn.microsoft.com/en-us/library/ee330720(v=vs.85).aspx

    Or...
  4. Replies
    5
    Views
    639

    Re: Weird problem with Windows Forms?

    Check the ScaleMode, have you by change changed anything there? If you look at the Designer file, you can see the exact values used in code, compare them between the forms.
  5. Replies
    9
    Views
    1,058

    Re: Read Text into Variables

    Read through your code:

    ReDim strCurrentField(0 To currentRow)

    And replace the bits:
    Dim currentRow As String()

    So...
    ReDim strCurrentField(0 To String())
  6. Replies
    26
    Views
    1,824

    VS 2010 Re: Time program

    Without telling you, that there are better ways, maybe you need to understand why your app is "not working" which you still have not explained to us what that is.

    You get the value of the label...
  7. Replies
    2
    Views
    540

    VS 2010 Re: Help on automation

    I think you may have to explain what you are trying to achieve here. Just throwing Excel into your application is not a simple process that can supplied/answered by you giving us a 1 liner question.
  8. Replies
    26
    Views
    1,824

    VS 2010 Re: Time program

    So, the question is, what is it you expect it to do?
    You are setting numbers from a textbox and then adding 1 second to it, checking for hour and day rollover. That is what it appears to do, you are...
  9. Re: Help, my application keeps asking for administrator priviliges?

    Surely your computer does not crash, just the app?
    If you have an app that requires admin privileges, it will ask you every time, that is the job of the security system.
  10. Replies
    9
    Views
    2,635

    VS 2017 Re: Moving Dynamic controls to a seperate file

    Would it then not have the partial class statement?
  11. Replies
    9
    Views
    2,635

    VS 2017 Re: Moving Dynamic controls to a seperate file

    Not sure if anyone has noticed, this is a class, not a custom control. Surely the OP needs to be inheriting something....
  12. Replies
    3
    Views
    1,795

    Re: Search word inside multiple pdf

    First you need a method to open a PDF file. There is a nice library called iTextSharp which does a good job, or you can buy a commercial version of something such as Apose/Syncfusion. Once you have...
  13. VS 2015 Re: Prevent PDF Interaction in WebBrowser Control

    If I remember correctly, you can send params to Adobe (assuming you are using this) when you open a PDF via a url.
    Have a read: ...
  14. VS 2010 Re: Problem UPDATING an Access File Table using OLEDB

    I have not looked at your code, but I can see you UPDATE statement is invalid. For some reason you are trying to use the word AND to update separate fields.
    You want to use a , to separate them....
  15. Re: [RESOLVED] How can I access methods in a parent class?

    To note, you can mark a field as NonSerializable, to keep the reference to the Parent clean during your clone. You have to put it in after manually of course.
  16. Replies
    5
    Views
    791

    VS 2015 Re: Cannot open database

    In that there link, is a nice bit of text with the word Note! xxxx
  17. Re: Garbage collector refuses to get rid of my class variables

    To add to this, .Net does not reclaim memory until you ask it to directly or the OS tells it to. When you look in Task Manger, things are not always as they seem!
    There is a nice little explanation...
  18. Replies
    5
    Views
    791

    VS 2015 Re: Cannot open database

    Have you read this? Has a note specifically for this.
  19. Replies
    9
    Views
    985

    Re: Graphics / memory question

    To help explain this, check out this code created by VS for you, which is an Icon I have added to My.Resources:



    Friend ReadOnly Property Common_User() As System.Drawing.Icon
    ...
  20. Replies
    1
    Views
    552

    VS 2015 Re: Theoretical question about StreamWriter

    There is no right answer here, it depends.

    If you open a file for writing, you lock it for use by other processes. If you don't care about this, then keeping the stream open the whole time means...
  21. VS 2015 Re: VB .NET 2015 and DRAGON naturally speaking 13

    I would point out, that if you have a library created by a third party, the best place to start might be said third party. They have guides on their own website right here.
  22. Replies
    7
    Views
    1,120

    VS 2010 Re: Threads + Synlock + Buffers

    O, and mark each class in the queue as Serializable, and then you can Serialize the Queue itself in a couple of lines straight to a file to keep context.
  23. Replies
    7
    Views
    1,120

    VS 2010 Re: Threads + Synlock + Buffers

    I have a similar system, more complex but each part is fairly simple. I get data in from connections which I tag with an ID , just use a class, and add to a Queue. The Queue can then be read by a...
  24. Replies
    7
    Views
    3,442

    Re: Martin Company

    You on the same course eh?
  25. VS 2015 Re: Active Directory with distributed app

    Eventually I had to go for using the samples created by Microsoft and the article here. There is actually a newly created version of the samples file in github, which beats attempting to call the API...
  26. VS 2015 Re: Active Directory with distributed app

    More research! This is the basis of Kerberos, I am pretty sure its secure :).
    The MIM attack is exactly why I am researching this. Good news is that I found a name for it, that I have always known...
  27. VS 2015 Re: Active Directory with distributed app

    After researching more, the wonders of SSO, SAML, claims based security and a bit of a WIF I have found another with the same issue.
    They were using the already known WindowsIndentity class to get...
  28. VS 2015 Re: Active Directory with distributed app

    The SSL uses certificates, and is also optional, so cant be used.
    I would not believe what a client says, hence the question, in Kerberos the client gets a token from the Ad and uses that to connect...
  29. VS 2015 Re: Active Directory with distributed app

    I have learnt a little bit here: https://www.youtube.com/watch?v=KNHqVquc39M

    A client will have a token TGT from the AD to use when requesting resources. I need something like this (or in fact...
  30. VS 2015 [RESOLVED] Active Directory with distributed app

    I have a client/server application (winforms/windows service). To login, a user supplies a username/password encrypted posted to the server which then checks for validity. This is over an IP (SSL)...
  31. Re: Connect to a Computer in a LAN behind Router using C++, Vb6, VB.NET,...

    It would be better for you to just run a VPN from your home machine to the work network.
  32. Thread: Quit MS Excel

    by Grimfort
    Replies
    21
    Views
    9,908

    VS 2013 Re: Quit MS Excel

    Have a read of that link I posted, you are breaking the double-dot rule multiple times:

    xlWorkSheet.Range("A1:A5").Font.Size = 14
  33. Thread: Quit MS Excel

    by Grimfort
    Replies
    21
    Views
    9,908

    VS 2013 Re: Quit MS Excel

    Here is a thread on this subject that has had a lot of input

    There are also links in that post (by me) to another thread we had on this same issue.
  34. VS 2010 Re: VS 2008 Ex to VS 2010 Pro Upgrade Issue

    Couple of things, you could make sure you actually have .Net 3.5 installed if you want to target that platform, or fix/repair it.
    When you copied over your files, are you sure you got everything?...
  35. Re: problem with web client and graph facebook api

    Have you heard of url encoding? There is a description in here along with a way to convert it (assuming it works http://www.url-encode-decode.com/)
  36. Re: [RESOLVED] Can someone please help me translate this C code to Visual Basic

    Or you could check out a previously made managed library here.
  37. Re: How simulate a Click on the below HTML Element (Fashion)

    Have you tried debugging it, not pasting what the debugger tells you its doing? Using a breakpoint, can you step through the code and investigate that it is, or is not finding the element you want....
  38. Re: EnableRaisingEvents automatically sets to false

    As a side note, are you watching a network or local drive? Watching a network drive, you are not told when it goes offline so will not get any events, even when it comes back!
  39. Re: How simulate a Click on the below HTML Element (Fashion)

    The magic ball is not working, you have to tell us what the problem is now. You have an example which should work, have you tried debugging it, do you get any messages, what does it do or not do?
  40. Re: I don't understand this Argument Exception.

    Look for a pattern, are you sure its the same values 3 times, or could it be just being run 5 times? Change it up a few times to confirm.

    a = 1, b = 76.
    a = 2, b = 82.
    a = 3, b = 70.
    a =...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width