Search:

Type: Posts; User: Delaney

Page 1 of 13 1 2 3 4

Search: Search took 0.17 seconds.

  1. Re: Work with the application each time with a different comoboxvalue

    xlworkbook is a "global" variable (local in the form class) so you can call it anywhere in the class you created it.

    What is "work1" because there is no such thing in your code
  2. Replies
    13
    Views
    302

    Re: solution Character is not valid in vb.net

    yes I know but I imagine the OP, at some point, may use it with something else than Console.WriteLine so we might as well give the full syntax.
  3. Replies
    13
    Views
    302

    Re: solution Character is not valid in vb.net

    of course it isn't :mad:, your variable is year not {year} and with string.format you don't put the variable inside the string, just the position reference of the variable as explained in the...
  4. VS 2013 Re: Create a ListView with Search using Excel Table

    I had to do that one time for one of my project. I converted the excel file into a csv, put the csv as internal resource (in the resource properties, there is a way to tell VS to include the resource...
  5. Replies
    13
    Views
    302

    Re: solution Character is not valid in vb.net

    As JMC said, for VB2010, replace your $"...." with string.format(" .... {0}.... {1}....", firstvariable, secondvariable, etc...) and the link to documentation...
  6. Re: Dynamically added controls can't be replaced by new ones

    I usually use a GroupBox to do that so I hide/unhide, enable/disabled the group box and everything in it in the same time.
  7. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    there is an other solution but I am not sure the cherry tree will sustain it :D :


    182361
  8. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    In France, for Asian yellow jacket, I have seen (we had one nest at work) a professional use a kind of powder he sprayed at the entrance of the nest so every beast going out is touched by the powder...
  9. Replies
    8
    Views
    296

    Re: Timed Loops to Simulate Hertz

    At work to achieve this kind of precision and frequency, we use specific electronic cards who have their own clock and timer because windows in not reliable under the ms.
  10. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    in Burgundy, they usually nest in the ground and we treat them with Gasoline and fire at night if the nest is small else any special spray foam such as...
  11. VS 2019 Re: Tiling one Form with a part of another Form

    did you hide the form before getting the part you want ? it may come from that. try without hiding form70
  12. Thread: Democracy

    by Delaney
    Replies
    165
    Views
    3,058

    Re: Democracy

    I know people who would fight together because the first ones would say "42" and the second would says "forty two"... (by the way they are both wrong because in reality it is 2A)
  13. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    I never see any squirrel on a beach.
  14. Replies
    8
    Views
    440

    Re: Hello here is my project

    My mistake. So It seems you created you own language ? one needs to have a vimeo account and to connect to see your video so not the best thing.

    Who said that I am french :D I only said that I...
  15. Replies
    8
    Views
    440

    Re: Hello here is my project

    as you are French, did you try to get help from there ? https://www.developpez.com/

    this is a bit exagerate, no? and if France is so horrible, maybe an other country is better. Europe community...
  16. Replies
    4
    Views
    317

    Re: Gameboy Color Repair Service

    Some of the inside electronic boards may be rusted, you will need to open it and take a look in it. it may be a broken component (good luck to find which one) or a broken weld (easier to find)
  17. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    At least you have an alternate solution
  18. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    yep, my dog do that also, I have to force it in the back of its mouth.

    For my cat...do I really look suicidal :D
  19. Replies
    11
    Views
    387

    Re: SaveAs() turn file to read only

    Stupid question : did you check that you have the access to the folder? did you try to change the location ?
  20. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    does your current light uses current lightly ?
  21. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    And you may have to do a volte around your house before entering it
  22. Replies
    11
    Views
    387

    Re: SaveAs() turn file to read only

    you need both :


    Imports Microsoft.Office.Interop.Excel
    Imports Microsoft.Office.Interop
  23. Thread: Post Race!

    by Delaney
    Replies
    65,699
    Views
    9,173,796

    Re: Post Race!

    it is not too hard for the kids ?
  24. Replies
    4
    Views
    188

    Re: Distrition of a vb 2019 applicazione

    You need to use an openfiledialog object, so you can go to look for your file where you want : https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.openfiledialog?view=net-5.0
  25. Re: The previous system shutdown ... was unexpected

    you can use also the application HWMonitor to see if you have any problem in the hardware. it will check the temperature, the battery, etc. it may be a problem of cooling of the CPU.
  26. Thread: Dll Injection

    by Delaney
    Replies
    29
    Views
    1,242

    VS 2017 Re: Dll Injection

    if you don't manage to find help here, you can also try on Stack Overflow https://stackoverflow.com/questions/tagged/vb.net
  27. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    So why the fight about vb.net and VB6 ? Sorry I couldn't help myself, too tempting :D
  28. Replies
    19
    Views
    641

    Re: click on PictureBox vb.net help me

    the OP said



    so he wants to open an application. but not need for a button, check the area of the picture box where you click and and if it is in a zone defined with an application, open the...
  29. Re: Opening .csv file in VB.net - columns not displaying correctly

    Oh! Yes I forgot a small detail :D,sorry ! You need to change the beginning of your code to add a workbook to your Xlapp :

    Dim xlApp As New Excel.Application
    Dim xlWb As Excel.Workbook =...
  30. Re: Opening .csv file in VB.net - columns not displaying correctly

    with Option Strict ON, this will raise a late binding error.

    the correct use is

    xlApp.Workbooks.OpenText(path, DataType:=Excel.XlTextParsingType.xlDelimited, Semicolon:=True) and it will give...
  31. Re: Opening .csv file in VB.net - columns not displaying correctly

    I guess you have Option Strict set to OFF else the last line

    xlSheet = xlWb.Sheets(“Sheet1”)
    would raise an error of "implicit conversion".

    Change it for


    xlSheet =...
  32. Replies
    19
    Views
    641

    Re: click on PictureBox vb.net help me

    But if you want to click with your vb application on a picture or icon outside the application, I think you need to create a mouse Hook to interact with the icon or you can just start the application...
  33. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Mine was a sanyo PHC 25 https://www.oldcomputr.com/sanyo-phc-25-1982/ with 16KB RAM so I was rich ! by the way Basic was already store in it in the ROM.
    I shared this computer with my father (me...
  34. Replies
    19
    Views
    641

    Re: click on PictureBox vb.net help me

    this is strange, it looks like Herocode demand : invoke a click event somewhere on the screen on a picture via an other way (button or keyboard).

    Why do you want to click on a button to invoke the...
  35. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    especially if you forgot a semicolon in your 2000 lines C application and don't manage to find it ;) :D
  36. Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    but the languages were supplied with the documentation when you bought them so you have all the functions in the book which is not anymore the case.

    speaking of size and memory, my first PC had a...
  37. Replies
    7
    Views
    451

    VS 2015 Re: Convert text to integer

    You are right Niya. But I tested on VB2010 at that time(I always test my code even when I am sure) and $"..." is not included in this version, we use string.format instead and I didn't think about it.
  38. Replies
    7
    Views
    451

    VS 2015 Re: Convert text to integer

    did you change CALRND into a string ?


    Public CALRND As string
  39. VS 2017 Re: Laptop crashed, and cannot install vb.net 2017, need online compiler

    if it is very slow, it may be the SSD who is out. You can test it with CrystalDiskMark. if it is just that you can change it, it is not very difficult and cost much less than a new computer
  40. Replies
    7
    Views
    451

    VS 2015 Re: Convert text to integer

    This line
    CALRND = FIRSTNUM \ SECONDNUM & " REMAINDER = " & FIRSTNUM Mod SECONDNUM is a mix between calculus and string so of course it should raise an error...you should set option strict ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width