 |
|
|
 |
|
|
 |
|
 |
Hello to everyone and I wish you a happy new year!
I did the download, I did the extract but I can't understand how it works... I can't find an exe file (as I expected) so I can get in the enviroment....can you help me please???? :(
|
|
|
|
 |
|
 |
Peace be upon you
I realize that you want the tool more than the code,
I'm sorry for not attaching the executable.
I intend updating the article a bit in future to clean somethings up and remove unnecessary things (although it's full of newbie work, but I may not change them).
I will attach a Demo in the next update.
Anyway for the time being, to build an executable yourself you need "Visual Studio 2008 or higher" + "Office 2003 installed" and build the project.
Name: Yasser Daheek AKA vbnetskywalker
B Date: 1/April/1987
Home: Syria - Ham
Phone: 963967398199
Job: Software Developer
|
|
|
|
 |
|
 |
Nice Job
Look at your eyes:
There is a developer behind every piece of code!
Eyes are too complex what about them!
|
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
Great idea and implementation. The article could be clearer, but then maybe it doesn't need to be because code is very nice
|
|
|
|
 |
|
 |
choukren ya sadiki
sofiene
|
|
|
|
 |
|
 |
First thanks for a great utility.
Might I suggest setting option strict = on. I much rather work this way rather than having the compiler do conversions and not get unexpected things happening.
For example, the following code compiles fine with option strict off but will not with option strict off
For Each Col As DataColumn In (From c As DataColumn In qry.Columns select c Order By c.ColumnName)
It does not take much to code cleaner as shown here
For Each Col As DataColumn In (From c In qry.Columns.Cast(Of DataColumn)() _
Select c Order By c.ColumnName)
Also when closing the form might I suggest the following
If (e.CloseReason = System.Windows.Forms.CloseReason.ApplicationExitCall) Or _
(e.CloseReason = System.Windows.Forms.CloseReason.UserClosing) Then
Kevin S. Gallagher
Programming is an art form that fights back
|
|
|
|
 |
|
 |
thanks in advance for your suggestion .......
I'll see what I can do ..........
I'm so so sorry ........ I'm not really free nowadays ......
I have at least 2 busy monthes form now
thanks again ........ I really appreciate it
Name: Yasser Daheek AKA vbnetskywalker
B Date: 1/April/1987
Home: Syria - Ham
Phone: 963967398199
Job: Hope to be a programmer ,
but to people ... seems like it's not a job
|
|
|
|
 |
|
 |
I don't know if this is possible.
I have situation like this. I have an access mdb with linked table into SQL Server. We have migration problem because I have use a lot of MS Access function into query that i have been created. I can't migrate the MS Access query into SQL Server query because specific MS Access function that MS SQL doesn't have.
I have hundreds of Access query.
Is there any option to compile with .NET application like this:
1. I copy the MS Access query syntax into .NET code as is.
2. I compile that query by using only MS Access engine (without opening database itself).
Is it possible?
Thank you for any idea or suggestion.
|
|
|
|
 |
|
 |
I'm so so sorry ........ I'm not really free nowadays ......
I have at least 2 busy monthes form now
I'll see what I can do ..........
Name: Yasser Daheek AKA vbnetskywalker
B Date: 1/April/1987
Home: Syria - Ham
Phone: 963967398199
Job: Hope to be a programmer ,
but to people ... seems like it's not a job
|
|
|
|
 |
|
|
 |
|
 |
I think it is not possible to walk with richtextbox, when in need to speed up coloring. I guess this is caused by process which is currently rendering RTF on every change. My last model of RTB workflow is that any change (even if working with cursor and selectedrtf) is equivalent to control.RTF = newRtf. But anyway your redraw locking method seems better than usual
|
|
|
|
 |
|
 |
thanks sir ...........
that's exactly what I tried to do the first time I wrote it ,
but later (in later versions ) I returned to the base way to color (by the tool) ..........
I return to the base way of coloring because of a question mister "emanlee"
has asked ..........
the question was "Chinese text become messy code"
it's the previous one (take a look at it, to have deep info about it)
thnaks for commenting ....
|
|
|
|
 |
|
 |
When I entered Chinese text, the text came into messy codes. Or drag Chinese table names from the left tree view , it also became messy texts.
|
|
|
|
 |
|
 |
yes indeed ...........
I discovered that this is gonna happen for all languages but english (thanks for you , for giving me the spark)
(I'm sorry I discovered it when you displayed the problem , but I didn't have enough time to handle it .... busy)
the reason behind that is "Messing with the RTF" ......
langs have different representations in RTF
(but I represented them all the same , and that is wrong)
so ......
I think that I have to use the RichTextBox tool to color ,
and that's gonna take some time from me (I made some moves in there too)
any way. .... the update is gonna be soon displayed
thanks again for helping me developing the tool
|
|
|
|
 |
|
 |
a new update is uploaded.......
hope now it's helpfull for you............
|
|
|
|
 |
|
 |
You do not specify license information in your source code.
|
|
|
|
 |
|
 |
thanks for the tip ........
I will put it in the next update.......
|
|
|
|
 |
|
 |
hi
which Access versions are supported?
and what if a table is a linked table?
i've opened an Access 2000 DB, with linked tables to a SQL Server, and i can't see all them in the tables list.
Thanks
roberto
|
|
|
|
 |
|
 |
thnaks ...... you've shown me a part didn't test before , I don't know how I forgot it .......
it's true that the Linked Tables were not shown ........
and the reason was a "not enough understanding" of the OleDbSchemaGuid members .
actually the used Guid was OleDbSchemaGuid.Tables (which gives the Tables that are defined in the Database) .......
and we should have used OleDbSchemaGuid.Tables_Info (which gives every accessible Table in the Database )
any way ......
This bug has been fixed, and by the way ......... the code became more clear too (thanks)
and a new version of the code will be uploaded .......
(I don't know it could take a while till it gets approved by the site,..... or it don't , I don't know.........)
any way ......here is the code now ,
in the Class "DataBase" there is a Function called "GetTables" , it's the responsible for that.
<pre>
Private Function GetTables() As IEnumerable(Of DataTable)
Dim OleDbSchemaTable As DataTable
OleDbSchemaTable = Con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables_Info, New Object() {})
Dim GoodTableTypes = New String() {"TABLE", "LINK", "PASS-THROUGH"} 'I'm afraid there are more ,I didn't try all types , but I'll try to
'get Tables Names and Types only
Dim Tbls = From Row As DataRow In OleDbSchemaTable.Rows _
Select New With {.TableName = CType(Row.Item("TABLE_NAME"), String), _
.TableType = CType(Row.Item("TABLE_TYPE"), String) _
}
'Now Fetch the Schema of tables (real tables not temp ones)
Dim Rslt = From Tbl In Tbls _
Where Not Tbl.TableName.StartsWith("~") And _
GoodTableTypes.Contains(Tbl.TableType) _
Select GetDataTableSchema("[" & Tbl.TableName & "]")
Return Rslt
End Function
</pre>
I hoope it works fine now
|
|
|
|
 |
|
 |
Thanks!
now it's useful (for my needs
even if i'm thinking to some improvements, now it's holiday time for me, so, let's see later....
BTW: you have my 5
roberto
|
|
|
|
 |