Search:

Type: Posts; User: Frabulator

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    1,047

    Re: DataTable Search Help Please

    Not always, which is why I was wondering about a 'Search and Find' type option other than looping. Most of the time the data is organized completely at random, but there will always be one specific...
  2. Replies
    9
    Views
    1,047

    Re: DataTable Search Help Please

    That was something that crossed my mind, but I didn't want to believe it.




    I have never actually used LINQ before, so I was researching it and trying to see if it would work after I read...
  3. Replies
    9
    Views
    1,047

    DataTable Search Help Please

    I have been looping through to find two matching values in a datatable, going through every row to check to see if two columns match my criteria. This works, but obviously is extremely slow when...
  4. VS 2019 Re: How to remove unused references from a project?

    I am using 2019 Community and it seems to be working on it.
    EDIT
    Never mind! It is not there. I do have the option to remove individual ones, which I mistaken for the 'removed unused' option.
    ...
  5. Re: [RESOLVED] Copy datatable to clipboard slower than Ctrl+C??

    All of that makes sense. Thank you for clearing it up :)

    I never knew about string builders before. I guess I never had to know about them. And stalling a background worker makes sense too, I...
  6. Re: Copy datatable to clipboard slower than Ctrl+C??

    Holy Snot! That was instant!
    String Builders for the win!

    And I from what I could tell, the background worker loop didnt really affect anything. Or, if it did, it wasnt in a noticeable...
  7. Re: Copy datatable to clipboard slower than Ctrl+C??

    Will do :)

    I am going to try and do that and the string builder. See if that helps.
  8. Re: Copy datatable to clipboard slower than Ctrl+C??

    Thank you! I will look into that!

    Lol, yeah, sorry about that. That was one of those booleans left over from some late nights. Never changed it ;)
  9. Re: Copy datatable to clipboard slower than Ctrl+C??

    Noted, but that dead loop shouldn't be the cause of the issue at hand. Because the backgroundworker is running in its own thread, wouldnt that UI running not be affected by it anyway? Or, if it is,...
  10. [RESOLVED] Copy datatable to clipboard slower than Ctrl+C??

    I have a data table that holds 3 columns of data (X Y and Z). When the data is populated the user can do several functions with it. One, is to copy the data to the clipboard. This isnt an issue until...
  11. Replies
    12
    Views
    2,516

    VS 2019 Re: Remove certain string from textbox

    Inside the timer use the replace function.



    Sub Main()

    ' Replace substring with another substring.
    Dim value1 As String = "abcdef"
    Dim value2 As String =...
  12. Re: Programming with Word object, Word losing focus

    Just a thought, but a work around would be to call a sub in word that sleeps for half a second (500), with a do events, then focus back on word.

    Not ideal, but it should refocus after the main vb...
  13. Re: Anyway to adjust Google Drive default row count of items/Set up Google API?

    Digging around in the developer code in Google Drive I realized that when the screen advances down the total size of the window increase.

    Using this information I created an invisible WebBrowser,...
  14. Replies
    2
    Views
    675

    Re: How to make a nicer output of forms

    I did something similar with an application. A customer wanted it to stand out and look more user friendly and less 'corporate'. I ended up using custom images for each button that changed to other...
  15. Re: Anyway to adjust Google Drive default row count of items/Set up Google API?

    Yes that is something along the lines of what I am wanting, but it requires a linked google drive account for the API credentials to be linked to. From what I have been researching, it looks like you...
  16. Anyway to adjust Google Drive default row count of items/Set up Google API?

    This might be a question for Java or HTML, but I didn’t know exactly where else to put this.

    I have an application that’s written in vb.net that scrapes Google Drive for a list of files located...
  17. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    I have tried to take all the values from the datatable, converted the values to doubles, and then transposed them into another new datatable. The result was the same. Worked fine for period decimals,...
  18. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    But if that is the problem, then why does it only affect the numbers that have a comma as the decimal? In the same logic, wouldn't 1.24 be read as text just as 1,24 is? Would it also not read 1,245.6...
  19. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    I dont think that would solve my issue. Once the data is loaded in, then it is automatically converted over into a data table of string variables inside my software. I need them to be strings so I...
  20. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    It is pasted into the application by the user, or loaded from a csv.
  21. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    I have. No change. Excel is still reading the data as text and not numbers.
  22. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    Please elaborate, because I do not understand.

    For US conversions, everything is fine, inside the software and inside Excel. For DE conversions (, decimals), everything on the program side does...
  23. Replies
    14
    Views
    2,152

    Re: Excel Interop Change NumerFormat on Range

    Just tried it, same issue. The numbers are still formatted as text instead of numbers.



    Try
    Dim rng5 As Microsoft.Office.Interop.Excel.Range
    ...
  24. Replies
    14
    Views
    2,152

    Excel Interop Change NumerFormat on Range

    I am currently using Excel Interop from 2007 to integrate an application export into an Excel document.

    I am taking string data from a DataGridView bound by a DataTable and putting them into and...
  25. Replies
    11
    Views
    2,800

    Re: Overlapping Calculation

    Wow, thanks guys! I did not expect such quick responses :)!



    Yes, that was the issue that I was running into. I thought that could happen, as well as the other example where the line goes...
  26. Replies
    11
    Views
    2,800

    Re: Overlapping Calculation

    The lines will always be straight, as the curved lines I use are simulated with several straight lines (usually 360).

    The issue I am mainly having is if the the line I am drawing is much larger...
  27. Replies
    11
    Views
    2,800

    Overlapping Calculation

    Hello all,

    My dyslexic brain likes math but hates numbers.

    What would be the equation for calculating if a line drawn would intersect inside the boarder of the drawing window?

    Example:
    ...
  28. VS 2019 Re: [RESOLVED] Prevent ToolBox Items to drop on a control of the same class

    For future reference, on Microsoft Documented coding sites, you can drop down the language box up at the top and change the code to several different languages. C#, VB, F#, C++. This is located up at...
  29. Replies
    8
    Views
    1,651

    Re: zipping a complete folder

    To add to this lovely debate, you can easily change the code from C# to VB.NET by clicking the language button “</>” up at the top of the page. No more translation :)
  30. Replies
    10
    Views
    2,092

    Re: VB.NET on Apple Mac / MacBook

    Good info. Did not know that :)
  31. VS 2019 Re: What is the short way out to import the particular files when creating New projec

    The easiest way I have found is have both projects opened (which answers another question of yours) and:
    1) create a new form in Project B that has the same properties as the one in project A
    2)...
  32. Replies
    10
    Views
    2,092

    Re: VB.NET on Apple Mac / MacBook

    The only thing I am aware of inside of Apple is running wine.

    You could run a parallel OS, Boot Camp, partition your hard drive or use a virtual machine, all of which require you to install...
  33. Replies
    3
    Views
    3,122

    Re: AxAcroPDF Help Please

    UPDATE

    As an update to anyone wondering, after a day of fighting with this issue I have came to the realization that I can not reliably depend on IE (webbrowser) or Adobe. When an update comes...
  34. Replies
    18
    Views
    2,341

    Re: Odd write permissions issue

    I havent used avast in a few years, but from what I remember you need to whitelist the program. I think you have to go into the restrictions and set visual studios as a trusted application. Again, I...
  35. Replies
    18
    Views
    2,341

    Re: Odd write permissions issue

    I wonder if VS is being caught by a virus scan and not allowing access to files? That could explain only being able to access unknown file types and only being restricted to the main OS drive
  36. Replies
    18
    Views
    2,341

    Re: Odd write permissions issue

    Try to make a brand new project and open a file. It might be that your project is messed up. If the same thing happens then it’s got to be VS.
  37. Replies
    18
    Views
    2,341

    Re: Odd write permissions issue

    How about any previous builds of the project? Can you go to a local back up or a previous published version to see if it has the same effect?
  38. Replies
    18
    Views
    2,341

    Re: Odd write permissions issue

    Have you tried other paths, like desktop, documents, etc?

    EDIT

    Just saw where you said you had

    What about restarting your computer? There may be a pending windows update that hasn’t fully...
  39. Replies
    3
    Views
    3,122

    Re: AxAcroPDF Help Please

    I tried installing adobe, clearing out temp files, repairing the adobe install and changing the url to a webbased link instead of directory link ("" to "/")
    ...
  40. Replies
    3
    Views
    3,122

    [RESOLVED] AxAcroPDF Help Please

    I am trying to load a PDF into the AxAcroPDF object using the code below, however nothing loads. I am quite confused. I currently have Adobe Reader DC installed.

    I also am getting the same result...
Results 1 to 40 of 393
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width