Search:
Type: Posts; User: e34m5
Search:
Search took 0.03 seconds.
-
Nope. Users are working on the tables in the MDB. If I make the whole DB read-only then they cannot work in it.
-
How can I make listview show 2 and only 2 columns. Even though I have defined 2 columns, at runtime it shows 3.
-
The strings will be in a list box. They will look like this.
Drawing No: 1234
Drawing No: 5678
Drawing No: 9012
-
As far as I can tell the string class does not have a font property.
-
I need to make part of a string bold. Something like this:
This part of the string is bold
So if the code is this:
Dim sStr as String
sStr = "This part of the string is bold"
-
It appears that MSAccess does not support this type of SQL:
select TRANSLATE ( [Instruments].[I/O_TAG_NAME], [Instruments].[functionID],"A","S")
FROM INSTRUMENTS
WHERE Instruments.Loop="159"...
-
Running SQL from within VB.net
-
It appears that MSAccess does not support this type of SQL:
select TRANSLATE ( [Instruments].[I/O_TAG_NAME], [Instruments].[functionID],"A","S")
FROM INSTRUMENTS
WHERE Instruments.Loop="159"...
-
connstr = "provider=microsoft.jet.oledb.4.0;data source=" & sFile & ";extended properties=Excel 8.0;"
cn = New ADODB.Connection
cn.Open(connstr)
rs = New...
-
I need to programatically set a particular item in the collection to read only.
-
I need to temporarily halt execution of code to allow users to enter data.
Something like this:
CODE
CODE
SHOW PANEL FOR USER DATA
WAIT FOR USER TO CLOSE ENTRY PANEL
CONTINUE WITH CODE...
-
I need to rename a table in an mdb. I thought I could use DAO (I added the reference to my project) using the following code I found in my search:
Dim dbSS As DAO.Database
...
-
I need to read the value of this attribute. How do I do this.
-
For k As Integer = 0 To HandleGrid.RowCount - 1
If Not (HandleGrid.Item(0, k).Value = "") Then
Try
sMsg = oDM.OpenDrawing(Label3.Text...
-
Here you go. It's and execption from a DLL we have. Basically if some one has a drawing open it raises and exception. Within the IDE if I select continue it simply goes on to the next drawing....
-
The issue is not what the exception is. The issue I am having is that when running in the IDE, when an exception is raised, I can select continue on the display catalog and the code continues...
-
-
-
Ok fine...Inside the IDE it catches fine with out stepping (just having the IDE open). Outside the IDE it doesn't.
-
Debug = Running within the IDE.
Runtime = Using compiled exe.
-
I have the following code:
Try
sMsg = oDM.OpenDrawing(Label3.Text & DrawingListBox.GetItemText(SelectedListBox.Items(i)))
...
-
Ok. The issue was that the second time around the SelectionMode was left at FullColumnSelect.
So what I did is set the SelectionMode to CellSelect prior to assigning theDatsource. This did the...
-
Ok. Here is the issue. It works the first time you fill the data grid. When FillDataGrid() is called the second time (to load a different table) thats when it barfs....
-
I did exaclty as your sample. Still no joy. Here is the entire code for loading the DatGridView. Maybe you'll notice something.
Dim connection As New...
-
I keep getting the following error:
Message="Column's SortMode cannot be set to Automatic while the DataGridView control's SelectionMode is set to FullColumnSelect."
This is what led me to...
-
What I am trying to accomplish:
Allow users to select multiple columns (CTRL + Click) so that they can hide them. (the hide will be done programatically of course)
The problem: Can't find a...
-
I'd love to but my employers are too stupid to see that VB sucks and it's not a real programming language.
-
Putting brackets in the SELECT statement did not have any effect on the statemetn built by the CommandBuilder?????
-
Why not bump. This is common in all forums. Second I know all about proper field names but I did not create the database. I am left with it.
I can't do that because each table is different.
...
-
-
Database = MSAccess
Field Name = 120 XXX
Problem - The SQL statement generated by the builder does not enclose the field names in brackets. This then raises an exception with "error in update...
-
I want to use the "groups" in the mdb like a subdirectory. Is there a way to properly reference this in a connection string or some other way to do it.
-
You don't get it. Never mind. This is typical of the whole VB stuff.
I cannot bind at design because there isn't just one table. The user selects the table at runtime.
-
Let me see if I can explain. The DGV is set to a OleDbCommand at runtime. There are no fields or anyhing else to work with until after the DGV is bound. The field in the underlying MSAccess table is...
-
I was able to do it like this:
With extractDataGrid
Dim ColumnCB As New DataGridViewComboBoxColumn
With ColumnCB
.HeaderText =...
-
I've been searching but can't quite find the answer.
I have an unbound DataGridView. The datasource is set at runtime from a query.
I want one of the columns to be a ComboBox. So I need to...
-
-
-
It chokes on the ZeroLentgh code. Works ok without that line.
Dim tbl As Object
tbl = New ADOX.Table
Dim col As New ADOX.Column
Dim cat As New ADOX.Catalog
...
-
|
Click Here to Expand Forum to Full Width
|