dcsimg

Search:

Type: Posts; User: Montgomery

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    249

    VS 2019 Re: Problem with Form

    Thank you very much ... yes I did introduce something like that. Problem solved !!
  2. Replies
    2
    Views
    249

    VS 2019 [RESOLVED] Problem with Form

    I have some code that previously took the user from a menu form (that closes) to a show a form called frmIndividualTimes ... this now flags as an error and my project will not run.


    Private Sub...
  3. VS 2017 Re: Where should place this ELSE?

    Try getting rid of the first End If statement.
  4. Replies
    2
    Views
    322

    VS 2017 Re: BoxPlot Chart issue

    I have my values in an Array called ThisArray and I want to see a box and whisker plot that shows the maximum and minimum values, the upper and lower quartiles and the median etc. I am not able to...
  5. Replies
    2
    Views
    322

    VS 2017 BoxPlot Chart issue

    I have had success in adding a succession of points to a scatterplot type chart using Visual Basic coding. This is via the command Chart.Series("MySeries").Points.AddXY(MyX, MyY). The issue at...
  6. VS 2019 Re: Not a valid icon file error message

    I have now found a way where it works. When I download the converted .ico file, I just make a copy of it and then place in my resources folder for the VB application. So at this point my issue is...
  7. VS 2019 [RESOLVED] Not a valid icon file error message

    I am trying to load an icon file for my VB application. This icon will be in place of the default application icon when the application runs. Currently I am getting no success with the following...
  8. Re: Syntax Error in INSERT INTO Statement .....

    Thank you for this advice ... yes the field name Position WAS the cause of the issue. Changing it to JudgePosition is now ok and it runs with no issues. Much appreciated.
  9. [RESOLVED] Syntax Error in INSERT INTO Statement .....

    I am using connection strings to write to an Access file using OLEDB connection. I cannot for the life of me know why in two very similar occasions, it works well and not in the other. Firstly I...
  10. VS 2010 Re: Problem UPDATING an Access File Table using OLEDB

    Thank you very much ... this type of help is greatly appreciated. All is working now :cool:
  11. VS 2010 [RESOLVED] Problem UPDATING an Access File Table using OLEDB

    I have an Access file with a Table called Competitors which I need to update .... the DataType of Surname, FirstName, Code and AthleteAgeGroup are all Short Text and are to be updated. By some trial...
  12. VS 2010 [RESOLVED] Now chart series is not being recongnised ..... HELP !

    I have been working away for a couple of hours ... my chart in a form is dynamically updating according to my code. This code draws a square on a chart. Then I added another chart to the form and it...
  13. VS 2010 Re: Can I change the coordinates of a point in a XY chart ?

    Thanks for this.
  14. VS 2010 Re: Can I change the coordinates of a point in a XY chart ?

    Hangon ... I just moved the Application.DoEvents() command AFTER the re-plotting and it works !!!!!
    I can see the point move .... YAY !!!
  15. VS 2010 Re: Can I change the coordinates of a point in a XY chart ?

    I have tried that and you don't see any of the intermediate positions ... just the final position. Doing this ... you see the initial position and just the final position. I have even tried putting...
  16. VS 2010 [RESOLVED] Can I change the coordinates of a point in a XY chart ?

    I have an XY (scatter graph) chart object and I know how to ADD points to the chart at run time using code such as:

    MyScatterChart.Series("Series2").Points.AddXY(x, y)

    What I want to do is to...
  17. VS 2010 Re: [RESOLVED] Exe file does not run outside of its place in the Visual Studio folder

    Yes I have now included that and it works, although it did without that.
  18. VS 2010 Re: [RESOLVED] Exe file does not run outside of its place in the Visual Studio folder

    I guess I have learnt that if you have other components in your project, then the exe file is not all that the user might need to run the application. So far all of my VB projects have not needed...
  19. VS 2010 Re: Exe file does not run outside of its place in the Visual Studio folder location

    I think I have found the solution. My application has a .DLL file, which is a resource which enables my program to plot a histogram. You need to have the following files WITH your .exe file to...
  20. VS 2010 Re: Exe file does not run outside of its place in the Visual Studio folder location

    Absolutely nothing .... same as before.
  21. VS 2010 [RESOLVED] Exe file does not run outside of its place in the Visual Studio folder location

    I have a perfectly correct VB program that runs without error within the Visual Studio folder environment ... this file is called How Many Trials.exe. You simply double click on it, and it runs,...
  22. VS 2010 Re: Label array initialization problem

    Thanks very much that has solved my problems. I greatly appreciate your assistance.
  23. VS 2010 Re: Label array initialization problem

    I have now traced an error due to the following code:


    Private Sub nudButtons_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nudButtons.ValueChanged
    ...
  24. VS 2010 Re: Label array initialization problem

    I made an error with the Dim Person(20) statements ... I didn't declare the size ... now I will go and see if it all works now.
    Yep ALL works now with the suggestions ... but ..... see the next post.
  25. VS 2010 Re: Label array initialization problem

    Now the same error occurs, after following your advice:


    Public Sub InitializeForButtons()
    ''Dim Person() As Label = {frmButtons.La19, frmButtons.La20, frmButtons.La21, frmButtons.La22,...
  26. VS 2010 Re: Label array initialization problem

    The method I have used has worked for me many times before. But I will try what you say.
  27. VS 2010 Re: Label array initialization problem

    ok .. this is what I have now in the module ...


    Module Module1
    Public Person() As Label
    Public Btns() As Label
    Public NumSelected() As Label

    Public Sub...
  28. VS 2010 Re: Label array initialization problem

    I have now placed the code in a module and now I get the error ... object reference not set to an instance of an object.


    Module Module1
    Public Person() As Label = {frmButtons.La19,...
  29. VS 2010 [RESOLVED] Label array initialization problem

    I have defined an array of labels in a module that for some reason when I run my VB program, I get an error saying the type initializer for 'WindowsApplication1.Module1' threw an exception. This...
  30. VS 2010 [RESOLVED] Using OLEDB INSERT INTO command with HDR = YES for Excel spreadsheet

    I am learning to use OLEDB connection strings to read/write/retrieve data from Excel spreadsheets. At the moment I have success for all these operations when I declare that my Excel file has NO...
  31. VS 2010 Re: Help with MouseEnter and MouseLeave events with a Label

    What was confusing was that as I had labels that were next to each other, when one got larger, the label next to it prevented it from showing its larger size. I solved this with the command :...
  32. VS 2010 Re: Help with MouseEnter and MouseLeave events with a Label

    I have solved the problem ... it was resizing but as it was flush up against other labels, the increased size was hidden behind other labels. I have solved this with the commands :

    Label1.Size =...
  33. VS 2010 Re: Help with MouseEnter and MouseLeave events with a Label

    I will go and check ....
  34. VS 2010 Re: Help with MouseEnter and MouseLeave events with a Label

    I have already set the autosize property to FALSE in the Properties window.
  35. VS 2010 [RESOLVED] Help with MouseEnter and MouseLeave events with a Label

    I am trying to change the height of a label to 120 units when the mouse enters a label called Label1 ... I have tried the following code but nothing happens when I move the mouse into the label...
  36. VS 2010 Re: Writing to Excel using ADO OLE DB in vb.NET

    Many thanks for this advice .... it is greatly appreciated that so many here provide advice.
  37. VS 2010 Re: Writing to Excel using ADO OLE DB in vb.NET

    I have VS 2010 ... how do I get access to openxml ?
  38. VS 2010 Re: Writing to Excel using ADO OLE DB in vb.NET

    Thanks ... I will try this and get back to you. Time for me to sleep now (12:35 am). It looks like it will work though.
  39. VS 2010 Re: Writing to Excel using ADO OLE DB in vb.NET

    The error message (generated by the line I indicated) is : "No value given for one or more required parameters".
    The first line DOES work since it puts the data in a row of the said Excel file.
  40. VS 2010 Re: Writing to Excel using ADO OLE DB in vb.NET

    Here is the error message : No value given for one or more required parameters. The line I indicated where it works ... this is written into the Excel file successfully, but the error is generated...
Results 1 to 40 of 41
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width