Search:
Type: Posts; User: Signalman
Search:
Search took 0.03 seconds.
-
Umm, that interesting, however I have just changed sub to function, and it seems to work
tempTextboxString = Me.TextBoxInfoLHSide.Invoke(Function() Me.TextBoxInfoLHSide.Lines.Last)
-
so when i removed the SUB() it says Value of string can not be converted to delegate :confused:
-
I have a multiline text box (2 lines) which i wan't to update, by adding a new line to the end and removing the first line. As such it will always show the last two lines. I have acheived this with...
-
Now with a little bit of playing around with the code, I have got it to work, by not defining a type for CtrlCollection. I don't understand the reason why it works, but I am sure someone with more...
-
Yes Form2 contains a group box, which was added to the form by the (graphical) designer, by dragging it on to the form from the toolbox. I have just checked it, and it is named correctly.
-
now thats great, and seems to make sense,
Createbutton(ButtonName, form2a.Controls)
Works ok,
however
-
Ok, here is the code, I have stripped out all the extra code and the processsing from both Button1 & Create Button. I know that in this simplified example, the Create Button could have been put...
-
I currently have a form that when the code that is run, it calls a 'sub'
this sub adds controls to the form.
Now all works well if I use the default instance of the form, however I believe that...
-
Thts great, and certainly makes the coding more simple, however when I run the code, I am getting an error :- Object reference is not set to an instance of an object
Public Class Form2
...
-
That’s great thanks, it was only a proof of concept code and I was keen to see if I was correctly displaying a list of strings in a list box. I would normally code form2 as new Form2.
I did not...
-
I curretly have the following code (proof of concept) that displays the contents of a List of Strings in a List box.
Can someone please advise if this is the correct way of doing this, or can it...
-
It helps my understanding, I can see where I went wrong now and I think I partly understand why its using the old values. I must confess I did not think you could repetatively create a new data...
-
Many thanks, however i am still trying to understand why my origional code did what it did.
-
I dont understand what you are saying (or how to fix it). There is only one instance of aDataSplit, however before its contents are changed, the contents are added to the aData List. The process...
-
Currently I have a programme that reads a text file, and adds each line into a list(of String). This works ok. However the second part to the programme, splits each line of the text file into 3...
-
Umm, I did not know you could do that, and I have just tried that and it works, and it’s very quick and easy, however it only adds a standard data grid view. My data grid view has the auto filters...
-
Thanks for the suggestions, however I did try these as a possibility.
Now adding
Me.datagridviewcutpaste1.columns(“TestTableKey”).visible = false
Works, however it does not validate the...
-
JMC thats really helpful, i now appreciate the real benefits of a typed dataset. it has simplified the code considerably and also removed the violation. The code now reads
Sub...
-
I currently have a piece of code that reads a database into a data set, which contains a datatable. Once the data has been read into the datatable, it is displayed in a datagridview. The data table...
-
I am currently tyring to implement the DatagridViewAutoFilter, and have been successful in getting it working when the data is read directly form the database in the same piece of code. However...
-
Yes, my mistake. I meant a table adaptor. I am using a typed dataset, with all the datatables in a testdataset.xsd file.
I have tried adding a table adaptor manager, and it originally failed. ...
-
Now with a bit of trial and error it I seemed to have got it Woking.
The save button now has a single command
TestTableAdaptor.Update(TestDatabaseDataSet.TestTable)
This works ok, but only...
-
I have just been understanding the ways to access and update a SQL database.
I have created the database ok, added a table to it and populated it with data.
I have the created a blank form, to...
-
That’s great thanks, I am trying it determine weather to use a normal dataset or a typed dataset in a new application. I would like the application to be easily convertible from sqlserver to MySQL....
-
Many thanks for the answer.
In relation to using a typed dataset or a normal dataset, is it as easy to change the application from using SQLServer to MySQL (by just changing the connection...
-
If I have written an application which uses SQLExpress and want to convert it to MySQL, is it a simple task of changing the connection string or would it involve a large rewrite of the code that...
-
I currently have a dataset that contains two tables, however when I save the dataset to the xml file only one of the tables is saved.
Is there a restriction that you can only save one data table...
-
Can someone please advise (in simple terms) what the difference is between a data adaptor and a table adaptor.
As far as I can understand, a dataset can contain a number of tables.
The dataset is...
-
Is it possible to create a single Exe file for a project that contains everything that is needed for the project to run, including the dll’s and the .net framework files needed.
If this is...
-
A long time ago, I believe under vs2010 it was possible to comple a release version of the programme, which provided a single exe file in the release directory. This file could then be copied onto a...
-
many thanks, looks like some typing ahead.
-
I currently have numerous lines of code (100's of line) that add columns to datagrids in the form of :
Me.HouseNumberTextBoxColumn = New DataGridViewcolumn
now depending upon a check box, i...
-
looking at the Add Range statement, I piece if code i have seems to have additional params that is not shown in the documentation.
what does the {Me.DateTextBoxColumn} do within the following...
-
Now that Microsoft have made my wonderful SqlServerCompact Edition 'end of life', I now have to update my application.
Now what i found really good was how simple it was, and that I can point the...
-
Ok, I have tonight learnt how to use the dictionary function, which is really grate. However from what I can see you can only have two items per entry, The key and the returned value. Is there a...
-
I currently have written a routine that produces a popup contex menu when mouseButtons.Right is clicked. This works great unless the actual cell in the DGV is being edited. In which case It...
-
This is one That is virtually but not quite finished yet (and some bits have been copied form various sources and altered), Copy paste works ok, the only issue is in deleting rows, can only delete...
-
Many thanks, I have made the suggested changes and indeed all works as suggested. :)
I am not exactly sure what some of the commands are doing to achieve the outcome, but it works, so I am...
-
...Continued from the previous post
The DataGridViewPrint Class is as follows :-
Public Class DataGridViewPrint
Inherits Printing.PrintDocument
Dim defaultHeadingFont As New...
-
I believe that PrintDocument1 is the same object as DatagridViewPrint1, however the way the code is executing, i don't think so, but can't see why ?????????
I understand what you are saying,...
|
Click Here to Expand Forum to Full Width
|