From Gustav at cactus.dk Tue Feb 1 10:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO/ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav From Gustav at cactus.dk Tue Feb 1 10:19:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:19:49 +0100 Subject: [dba-VB] ASP.NET app's web design Message-ID: Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 1 10:17:49 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 19:17:49 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <34C49EF441B84B85AA969D2E27EF4089@nant> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO /ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 11:55:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 18:55:45 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav From shamil at smsconsulting.spb.ru Tue Feb 1 11:56:25 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 20:56:25 +0300 Subject: [dba-VB] ASP.NET app's web design In-Reply-To: References: Message-ID: Yes, Gustav, I have just watched a demo video - that should be it + Expression Design. In fact Expression Blend seems to be a "must have" tool for Silverlight Development, as well as Expression BlendR 4 for Windows Phone (http://www.microsoft.com/expression/windowsphone/). SketchFlow - that's a useful UI workflow prototyping tool too. All in all - one have to get acquired Expression Studio 4 Ultimate (http://www.microsoft.com/expression/products/StudioUltimate_Overview.aspx) - and all and every web design area will be covered :) "Just" have additionally to "borrow" somewhere good graphical imagination and skills for simple and elegant Web 2.0 designs... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] ASP.NET app's web design Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 1 12:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 21:05:08 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <6164E2D6C1494AA694F3903264213FE4@nant> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 04:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 11:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav From shamil at smsconsulting.spb.ru Wed Feb 2 04:08:23 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 10:08:23 -0000 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <7790F520893B4C9F80E94E246DD885D4@nant> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-n eed-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great- windows-phone-7-device/6977 Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 2 ??????? 2011 ?. 13:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 09:08:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 16:08:35 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Thanks for those links, very useful. As stated, this is version 1.0 of WP7 and things will evolve for sure. Should I meet something new, I'll try to post back here. /gustav >>> shamil at smsconsulting.spb.ru 02-02-2010 11:08 >>> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-need-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great-windows-phone-7-device/6977 Thank you. -- Shamil From shamil at smsconsulting.spb.ru Wed Feb 2 09:27:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 15:27:00 -0000 Subject: [dba-VB] FW: FF 3.6.8 weird error message - sec_error_expired_certificate for https://docs.google.com/?tab=mo&authuser=0 Message-ID: <9AC80F19C46943F6833F02A751E0F82C@nant> Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 04:11:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 3 Feb 2011 13:11:58 +0300 Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 In-Reply-To: <9AC80F19C46943F6833F02A751E0F82C@nant> References: <9AC80F19C46943F6833F02A751E0F82C@nant> Message-ID: <2A303320157442568CFC9C987CD7BD17@nant> Hi All -- I'm sorry for that off-topic. The issue was solved yesterday: the day before yesterday it was a usual hardworking day/night and I needed to set system date to the last year to test one fixed feature of software under development. I have set that date - one year from now in the past. I have tested the feature, I have switched off PC and I have got asleep. The next day there was a lot of new work and I forgot to set system date back to the correct value. That incorrect system date caused FF to report that SSL certificate from googledocs is invalid... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 2 ??????? 2010 ?. 18:27 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 20:38:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 05:38:01 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> Message-ID: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From marklbreen at gmail.com Fri Feb 4 03:10:01 2011 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 4 Feb 2011 09:10:01 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I used > http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working after > all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and > download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power offered > by > the "Cloud" services. I'll be interested in how this comes out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search over > a > large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space on > GoogleDocs, put all the subject docs there, and then use Google API to > search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site as > front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I plan > to > implement a front-end to that application system as an WinForms application > coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Fri Feb 4 03:32:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:32:37 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From Gustav at cactus.dk Fri Feb 4 03:34:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:34:49 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Mark What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? >>> marklbreen at gmail.com 04-02-2011 10:10 >>> Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: <54C40F764B3B4CBB812589E1808149DD@nant><8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1><1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 4 ??????? 2011 ?. 12:10 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I > used http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working > after all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new > RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one > format, and download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power > offered by the "Cloud" services. I'll be interested in how this comes > out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search > over a large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space > on GoogleDocs, put all the subject docs there, and then use Google API > to search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site > as front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I > plan to implement a front-end to that application system as an > WinForms application coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <96488F7F3F374250A5AA0D42D002461F@nant> Hi Gustav, Search itself is as fast as Google is :) Then it takes some time to get info on docs. If your search filter results in a few records returned then the search is almost instant (I have 1000+ test docs in my GoogleDocs test site): I have slightly corrected code to return timestamps - here are the stats: 2 docs returned, batch size = 10 ======================== 04/02/2011 13:18:23: Logging in... 04/02/2011 13:18:23: Successfully logged in 04/02/2011 13:18:23: Gettings docs... 04/02/2011 13:18:23: Batch size = 10, getting first docs' batch... 04/02/2011 13:18:24: All 2 docs collected another filtering criteria 882 docs returned, batch size = 100 ============================================ 04/02/2011 13:08:41: Logging in... 04/02/2011 13:08:41: Successfully logged in 04/02/2011 13:08:41: Gettings docs... 04/02/2011 13:08:41: Batch size = 100, getting first docs' batch... 04/02/2011 13:08:44: 100 docs processed 04/02/2011 13:08:46: 200 docs processed 04/02/2011 13:08:47: 300 docs processed 04/02/2011 13:08:49: 400 docs processed 04/02/2011 13:08:50: 500 docs processed 04/02/2011 13:08:51: 600 docs processed 04/02/2011 13:08:53: 700 docs processed 04/02/2011 13:08:54: 800 docs processed 04/02/2011 13:08:55: All 882 docs collected same as above filtering criteria 882 docs returned, batch size = 500 ================================================= 04/02/2011 13:10:05: Logging in... 04/02/2011 13:10:05: Successfully logged in 04/02/2011 13:10:05: Gettings docs... 04/02/2011 13:10:05: Batch size = 500, getting first docs' batch... 04/02/2011 13:10:14: 500 docs processed 04/02/2011 13:10:19: All 882 docs collected BTW, I have used just a subset of Google.GData classlibs. Classlibs used: Google.GData.AccessControl.dll Google.GData.Client.dll Google.GData.Extensions.dll Google.GData.Documents.dll The full list of samples Google.GData provides is: analytics Analytics_AccountFeed_Sample Analytics_DataFeed_Sample appsforyourdomain blogger calendar codesearch contentforshopping_sample +DocListExporter +DocListUploader execrequest gapps_calendar_resource_sample gapps_google_mail_settings_sample gapps_multidomain_sample gapps_orgmanagement_sample gbase health OAuth PhotoBrowser spreadsheets YouTubeNotifier YouTubeSample YouTubeSample.sln YouTubeUploader I used just two of provided samples for R&D and making my solution. As one can see based on samples' titles almost everything can be queryed/processed on google similar way.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 12:33 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); <<>> From Gustav at cactus.dk Fri Feb 4 05:13:16 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 12:13:16 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil Thanks for the link, code, and comments - and the timings in the other post. For an upcoming project I will need some text search options so I'm collecting bits and pieces ... /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 11:34 >>> Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <88C8330964FC47F7A753561E66B42346@nant> References: <88C8330964FC47F7A753561E66B42346@nant> Message-ID: <4B0487F0346243328CEE785D738A4915@nant> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ??????? 2010 ?. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln ----------- From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Mercurial vs. SVN In-Reply-To: References: Message-ID: <5C25784986154BE892C6C8CF91EA0716@nant> Hi Gustav -- I have found solution - that was easy but I didn't know about it/didn't find it somehow - just add global-ignores to SVN setup dir config file at C:\Documents and Settings\{username}\Application Data\Subversion: global-ignores = *.exe.config *.exe.manifest *.xbap *. i *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user *.g.vb *.g.cs *.baml *.GenerateResource.Cache *.cache Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 17:48 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil I don't know about these details of TortoiseSVN - I just used it for the Northwind project and never had any trouble - and stayed off the command line. Thanks for the tip (for Mercurial hosting) at bitbucket. However, I think I stay with TortoiseSVN and/or VisualSVN as they have worked fine for me. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 12:48 >>> Hi Gustav -- Thank you for your note. I should probably install newer version. But the one I have does support the feature of ignoring/making local individual files (filenames patterns) and *whole* folders. That is useful but that's not what I'm looking for/what exists in Mercurial it has more powerful feature to keep ignore list. BTW, SVN does inform that it added file/folder to the ignore list - is it possible to edit that list manually? If yes, where it's located? - I can find it - maybe you just know it from memory/used it: in Mercurial I usually just have a generic ignore list, which I'm putting in every new repository I create and then I'm adding specific files/filenames templates to that ignore list. Gustav, it's not a big issue - I can find my way using SVN via command lines - mainly wondering if I can skip making a batch which will use command line interface of SVN to "clean-up" local repository from some files/folders before committing it... BTW, https://bitbucket.org/ has an option of free unlimited code repositories up to 5 users... I haven't used it yet but I do plan to put all my important source code mirrored there in private code repository... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 11:43 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil That's a very old version, current version is 1.6.something. The trick is the Shift key. From the help file: Hold the Shift key to get the extended context menu and select TortoiseSVN and Delete (keep local) to mark the file/folder for deletion from the repository without losing the local copy. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 01:23 >>> Hi All -- Does SVN support "ignore list" as Mercurial does? (I wanted to exclude binaries and some other files from add/commit batch without going through all of added/updated items manually every time on commit). I do use Tortoise SVN v.1.4.5, and I do not see "ignore list feature" - does Tortoise SVN 1.4.7 support this feature? Or can I define ignore list somehow else when working with SVN? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 4 10:13:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 17:13:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln From shamil at smsconsulting.spb.ru Fri Feb 4 14:33:41 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 23:33:41 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: References: Message-ID: <47751E10AACF40DE90041549131EA7FD@nant> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Feb 5 04:43:02 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 5 Feb 2011 10:43:02 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search tables, > > you may find them interesting also. I was surprised to see such "heavy > lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at mattysconsulting.com Sun Feb 6 12:04:50 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 13:04:50 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 13:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 6 Feb 2011 22:05:08 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 13:59:53 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 14:59:53 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 15:05:03 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 00:05:03 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant> <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 15:37:39 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 16:37:39 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 19:44:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 04:44:28 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Message-ID: <48417D4A145C456FB00ECEA066160A7D@nant> Hi Mike -- OK, so you found that ADO.NET EF (.NEt Framework 4.0?) isn't stable/efficient enough for your custom applications? BTW, I have got WPF browser application running here from within VS2010 when security is set to full trust and XBAp's application app.config has connectionstring properly set. Therefore it should be possible in principle to somehow (how? any working hints are very welcome!) configure XBAP application security (manifest) to get that app delivered from Internet IOW: - WinForm application built from a set of WinForms User Controls can be quickly converted into an Internet WPF Browser Application (XBAP) without almost any additional programming. See P.P.S of http://northwind.codeplex.com/documentation Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 7 ??????? 2011 ?. 0:38 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 02:17:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 09:17:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] ASP.NET e-commerce solutions Message-ID: <89A1F89F55234B77A23FB3C8028409AE@nant> Hi All -- I'm looking for ASP.NET e-commerce solutions but not to select one (I have got one selected already) but to make the "wish-list" set of features to extend my selected solution, and here is an interesting solution: http://www.americangolf.co.uk/golf-shoes/mens-golf-shoes/footjoy-tcx-golf-sh oes/ with the feature to zoom parts of a consumer good pictures on "mouse-overing" that parts: http://smsconsulting.spb.ru/test/footjoy1.jpg Do you know how this is done? AJAX - yes, it's used here of course, but maybe you have seen somewhere some ready to use samples how to implement this feature? jQuery? ASP.NET AJAX Control Toolkit? ...? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 11:18 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 06:07:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:07:31 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Mon Feb 7 06:11:21 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:11:21 +0100 Subject: [dba-VB] Windows Phone 7 development Message-ID: Hi all A new emulator and tools are out - and _lots_ of info at The Windows Phone Developer Blog: http://windowsteamblog.com/windows_phone/b/wpdev/ /gustav From jwcolby at colbyconsulting.com Mon Feb 7 08:19:37 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 07 Feb 2011 09:19:37 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <4D4FFF79.6090105@colbyconsulting.com> Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, Arthur > in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful stuff in > this project! > > I currently wanted to solve the issue with porting .NET WinForms application > to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I > have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly > ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above roadmap > plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip archive > or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming issues.'; > 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts from > Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive R&D > work with little time to think through while coding :) But feel free to > comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get downloaded 19 > times already and I have got informed privately a couple of days ago just > three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET > project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain > old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Feb 7 09:23:09 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 18:23:09 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <4D4FFF79.6090105@colbyconsulting.com> References: <47751E10AACF40DE90041549131EA7FD@nant> <4D4FFF79.6090105@colbyconsulting.com> Message-ID: <04E9C6AB518C48BD8F507B368436724D@nant> Hi John -- Yes, a WinForms compound control placed into WPF's WindowsFormsHost control with the latter placed into WPF Browser Application's (XBAP) Page http://www.google.ru/search?hl=ru&biw=1920&bih=919&q=Hosting+Windows+Forms+C ontrols+in+WPF+WindowsFormsHost&aq=f&aqi=&aql=&oq= can be hosted in a browser. That seems to be the shortest way to get a browser based application having a desktop (WinForms) one. And with current mainsteram trend of making everything looking as a "Pinned Web Site" that feature look at least attractive... <<< What problem does that solve? >>> Getting Web Browser based app ASAP... <<< What problems does that create? >>> Desktop application do usually use local files etc. - XBAP application can run in fulltrust mode and have access to local files (to test) but that looks like 'Good Old ActiveX' controls therefore once XBAp port is done be prepared to do more work of makeing your app running OK in a "sandbox" having all resources handled over Internet... There could/should be other issues I'm not aware about... <<< I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. >>> Well, that's your opinion. I have an opposite one. Let's keep that different points of view our of this discussion thread? <<< I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. >>> That's a temporary issue I suppose. I remeber "clunky" MS Access 1.1/2.0 applications we all were developing quite some time ago.. <<< I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. >>> But you can well develop desktop (WinForms/WPF/Silverlight 4(?)) applications communicating with Internet Web services... <<< It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. >>> When talking to web services it doesn't matter that much where/what way client part (FE) is set/deployed... The browser/smartphones based apps are definitely the future IMO. Are desktop applications dying? I'm not stating that here - let's just discuss different technologies and the ways to apply them to this or that use case/environment/deployment scenario/... but not which one is better and why - all are good when used properly :) And "using properly" - that depends on one own's experiences, tastes and preferences or on what technlogy a customer is requesting... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 7 ??????? 2011 ?. 17:20 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, > Arthur in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful > stuff in this project! > > I currently wanted to solve the issue with porting .NET WinForms > application to the Web the shortest possible(?) way (WinForms Controls > -> XBAP) but I have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting > WinForms UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services > (formerly ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) > -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above > roadmap plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip > archive or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming > issues.'; 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts > from Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive > R&D work with little time to think through while coding :) But feel > free to comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get > downloaded 19 times already and I have got informed privately a couple > of days ago just three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true > TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - > ASP.NET project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10 > .0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using > "plain old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 8 14:54:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 8 Feb 2011 23:54:00 +0300 Subject: [dba-VB] Blocking IE of opening new window when working with Google Images Message-ID: <788DF9F3A5BA4F34B0A86F46D890DBDC@nant> Hi All -- I have the following sample Google Images query URL: http://www.google.com/images?q=Babolat+Bandana&hl=en&sa=G&gbv=2&as_st=y&tbs= isch:1,isz:ex,iszw:400,iszh:400,itp:photo,ift:gif (watch line wraps) that returns 7 result pictures. I wanted when clicked on any image to *not* have IE opening that pictures in a new browser window but to have image opened in the same window. It works that way on one PC but it doesn't work on the other. I have tried to tune IE options, including advanced ones but I can't get IE working as needed i.e. without opening image in a new window. Do you know how to make "the trick"? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 8 19:08:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 04:08:07 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- Thank you for your notes. How to make DNN (re-)indexing a page? There should be special DNN page options to include/exclude a certain page from full text indexing? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 5 ??????? 2011 ?. 13:43 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search > tables, > > you may find them interesting also. I was surprised to see such > "heavy lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 04:41:30 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 13:41:30 +0300 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery Message-ID: <34B330B354244ABC876181A0DFCC64DE@nant> Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil From marklbreen at gmail.com Wed Feb 9 04:51:36 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 10:51:36 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain page > from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they seem to > create a record for each word in each item and link them back through > relational database model. I described it as heavy lifting, as I would > have > assumed the more abstract ways to achieve this are available. I never used > SQL Server Full Text Search but I suppose that is on option. Perhaps the > DNN guys can demonstrate their heavy lifting is quick, fast and efficient, > but I was rather surprised to see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is rather > narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Wed Feb 9 05:55:55 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 14:55:55 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- I have checked my test web site - full text indexing seems to be done not instantly for large texts of HTML modules but it's somehow delayed: it works now for the html module, which it didn't work for when I first saved that module's large text. Yes, I will try to ask about HTML modules' text indexing on DNN... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 13:52 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain > page from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they > seem to create a record for each word in each item and link them back > through relational database model. I described it as heavy lifting, > as I would have assumed the more abstract ways to achieve this are > available. I never used SQL Server Full Text Search but I suppose > that is on option. Perhaps the DNN guys can demonstrate their heavy > lifting is quick, fast and efficient, but I was rather surprised to > see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is > rather narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:21:56 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:21:56 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <416817D4C6014795BA3FA3AE4CA8B79D@nant> Hi Gustav -- Yes, in closed environment but Northwind.NET is an open source - it could be public environment I mean... OK, I will try to get a free public certificate from http://www.cacert.org/ and if I will get it then I will try to use it to sign Northiwind.NET executables I'm releasing from time to time... BTW your below message somehow got filtered out by SPAM filter based on its text I suppose. I'd be interesting to know what "suspicious words" SPAM filter (standard MS Outloook one) found in that message text. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:31:33 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:31:33 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <674A5DCEB8FC47A38C06738D9ABA3FA7@nant> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Wed Feb 9 06:47:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Feb 2011 13:47:26 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Wed Feb 9 10:04:48 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 16:04:48 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done not > instantly for large texts of HTML modules but it's somehow delayed: it > works > now for the html module, which it didn't work for when I first saved that > module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the > DNN forums are very friendly and helpful - I think I always get an answer > withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the list of > indexes but I would presume that the indexer needs to know when module is > "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT > NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, > [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, > [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a certain > > page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them back > > through relational database model. I described it as heavy lifting, > > as I would have assumed the more abstract ways to achieve this are > > available. I never used SQL Server Full Text Search but I suppose > > that is on option. Perhaps the DNN guys can demonstrate their heavy > > lifting is quick, fast and efficient, but I was rather surprised to > > see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dbdoug at gmail.com Wed Feb 9 10:27:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 9 Feb 2011 08:27:32 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: Thanks, Shamil - looks interesting. I appreciate your sharing this kind of information. Doug On Wed, Feb 9, 2011 at 2:41 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > FYI: "What ASP.NET developers should know about jQuery" > > http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Feb 9 12:36:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Feb 2011 10:36:21 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <0CF8A6D59CAF4D05A490EE12CC166F9D@creativesystemdesigns.com> Shamil: Right-on. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 2:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, that's a correct assumption. :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 9 ??????? 2011 ?. 15:47 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil <<< snip>>> From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <5023DBCEB51F483AAD035CD53F0D50C0@nant> Hi Mark -- Yes, I did get it - that you're not suggesting to use DNN native full text indexing instead of GooleDocs - but I do need both in a solution I'm working on :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 19:05 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done > not instantly for large texts of HTML modules but it's somehow > delayed: it works now for the html module, which it didn't work for > when I first saved that module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the DNN forums are very friendly and helpful - I think I always > get an answer withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the > list of indexes but I would presume that the indexer needs to know > when module is "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) > NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] > NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, > [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a > > certain page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them > > back through relational database model. I described it as heavy > > lifting, as I would have assumed the more abstract ways to achieve > > this are available. I never used SQL Server Full Text Search but I > > suppose that is on option. Perhaps the DNN guys can demonstrate > > their heavy lifting is quick, fast and efficient, but I was rather > > surprised to see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart > > > or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Feb 11 05:48:23 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 11 Feb 2011 06:48:23 -0500 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <348EDCB3DAE3487E9D08DABA379B5C02@Gateway> This is good. See the Labs page also. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 5:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Feb 13 16:51:19 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Feb 2011 23:51:19 +0100 Subject: [dba-VB] Localizing Silverlight Business Application (solved) Message-ID: Hi all Even by following the guidelines in the previous posted lings, one item in the default project will still miss dynamic localization: the tiny welcome message displayed after a successful login. This is by default loaded at launch with the class LoginStatus as a localized format string for the displayed username; however, it is not changed if the culture is changed dynamically. For this to happen, you will need some modifications to LoginStatus.xaml.cs like this: public LoginStatus() { this.InitializeComponent(); this.BindWelcomeText(); this.authService.LoggedIn += this.Authentication_LoggedIn; this.authService.LoggedOut += this.Authentication_LoggedOut; this.UpdateLoginState(); } /// /// Updates the bound welcome message to that of the current culture selection. /// public void ApplyCurrentCulture() { this.BindWelcomeText(); } private void BindWelcomeText() { this.welcomeText.SetBinding(TextBlock.TextProperty, WebContext.Current.CreateOneWayBinding("User.DisplayName", new StringFormatValueConverter(ApplicationStrings.WelcomeMessage))); } The modification adds the method ApplyCurrentCulture which you can call from MainPage.xaml.cs by like this: LoginStatus _loginStatus = new LoginStatus(); /// /// Creates a new instance. /// public MainPage() { InitializeComponent(); // this.loginContainer.Child = new LoginStatus(); this.loginContainer.Child = _loginStatus; this.languageSelect.SelectionChanged +=new SelectionChangedEventHandler(languageSelect_SelectionChanged); } void languageSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { string culture = ((ComboBoxItem)((ComboBox)sender).SelectedItem).Tag.ToString(); Thread currentThread = Thread.CurrentThread; currentThread.CurrentCulture = new CultureInfo(culture); currentThread.CurrentUICulture = new CultureInfo(culture); ((ResourceWrapper)App.Current.Resources["ResourceWrapper"]).ApplicationStrings = new ApplicationStrings(); _loginStatus.ApplyCurrentCulture(); } The original line initiating LoginStatus is commented out. /gustav >>> gustav at cactus.dk 30-01-2011 16:59 >>> Hi all I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application. But by combining info from these links I finally succeeded: http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. This way all text for labels, error messages, tool tips, etc. are kept in separate resx files. Further, select a language in the combobox and the language changes instantaneously. Great! /gustav From jwcolby at colbyconsulting.com Mon Feb 14 19:24:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Feb 2011 20:24:18 -0500 Subject: [dba-VB] c# - close in any particular order? Message-ID: <4D59D5C2.3080909@colbyconsulting.com> I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com From mikedorism at verizon.net Wed Feb 16 07:06:33 2011 From: mikedorism at verizon.net (Doris Manning) Date: Wed, 16 Feb 2011 08:06:33 -0500 Subject: [dba-VB] c# - close in any particular order? In-Reply-To: <4D59D5C2.3080909@colbyconsulting.com> References: <4D59D5C2.3080909@colbyconsulting.com> Message-ID: <40D7D6D6846944878E1717620F7C35F1@hargrove.internal> I usually close in the following order: reader, connection, and then command. Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 14, 2011 8:24 PM To: VBA Subject: [dba-VB] c# - close in any particular order? I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 10:30:11 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 17:30:11 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From jwcolby at colbyconsulting.com Thu Feb 17 10:48:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Feb 2011 11:48:08 -0500 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <4D5D5148.9040603@colbyconsulting.com> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Feb 17 11:04:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 18:04:37 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi John Yes, it works fine for me, both on XP and Vista. Plain install, nothing smart. /gustav >>> jwcolby at colbyconsulting.com 17-02-2011 17:48:08 >>> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav From dw-murphy at cox.net Thu Feb 17 11:28:56 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 09:28:56 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <17942190E9764C2683F8F0EBD35F159A@murphy3234aaf1> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 12:08:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 19:08:42 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From dw-murphy at cox.net Thu Feb 17 12:49:44 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 10:49:44 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <8E8FD1D34E9E4F15A1720744B70F649F@murphy3234aaf1> Hi Gustav, I just want to consume the REST services from the client end so thought the approach in the Constant Contact download was of interest. I'll be following the series you provided the link for. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 10:09 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] REST and Visual Studio 2010 Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2 e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp- services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Fri Feb 18 18:06:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sat, 19 Feb 2011 11:06:36 +1100 Subject: [dba-VB] Unusual VB Request Message-ID: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From gustav at cactus.dk Sat Feb 19 02:20:54 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Feb 2011 09:20:54 +0100 Subject: [dba-VB] Unusual VB Request Message-ID: Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From jwcolby at colbyconsulting.com Sat Feb 19 13:53:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 14:53:30 -0500 Subject: [dba-VB] I'm getting nowhere Message-ID: <4D601FBA.5020302@colbyconsulting.com> I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Feb 19 18:18:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 19:18:04 -0500 Subject: [dba-VB] [dba-SQLServer] I'm getting nowhere In-Reply-To: References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605DBC.3080006@colbyconsulting.com> > The hierarchy goes like this: > > Roles > -- Users But why does the user have no (apparent) password but the role does? I found a vague (to me) reference to schemas and assigning schemas to users... Now that makes sense. I assume in all this that if a user goes away I just delete the user? I don't see any way to enable / disable the user. This whole thing just seems real hokey. John W. Colby www.ColbyConsulting.com On 2/19/2011 4:38 PM, Arthur Fuller wrote: > The hierarchy goes like this: > > Roles > -- Users > > What is not obvious from the docs is that you can add a role to a role. The > reason you would want to do this is to "include" lower-level capabilities > within a higher-level group (without bothering to have to re-define these). > > You can grant select, update, delete and inserts on any combination of > tables, views and sprocs. The approach I typically use is to deny table > access to everyone but me, and then to grant various levels of access to > views and sprocs to various roles. That way, no one but you can directly hit > a table. > > So, your bottom level might define Select capability and nothing else (to > one or more views and sprocs). The next level up might permit Updates, and > the next Inserts and Deletes. Actually I mean granting this privileges on > the sprocs/views created for those purposes. > > As you move up the hierarchy, you can "stack" the abilities (i.e. add the > lowest level role to the next up, and so on, until you reach the top, where > the only member of that role is you. > > HTH, and if not feel free to ask. > Arthur > > On Sat, Feb 19, 2011 at 2:53 PM, jwcolbywrote: > >> I am getting nowhere on understanding SQL Server security. Microsoft >> provides us with SQL Server Express which implies that joe blow (me) is >> going to install / maintain it. >> >> I am not a SQL Server Admin and I cannot afford to spend the time to be >> one. >> >> Google is my friend. BOL is not. >> >> Except that Google is taking me to these places where I am expected to >> already know how this stuff works, and then wants to make me a *better* >> administrator. Which of course is useless because I am not an administrator >> at all. >> >> OTOH I am not stupid. If I could find something that started at the "This >> is SQL Server security" basics I could learn this stuff. Before anyone says >> "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it >> simply sucks for my level of expertise (my opinion of course). If that is >> your advice, simply stay out of this thread. Thanks! >> >> So... my needs: >> >> I need to set up several SQL Server databases for use by different, very >> small groups (5-20 people) of entirely unrelated people. What I mean by >> that is that each DB is for a different "company" if you will. I need to >> access these databases from C#. I understand the group / user paradigm. I >> would like to create groups and users. Specific groups can do specific >> things in the database, some can see data but not modify it. Some can add >> records in specific tables but not others. Some can run reports (view). >> >> I do *NOT* want to create windows level groups and users if I can avoid it. >> These are people that I do not necessarily know and I do not want to give >> them any rights at the machine level, and I prefer to not maintain such >> lists at the machine level. >> >> Unfortunately SQL Server does not seem to model Groups / users. I go into >> SQL Server and see a security tab. It has "logins". Is that a user? A >> specific ability to log in with a password? To what? The server itself? A >> specific database? Groups of databases? >> >> I see "roles" but these appear to be aimed at the server and none of these >> people are going to be doing anything at the server level. >> >> Can I safely ignore everything under the server security tab? >> >> I go to a database and I see a security tab. It has users and roles. >> Hmm... better (I would think). I would like to add users "under" the >> specific database that the user will access. >> >> So I try to add a new user but I do not see anywhere to require a password. >> Hmmm... >> >> I go into roles and I do not see any predefined role that looks like it >> would be useful to me in meeting my needs described above. If I look at >> "add new role" it asks for a password. The User / group model does nto >> assign passwords at the group level which implies that a role is not a group >> at the user / group paradigm. >> >> Is it just me, or is SQL Server security just... different? Am I correct >> in assuming that it doesn't implement a user / group paradigm? >> >> And more importantly, where can I go to get a plain, simple, English >> description of how this mess works? >> >> And please excuse the tone that results from my frustration. The only help >> documents that I have found (and I have extensive lists of bookmarked web >> pages) so far assume that I am an administrator. I am not, and cannot >> afford to become one. And yet MS pushes SQL Express as if I (non-admin) >> should be able to use this as a data store pool. >> >> Help! >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Feb 19 18:22:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 10:22:49 +1000 Subject: [dba-VB] [AccessD] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605ED9.11823.1EFC5774@stuart.lexacorp.com.pg> On 19 Feb 2011 at 14:53, jwcolby wrote: > If I could find something that started at the > "This is SQL Server security" basics I could learn this stuff. Maybe this will help. (This is "my" understanding of it - corrections from others welcome .) There are two levels of "Security" in SQL Server: 1. SQL Server Instance (Server name) level 2. Database level At the Instance Level, you have: 1. Server Roles 2. Logins At the Database level you have: 1. Database Roles 2. Users INSTANCE LEVEL ============== SERVER ROLES These are generic sets of "rights" which apply to the entire Instance. "Server role is used to grant server-wide privileges to a user" . Generally, use Public for all logins unless you need admin rights on the server. LOGIN To allow anyone to access SQL Server, you need to create a login at instance level for them and then define what that login can do in terms of individual databases Login = an entity that can log in to SQL Server. In your situation, you are using SQL Secruity so a Login needs a Username and Password. If using Windows/Mixed security, it could also be an Active Drectory user. Note the use of the word "entity" - not person. With SQL Security, an entity is entirely identified by the username/password pair. If you embed a standard username/password in a connection string for an application that connects to SQL Server, then that application itself is the logged in entity. Alternatively, if you collect the username/password from the person using that application and put that the in the connection string, the individual user is the entity. On creation, you can define the "Default Database" for the login - this is the one they automatically access (so your don't need to specify it in your connection string.) DATABASE LEVEL =============== DATABASE ROLE Role = a definition a what entities with that role can do in the database.. There are a number of predefined roles, which are useful for things like "read only" users but you frequently need to create your own and assign rights to specific database objects for that role. i.e. allow read only on some tables and write access on others. You can also do things like prevent users from directly writing to any tables and only allow them to run specfic stored prcedures to update data. Once you have defined a new role within the database, you can assign that role to specific users within that database. You can think of a role as similar to a Group, it defines a set of rights and you can assign roles to users in the same way you assign "group membership" to Windows users. USER Once you have created a Login, you go the relevant database ( or databases) and assign rights to that login in that database. You do that by adding the Login as a User in that database. User = The definition of what a particular login entity can do in the database. To make a specific login a user in the database, you create a new user and select the existing Login name. Note that you can give that user the same name as the Login name or use a completely different one. Unless you have a good reason, I'd use the same as the login name. You then assign Databse Roles to the User to control what the user can do in the database. -- Stuart From gustav at cactus.dk Sun Feb 20 04:20:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Feb 2011 11:20:42 +0100 Subject: [dba-VB] Calculate age in C# using extensions Message-ID: Hi all Much to my surprise (and then not), the web is flooded with crap code for calculating age, so I had to write my own method to get it right. This allowed me to work with extensions which I have never done before. Pretty clever: http://msdn.microsoft.com/en-us/library/bb383977.aspx The simple method to find the age is to apply AddYears as shown below because this is the only native method to add years to the 29th of Feb. of leap years and obtain the correct result of the 28th of Feb. for common years. Some feel that 1th of Mar. is the birthday of leaplings but neither .Net nor any official rule supports this, nor does common logic explain why some born in February should have 75% of their birthdays in another month. Further, an Age method lends itself to be added as an extension to DateTime. By this you can obtain the age in the simplest possible way: int ageToday = birthDate.Age(); or: int ageSomeday = birthDate.Age(someDate); namespace DateTimeExtensionMethods { public static class DateTimeExtensions { /// /// Calculates the age in years of the current System.DateTime object today. /// /// The date of birth /// Age in years today. 0 is returned for a future date of birth. public static int Age(this DateTime birthDate) { return Age(birthDate, DateTime.Today); } /// /// Calculates the age in years of the current System.DateTime object on a later date. /// /// The date of birth /// The date on which to calculate the age. /// Age in years on a later day. 0 is returned as minimum. public static int Age(this DateTime birthDate, DateTime laterDate) { int age; age = laterDate.Year - birthDate.Year; if (age > 0) { age -= Convert.ToInt32(laterDate.Date < birthDate.Date.AddYears(age)); } else { age = 0; } return age; } } } Now, run this test: class Program { static void Main(string[] args) { RunTest(); } private static void RunTest() { DateTime birthDate = new DateTime(2000, 2, 28); DateTime laterDate = new DateTime(2011, 2, 27); string iso = "yyyy-MM-dd"; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Console.WriteLine("Birth date: " + birthDate.AddDays(i).ToString(iso) + " Later date: " + laterDate.AddDays(j).ToString(iso) + " Age: " + birthDate.AddDays(i).Age(laterDate.AddDays(j)).ToString()); } } Console.ReadKey(); } } The critical date example is this: Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Output: Birth date: 2000-02-28 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-28 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-28 Later date: 2011-03-01 Age: 11 Birth date: 2000-02-29 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2011-03-01 Age: 11 Birth date: 2000-03-01 Later date: 2011-02-27 Age: 10 Birth date: 2000-03-01 Later date: 2011-02-28 Age: 10 Birth date: 2000-03-01 Later date: 2011-03-01 Age: 11 And for the later date 2012-02-28: Birth date: 2000-02-28 Later date: 2012-02-28 Age: 12 Birth date: 2000-02-28 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-28 Later date: 2012-03-01 Age: 12 Birth date: 2000-02-29 Later date: 2012-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-29 Later date: 2012-03-01 Age: 12 Birth date: 2000-03-01 Later date: 2012-02-28 Age: 11 Birth date: 2000-03-01 Later date: 2012-02-29 Age: 11 Birth date: 2000-03-01 Later date: 2012-03-01 Age: 12 /gustav From stuart at lexacorp.com.pg Sun Feb 20 06:07:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:07:16 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Message-ID: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun Feb 20 06:16:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:16:06 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au>, <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <4D610606.5837.21896190@stuart.lexacorp.com.pg> Turns out that Maximo can run on DB2, Oracle or SQL Server. So if you can find out what platform it is running on, have appropriate login rights and you have access to appropriate ODBC drivers you may be able to do it. And to answer Gustav's point, if that is so, then you could write a PowerBasic native code DLL fairly easily to do it :-) -- Stuart On 20 Feb 2011 at 22:07, Stuart McLachlan wrote: > I'd say you are SOOL. > > Initially it didn't make sense needing a IP address *and* Hostname to > get an OS Username so I did a bit of googling. > > The key was .psdi > > It appears that psdi classes are implementations of an Interface to > the IBM's (originally PSDI's) java based Maximo Asset Management > System. > > I'd guess that the function is looking at the Maximo database which is > running on Hostname to find out if someone is logged into it from the > workstation at IP address and returniing the username if there is > someone logged in. > > Without knowing a lot more about the internals of Maximo, there is no > way to come up with an independent way of getting this information > > It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx > is logged into an SQL Server instance. You need to know how that > information is stored inside the the RDBMS, how to gain access to that > data and how to extract it. > > -- > Stuart > > On 19 Feb 2011 at 11:06, Michael Maddison wrote: > > > Hi Guys, > > > > > > > > Maybe someone can confirm or negate my thoughts on a client request > > I have received? > > > > > > > > Consider this code... > > > > import psdi.util.AXWin32Util; > > > > > > > > Call to DLL: > > > > > > > > if (this.debug) { > > > > System.out.println("Checking for user at ip " + address + > > " on > > " + host); > > > > } > > > > OSUsername = AXWin32Util.getOSUserName(address, > > host).trim(); > > > > > > > > > > Username is one value not delimeted list > > > > > > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > > > if (this.debug) { > > > > System.out.println("Found user " + OSUsername + " on " + > > host); > > > > } > > > > OSUsername = OSUsername.toUpperCase(); > > > > > > > > I think the above is Java? > > > > > > > > My client wants me to write a dll to replace the > > AXWin32Util.getOSUserName(address, host) method call. > > > > > > > > I don't have access to either the original source (dll) or the > > source to the calling app. Just the text above. > > > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > > getOSUserName method and register it on the target server what are > > the chances it will work? > > > > I suspect the answer is zero. > > > > > > > > Dotnet is not allowed. No installation is allowed. The server is Win > > 2003 sp2. > > > > > > > > Ideas anyone? > > > > > > > > Cheers > > > > > > > > Michael > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Sun Feb 20 16:10:28 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:10:28 +1100 Subject: [dba-VB] Unusual VB Request References: Message-ID: <99266C61B516644D9727F983FAFAB4650469F5@remote.ddisolutions.com.au> Hi Gustav, Yes, VB runtime has been tested and is ok. I'm at the point of testing a solution but I'm just being cautious as I don't understand what is going on here I guess. How does Java call a COM lib? Does it 'Import' it? What if 2 libs have the same name, what am I going to break? I'll let you know what happens. Cheers michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 19 February 2011 7:21 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Unusual VB Request Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at ddisolutions.com.au Sun Feb 20 16:17:02 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:17:02 +1100 Subject: [dba-VB] Unusual VB Request References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB4650469F6@remote.ddisolutions.com.au> Thanks Stuart, Yes, you are correct! It is a Maximo installation. The code I've been asked to replace is a 3rd party dll that Maximo calls to allow for single logins. So in effect I supply the login info to Maximo, the original code used NetWkstaUserEnum but I have changed it to WMI. WMI is superior in that it returns the actual logged in user. The API returned a collection of ALL logins. It appears that some change in environment caused the API to return its collection slightly differently so the single login started to fail. Cheers Michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, 20 February 2011 11:07 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unusual VB Request I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at mattysconsulting.com Fri Feb 25 15:51:08 2011 From: michael at mattysconsulting.com (Michael R Mattys) Date: Fri, 25 Feb 2011 16:51:08 -0500 Subject: [dba-VB] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <006201cbd536$1cfb4290$56f1c7b0$@mattysconsulting.com> Hello John, I am Michael's brother Eric. I think you only have to uncheck the "Use Trusted Connection" box in MS Access. That checkbox is for Windows Security. Your user is set up under SQL Security. Best Regards, Eric B. Mattys Mattys Consulting, LLC www.mattysconsulting.com (585) 300-0181 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 19, 2011 2:54 PM To: Sqlserver-Dba; VBA; Access Developers discussion and problem solving Subject: [dba-VB] I'm getting nowhere I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 10:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO/ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav From Gustav at cactus.dk Tue Feb 1 10:19:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:19:49 +0100 Subject: [dba-VB] ASP.NET app's web design Message-ID: Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 1 10:17:49 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 19:17:49 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <34C49EF441B84B85AA969D2E27EF4089@nant> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO /ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 11:55:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 18:55:45 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav From shamil at smsconsulting.spb.ru Tue Feb 1 11:56:25 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 20:56:25 +0300 Subject: [dba-VB] ASP.NET app's web design In-Reply-To: References: Message-ID: Yes, Gustav, I have just watched a demo video - that should be it + Expression Design. In fact Expression Blend seems to be a "must have" tool for Silverlight Development, as well as Expression BlendR 4 for Windows Phone (http://www.microsoft.com/expression/windowsphone/). SketchFlow - that's a useful UI workflow prototyping tool too. All in all - one have to get acquired Expression Studio 4 Ultimate (http://www.microsoft.com/expression/products/StudioUltimate_Overview.aspx) - and all and every web design area will be covered :) "Just" have additionally to "borrow" somewhere good graphical imagination and skills for simple and elegant Web 2.0 designs... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] ASP.NET app's web design Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 1 12:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 21:05:08 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <6164E2D6C1494AA694F3903264213FE4@nant> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 04:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 11:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav From shamil at smsconsulting.spb.ru Wed Feb 2 04:08:23 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 10:08:23 -0000 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <7790F520893B4C9F80E94E246DD885D4@nant> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-n eed-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great- windows-phone-7-device/6977 Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 2 ??????? 2011 ?. 13:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 09:08:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 16:08:35 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Thanks for those links, very useful. As stated, this is version 1.0 of WP7 and things will evolve for sure. Should I meet something new, I'll try to post back here. /gustav >>> shamil at smsconsulting.spb.ru 02-02-2010 11:08 >>> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-need-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great-windows-phone-7-device/6977 Thank you. -- Shamil From shamil at smsconsulting.spb.ru Wed Feb 2 09:27:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 15:27:00 -0000 Subject: [dba-VB] FW: FF 3.6.8 weird error message - sec_error_expired_certificate for https://docs.google.com/?tab=mo&authuser=0 Message-ID: <9AC80F19C46943F6833F02A751E0F82C@nant> Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 04:11:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 3 Feb 2011 13:11:58 +0300 Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 In-Reply-To: <9AC80F19C46943F6833F02A751E0F82C@nant> References: <9AC80F19C46943F6833F02A751E0F82C@nant> Message-ID: <2A303320157442568CFC9C987CD7BD17@nant> Hi All -- I'm sorry for that off-topic. The issue was solved yesterday: the day before yesterday it was a usual hardworking day/night and I needed to set system date to the last year to test one fixed feature of software under development. I have set that date - one year from now in the past. I have tested the feature, I have switched off PC and I have got asleep. The next day there was a lot of new work and I forgot to set system date back to the correct value. That incorrect system date caused FF to report that SSL certificate from googledocs is invalid... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 2 ??????? 2010 ?. 18:27 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 20:38:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 05:38:01 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> Message-ID: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From marklbreen at gmail.com Fri Feb 4 03:10:01 2011 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 4 Feb 2011 09:10:01 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I used > http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working after > all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and > download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power offered > by > the "Cloud" services. I'll be interested in how this comes out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search over > a > large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space on > GoogleDocs, put all the subject docs there, and then use Google API to > search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site as > front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I plan > to > implement a front-end to that application system as an WinForms application > coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Fri Feb 4 03:32:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:32:37 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From Gustav at cactus.dk Fri Feb 4 03:34:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:34:49 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Mark What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? >>> marklbreen at gmail.com 04-02-2011 10:10 >>> Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: <54C40F764B3B4CBB812589E1808149DD@nant><8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1><1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 4 ??????? 2011 ?. 12:10 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I > used http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working > after all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new > RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one > format, and download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power > offered by the "Cloud" services. I'll be interested in how this comes > out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search > over a large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space > on GoogleDocs, put all the subject docs there, and then use Google API > to search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site > as front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I > plan to implement a front-end to that application system as an > WinForms application coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <96488F7F3F374250A5AA0D42D002461F@nant> Hi Gustav, Search itself is as fast as Google is :) Then it takes some time to get info on docs. If your search filter results in a few records returned then the search is almost instant (I have 1000+ test docs in my GoogleDocs test site): I have slightly corrected code to return timestamps - here are the stats: 2 docs returned, batch size = 10 ======================== 04/02/2011 13:18:23: Logging in... 04/02/2011 13:18:23: Successfully logged in 04/02/2011 13:18:23: Gettings docs... 04/02/2011 13:18:23: Batch size = 10, getting first docs' batch... 04/02/2011 13:18:24: All 2 docs collected another filtering criteria 882 docs returned, batch size = 100 ============================================ 04/02/2011 13:08:41: Logging in... 04/02/2011 13:08:41: Successfully logged in 04/02/2011 13:08:41: Gettings docs... 04/02/2011 13:08:41: Batch size = 100, getting first docs' batch... 04/02/2011 13:08:44: 100 docs processed 04/02/2011 13:08:46: 200 docs processed 04/02/2011 13:08:47: 300 docs processed 04/02/2011 13:08:49: 400 docs processed 04/02/2011 13:08:50: 500 docs processed 04/02/2011 13:08:51: 600 docs processed 04/02/2011 13:08:53: 700 docs processed 04/02/2011 13:08:54: 800 docs processed 04/02/2011 13:08:55: All 882 docs collected same as above filtering criteria 882 docs returned, batch size = 500 ================================================= 04/02/2011 13:10:05: Logging in... 04/02/2011 13:10:05: Successfully logged in 04/02/2011 13:10:05: Gettings docs... 04/02/2011 13:10:05: Batch size = 500, getting first docs' batch... 04/02/2011 13:10:14: 500 docs processed 04/02/2011 13:10:19: All 882 docs collected BTW, I have used just a subset of Google.GData classlibs. Classlibs used: Google.GData.AccessControl.dll Google.GData.Client.dll Google.GData.Extensions.dll Google.GData.Documents.dll The full list of samples Google.GData provides is: analytics Analytics_AccountFeed_Sample Analytics_DataFeed_Sample appsforyourdomain blogger calendar codesearch contentforshopping_sample +DocListExporter +DocListUploader execrequest gapps_calendar_resource_sample gapps_google_mail_settings_sample gapps_multidomain_sample gapps_orgmanagement_sample gbase health OAuth PhotoBrowser spreadsheets YouTubeNotifier YouTubeSample YouTubeSample.sln YouTubeUploader I used just two of provided samples for R&D and making my solution. As one can see based on samples' titles almost everything can be queryed/processed on google similar way.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 12:33 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); <<>> From Gustav at cactus.dk Fri Feb 4 05:13:16 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 12:13:16 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil Thanks for the link, code, and comments - and the timings in the other post. For an upcoming project I will need some text search options so I'm collecting bits and pieces ... /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 11:34 >>> Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <88C8330964FC47F7A753561E66B42346@nant> References: <88C8330964FC47F7A753561E66B42346@nant> Message-ID: <4B0487F0346243328CEE785D738A4915@nant> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ??????? 2010 ?. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln ----------- From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Mercurial vs. SVN In-Reply-To: References: Message-ID: <5C25784986154BE892C6C8CF91EA0716@nant> Hi Gustav -- I have found solution - that was easy but I didn't know about it/didn't find it somehow - just add global-ignores to SVN setup dir config file at C:\Documents and Settings\{username}\Application Data\Subversion: global-ignores = *.exe.config *.exe.manifest *.xbap *. i *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user *.g.vb *.g.cs *.baml *.GenerateResource.Cache *.cache Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 17:48 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil I don't know about these details of TortoiseSVN - I just used it for the Northwind project and never had any trouble - and stayed off the command line. Thanks for the tip (for Mercurial hosting) at bitbucket. However, I think I stay with TortoiseSVN and/or VisualSVN as they have worked fine for me. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 12:48 >>> Hi Gustav -- Thank you for your note. I should probably install newer version. But the one I have does support the feature of ignoring/making local individual files (filenames patterns) and *whole* folders. That is useful but that's not what I'm looking for/what exists in Mercurial it has more powerful feature to keep ignore list. BTW, SVN does inform that it added file/folder to the ignore list - is it possible to edit that list manually? If yes, where it's located? - I can find it - maybe you just know it from memory/used it: in Mercurial I usually just have a generic ignore list, which I'm putting in every new repository I create and then I'm adding specific files/filenames templates to that ignore list. Gustav, it's not a big issue - I can find my way using SVN via command lines - mainly wondering if I can skip making a batch which will use command line interface of SVN to "clean-up" local repository from some files/folders before committing it... BTW, https://bitbucket.org/ has an option of free unlimited code repositories up to 5 users... I haven't used it yet but I do plan to put all my important source code mirrored there in private code repository... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 11:43 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil That's a very old version, current version is 1.6.something. The trick is the Shift key. From the help file: Hold the Shift key to get the extended context menu and select TortoiseSVN and Delete (keep local) to mark the file/folder for deletion from the repository without losing the local copy. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 01:23 >>> Hi All -- Does SVN support "ignore list" as Mercurial does? (I wanted to exclude binaries and some other files from add/commit batch without going through all of added/updated items manually every time on commit). I do use Tortoise SVN v.1.4.5, and I do not see "ignore list feature" - does Tortoise SVN 1.4.7 support this feature? Or can I define ignore list somehow else when working with SVN? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 4 10:13:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 17:13:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln From shamil at smsconsulting.spb.ru Fri Feb 4 14:33:41 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 23:33:41 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: References: Message-ID: <47751E10AACF40DE90041549131EA7FD@nant> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Feb 5 04:43:02 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 5 Feb 2011 10:43:02 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search tables, > > you may find them interesting also. I was surprised to see such "heavy > lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at mattysconsulting.com Sun Feb 6 12:04:50 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 13:04:50 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 13:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 6 Feb 2011 22:05:08 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 13:59:53 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 14:59:53 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 15:05:03 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 00:05:03 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant> <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 15:37:39 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 16:37:39 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 19:44:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 04:44:28 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Message-ID: <48417D4A145C456FB00ECEA066160A7D@nant> Hi Mike -- OK, so you found that ADO.NET EF (.NEt Framework 4.0?) isn't stable/efficient enough for your custom applications? BTW, I have got WPF browser application running here from within VS2010 when security is set to full trust and XBAp's application app.config has connectionstring properly set. Therefore it should be possible in principle to somehow (how? any working hints are very welcome!) configure XBAP application security (manifest) to get that app delivered from Internet IOW: - WinForm application built from a set of WinForms User Controls can be quickly converted into an Internet WPF Browser Application (XBAP) without almost any additional programming. See P.P.S of http://northwind.codeplex.com/documentation Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 7 ??????? 2011 ?. 0:38 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 02:17:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 09:17:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] ASP.NET e-commerce solutions Message-ID: <89A1F89F55234B77A23FB3C8028409AE@nant> Hi All -- I'm looking for ASP.NET e-commerce solutions but not to select one (I have got one selected already) but to make the "wish-list" set of features to extend my selected solution, and here is an interesting solution: http://www.americangolf.co.uk/golf-shoes/mens-golf-shoes/footjoy-tcx-golf-sh oes/ with the feature to zoom parts of a consumer good pictures on "mouse-overing" that parts: http://smsconsulting.spb.ru/test/footjoy1.jpg Do you know how this is done? AJAX - yes, it's used here of course, but maybe you have seen somewhere some ready to use samples how to implement this feature? jQuery? ASP.NET AJAX Control Toolkit? ...? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 11:18 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 06:07:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:07:31 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Mon Feb 7 06:11:21 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:11:21 +0100 Subject: [dba-VB] Windows Phone 7 development Message-ID: Hi all A new emulator and tools are out - and _lots_ of info at The Windows Phone Developer Blog: http://windowsteamblog.com/windows_phone/b/wpdev/ /gustav From jwcolby at colbyconsulting.com Mon Feb 7 08:19:37 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 07 Feb 2011 09:19:37 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <4D4FFF79.6090105@colbyconsulting.com> Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, Arthur > in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful stuff in > this project! > > I currently wanted to solve the issue with porting .NET WinForms application > to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I > have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly > ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above roadmap > plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip archive > or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming issues.'; > 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts from > Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive R&D > work with little time to think through while coding :) But feel free to > comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get downloaded 19 > times already and I have got informed privately a couple of days ago just > three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET > project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain > old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Feb 7 09:23:09 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 18:23:09 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <4D4FFF79.6090105@colbyconsulting.com> References: <47751E10AACF40DE90041549131EA7FD@nant> <4D4FFF79.6090105@colbyconsulting.com> Message-ID: <04E9C6AB518C48BD8F507B368436724D@nant> Hi John -- Yes, a WinForms compound control placed into WPF's WindowsFormsHost control with the latter placed into WPF Browser Application's (XBAP) Page http://www.google.ru/search?hl=ru&biw=1920&bih=919&q=Hosting+Windows+Forms+C ontrols+in+WPF+WindowsFormsHost&aq=f&aqi=&aql=&oq= can be hosted in a browser. That seems to be the shortest way to get a browser based application having a desktop (WinForms) one. And with current mainsteram trend of making everything looking as a "Pinned Web Site" that feature look at least attractive... <<< What problem does that solve? >>> Getting Web Browser based app ASAP... <<< What problems does that create? >>> Desktop application do usually use local files etc. - XBAP application can run in fulltrust mode and have access to local files (to test) but that looks like 'Good Old ActiveX' controls therefore once XBAp port is done be prepared to do more work of makeing your app running OK in a "sandbox" having all resources handled over Internet... There could/should be other issues I'm not aware about... <<< I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. >>> Well, that's your opinion. I have an opposite one. Let's keep that different points of view our of this discussion thread? <<< I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. >>> That's a temporary issue I suppose. I remeber "clunky" MS Access 1.1/2.0 applications we all were developing quite some time ago.. <<< I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. >>> But you can well develop desktop (WinForms/WPF/Silverlight 4(?)) applications communicating with Internet Web services... <<< It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. >>> When talking to web services it doesn't matter that much where/what way client part (FE) is set/deployed... The browser/smartphones based apps are definitely the future IMO. Are desktop applications dying? I'm not stating that here - let's just discuss different technologies and the ways to apply them to this or that use case/environment/deployment scenario/... but not which one is better and why - all are good when used properly :) And "using properly" - that depends on one own's experiences, tastes and preferences or on what technlogy a customer is requesting... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 7 ??????? 2011 ?. 17:20 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, > Arthur in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful > stuff in this project! > > I currently wanted to solve the issue with porting .NET WinForms > application to the Web the shortest possible(?) way (WinForms Controls > -> XBAP) but I have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting > WinForms UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services > (formerly ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) > -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above > roadmap plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip > archive or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming > issues.'; 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts > from Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive > R&D work with little time to think through while coding :) But feel > free to comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get > downloaded 19 times already and I have got informed privately a couple > of days ago just three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true > TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - > ASP.NET project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10 > .0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using > "plain old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 8 14:54:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 8 Feb 2011 23:54:00 +0300 Subject: [dba-VB] Blocking IE of opening new window when working with Google Images Message-ID: <788DF9F3A5BA4F34B0A86F46D890DBDC@nant> Hi All -- I have the following sample Google Images query URL: http://www.google.com/images?q=Babolat+Bandana&hl=en&sa=G&gbv=2&as_st=y&tbs= isch:1,isz:ex,iszw:400,iszh:400,itp:photo,ift:gif (watch line wraps) that returns 7 result pictures. I wanted when clicked on any image to *not* have IE opening that pictures in a new browser window but to have image opened in the same window. It works that way on one PC but it doesn't work on the other. I have tried to tune IE options, including advanced ones but I can't get IE working as needed i.e. without opening image in a new window. Do you know how to make "the trick"? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 8 19:08:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 04:08:07 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- Thank you for your notes. How to make DNN (re-)indexing a page? There should be special DNN page options to include/exclude a certain page from full text indexing? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 5 ??????? 2011 ?. 13:43 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search > tables, > > you may find them interesting also. I was surprised to see such > "heavy lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 04:41:30 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 13:41:30 +0300 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery Message-ID: <34B330B354244ABC876181A0DFCC64DE@nant> Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil From marklbreen at gmail.com Wed Feb 9 04:51:36 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 10:51:36 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain page > from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they seem to > create a record for each word in each item and link them back through > relational database model. I described it as heavy lifting, as I would > have > assumed the more abstract ways to achieve this are available. I never used > SQL Server Full Text Search but I suppose that is on option. Perhaps the > DNN guys can demonstrate their heavy lifting is quick, fast and efficient, > but I was rather surprised to see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is rather > narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Wed Feb 9 05:55:55 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 14:55:55 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- I have checked my test web site - full text indexing seems to be done not instantly for large texts of HTML modules but it's somehow delayed: it works now for the html module, which it didn't work for when I first saved that module's large text. Yes, I will try to ask about HTML modules' text indexing on DNN... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 13:52 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain > page from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they > seem to create a record for each word in each item and link them back > through relational database model. I described it as heavy lifting, > as I would have assumed the more abstract ways to achieve this are > available. I never used SQL Server Full Text Search but I suppose > that is on option. Perhaps the DNN guys can demonstrate their heavy > lifting is quick, fast and efficient, but I was rather surprised to > see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is > rather narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:21:56 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:21:56 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <416817D4C6014795BA3FA3AE4CA8B79D@nant> Hi Gustav -- Yes, in closed environment but Northwind.NET is an open source - it could be public environment I mean... OK, I will try to get a free public certificate from http://www.cacert.org/ and if I will get it then I will try to use it to sign Northiwind.NET executables I'm releasing from time to time... BTW your below message somehow got filtered out by SPAM filter based on its text I suppose. I'd be interesting to know what "suspicious words" SPAM filter (standard MS Outloook one) found in that message text. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:31:33 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:31:33 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <674A5DCEB8FC47A38C06738D9ABA3FA7@nant> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Wed Feb 9 06:47:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Feb 2011 13:47:26 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Wed Feb 9 10:04:48 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 16:04:48 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done not > instantly for large texts of HTML modules but it's somehow delayed: it > works > now for the html module, which it didn't work for when I first saved that > module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the > DNN forums are very friendly and helpful - I think I always get an answer > withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the list of > indexes but I would presume that the indexer needs to know when module is > "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT > NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, > [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, > [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a certain > > page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them back > > through relational database model. I described it as heavy lifting, > > as I would have assumed the more abstract ways to achieve this are > > available. I never used SQL Server Full Text Search but I suppose > > that is on option. Perhaps the DNN guys can demonstrate their heavy > > lifting is quick, fast and efficient, but I was rather surprised to > > see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dbdoug at gmail.com Wed Feb 9 10:27:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 9 Feb 2011 08:27:32 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: Thanks, Shamil - looks interesting. I appreciate your sharing this kind of information. Doug On Wed, Feb 9, 2011 at 2:41 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > FYI: "What ASP.NET developers should know about jQuery" > > http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Feb 9 12:36:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Feb 2011 10:36:21 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <0CF8A6D59CAF4D05A490EE12CC166F9D@creativesystemdesigns.com> Shamil: Right-on. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 2:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, that's a correct assumption. :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 9 ??????? 2011 ?. 15:47 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil <<< snip>>> From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <5023DBCEB51F483AAD035CD53F0D50C0@nant> Hi Mark -- Yes, I did get it - that you're not suggesting to use DNN native full text indexing instead of GooleDocs - but I do need both in a solution I'm working on :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 19:05 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done > not instantly for large texts of HTML modules but it's somehow > delayed: it works now for the html module, which it didn't work for > when I first saved that module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the DNN forums are very friendly and helpful - I think I always > get an answer withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the > list of indexes but I would presume that the indexer needs to know > when module is "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) > NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] > NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, > [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a > > certain page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them > > back through relational database model. I described it as heavy > > lifting, as I would have assumed the more abstract ways to achieve > > this are available. I never used SQL Server Full Text Search but I > > suppose that is on option. Perhaps the DNN guys can demonstrate > > their heavy lifting is quick, fast and efficient, but I was rather > > surprised to see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart > > > or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Feb 11 05:48:23 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 11 Feb 2011 06:48:23 -0500 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <348EDCB3DAE3487E9D08DABA379B5C02@Gateway> This is good. See the Labs page also. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 5:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Feb 13 16:51:19 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Feb 2011 23:51:19 +0100 Subject: [dba-VB] Localizing Silverlight Business Application (solved) Message-ID: Hi all Even by following the guidelines in the previous posted lings, one item in the default project will still miss dynamic localization: the tiny welcome message displayed after a successful login. This is by default loaded at launch with the class LoginStatus as a localized format string for the displayed username; however, it is not changed if the culture is changed dynamically. For this to happen, you will need some modifications to LoginStatus.xaml.cs like this: public LoginStatus() { this.InitializeComponent(); this.BindWelcomeText(); this.authService.LoggedIn += this.Authentication_LoggedIn; this.authService.LoggedOut += this.Authentication_LoggedOut; this.UpdateLoginState(); } /// /// Updates the bound welcome message to that of the current culture selection. /// public void ApplyCurrentCulture() { this.BindWelcomeText(); } private void BindWelcomeText() { this.welcomeText.SetBinding(TextBlock.TextProperty, WebContext.Current.CreateOneWayBinding("User.DisplayName", new StringFormatValueConverter(ApplicationStrings.WelcomeMessage))); } The modification adds the method ApplyCurrentCulture which you can call from MainPage.xaml.cs by like this: LoginStatus _loginStatus = new LoginStatus(); /// /// Creates a new instance. /// public MainPage() { InitializeComponent(); // this.loginContainer.Child = new LoginStatus(); this.loginContainer.Child = _loginStatus; this.languageSelect.SelectionChanged +=new SelectionChangedEventHandler(languageSelect_SelectionChanged); } void languageSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { string culture = ((ComboBoxItem)((ComboBox)sender).SelectedItem).Tag.ToString(); Thread currentThread = Thread.CurrentThread; currentThread.CurrentCulture = new CultureInfo(culture); currentThread.CurrentUICulture = new CultureInfo(culture); ((ResourceWrapper)App.Current.Resources["ResourceWrapper"]).ApplicationStrings = new ApplicationStrings(); _loginStatus.ApplyCurrentCulture(); } The original line initiating LoginStatus is commented out. /gustav >>> gustav at cactus.dk 30-01-2011 16:59 >>> Hi all I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application. But by combining info from these links I finally succeeded: http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. This way all text for labels, error messages, tool tips, etc. are kept in separate resx files. Further, select a language in the combobox and the language changes instantaneously. Great! /gustav From jwcolby at colbyconsulting.com Mon Feb 14 19:24:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Feb 2011 20:24:18 -0500 Subject: [dba-VB] c# - close in any particular order? Message-ID: <4D59D5C2.3080909@colbyconsulting.com> I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com From mikedorism at verizon.net Wed Feb 16 07:06:33 2011 From: mikedorism at verizon.net (Doris Manning) Date: Wed, 16 Feb 2011 08:06:33 -0500 Subject: [dba-VB] c# - close in any particular order? In-Reply-To: <4D59D5C2.3080909@colbyconsulting.com> References: <4D59D5C2.3080909@colbyconsulting.com> Message-ID: <40D7D6D6846944878E1717620F7C35F1@hargrove.internal> I usually close in the following order: reader, connection, and then command. Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 14, 2011 8:24 PM To: VBA Subject: [dba-VB] c# - close in any particular order? I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 10:30:11 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 17:30:11 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From jwcolby at colbyconsulting.com Thu Feb 17 10:48:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Feb 2011 11:48:08 -0500 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <4D5D5148.9040603@colbyconsulting.com> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Feb 17 11:04:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 18:04:37 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi John Yes, it works fine for me, both on XP and Vista. Plain install, nothing smart. /gustav >>> jwcolby at colbyconsulting.com 17-02-2011 17:48:08 >>> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav From dw-murphy at cox.net Thu Feb 17 11:28:56 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 09:28:56 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <17942190E9764C2683F8F0EBD35F159A@murphy3234aaf1> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 12:08:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 19:08:42 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From dw-murphy at cox.net Thu Feb 17 12:49:44 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 10:49:44 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <8E8FD1D34E9E4F15A1720744B70F649F@murphy3234aaf1> Hi Gustav, I just want to consume the REST services from the client end so thought the approach in the Constant Contact download was of interest. I'll be following the series you provided the link for. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 10:09 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] REST and Visual Studio 2010 Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2 e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp- services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Fri Feb 18 18:06:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sat, 19 Feb 2011 11:06:36 +1100 Subject: [dba-VB] Unusual VB Request Message-ID: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From gustav at cactus.dk Sat Feb 19 02:20:54 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Feb 2011 09:20:54 +0100 Subject: [dba-VB] Unusual VB Request Message-ID: Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From jwcolby at colbyconsulting.com Sat Feb 19 13:53:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 14:53:30 -0500 Subject: [dba-VB] I'm getting nowhere Message-ID: <4D601FBA.5020302@colbyconsulting.com> I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Feb 19 18:18:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 19:18:04 -0500 Subject: [dba-VB] [dba-SQLServer] I'm getting nowhere In-Reply-To: References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605DBC.3080006@colbyconsulting.com> > The hierarchy goes like this: > > Roles > -- Users But why does the user have no (apparent) password but the role does? I found a vague (to me) reference to schemas and assigning schemas to users... Now that makes sense. I assume in all this that if a user goes away I just delete the user? I don't see any way to enable / disable the user. This whole thing just seems real hokey. John W. Colby www.ColbyConsulting.com On 2/19/2011 4:38 PM, Arthur Fuller wrote: > The hierarchy goes like this: > > Roles > -- Users > > What is not obvious from the docs is that you can add a role to a role. The > reason you would want to do this is to "include" lower-level capabilities > within a higher-level group (without bothering to have to re-define these). > > You can grant select, update, delete and inserts on any combination of > tables, views and sprocs. The approach I typically use is to deny table > access to everyone but me, and then to grant various levels of access to > views and sprocs to various roles. That way, no one but you can directly hit > a table. > > So, your bottom level might define Select capability and nothing else (to > one or more views and sprocs). The next level up might permit Updates, and > the next Inserts and Deletes. Actually I mean granting this privileges on > the sprocs/views created for those purposes. > > As you move up the hierarchy, you can "stack" the abilities (i.e. add the > lowest level role to the next up, and so on, until you reach the top, where > the only member of that role is you. > > HTH, and if not feel free to ask. > Arthur > > On Sat, Feb 19, 2011 at 2:53 PM, jwcolbywrote: > >> I am getting nowhere on understanding SQL Server security. Microsoft >> provides us with SQL Server Express which implies that joe blow (me) is >> going to install / maintain it. >> >> I am not a SQL Server Admin and I cannot afford to spend the time to be >> one. >> >> Google is my friend. BOL is not. >> >> Except that Google is taking me to these places where I am expected to >> already know how this stuff works, and then wants to make me a *better* >> administrator. Which of course is useless because I am not an administrator >> at all. >> >> OTOH I am not stupid. If I could find something that started at the "This >> is SQL Server security" basics I could learn this stuff. Before anyone says >> "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it >> simply sucks for my level of expertise (my opinion of course). If that is >> your advice, simply stay out of this thread. Thanks! >> >> So... my needs: >> >> I need to set up several SQL Server databases for use by different, very >> small groups (5-20 people) of entirely unrelated people. What I mean by >> that is that each DB is for a different "company" if you will. I need to >> access these databases from C#. I understand the group / user paradigm. I >> would like to create groups and users. Specific groups can do specific >> things in the database, some can see data but not modify it. Some can add >> records in specific tables but not others. Some can run reports (view). >> >> I do *NOT* want to create windows level groups and users if I can avoid it. >> These are people that I do not necessarily know and I do not want to give >> them any rights at the machine level, and I prefer to not maintain such >> lists at the machine level. >> >> Unfortunately SQL Server does not seem to model Groups / users. I go into >> SQL Server and see a security tab. It has "logins". Is that a user? A >> specific ability to log in with a password? To what? The server itself? A >> specific database? Groups of databases? >> >> I see "roles" but these appear to be aimed at the server and none of these >> people are going to be doing anything at the server level. >> >> Can I safely ignore everything under the server security tab? >> >> I go to a database and I see a security tab. It has users and roles. >> Hmm... better (I would think). I would like to add users "under" the >> specific database that the user will access. >> >> So I try to add a new user but I do not see anywhere to require a password. >> Hmmm... >> >> I go into roles and I do not see any predefined role that looks like it >> would be useful to me in meeting my needs described above. If I look at >> "add new role" it asks for a password. The User / group model does nto >> assign passwords at the group level which implies that a role is not a group >> at the user / group paradigm. >> >> Is it just me, or is SQL Server security just... different? Am I correct >> in assuming that it doesn't implement a user / group paradigm? >> >> And more importantly, where can I go to get a plain, simple, English >> description of how this mess works? >> >> And please excuse the tone that results from my frustration. The only help >> documents that I have found (and I have extensive lists of bookmarked web >> pages) so far assume that I am an administrator. I am not, and cannot >> afford to become one. And yet MS pushes SQL Express as if I (non-admin) >> should be able to use this as a data store pool. >> >> Help! >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Feb 19 18:22:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 10:22:49 +1000 Subject: [dba-VB] [AccessD] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605ED9.11823.1EFC5774@stuart.lexacorp.com.pg> On 19 Feb 2011 at 14:53, jwcolby wrote: > If I could find something that started at the > "This is SQL Server security" basics I could learn this stuff. Maybe this will help. (This is "my" understanding of it - corrections from others welcome .) There are two levels of "Security" in SQL Server: 1. SQL Server Instance (Server name) level 2. Database level At the Instance Level, you have: 1. Server Roles 2. Logins At the Database level you have: 1. Database Roles 2. Users INSTANCE LEVEL ============== SERVER ROLES These are generic sets of "rights" which apply to the entire Instance. "Server role is used to grant server-wide privileges to a user" . Generally, use Public for all logins unless you need admin rights on the server. LOGIN To allow anyone to access SQL Server, you need to create a login at instance level for them and then define what that login can do in terms of individual databases Login = an entity that can log in to SQL Server. In your situation, you are using SQL Secruity so a Login needs a Username and Password. If using Windows/Mixed security, it could also be an Active Drectory user. Note the use of the word "entity" - not person. With SQL Security, an entity is entirely identified by the username/password pair. If you embed a standard username/password in a connection string for an application that connects to SQL Server, then that application itself is the logged in entity. Alternatively, if you collect the username/password from the person using that application and put that the in the connection string, the individual user is the entity. On creation, you can define the "Default Database" for the login - this is the one they automatically access (so your don't need to specify it in your connection string.) DATABASE LEVEL =============== DATABASE ROLE Role = a definition a what entities with that role can do in the database.. There are a number of predefined roles, which are useful for things like "read only" users but you frequently need to create your own and assign rights to specific database objects for that role. i.e. allow read only on some tables and write access on others. You can also do things like prevent users from directly writing to any tables and only allow them to run specfic stored prcedures to update data. Once you have defined a new role within the database, you can assign that role to specific users within that database. You can think of a role as similar to a Group, it defines a set of rights and you can assign roles to users in the same way you assign "group membership" to Windows users. USER Once you have created a Login, you go the relevant database ( or databases) and assign rights to that login in that database. You do that by adding the Login as a User in that database. User = The definition of what a particular login entity can do in the database. To make a specific login a user in the database, you create a new user and select the existing Login name. Note that you can give that user the same name as the Login name or use a completely different one. Unless you have a good reason, I'd use the same as the login name. You then assign Databse Roles to the User to control what the user can do in the database. -- Stuart From gustav at cactus.dk Sun Feb 20 04:20:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Feb 2011 11:20:42 +0100 Subject: [dba-VB] Calculate age in C# using extensions Message-ID: Hi all Much to my surprise (and then not), the web is flooded with crap code for calculating age, so I had to write my own method to get it right. This allowed me to work with extensions which I have never done before. Pretty clever: http://msdn.microsoft.com/en-us/library/bb383977.aspx The simple method to find the age is to apply AddYears as shown below because this is the only native method to add years to the 29th of Feb. of leap years and obtain the correct result of the 28th of Feb. for common years. Some feel that 1th of Mar. is the birthday of leaplings but neither .Net nor any official rule supports this, nor does common logic explain why some born in February should have 75% of their birthdays in another month. Further, an Age method lends itself to be added as an extension to DateTime. By this you can obtain the age in the simplest possible way: int ageToday = birthDate.Age(); or: int ageSomeday = birthDate.Age(someDate); namespace DateTimeExtensionMethods { public static class DateTimeExtensions { /// /// Calculates the age in years of the current System.DateTime object today. /// /// The date of birth /// Age in years today. 0 is returned for a future date of birth. public static int Age(this DateTime birthDate) { return Age(birthDate, DateTime.Today); } /// /// Calculates the age in years of the current System.DateTime object on a later date. /// /// The date of birth /// The date on which to calculate the age. /// Age in years on a later day. 0 is returned as minimum. public static int Age(this DateTime birthDate, DateTime laterDate) { int age; age = laterDate.Year - birthDate.Year; if (age > 0) { age -= Convert.ToInt32(laterDate.Date < birthDate.Date.AddYears(age)); } else { age = 0; } return age; } } } Now, run this test: class Program { static void Main(string[] args) { RunTest(); } private static void RunTest() { DateTime birthDate = new DateTime(2000, 2, 28); DateTime laterDate = new DateTime(2011, 2, 27); string iso = "yyyy-MM-dd"; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Console.WriteLine("Birth date: " + birthDate.AddDays(i).ToString(iso) + " Later date: " + laterDate.AddDays(j).ToString(iso) + " Age: " + birthDate.AddDays(i).Age(laterDate.AddDays(j)).ToString()); } } Console.ReadKey(); } } The critical date example is this: Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Output: Birth date: 2000-02-28 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-28 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-28 Later date: 2011-03-01 Age: 11 Birth date: 2000-02-29 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2011-03-01 Age: 11 Birth date: 2000-03-01 Later date: 2011-02-27 Age: 10 Birth date: 2000-03-01 Later date: 2011-02-28 Age: 10 Birth date: 2000-03-01 Later date: 2011-03-01 Age: 11 And for the later date 2012-02-28: Birth date: 2000-02-28 Later date: 2012-02-28 Age: 12 Birth date: 2000-02-28 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-28 Later date: 2012-03-01 Age: 12 Birth date: 2000-02-29 Later date: 2012-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-29 Later date: 2012-03-01 Age: 12 Birth date: 2000-03-01 Later date: 2012-02-28 Age: 11 Birth date: 2000-03-01 Later date: 2012-02-29 Age: 11 Birth date: 2000-03-01 Later date: 2012-03-01 Age: 12 /gustav From stuart at lexacorp.com.pg Sun Feb 20 06:07:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:07:16 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Message-ID: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun Feb 20 06:16:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:16:06 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au>, <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <4D610606.5837.21896190@stuart.lexacorp.com.pg> Turns out that Maximo can run on DB2, Oracle or SQL Server. So if you can find out what platform it is running on, have appropriate login rights and you have access to appropriate ODBC drivers you may be able to do it. And to answer Gustav's point, if that is so, then you could write a PowerBasic native code DLL fairly easily to do it :-) -- Stuart On 20 Feb 2011 at 22:07, Stuart McLachlan wrote: > I'd say you are SOOL. > > Initially it didn't make sense needing a IP address *and* Hostname to > get an OS Username so I did a bit of googling. > > The key was .psdi > > It appears that psdi classes are implementations of an Interface to > the IBM's (originally PSDI's) java based Maximo Asset Management > System. > > I'd guess that the function is looking at the Maximo database which is > running on Hostname to find out if someone is logged into it from the > workstation at IP address and returniing the username if there is > someone logged in. > > Without knowing a lot more about the internals of Maximo, there is no > way to come up with an independent way of getting this information > > It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx > is logged into an SQL Server instance. You need to know how that > information is stored inside the the RDBMS, how to gain access to that > data and how to extract it. > > -- > Stuart > > On 19 Feb 2011 at 11:06, Michael Maddison wrote: > > > Hi Guys, > > > > > > > > Maybe someone can confirm or negate my thoughts on a client request > > I have received? > > > > > > > > Consider this code... > > > > import psdi.util.AXWin32Util; > > > > > > > > Call to DLL: > > > > > > > > if (this.debug) { > > > > System.out.println("Checking for user at ip " + address + > > " on > > " + host); > > > > } > > > > OSUsername = AXWin32Util.getOSUserName(address, > > host).trim(); > > > > > > > > > > Username is one value not delimeted list > > > > > > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > > > if (this.debug) { > > > > System.out.println("Found user " + OSUsername + " on " + > > host); > > > > } > > > > OSUsername = OSUsername.toUpperCase(); > > > > > > > > I think the above is Java? > > > > > > > > My client wants me to write a dll to replace the > > AXWin32Util.getOSUserName(address, host) method call. > > > > > > > > I don't have access to either the original source (dll) or the > > source to the calling app. Just the text above. > > > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > > getOSUserName method and register it on the target server what are > > the chances it will work? > > > > I suspect the answer is zero. > > > > > > > > Dotnet is not allowed. No installation is allowed. The server is Win > > 2003 sp2. > > > > > > > > Ideas anyone? > > > > > > > > Cheers > > > > > > > > Michael > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Sun Feb 20 16:10:28 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:10:28 +1100 Subject: [dba-VB] Unusual VB Request References: Message-ID: <99266C61B516644D9727F983FAFAB4650469F5@remote.ddisolutions.com.au> Hi Gustav, Yes, VB runtime has been tested and is ok. I'm at the point of testing a solution but I'm just being cautious as I don't understand what is going on here I guess. How does Java call a COM lib? Does it 'Import' it? What if 2 libs have the same name, what am I going to break? I'll let you know what happens. Cheers michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 19 February 2011 7:21 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Unusual VB Request Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at ddisolutions.com.au Sun Feb 20 16:17:02 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:17:02 +1100 Subject: [dba-VB] Unusual VB Request References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB4650469F6@remote.ddisolutions.com.au> Thanks Stuart, Yes, you are correct! It is a Maximo installation. The code I've been asked to replace is a 3rd party dll that Maximo calls to allow for single logins. So in effect I supply the login info to Maximo, the original code used NetWkstaUserEnum but I have changed it to WMI. WMI is superior in that it returns the actual logged in user. The API returned a collection of ALL logins. It appears that some change in environment caused the API to return its collection slightly differently so the single login started to fail. Cheers Michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, 20 February 2011 11:07 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unusual VB Request I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at mattysconsulting.com Fri Feb 25 15:51:08 2011 From: michael at mattysconsulting.com (Michael R Mattys) Date: Fri, 25 Feb 2011 16:51:08 -0500 Subject: [dba-VB] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <006201cbd536$1cfb4290$56f1c7b0$@mattysconsulting.com> Hello John, I am Michael's brother Eric. I think you only have to uncheck the "Use Trusted Connection" box in MS Access. That checkbox is for Windows Security. Your user is set up under SQL Security. Best Regards, Eric B. Mattys Mattys Consulting, LLC www.mattysconsulting.com (585) 300-0181 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 19, 2011 2:54 PM To: Sqlserver-Dba; VBA; Access Developers discussion and problem solving Subject: [dba-VB] I'm getting nowhere I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 10:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO/ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav From Gustav at cactus.dk Tue Feb 1 10:19:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:19:49 +0100 Subject: [dba-VB] ASP.NET app's web design Message-ID: Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 1 10:17:49 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 19:17:49 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <34C49EF441B84B85AA969D2E27EF4089@nant> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO /ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 11:55:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 18:55:45 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav From shamil at smsconsulting.spb.ru Tue Feb 1 11:56:25 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 20:56:25 +0300 Subject: [dba-VB] ASP.NET app's web design In-Reply-To: References: Message-ID: Yes, Gustav, I have just watched a demo video - that should be it + Expression Design. In fact Expression Blend seems to be a "must have" tool for Silverlight Development, as well as Expression BlendR 4 for Windows Phone (http://www.microsoft.com/expression/windowsphone/). SketchFlow - that's a useful UI workflow prototyping tool too. All in all - one have to get acquired Expression Studio 4 Ultimate (http://www.microsoft.com/expression/products/StudioUltimate_Overview.aspx) - and all and every web design area will be covered :) "Just" have additionally to "borrow" somewhere good graphical imagination and skills for simple and elegant Web 2.0 designs... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] ASP.NET app's web design Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 1 12:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 21:05:08 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <6164E2D6C1494AA694F3903264213FE4@nant> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 04:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 11:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav From shamil at smsconsulting.spb.ru Wed Feb 2 04:08:23 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 10:08:23 -0000 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <7790F520893B4C9F80E94E246DD885D4@nant> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-n eed-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great- windows-phone-7-device/6977 Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 2 ??????? 2011 ?. 13:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 09:08:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 16:08:35 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Thanks for those links, very useful. As stated, this is version 1.0 of WP7 and things will evolve for sure. Should I meet something new, I'll try to post back here. /gustav >>> shamil at smsconsulting.spb.ru 02-02-2010 11:08 >>> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-need-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great-windows-phone-7-device/6977 Thank you. -- Shamil From shamil at smsconsulting.spb.ru Wed Feb 2 09:27:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 15:27:00 -0000 Subject: [dba-VB] FW: FF 3.6.8 weird error message - sec_error_expired_certificate for https://docs.google.com/?tab=mo&authuser=0 Message-ID: <9AC80F19C46943F6833F02A751E0F82C@nant> Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 04:11:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 3 Feb 2011 13:11:58 +0300 Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 In-Reply-To: <9AC80F19C46943F6833F02A751E0F82C@nant> References: <9AC80F19C46943F6833F02A751E0F82C@nant> Message-ID: <2A303320157442568CFC9C987CD7BD17@nant> Hi All -- I'm sorry for that off-topic. The issue was solved yesterday: the day before yesterday it was a usual hardworking day/night and I needed to set system date to the last year to test one fixed feature of software under development. I have set that date - one year from now in the past. I have tested the feature, I have switched off PC and I have got asleep. The next day there was a lot of new work and I forgot to set system date back to the correct value. That incorrect system date caused FF to report that SSL certificate from googledocs is invalid... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 2 ??????? 2010 ?. 18:27 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 20:38:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 05:38:01 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> Message-ID: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From marklbreen at gmail.com Fri Feb 4 03:10:01 2011 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 4 Feb 2011 09:10:01 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I used > http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working after > all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and > download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power offered > by > the "Cloud" services. I'll be interested in how this comes out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search over > a > large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space on > GoogleDocs, put all the subject docs there, and then use Google API to > search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site as > front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I plan > to > implement a front-end to that application system as an WinForms application > coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Fri Feb 4 03:32:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:32:37 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From Gustav at cactus.dk Fri Feb 4 03:34:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:34:49 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Mark What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? >>> marklbreen at gmail.com 04-02-2011 10:10 >>> Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: <54C40F764B3B4CBB812589E1808149DD@nant><8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1><1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 4 ??????? 2011 ?. 12:10 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I > used http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working > after all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new > RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one > format, and download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power > offered by the "Cloud" services. I'll be interested in how this comes > out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search > over a large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space > on GoogleDocs, put all the subject docs there, and then use Google API > to search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site > as front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I > plan to implement a front-end to that application system as an > WinForms application coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <96488F7F3F374250A5AA0D42D002461F@nant> Hi Gustav, Search itself is as fast as Google is :) Then it takes some time to get info on docs. If your search filter results in a few records returned then the search is almost instant (I have 1000+ test docs in my GoogleDocs test site): I have slightly corrected code to return timestamps - here are the stats: 2 docs returned, batch size = 10 ======================== 04/02/2011 13:18:23: Logging in... 04/02/2011 13:18:23: Successfully logged in 04/02/2011 13:18:23: Gettings docs... 04/02/2011 13:18:23: Batch size = 10, getting first docs' batch... 04/02/2011 13:18:24: All 2 docs collected another filtering criteria 882 docs returned, batch size = 100 ============================================ 04/02/2011 13:08:41: Logging in... 04/02/2011 13:08:41: Successfully logged in 04/02/2011 13:08:41: Gettings docs... 04/02/2011 13:08:41: Batch size = 100, getting first docs' batch... 04/02/2011 13:08:44: 100 docs processed 04/02/2011 13:08:46: 200 docs processed 04/02/2011 13:08:47: 300 docs processed 04/02/2011 13:08:49: 400 docs processed 04/02/2011 13:08:50: 500 docs processed 04/02/2011 13:08:51: 600 docs processed 04/02/2011 13:08:53: 700 docs processed 04/02/2011 13:08:54: 800 docs processed 04/02/2011 13:08:55: All 882 docs collected same as above filtering criteria 882 docs returned, batch size = 500 ================================================= 04/02/2011 13:10:05: Logging in... 04/02/2011 13:10:05: Successfully logged in 04/02/2011 13:10:05: Gettings docs... 04/02/2011 13:10:05: Batch size = 500, getting first docs' batch... 04/02/2011 13:10:14: 500 docs processed 04/02/2011 13:10:19: All 882 docs collected BTW, I have used just a subset of Google.GData classlibs. Classlibs used: Google.GData.AccessControl.dll Google.GData.Client.dll Google.GData.Extensions.dll Google.GData.Documents.dll The full list of samples Google.GData provides is: analytics Analytics_AccountFeed_Sample Analytics_DataFeed_Sample appsforyourdomain blogger calendar codesearch contentforshopping_sample +DocListExporter +DocListUploader execrequest gapps_calendar_resource_sample gapps_google_mail_settings_sample gapps_multidomain_sample gapps_orgmanagement_sample gbase health OAuth PhotoBrowser spreadsheets YouTubeNotifier YouTubeSample YouTubeSample.sln YouTubeUploader I used just two of provided samples for R&D and making my solution. As one can see based on samples' titles almost everything can be queryed/processed on google similar way.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 12:33 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); <<>> From Gustav at cactus.dk Fri Feb 4 05:13:16 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 12:13:16 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil Thanks for the link, code, and comments - and the timings in the other post. For an upcoming project I will need some text search options so I'm collecting bits and pieces ... /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 11:34 >>> Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <88C8330964FC47F7A753561E66B42346@nant> References: <88C8330964FC47F7A753561E66B42346@nant> Message-ID: <4B0487F0346243328CEE785D738A4915@nant> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ??????? 2010 ?. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln ----------- From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Mercurial vs. SVN In-Reply-To: References: Message-ID: <5C25784986154BE892C6C8CF91EA0716@nant> Hi Gustav -- I have found solution - that was easy but I didn't know about it/didn't find it somehow - just add global-ignores to SVN setup dir config file at C:\Documents and Settings\{username}\Application Data\Subversion: global-ignores = *.exe.config *.exe.manifest *.xbap *. i *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user *.g.vb *.g.cs *.baml *.GenerateResource.Cache *.cache Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 17:48 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil I don't know about these details of TortoiseSVN - I just used it for the Northwind project and never had any trouble - and stayed off the command line. Thanks for the tip (for Mercurial hosting) at bitbucket. However, I think I stay with TortoiseSVN and/or VisualSVN as they have worked fine for me. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 12:48 >>> Hi Gustav -- Thank you for your note. I should probably install newer version. But the one I have does support the feature of ignoring/making local individual files (filenames patterns) and *whole* folders. That is useful but that's not what I'm looking for/what exists in Mercurial it has more powerful feature to keep ignore list. BTW, SVN does inform that it added file/folder to the ignore list - is it possible to edit that list manually? If yes, where it's located? - I can find it - maybe you just know it from memory/used it: in Mercurial I usually just have a generic ignore list, which I'm putting in every new repository I create and then I'm adding specific files/filenames templates to that ignore list. Gustav, it's not a big issue - I can find my way using SVN via command lines - mainly wondering if I can skip making a batch which will use command line interface of SVN to "clean-up" local repository from some files/folders before committing it... BTW, https://bitbucket.org/ has an option of free unlimited code repositories up to 5 users... I haven't used it yet but I do plan to put all my important source code mirrored there in private code repository... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 11:43 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil That's a very old version, current version is 1.6.something. The trick is the Shift key. From the help file: Hold the Shift key to get the extended context menu and select TortoiseSVN and Delete (keep local) to mark the file/folder for deletion from the repository without losing the local copy. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 01:23 >>> Hi All -- Does SVN support "ignore list" as Mercurial does? (I wanted to exclude binaries and some other files from add/commit batch without going through all of added/updated items manually every time on commit). I do use Tortoise SVN v.1.4.5, and I do not see "ignore list feature" - does Tortoise SVN 1.4.7 support this feature? Or can I define ignore list somehow else when working with SVN? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 4 10:13:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 17:13:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln From shamil at smsconsulting.spb.ru Fri Feb 4 14:33:41 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 23:33:41 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: References: Message-ID: <47751E10AACF40DE90041549131EA7FD@nant> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Feb 5 04:43:02 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 5 Feb 2011 10:43:02 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search tables, > > you may find them interesting also. I was surprised to see such "heavy > lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at mattysconsulting.com Sun Feb 6 12:04:50 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 13:04:50 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 13:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 6 Feb 2011 22:05:08 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 13:59:53 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 14:59:53 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 15:05:03 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 00:05:03 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant> <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 15:37:39 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 16:37:39 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 19:44:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 04:44:28 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Message-ID: <48417D4A145C456FB00ECEA066160A7D@nant> Hi Mike -- OK, so you found that ADO.NET EF (.NEt Framework 4.0?) isn't stable/efficient enough for your custom applications? BTW, I have got WPF browser application running here from within VS2010 when security is set to full trust and XBAp's application app.config has connectionstring properly set. Therefore it should be possible in principle to somehow (how? any working hints are very welcome!) configure XBAP application security (manifest) to get that app delivered from Internet IOW: - WinForm application built from a set of WinForms User Controls can be quickly converted into an Internet WPF Browser Application (XBAP) without almost any additional programming. See P.P.S of http://northwind.codeplex.com/documentation Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 7 ??????? 2011 ?. 0:38 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 02:17:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 09:17:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] ASP.NET e-commerce solutions Message-ID: <89A1F89F55234B77A23FB3C8028409AE@nant> Hi All -- I'm looking for ASP.NET e-commerce solutions but not to select one (I have got one selected already) but to make the "wish-list" set of features to extend my selected solution, and here is an interesting solution: http://www.americangolf.co.uk/golf-shoes/mens-golf-shoes/footjoy-tcx-golf-sh oes/ with the feature to zoom parts of a consumer good pictures on "mouse-overing" that parts: http://smsconsulting.spb.ru/test/footjoy1.jpg Do you know how this is done? AJAX - yes, it's used here of course, but maybe you have seen somewhere some ready to use samples how to implement this feature? jQuery? ASP.NET AJAX Control Toolkit? ...? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 11:18 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 06:07:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:07:31 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Mon Feb 7 06:11:21 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:11:21 +0100 Subject: [dba-VB] Windows Phone 7 development Message-ID: Hi all A new emulator and tools are out - and _lots_ of info at The Windows Phone Developer Blog: http://windowsteamblog.com/windows_phone/b/wpdev/ /gustav From jwcolby at colbyconsulting.com Mon Feb 7 08:19:37 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 07 Feb 2011 09:19:37 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <4D4FFF79.6090105@colbyconsulting.com> Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, Arthur > in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful stuff in > this project! > > I currently wanted to solve the issue with porting .NET WinForms application > to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I > have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly > ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above roadmap > plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip archive > or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming issues.'; > 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts from > Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive R&D > work with little time to think through while coding :) But feel free to > comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get downloaded 19 > times already and I have got informed privately a couple of days ago just > three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET > project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain > old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Feb 7 09:23:09 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 18:23:09 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <4D4FFF79.6090105@colbyconsulting.com> References: <47751E10AACF40DE90041549131EA7FD@nant> <4D4FFF79.6090105@colbyconsulting.com> Message-ID: <04E9C6AB518C48BD8F507B368436724D@nant> Hi John -- Yes, a WinForms compound control placed into WPF's WindowsFormsHost control with the latter placed into WPF Browser Application's (XBAP) Page http://www.google.ru/search?hl=ru&biw=1920&bih=919&q=Hosting+Windows+Forms+C ontrols+in+WPF+WindowsFormsHost&aq=f&aqi=&aql=&oq= can be hosted in a browser. That seems to be the shortest way to get a browser based application having a desktop (WinForms) one. And with current mainsteram trend of making everything looking as a "Pinned Web Site" that feature look at least attractive... <<< What problem does that solve? >>> Getting Web Browser based app ASAP... <<< What problems does that create? >>> Desktop application do usually use local files etc. - XBAP application can run in fulltrust mode and have access to local files (to test) but that looks like 'Good Old ActiveX' controls therefore once XBAp port is done be prepared to do more work of makeing your app running OK in a "sandbox" having all resources handled over Internet... There could/should be other issues I'm not aware about... <<< I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. >>> Well, that's your opinion. I have an opposite one. Let's keep that different points of view our of this discussion thread? <<< I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. >>> That's a temporary issue I suppose. I remeber "clunky" MS Access 1.1/2.0 applications we all were developing quite some time ago.. <<< I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. >>> But you can well develop desktop (WinForms/WPF/Silverlight 4(?)) applications communicating with Internet Web services... <<< It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. >>> When talking to web services it doesn't matter that much where/what way client part (FE) is set/deployed... The browser/smartphones based apps are definitely the future IMO. Are desktop applications dying? I'm not stating that here - let's just discuss different technologies and the ways to apply them to this or that use case/environment/deployment scenario/... but not which one is better and why - all are good when used properly :) And "using properly" - that depends on one own's experiences, tastes and preferences or on what technlogy a customer is requesting... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 7 ??????? 2011 ?. 17:20 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, > Arthur in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful > stuff in this project! > > I currently wanted to solve the issue with porting .NET WinForms > application to the Web the shortest possible(?) way (WinForms Controls > -> XBAP) but I have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting > WinForms UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services > (formerly ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) > -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above > roadmap plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip > archive or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming > issues.'; 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts > from Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive > R&D work with little time to think through while coding :) But feel > free to comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get > downloaded 19 times already and I have got informed privately a couple > of days ago just three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true > TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - > ASP.NET project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10 > .0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using > "plain old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 8 14:54:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 8 Feb 2011 23:54:00 +0300 Subject: [dba-VB] Blocking IE of opening new window when working with Google Images Message-ID: <788DF9F3A5BA4F34B0A86F46D890DBDC@nant> Hi All -- I have the following sample Google Images query URL: http://www.google.com/images?q=Babolat+Bandana&hl=en&sa=G&gbv=2&as_st=y&tbs= isch:1,isz:ex,iszw:400,iszh:400,itp:photo,ift:gif (watch line wraps) that returns 7 result pictures. I wanted when clicked on any image to *not* have IE opening that pictures in a new browser window but to have image opened in the same window. It works that way on one PC but it doesn't work on the other. I have tried to tune IE options, including advanced ones but I can't get IE working as needed i.e. without opening image in a new window. Do you know how to make "the trick"? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 8 19:08:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 04:08:07 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- Thank you for your notes. How to make DNN (re-)indexing a page? There should be special DNN page options to include/exclude a certain page from full text indexing? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 5 ??????? 2011 ?. 13:43 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search > tables, > > you may find them interesting also. I was surprised to see such > "heavy lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 04:41:30 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 13:41:30 +0300 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery Message-ID: <34B330B354244ABC876181A0DFCC64DE@nant> Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil From marklbreen at gmail.com Wed Feb 9 04:51:36 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 10:51:36 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain page > from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they seem to > create a record for each word in each item and link them back through > relational database model. I described it as heavy lifting, as I would > have > assumed the more abstract ways to achieve this are available. I never used > SQL Server Full Text Search but I suppose that is on option. Perhaps the > DNN guys can demonstrate their heavy lifting is quick, fast and efficient, > but I was rather surprised to see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is rather > narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Wed Feb 9 05:55:55 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 14:55:55 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- I have checked my test web site - full text indexing seems to be done not instantly for large texts of HTML modules but it's somehow delayed: it works now for the html module, which it didn't work for when I first saved that module's large text. Yes, I will try to ask about HTML modules' text indexing on DNN... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 13:52 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain > page from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they > seem to create a record for each word in each item and link them back > through relational database model. I described it as heavy lifting, > as I would have assumed the more abstract ways to achieve this are > available. I never used SQL Server Full Text Search but I suppose > that is on option. Perhaps the DNN guys can demonstrate their heavy > lifting is quick, fast and efficient, but I was rather surprised to > see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is > rather narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:21:56 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:21:56 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <416817D4C6014795BA3FA3AE4CA8B79D@nant> Hi Gustav -- Yes, in closed environment but Northwind.NET is an open source - it could be public environment I mean... OK, I will try to get a free public certificate from http://www.cacert.org/ and if I will get it then I will try to use it to sign Northiwind.NET executables I'm releasing from time to time... BTW your below message somehow got filtered out by SPAM filter based on its text I suppose. I'd be interesting to know what "suspicious words" SPAM filter (standard MS Outloook one) found in that message text. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:31:33 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:31:33 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <674A5DCEB8FC47A38C06738D9ABA3FA7@nant> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Wed Feb 9 06:47:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Feb 2011 13:47:26 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Wed Feb 9 10:04:48 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 16:04:48 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done not > instantly for large texts of HTML modules but it's somehow delayed: it > works > now for the html module, which it didn't work for when I first saved that > module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the > DNN forums are very friendly and helpful - I think I always get an answer > withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the list of > indexes but I would presume that the indexer needs to know when module is > "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT > NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, > [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, > [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a certain > > page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them back > > through relational database model. I described it as heavy lifting, > > as I would have assumed the more abstract ways to achieve this are > > available. I never used SQL Server Full Text Search but I suppose > > that is on option. Perhaps the DNN guys can demonstrate their heavy > > lifting is quick, fast and efficient, but I was rather surprised to > > see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dbdoug at gmail.com Wed Feb 9 10:27:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 9 Feb 2011 08:27:32 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: Thanks, Shamil - looks interesting. I appreciate your sharing this kind of information. Doug On Wed, Feb 9, 2011 at 2:41 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > FYI: "What ASP.NET developers should know about jQuery" > > http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Feb 9 12:36:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Feb 2011 10:36:21 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <0CF8A6D59CAF4D05A490EE12CC166F9D@creativesystemdesigns.com> Shamil: Right-on. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 2:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, that's a correct assumption. :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 9 ??????? 2011 ?. 15:47 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil <<< snip>>> From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <5023DBCEB51F483AAD035CD53F0D50C0@nant> Hi Mark -- Yes, I did get it - that you're not suggesting to use DNN native full text indexing instead of GooleDocs - but I do need both in a solution I'm working on :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 19:05 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done > not instantly for large texts of HTML modules but it's somehow > delayed: it works now for the html module, which it didn't work for > when I first saved that module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the DNN forums are very friendly and helpful - I think I always > get an answer withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the > list of indexes but I would presume that the indexer needs to know > when module is "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) > NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] > NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, > [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a > > certain page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them > > back through relational database model. I described it as heavy > > lifting, as I would have assumed the more abstract ways to achieve > > this are available. I never used SQL Server Full Text Search but I > > suppose that is on option. Perhaps the DNN guys can demonstrate > > their heavy lifting is quick, fast and efficient, but I was rather > > surprised to see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart > > > or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Feb 11 05:48:23 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 11 Feb 2011 06:48:23 -0500 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <348EDCB3DAE3487E9D08DABA379B5C02@Gateway> This is good. See the Labs page also. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 5:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Feb 13 16:51:19 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Feb 2011 23:51:19 +0100 Subject: [dba-VB] Localizing Silverlight Business Application (solved) Message-ID: Hi all Even by following the guidelines in the previous posted lings, one item in the default project will still miss dynamic localization: the tiny welcome message displayed after a successful login. This is by default loaded at launch with the class LoginStatus as a localized format string for the displayed username; however, it is not changed if the culture is changed dynamically. For this to happen, you will need some modifications to LoginStatus.xaml.cs like this: public LoginStatus() { this.InitializeComponent(); this.BindWelcomeText(); this.authService.LoggedIn += this.Authentication_LoggedIn; this.authService.LoggedOut += this.Authentication_LoggedOut; this.UpdateLoginState(); } /// /// Updates the bound welcome message to that of the current culture selection. /// public void ApplyCurrentCulture() { this.BindWelcomeText(); } private void BindWelcomeText() { this.welcomeText.SetBinding(TextBlock.TextProperty, WebContext.Current.CreateOneWayBinding("User.DisplayName", new StringFormatValueConverter(ApplicationStrings.WelcomeMessage))); } The modification adds the method ApplyCurrentCulture which you can call from MainPage.xaml.cs by like this: LoginStatus _loginStatus = new LoginStatus(); /// /// Creates a new instance. /// public MainPage() { InitializeComponent(); // this.loginContainer.Child = new LoginStatus(); this.loginContainer.Child = _loginStatus; this.languageSelect.SelectionChanged +=new SelectionChangedEventHandler(languageSelect_SelectionChanged); } void languageSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { string culture = ((ComboBoxItem)((ComboBox)sender).SelectedItem).Tag.ToString(); Thread currentThread = Thread.CurrentThread; currentThread.CurrentCulture = new CultureInfo(culture); currentThread.CurrentUICulture = new CultureInfo(culture); ((ResourceWrapper)App.Current.Resources["ResourceWrapper"]).ApplicationStrings = new ApplicationStrings(); _loginStatus.ApplyCurrentCulture(); } The original line initiating LoginStatus is commented out. /gustav >>> gustav at cactus.dk 30-01-2011 16:59 >>> Hi all I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application. But by combining info from these links I finally succeeded: http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. This way all text for labels, error messages, tool tips, etc. are kept in separate resx files. Further, select a language in the combobox and the language changes instantaneously. Great! /gustav From jwcolby at colbyconsulting.com Mon Feb 14 19:24:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Feb 2011 20:24:18 -0500 Subject: [dba-VB] c# - close in any particular order? Message-ID: <4D59D5C2.3080909@colbyconsulting.com> I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com From mikedorism at verizon.net Wed Feb 16 07:06:33 2011 From: mikedorism at verizon.net (Doris Manning) Date: Wed, 16 Feb 2011 08:06:33 -0500 Subject: [dba-VB] c# - close in any particular order? In-Reply-To: <4D59D5C2.3080909@colbyconsulting.com> References: <4D59D5C2.3080909@colbyconsulting.com> Message-ID: <40D7D6D6846944878E1717620F7C35F1@hargrove.internal> I usually close in the following order: reader, connection, and then command. Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 14, 2011 8:24 PM To: VBA Subject: [dba-VB] c# - close in any particular order? I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 10:30:11 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 17:30:11 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From jwcolby at colbyconsulting.com Thu Feb 17 10:48:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Feb 2011 11:48:08 -0500 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <4D5D5148.9040603@colbyconsulting.com> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Feb 17 11:04:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 18:04:37 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi John Yes, it works fine for me, both on XP and Vista. Plain install, nothing smart. /gustav >>> jwcolby at colbyconsulting.com 17-02-2011 17:48:08 >>> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav From dw-murphy at cox.net Thu Feb 17 11:28:56 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 09:28:56 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <17942190E9764C2683F8F0EBD35F159A@murphy3234aaf1> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 12:08:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 19:08:42 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From dw-murphy at cox.net Thu Feb 17 12:49:44 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 10:49:44 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <8E8FD1D34E9E4F15A1720744B70F649F@murphy3234aaf1> Hi Gustav, I just want to consume the REST services from the client end so thought the approach in the Constant Contact download was of interest. I'll be following the series you provided the link for. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 10:09 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] REST and Visual Studio 2010 Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2 e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp- services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Fri Feb 18 18:06:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sat, 19 Feb 2011 11:06:36 +1100 Subject: [dba-VB] Unusual VB Request Message-ID: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From gustav at cactus.dk Sat Feb 19 02:20:54 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Feb 2011 09:20:54 +0100 Subject: [dba-VB] Unusual VB Request Message-ID: Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From jwcolby at colbyconsulting.com Sat Feb 19 13:53:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 14:53:30 -0500 Subject: [dba-VB] I'm getting nowhere Message-ID: <4D601FBA.5020302@colbyconsulting.com> I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Feb 19 18:18:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 19:18:04 -0500 Subject: [dba-VB] [dba-SQLServer] I'm getting nowhere In-Reply-To: References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605DBC.3080006@colbyconsulting.com> > The hierarchy goes like this: > > Roles > -- Users But why does the user have no (apparent) password but the role does? I found a vague (to me) reference to schemas and assigning schemas to users... Now that makes sense. I assume in all this that if a user goes away I just delete the user? I don't see any way to enable / disable the user. This whole thing just seems real hokey. John W. Colby www.ColbyConsulting.com On 2/19/2011 4:38 PM, Arthur Fuller wrote: > The hierarchy goes like this: > > Roles > -- Users > > What is not obvious from the docs is that you can add a role to a role. The > reason you would want to do this is to "include" lower-level capabilities > within a higher-level group (without bothering to have to re-define these). > > You can grant select, update, delete and inserts on any combination of > tables, views and sprocs. The approach I typically use is to deny table > access to everyone but me, and then to grant various levels of access to > views and sprocs to various roles. That way, no one but you can directly hit > a table. > > So, your bottom level might define Select capability and nothing else (to > one or more views and sprocs). The next level up might permit Updates, and > the next Inserts and Deletes. Actually I mean granting this privileges on > the sprocs/views created for those purposes. > > As you move up the hierarchy, you can "stack" the abilities (i.e. add the > lowest level role to the next up, and so on, until you reach the top, where > the only member of that role is you. > > HTH, and if not feel free to ask. > Arthur > > On Sat, Feb 19, 2011 at 2:53 PM, jwcolbywrote: > >> I am getting nowhere on understanding SQL Server security. Microsoft >> provides us with SQL Server Express which implies that joe blow (me) is >> going to install / maintain it. >> >> I am not a SQL Server Admin and I cannot afford to spend the time to be >> one. >> >> Google is my friend. BOL is not. >> >> Except that Google is taking me to these places where I am expected to >> already know how this stuff works, and then wants to make me a *better* >> administrator. Which of course is useless because I am not an administrator >> at all. >> >> OTOH I am not stupid. If I could find something that started at the "This >> is SQL Server security" basics I could learn this stuff. Before anyone says >> "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it >> simply sucks for my level of expertise (my opinion of course). If that is >> your advice, simply stay out of this thread. Thanks! >> >> So... my needs: >> >> I need to set up several SQL Server databases for use by different, very >> small groups (5-20 people) of entirely unrelated people. What I mean by >> that is that each DB is for a different "company" if you will. I need to >> access these databases from C#. I understand the group / user paradigm. I >> would like to create groups and users. Specific groups can do specific >> things in the database, some can see data but not modify it. Some can add >> records in specific tables but not others. Some can run reports (view). >> >> I do *NOT* want to create windows level groups and users if I can avoid it. >> These are people that I do not necessarily know and I do not want to give >> them any rights at the machine level, and I prefer to not maintain such >> lists at the machine level. >> >> Unfortunately SQL Server does not seem to model Groups / users. I go into >> SQL Server and see a security tab. It has "logins". Is that a user? A >> specific ability to log in with a password? To what? The server itself? A >> specific database? Groups of databases? >> >> I see "roles" but these appear to be aimed at the server and none of these >> people are going to be doing anything at the server level. >> >> Can I safely ignore everything under the server security tab? >> >> I go to a database and I see a security tab. It has users and roles. >> Hmm... better (I would think). I would like to add users "under" the >> specific database that the user will access. >> >> So I try to add a new user but I do not see anywhere to require a password. >> Hmmm... >> >> I go into roles and I do not see any predefined role that looks like it >> would be useful to me in meeting my needs described above. If I look at >> "add new role" it asks for a password. The User / group model does nto >> assign passwords at the group level which implies that a role is not a group >> at the user / group paradigm. >> >> Is it just me, or is SQL Server security just... different? Am I correct >> in assuming that it doesn't implement a user / group paradigm? >> >> And more importantly, where can I go to get a plain, simple, English >> description of how this mess works? >> >> And please excuse the tone that results from my frustration. The only help >> documents that I have found (and I have extensive lists of bookmarked web >> pages) so far assume that I am an administrator. I am not, and cannot >> afford to become one. And yet MS pushes SQL Express as if I (non-admin) >> should be able to use this as a data store pool. >> >> Help! >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Feb 19 18:22:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 10:22:49 +1000 Subject: [dba-VB] [AccessD] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605ED9.11823.1EFC5774@stuart.lexacorp.com.pg> On 19 Feb 2011 at 14:53, jwcolby wrote: > If I could find something that started at the > "This is SQL Server security" basics I could learn this stuff. Maybe this will help. (This is "my" understanding of it - corrections from others welcome .) There are two levels of "Security" in SQL Server: 1. SQL Server Instance (Server name) level 2. Database level At the Instance Level, you have: 1. Server Roles 2. Logins At the Database level you have: 1. Database Roles 2. Users INSTANCE LEVEL ============== SERVER ROLES These are generic sets of "rights" which apply to the entire Instance. "Server role is used to grant server-wide privileges to a user" . Generally, use Public for all logins unless you need admin rights on the server. LOGIN To allow anyone to access SQL Server, you need to create a login at instance level for them and then define what that login can do in terms of individual databases Login = an entity that can log in to SQL Server. In your situation, you are using SQL Secruity so a Login needs a Username and Password. If using Windows/Mixed security, it could also be an Active Drectory user. Note the use of the word "entity" - not person. With SQL Security, an entity is entirely identified by the username/password pair. If you embed a standard username/password in a connection string for an application that connects to SQL Server, then that application itself is the logged in entity. Alternatively, if you collect the username/password from the person using that application and put that the in the connection string, the individual user is the entity. On creation, you can define the "Default Database" for the login - this is the one they automatically access (so your don't need to specify it in your connection string.) DATABASE LEVEL =============== DATABASE ROLE Role = a definition a what entities with that role can do in the database.. There are a number of predefined roles, which are useful for things like "read only" users but you frequently need to create your own and assign rights to specific database objects for that role. i.e. allow read only on some tables and write access on others. You can also do things like prevent users from directly writing to any tables and only allow them to run specfic stored prcedures to update data. Once you have defined a new role within the database, you can assign that role to specific users within that database. You can think of a role as similar to a Group, it defines a set of rights and you can assign roles to users in the same way you assign "group membership" to Windows users. USER Once you have created a Login, you go the relevant database ( or databases) and assign rights to that login in that database. You do that by adding the Login as a User in that database. User = The definition of what a particular login entity can do in the database. To make a specific login a user in the database, you create a new user and select the existing Login name. Note that you can give that user the same name as the Login name or use a completely different one. Unless you have a good reason, I'd use the same as the login name. You then assign Databse Roles to the User to control what the user can do in the database. -- Stuart From gustav at cactus.dk Sun Feb 20 04:20:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Feb 2011 11:20:42 +0100 Subject: [dba-VB] Calculate age in C# using extensions Message-ID: Hi all Much to my surprise (and then not), the web is flooded with crap code for calculating age, so I had to write my own method to get it right. This allowed me to work with extensions which I have never done before. Pretty clever: http://msdn.microsoft.com/en-us/library/bb383977.aspx The simple method to find the age is to apply AddYears as shown below because this is the only native method to add years to the 29th of Feb. of leap years and obtain the correct result of the 28th of Feb. for common years. Some feel that 1th of Mar. is the birthday of leaplings but neither .Net nor any official rule supports this, nor does common logic explain why some born in February should have 75% of their birthdays in another month. Further, an Age method lends itself to be added as an extension to DateTime. By this you can obtain the age in the simplest possible way: int ageToday = birthDate.Age(); or: int ageSomeday = birthDate.Age(someDate); namespace DateTimeExtensionMethods { public static class DateTimeExtensions { /// /// Calculates the age in years of the current System.DateTime object today. /// /// The date of birth /// Age in years today. 0 is returned for a future date of birth. public static int Age(this DateTime birthDate) { return Age(birthDate, DateTime.Today); } /// /// Calculates the age in years of the current System.DateTime object on a later date. /// /// The date of birth /// The date on which to calculate the age. /// Age in years on a later day. 0 is returned as minimum. public static int Age(this DateTime birthDate, DateTime laterDate) { int age; age = laterDate.Year - birthDate.Year; if (age > 0) { age -= Convert.ToInt32(laterDate.Date < birthDate.Date.AddYears(age)); } else { age = 0; } return age; } } } Now, run this test: class Program { static void Main(string[] args) { RunTest(); } private static void RunTest() { DateTime birthDate = new DateTime(2000, 2, 28); DateTime laterDate = new DateTime(2011, 2, 27); string iso = "yyyy-MM-dd"; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Console.WriteLine("Birth date: " + birthDate.AddDays(i).ToString(iso) + " Later date: " + laterDate.AddDays(j).ToString(iso) + " Age: " + birthDate.AddDays(i).Age(laterDate.AddDays(j)).ToString()); } } Console.ReadKey(); } } The critical date example is this: Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Output: Birth date: 2000-02-28 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-28 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-28 Later date: 2011-03-01 Age: 11 Birth date: 2000-02-29 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2011-03-01 Age: 11 Birth date: 2000-03-01 Later date: 2011-02-27 Age: 10 Birth date: 2000-03-01 Later date: 2011-02-28 Age: 10 Birth date: 2000-03-01 Later date: 2011-03-01 Age: 11 And for the later date 2012-02-28: Birth date: 2000-02-28 Later date: 2012-02-28 Age: 12 Birth date: 2000-02-28 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-28 Later date: 2012-03-01 Age: 12 Birth date: 2000-02-29 Later date: 2012-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-29 Later date: 2012-03-01 Age: 12 Birth date: 2000-03-01 Later date: 2012-02-28 Age: 11 Birth date: 2000-03-01 Later date: 2012-02-29 Age: 11 Birth date: 2000-03-01 Later date: 2012-03-01 Age: 12 /gustav From stuart at lexacorp.com.pg Sun Feb 20 06:07:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:07:16 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Message-ID: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun Feb 20 06:16:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:16:06 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au>, <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <4D610606.5837.21896190@stuart.lexacorp.com.pg> Turns out that Maximo can run on DB2, Oracle or SQL Server. So if you can find out what platform it is running on, have appropriate login rights and you have access to appropriate ODBC drivers you may be able to do it. And to answer Gustav's point, if that is so, then you could write a PowerBasic native code DLL fairly easily to do it :-) -- Stuart On 20 Feb 2011 at 22:07, Stuart McLachlan wrote: > I'd say you are SOOL. > > Initially it didn't make sense needing a IP address *and* Hostname to > get an OS Username so I did a bit of googling. > > The key was .psdi > > It appears that psdi classes are implementations of an Interface to > the IBM's (originally PSDI's) java based Maximo Asset Management > System. > > I'd guess that the function is looking at the Maximo database which is > running on Hostname to find out if someone is logged into it from the > workstation at IP address and returniing the username if there is > someone logged in. > > Without knowing a lot more about the internals of Maximo, there is no > way to come up with an independent way of getting this information > > It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx > is logged into an SQL Server instance. You need to know how that > information is stored inside the the RDBMS, how to gain access to that > data and how to extract it. > > -- > Stuart > > On 19 Feb 2011 at 11:06, Michael Maddison wrote: > > > Hi Guys, > > > > > > > > Maybe someone can confirm or negate my thoughts on a client request > > I have received? > > > > > > > > Consider this code... > > > > import psdi.util.AXWin32Util; > > > > > > > > Call to DLL: > > > > > > > > if (this.debug) { > > > > System.out.println("Checking for user at ip " + address + > > " on > > " + host); > > > > } > > > > OSUsername = AXWin32Util.getOSUserName(address, > > host).trim(); > > > > > > > > > > Username is one value not delimeted list > > > > > > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > > > if (this.debug) { > > > > System.out.println("Found user " + OSUsername + " on " + > > host); > > > > } > > > > OSUsername = OSUsername.toUpperCase(); > > > > > > > > I think the above is Java? > > > > > > > > My client wants me to write a dll to replace the > > AXWin32Util.getOSUserName(address, host) method call. > > > > > > > > I don't have access to either the original source (dll) or the > > source to the calling app. Just the text above. > > > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > > getOSUserName method and register it on the target server what are > > the chances it will work? > > > > I suspect the answer is zero. > > > > > > > > Dotnet is not allowed. No installation is allowed. The server is Win > > 2003 sp2. > > > > > > > > Ideas anyone? > > > > > > > > Cheers > > > > > > > > Michael > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Sun Feb 20 16:10:28 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:10:28 +1100 Subject: [dba-VB] Unusual VB Request References: Message-ID: <99266C61B516644D9727F983FAFAB4650469F5@remote.ddisolutions.com.au> Hi Gustav, Yes, VB runtime has been tested and is ok. I'm at the point of testing a solution but I'm just being cautious as I don't understand what is going on here I guess. How does Java call a COM lib? Does it 'Import' it? What if 2 libs have the same name, what am I going to break? I'll let you know what happens. Cheers michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 19 February 2011 7:21 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Unusual VB Request Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at ddisolutions.com.au Sun Feb 20 16:17:02 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:17:02 +1100 Subject: [dba-VB] Unusual VB Request References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB4650469F6@remote.ddisolutions.com.au> Thanks Stuart, Yes, you are correct! It is a Maximo installation. The code I've been asked to replace is a 3rd party dll that Maximo calls to allow for single logins. So in effect I supply the login info to Maximo, the original code used NetWkstaUserEnum but I have changed it to WMI. WMI is superior in that it returns the actual logged in user. The API returned a collection of ALL logins. It appears that some change in environment caused the API to return its collection slightly differently so the single login started to fail. Cheers Michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, 20 February 2011 11:07 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unusual VB Request I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at mattysconsulting.com Fri Feb 25 15:51:08 2011 From: michael at mattysconsulting.com (Michael R Mattys) Date: Fri, 25 Feb 2011 16:51:08 -0500 Subject: [dba-VB] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <006201cbd536$1cfb4290$56f1c7b0$@mattysconsulting.com> Hello John, I am Michael's brother Eric. I think you only have to uncheck the "Use Trusted Connection" box in MS Access. That checkbox is for Windows Security. Your user is set up under SQL Security. Best Regards, Eric B. Mattys Mattys Consulting, LLC www.mattysconsulting.com (585) 300-0181 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 19, 2011 2:54 PM To: Sqlserver-Dba; VBA; Access Developers discussion and problem solving Subject: [dba-VB] I'm getting nowhere I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 10:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO/ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav From Gustav at cactus.dk Tue Feb 1 10:19:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:19:49 +0100 Subject: [dba-VB] ASP.NET app's web design Message-ID: Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 1 10:17:49 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 19:17:49 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <34C49EF441B84B85AA969D2E27EF4089@nant> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO /ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 11:55:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 18:55:45 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav From shamil at smsconsulting.spb.ru Tue Feb 1 11:56:25 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 20:56:25 +0300 Subject: [dba-VB] ASP.NET app's web design In-Reply-To: References: Message-ID: Yes, Gustav, I have just watched a demo video - that should be it + Expression Design. In fact Expression Blend seems to be a "must have" tool for Silverlight Development, as well as Expression BlendR 4 for Windows Phone (http://www.microsoft.com/expression/windowsphone/). SketchFlow - that's a useful UI workflow prototyping tool too. All in all - one have to get acquired Expression Studio 4 Ultimate (http://www.microsoft.com/expression/products/StudioUltimate_Overview.aspx) - and all and every web design area will be covered :) "Just" have additionally to "borrow" somewhere good graphical imagination and skills for simple and elegant Web 2.0 designs... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] ASP.NET app's web design Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 1 12:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 21:05:08 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <6164E2D6C1494AA694F3903264213FE4@nant> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 04:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 11:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav From shamil at smsconsulting.spb.ru Wed Feb 2 04:08:23 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 10:08:23 -0000 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <7790F520893B4C9F80E94E246DD885D4@nant> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-n eed-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great- windows-phone-7-device/6977 Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 2 ??????? 2011 ?. 13:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 09:08:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 16:08:35 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Thanks for those links, very useful. As stated, this is version 1.0 of WP7 and things will evolve for sure. Should I meet something new, I'll try to post back here. /gustav >>> shamil at smsconsulting.spb.ru 02-02-2010 11:08 >>> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-need-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great-windows-phone-7-device/6977 Thank you. -- Shamil From shamil at smsconsulting.spb.ru Wed Feb 2 09:27:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 15:27:00 -0000 Subject: [dba-VB] FW: FF 3.6.8 weird error message - sec_error_expired_certificate for https://docs.google.com/?tab=mo&authuser=0 Message-ID: <9AC80F19C46943F6833F02A751E0F82C@nant> Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 04:11:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 3 Feb 2011 13:11:58 +0300 Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 In-Reply-To: <9AC80F19C46943F6833F02A751E0F82C@nant> References: <9AC80F19C46943F6833F02A751E0F82C@nant> Message-ID: <2A303320157442568CFC9C987CD7BD17@nant> Hi All -- I'm sorry for that off-topic. The issue was solved yesterday: the day before yesterday it was a usual hardworking day/night and I needed to set system date to the last year to test one fixed feature of software under development. I have set that date - one year from now in the past. I have tested the feature, I have switched off PC and I have got asleep. The next day there was a lot of new work and I forgot to set system date back to the correct value. That incorrect system date caused FF to report that SSL certificate from googledocs is invalid... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 2 ??????? 2010 ?. 18:27 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 20:38:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 05:38:01 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> Message-ID: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From marklbreen at gmail.com Fri Feb 4 03:10:01 2011 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 4 Feb 2011 09:10:01 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I used > http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working after > all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and > download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power offered > by > the "Cloud" services. I'll be interested in how this comes out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search over > a > large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space on > GoogleDocs, put all the subject docs there, and then use Google API to > search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site as > front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I plan > to > implement a front-end to that application system as an WinForms application > coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Fri Feb 4 03:32:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:32:37 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From Gustav at cactus.dk Fri Feb 4 03:34:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:34:49 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Mark What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? >>> marklbreen at gmail.com 04-02-2011 10:10 >>> Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: <54C40F764B3B4CBB812589E1808149DD@nant><8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1><1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 4 ??????? 2011 ?. 12:10 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I > used http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working > after all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new > RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one > format, and download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power > offered by the "Cloud" services. I'll be interested in how this comes > out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search > over a large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space > on GoogleDocs, put all the subject docs there, and then use Google API > to search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site > as front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I > plan to implement a front-end to that application system as an > WinForms application coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <96488F7F3F374250A5AA0D42D002461F@nant> Hi Gustav, Search itself is as fast as Google is :) Then it takes some time to get info on docs. If your search filter results in a few records returned then the search is almost instant (I have 1000+ test docs in my GoogleDocs test site): I have slightly corrected code to return timestamps - here are the stats: 2 docs returned, batch size = 10 ======================== 04/02/2011 13:18:23: Logging in... 04/02/2011 13:18:23: Successfully logged in 04/02/2011 13:18:23: Gettings docs... 04/02/2011 13:18:23: Batch size = 10, getting first docs' batch... 04/02/2011 13:18:24: All 2 docs collected another filtering criteria 882 docs returned, batch size = 100 ============================================ 04/02/2011 13:08:41: Logging in... 04/02/2011 13:08:41: Successfully logged in 04/02/2011 13:08:41: Gettings docs... 04/02/2011 13:08:41: Batch size = 100, getting first docs' batch... 04/02/2011 13:08:44: 100 docs processed 04/02/2011 13:08:46: 200 docs processed 04/02/2011 13:08:47: 300 docs processed 04/02/2011 13:08:49: 400 docs processed 04/02/2011 13:08:50: 500 docs processed 04/02/2011 13:08:51: 600 docs processed 04/02/2011 13:08:53: 700 docs processed 04/02/2011 13:08:54: 800 docs processed 04/02/2011 13:08:55: All 882 docs collected same as above filtering criteria 882 docs returned, batch size = 500 ================================================= 04/02/2011 13:10:05: Logging in... 04/02/2011 13:10:05: Successfully logged in 04/02/2011 13:10:05: Gettings docs... 04/02/2011 13:10:05: Batch size = 500, getting first docs' batch... 04/02/2011 13:10:14: 500 docs processed 04/02/2011 13:10:19: All 882 docs collected BTW, I have used just a subset of Google.GData classlibs. Classlibs used: Google.GData.AccessControl.dll Google.GData.Client.dll Google.GData.Extensions.dll Google.GData.Documents.dll The full list of samples Google.GData provides is: analytics Analytics_AccountFeed_Sample Analytics_DataFeed_Sample appsforyourdomain blogger calendar codesearch contentforshopping_sample +DocListExporter +DocListUploader execrequest gapps_calendar_resource_sample gapps_google_mail_settings_sample gapps_multidomain_sample gapps_orgmanagement_sample gbase health OAuth PhotoBrowser spreadsheets YouTubeNotifier YouTubeSample YouTubeSample.sln YouTubeUploader I used just two of provided samples for R&D and making my solution. As one can see based on samples' titles almost everything can be queryed/processed on google similar way.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 12:33 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); <<>> From Gustav at cactus.dk Fri Feb 4 05:13:16 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 12:13:16 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil Thanks for the link, code, and comments - and the timings in the other post. For an upcoming project I will need some text search options so I'm collecting bits and pieces ... /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 11:34 >>> Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <88C8330964FC47F7A753561E66B42346@nant> References: <88C8330964FC47F7A753561E66B42346@nant> Message-ID: <4B0487F0346243328CEE785D738A4915@nant> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ??????? 2010 ?. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln ----------- From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Mercurial vs. SVN In-Reply-To: References: Message-ID: <5C25784986154BE892C6C8CF91EA0716@nant> Hi Gustav -- I have found solution - that was easy but I didn't know about it/didn't find it somehow - just add global-ignores to SVN setup dir config file at C:\Documents and Settings\{username}\Application Data\Subversion: global-ignores = *.exe.config *.exe.manifest *.xbap *. i *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user *.g.vb *.g.cs *.baml *.GenerateResource.Cache *.cache Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 17:48 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil I don't know about these details of TortoiseSVN - I just used it for the Northwind project and never had any trouble - and stayed off the command line. Thanks for the tip (for Mercurial hosting) at bitbucket. However, I think I stay with TortoiseSVN and/or VisualSVN as they have worked fine for me. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 12:48 >>> Hi Gustav -- Thank you for your note. I should probably install newer version. But the one I have does support the feature of ignoring/making local individual files (filenames patterns) and *whole* folders. That is useful but that's not what I'm looking for/what exists in Mercurial it has more powerful feature to keep ignore list. BTW, SVN does inform that it added file/folder to the ignore list - is it possible to edit that list manually? If yes, where it's located? - I can find it - maybe you just know it from memory/used it: in Mercurial I usually just have a generic ignore list, which I'm putting in every new repository I create and then I'm adding specific files/filenames templates to that ignore list. Gustav, it's not a big issue - I can find my way using SVN via command lines - mainly wondering if I can skip making a batch which will use command line interface of SVN to "clean-up" local repository from some files/folders before committing it... BTW, https://bitbucket.org/ has an option of free unlimited code repositories up to 5 users... I haven't used it yet but I do plan to put all my important source code mirrored there in private code repository... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 11:43 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil That's a very old version, current version is 1.6.something. The trick is the Shift key. From the help file: Hold the Shift key to get the extended context menu and select TortoiseSVN and Delete (keep local) to mark the file/folder for deletion from the repository without losing the local copy. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 01:23 >>> Hi All -- Does SVN support "ignore list" as Mercurial does? (I wanted to exclude binaries and some other files from add/commit batch without going through all of added/updated items manually every time on commit). I do use Tortoise SVN v.1.4.5, and I do not see "ignore list feature" - does Tortoise SVN 1.4.7 support this feature? Or can I define ignore list somehow else when working with SVN? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 4 10:13:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 17:13:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln From shamil at smsconsulting.spb.ru Fri Feb 4 14:33:41 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 23:33:41 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: References: Message-ID: <47751E10AACF40DE90041549131EA7FD@nant> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Feb 5 04:43:02 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 5 Feb 2011 10:43:02 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search tables, > > you may find them interesting also. I was surprised to see such "heavy > lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at mattysconsulting.com Sun Feb 6 12:04:50 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 13:04:50 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 13:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 6 Feb 2011 22:05:08 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 13:59:53 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 14:59:53 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 15:05:03 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 00:05:03 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant> <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 15:37:39 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 16:37:39 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 19:44:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 04:44:28 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Message-ID: <48417D4A145C456FB00ECEA066160A7D@nant> Hi Mike -- OK, so you found that ADO.NET EF (.NEt Framework 4.0?) isn't stable/efficient enough for your custom applications? BTW, I have got WPF browser application running here from within VS2010 when security is set to full trust and XBAp's application app.config has connectionstring properly set. Therefore it should be possible in principle to somehow (how? any working hints are very welcome!) configure XBAP application security (manifest) to get that app delivered from Internet IOW: - WinForm application built from a set of WinForms User Controls can be quickly converted into an Internet WPF Browser Application (XBAP) without almost any additional programming. See P.P.S of http://northwind.codeplex.com/documentation Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 7 ??????? 2011 ?. 0:38 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 02:17:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 09:17:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] ASP.NET e-commerce solutions Message-ID: <89A1F89F55234B77A23FB3C8028409AE@nant> Hi All -- I'm looking for ASP.NET e-commerce solutions but not to select one (I have got one selected already) but to make the "wish-list" set of features to extend my selected solution, and here is an interesting solution: http://www.americangolf.co.uk/golf-shoes/mens-golf-shoes/footjoy-tcx-golf-sh oes/ with the feature to zoom parts of a consumer good pictures on "mouse-overing" that parts: http://smsconsulting.spb.ru/test/footjoy1.jpg Do you know how this is done? AJAX - yes, it's used here of course, but maybe you have seen somewhere some ready to use samples how to implement this feature? jQuery? ASP.NET AJAX Control Toolkit? ...? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 11:18 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 06:07:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:07:31 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Mon Feb 7 06:11:21 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:11:21 +0100 Subject: [dba-VB] Windows Phone 7 development Message-ID: Hi all A new emulator and tools are out - and _lots_ of info at The Windows Phone Developer Blog: http://windowsteamblog.com/windows_phone/b/wpdev/ /gustav From jwcolby at colbyconsulting.com Mon Feb 7 08:19:37 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 07 Feb 2011 09:19:37 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <4D4FFF79.6090105@colbyconsulting.com> Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, Arthur > in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful stuff in > this project! > > I currently wanted to solve the issue with porting .NET WinForms application > to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I > have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly > ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above roadmap > plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip archive > or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming issues.'; > 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts from > Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive R&D > work with little time to think through while coding :) But feel free to > comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get downloaded 19 > times already and I have got informed privately a couple of days ago just > three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET > project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain > old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Feb 7 09:23:09 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 18:23:09 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <4D4FFF79.6090105@colbyconsulting.com> References: <47751E10AACF40DE90041549131EA7FD@nant> <4D4FFF79.6090105@colbyconsulting.com> Message-ID: <04E9C6AB518C48BD8F507B368436724D@nant> Hi John -- Yes, a WinForms compound control placed into WPF's WindowsFormsHost control with the latter placed into WPF Browser Application's (XBAP) Page http://www.google.ru/search?hl=ru&biw=1920&bih=919&q=Hosting+Windows+Forms+C ontrols+in+WPF+WindowsFormsHost&aq=f&aqi=&aql=&oq= can be hosted in a browser. That seems to be the shortest way to get a browser based application having a desktop (WinForms) one. And with current mainsteram trend of making everything looking as a "Pinned Web Site" that feature look at least attractive... <<< What problem does that solve? >>> Getting Web Browser based app ASAP... <<< What problems does that create? >>> Desktop application do usually use local files etc. - XBAP application can run in fulltrust mode and have access to local files (to test) but that looks like 'Good Old ActiveX' controls therefore once XBAp port is done be prepared to do more work of makeing your app running OK in a "sandbox" having all resources handled over Internet... There could/should be other issues I'm not aware about... <<< I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. >>> Well, that's your opinion. I have an opposite one. Let's keep that different points of view our of this discussion thread? <<< I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. >>> That's a temporary issue I suppose. I remeber "clunky" MS Access 1.1/2.0 applications we all were developing quite some time ago.. <<< I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. >>> But you can well develop desktop (WinForms/WPF/Silverlight 4(?)) applications communicating with Internet Web services... <<< It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. >>> When talking to web services it doesn't matter that much where/what way client part (FE) is set/deployed... The browser/smartphones based apps are definitely the future IMO. Are desktop applications dying? I'm not stating that here - let's just discuss different technologies and the ways to apply them to this or that use case/environment/deployment scenario/... but not which one is better and why - all are good when used properly :) And "using properly" - that depends on one own's experiences, tastes and preferences or on what technlogy a customer is requesting... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 7 ??????? 2011 ?. 17:20 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, > Arthur in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful > stuff in this project! > > I currently wanted to solve the issue with porting .NET WinForms > application to the Web the shortest possible(?) way (WinForms Controls > -> XBAP) but I have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting > WinForms UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services > (formerly ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) > -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above > roadmap plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip > archive or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming > issues.'; 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts > from Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive > R&D work with little time to think through while coding :) But feel > free to comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get > downloaded 19 times already and I have got informed privately a couple > of days ago just three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true > TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - > ASP.NET project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10 > .0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using > "plain old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 8 14:54:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 8 Feb 2011 23:54:00 +0300 Subject: [dba-VB] Blocking IE of opening new window when working with Google Images Message-ID: <788DF9F3A5BA4F34B0A86F46D890DBDC@nant> Hi All -- I have the following sample Google Images query URL: http://www.google.com/images?q=Babolat+Bandana&hl=en&sa=G&gbv=2&as_st=y&tbs= isch:1,isz:ex,iszw:400,iszh:400,itp:photo,ift:gif (watch line wraps) that returns 7 result pictures. I wanted when clicked on any image to *not* have IE opening that pictures in a new browser window but to have image opened in the same window. It works that way on one PC but it doesn't work on the other. I have tried to tune IE options, including advanced ones but I can't get IE working as needed i.e. without opening image in a new window. Do you know how to make "the trick"? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 8 19:08:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 04:08:07 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- Thank you for your notes. How to make DNN (re-)indexing a page? There should be special DNN page options to include/exclude a certain page from full text indexing? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 5 ??????? 2011 ?. 13:43 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search > tables, > > you may find them interesting also. I was surprised to see such > "heavy lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 04:41:30 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 13:41:30 +0300 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery Message-ID: <34B330B354244ABC876181A0DFCC64DE@nant> Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil From marklbreen at gmail.com Wed Feb 9 04:51:36 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 10:51:36 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain page > from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they seem to > create a record for each word in each item and link them back through > relational database model. I described it as heavy lifting, as I would > have > assumed the more abstract ways to achieve this are available. I never used > SQL Server Full Text Search but I suppose that is on option. Perhaps the > DNN guys can demonstrate their heavy lifting is quick, fast and efficient, > but I was rather surprised to see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is rather > narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Wed Feb 9 05:55:55 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 14:55:55 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- I have checked my test web site - full text indexing seems to be done not instantly for large texts of HTML modules but it's somehow delayed: it works now for the html module, which it didn't work for when I first saved that module's large text. Yes, I will try to ask about HTML modules' text indexing on DNN... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 13:52 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain > page from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they > seem to create a record for each word in each item and link them back > through relational database model. I described it as heavy lifting, > as I would have assumed the more abstract ways to achieve this are > available. I never used SQL Server Full Text Search but I suppose > that is on option. Perhaps the DNN guys can demonstrate their heavy > lifting is quick, fast and efficient, but I was rather surprised to > see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is > rather narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:21:56 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:21:56 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <416817D4C6014795BA3FA3AE4CA8B79D@nant> Hi Gustav -- Yes, in closed environment but Northwind.NET is an open source - it could be public environment I mean... OK, I will try to get a free public certificate from http://www.cacert.org/ and if I will get it then I will try to use it to sign Northiwind.NET executables I'm releasing from time to time... BTW your below message somehow got filtered out by SPAM filter based on its text I suppose. I'd be interesting to know what "suspicious words" SPAM filter (standard MS Outloook one) found in that message text. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:31:33 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:31:33 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <674A5DCEB8FC47A38C06738D9ABA3FA7@nant> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Wed Feb 9 06:47:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Feb 2011 13:47:26 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Wed Feb 9 10:04:48 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 16:04:48 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done not > instantly for large texts of HTML modules but it's somehow delayed: it > works > now for the html module, which it didn't work for when I first saved that > module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the > DNN forums are very friendly and helpful - I think I always get an answer > withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the list of > indexes but I would presume that the indexer needs to know when module is > "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT > NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, > [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, > [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a certain > > page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them back > > through relational database model. I described it as heavy lifting, > > as I would have assumed the more abstract ways to achieve this are > > available. I never used SQL Server Full Text Search but I suppose > > that is on option. Perhaps the DNN guys can demonstrate their heavy > > lifting is quick, fast and efficient, but I was rather surprised to > > see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dbdoug at gmail.com Wed Feb 9 10:27:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 9 Feb 2011 08:27:32 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: Thanks, Shamil - looks interesting. I appreciate your sharing this kind of information. Doug On Wed, Feb 9, 2011 at 2:41 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > FYI: "What ASP.NET developers should know about jQuery" > > http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Feb 9 12:36:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Feb 2011 10:36:21 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <0CF8A6D59CAF4D05A490EE12CC166F9D@creativesystemdesigns.com> Shamil: Right-on. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 2:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, that's a correct assumption. :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 9 ??????? 2011 ?. 15:47 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil <<< snip>>> From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <5023DBCEB51F483AAD035CD53F0D50C0@nant> Hi Mark -- Yes, I did get it - that you're not suggesting to use DNN native full text indexing instead of GooleDocs - but I do need both in a solution I'm working on :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 19:05 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done > not instantly for large texts of HTML modules but it's somehow > delayed: it works now for the html module, which it didn't work for > when I first saved that module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the DNN forums are very friendly and helpful - I think I always > get an answer withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the > list of indexes but I would presume that the indexer needs to know > when module is "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) > NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] > NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, > [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a > > certain page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them > > back through relational database model. I described it as heavy > > lifting, as I would have assumed the more abstract ways to achieve > > this are available. I never used SQL Server Full Text Search but I > > suppose that is on option. Perhaps the DNN guys can demonstrate > > their heavy lifting is quick, fast and efficient, but I was rather > > surprised to see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart > > > or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Feb 11 05:48:23 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 11 Feb 2011 06:48:23 -0500 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <348EDCB3DAE3487E9D08DABA379B5C02@Gateway> This is good. See the Labs page also. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 5:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Feb 13 16:51:19 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Feb 2011 23:51:19 +0100 Subject: [dba-VB] Localizing Silverlight Business Application (solved) Message-ID: Hi all Even by following the guidelines in the previous posted lings, one item in the default project will still miss dynamic localization: the tiny welcome message displayed after a successful login. This is by default loaded at launch with the class LoginStatus as a localized format string for the displayed username; however, it is not changed if the culture is changed dynamically. For this to happen, you will need some modifications to LoginStatus.xaml.cs like this: public LoginStatus() { this.InitializeComponent(); this.BindWelcomeText(); this.authService.LoggedIn += this.Authentication_LoggedIn; this.authService.LoggedOut += this.Authentication_LoggedOut; this.UpdateLoginState(); } /// /// Updates the bound welcome message to that of the current culture selection. /// public void ApplyCurrentCulture() { this.BindWelcomeText(); } private void BindWelcomeText() { this.welcomeText.SetBinding(TextBlock.TextProperty, WebContext.Current.CreateOneWayBinding("User.DisplayName", new StringFormatValueConverter(ApplicationStrings.WelcomeMessage))); } The modification adds the method ApplyCurrentCulture which you can call from MainPage.xaml.cs by like this: LoginStatus _loginStatus = new LoginStatus(); /// /// Creates a new instance. /// public MainPage() { InitializeComponent(); // this.loginContainer.Child = new LoginStatus(); this.loginContainer.Child = _loginStatus; this.languageSelect.SelectionChanged +=new SelectionChangedEventHandler(languageSelect_SelectionChanged); } void languageSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { string culture = ((ComboBoxItem)((ComboBox)sender).SelectedItem).Tag.ToString(); Thread currentThread = Thread.CurrentThread; currentThread.CurrentCulture = new CultureInfo(culture); currentThread.CurrentUICulture = new CultureInfo(culture); ((ResourceWrapper)App.Current.Resources["ResourceWrapper"]).ApplicationStrings = new ApplicationStrings(); _loginStatus.ApplyCurrentCulture(); } The original line initiating LoginStatus is commented out. /gustav >>> gustav at cactus.dk 30-01-2011 16:59 >>> Hi all I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application. But by combining info from these links I finally succeeded: http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. This way all text for labels, error messages, tool tips, etc. are kept in separate resx files. Further, select a language in the combobox and the language changes instantaneously. Great! /gustav From jwcolby at colbyconsulting.com Mon Feb 14 19:24:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Feb 2011 20:24:18 -0500 Subject: [dba-VB] c# - close in any particular order? Message-ID: <4D59D5C2.3080909@colbyconsulting.com> I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com From mikedorism at verizon.net Wed Feb 16 07:06:33 2011 From: mikedorism at verizon.net (Doris Manning) Date: Wed, 16 Feb 2011 08:06:33 -0500 Subject: [dba-VB] c# - close in any particular order? In-Reply-To: <4D59D5C2.3080909@colbyconsulting.com> References: <4D59D5C2.3080909@colbyconsulting.com> Message-ID: <40D7D6D6846944878E1717620F7C35F1@hargrove.internal> I usually close in the following order: reader, connection, and then command. Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 14, 2011 8:24 PM To: VBA Subject: [dba-VB] c# - close in any particular order? I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 10:30:11 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 17:30:11 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From jwcolby at colbyconsulting.com Thu Feb 17 10:48:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Feb 2011 11:48:08 -0500 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <4D5D5148.9040603@colbyconsulting.com> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Feb 17 11:04:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 18:04:37 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi John Yes, it works fine for me, both on XP and Vista. Plain install, nothing smart. /gustav >>> jwcolby at colbyconsulting.com 17-02-2011 17:48:08 >>> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav From dw-murphy at cox.net Thu Feb 17 11:28:56 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 09:28:56 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <17942190E9764C2683F8F0EBD35F159A@murphy3234aaf1> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 12:08:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 19:08:42 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From dw-murphy at cox.net Thu Feb 17 12:49:44 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 10:49:44 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <8E8FD1D34E9E4F15A1720744B70F649F@murphy3234aaf1> Hi Gustav, I just want to consume the REST services from the client end so thought the approach in the Constant Contact download was of interest. I'll be following the series you provided the link for. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 10:09 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] REST and Visual Studio 2010 Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2 e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp- services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Fri Feb 18 18:06:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sat, 19 Feb 2011 11:06:36 +1100 Subject: [dba-VB] Unusual VB Request Message-ID: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From gustav at cactus.dk Sat Feb 19 02:20:54 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Feb 2011 09:20:54 +0100 Subject: [dba-VB] Unusual VB Request Message-ID: Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From jwcolby at colbyconsulting.com Sat Feb 19 13:53:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 14:53:30 -0500 Subject: [dba-VB] I'm getting nowhere Message-ID: <4D601FBA.5020302@colbyconsulting.com> I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Feb 19 18:18:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 19:18:04 -0500 Subject: [dba-VB] [dba-SQLServer] I'm getting nowhere In-Reply-To: References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605DBC.3080006@colbyconsulting.com> > The hierarchy goes like this: > > Roles > -- Users But why does the user have no (apparent) password but the role does? I found a vague (to me) reference to schemas and assigning schemas to users... Now that makes sense. I assume in all this that if a user goes away I just delete the user? I don't see any way to enable / disable the user. This whole thing just seems real hokey. John W. Colby www.ColbyConsulting.com On 2/19/2011 4:38 PM, Arthur Fuller wrote: > The hierarchy goes like this: > > Roles > -- Users > > What is not obvious from the docs is that you can add a role to a role. The > reason you would want to do this is to "include" lower-level capabilities > within a higher-level group (without bothering to have to re-define these). > > You can grant select, update, delete and inserts on any combination of > tables, views and sprocs. The approach I typically use is to deny table > access to everyone but me, and then to grant various levels of access to > views and sprocs to various roles. That way, no one but you can directly hit > a table. > > So, your bottom level might define Select capability and nothing else (to > one or more views and sprocs). The next level up might permit Updates, and > the next Inserts and Deletes. Actually I mean granting this privileges on > the sprocs/views created for those purposes. > > As you move up the hierarchy, you can "stack" the abilities (i.e. add the > lowest level role to the next up, and so on, until you reach the top, where > the only member of that role is you. > > HTH, and if not feel free to ask. > Arthur > > On Sat, Feb 19, 2011 at 2:53 PM, jwcolbywrote: > >> I am getting nowhere on understanding SQL Server security. Microsoft >> provides us with SQL Server Express which implies that joe blow (me) is >> going to install / maintain it. >> >> I am not a SQL Server Admin and I cannot afford to spend the time to be >> one. >> >> Google is my friend. BOL is not. >> >> Except that Google is taking me to these places where I am expected to >> already know how this stuff works, and then wants to make me a *better* >> administrator. Which of course is useless because I am not an administrator >> at all. >> >> OTOH I am not stupid. If I could find something that started at the "This >> is SQL Server security" basics I could learn this stuff. Before anyone says >> "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it >> simply sucks for my level of expertise (my opinion of course). If that is >> your advice, simply stay out of this thread. Thanks! >> >> So... my needs: >> >> I need to set up several SQL Server databases for use by different, very >> small groups (5-20 people) of entirely unrelated people. What I mean by >> that is that each DB is for a different "company" if you will. I need to >> access these databases from C#. I understand the group / user paradigm. I >> would like to create groups and users. Specific groups can do specific >> things in the database, some can see data but not modify it. Some can add >> records in specific tables but not others. Some can run reports (view). >> >> I do *NOT* want to create windows level groups and users if I can avoid it. >> These are people that I do not necessarily know and I do not want to give >> them any rights at the machine level, and I prefer to not maintain such >> lists at the machine level. >> >> Unfortunately SQL Server does not seem to model Groups / users. I go into >> SQL Server and see a security tab. It has "logins". Is that a user? A >> specific ability to log in with a password? To what? The server itself? A >> specific database? Groups of databases? >> >> I see "roles" but these appear to be aimed at the server and none of these >> people are going to be doing anything at the server level. >> >> Can I safely ignore everything under the server security tab? >> >> I go to a database and I see a security tab. It has users and roles. >> Hmm... better (I would think). I would like to add users "under" the >> specific database that the user will access. >> >> So I try to add a new user but I do not see anywhere to require a password. >> Hmmm... >> >> I go into roles and I do not see any predefined role that looks like it >> would be useful to me in meeting my needs described above. If I look at >> "add new role" it asks for a password. The User / group model does nto >> assign passwords at the group level which implies that a role is not a group >> at the user / group paradigm. >> >> Is it just me, or is SQL Server security just... different? Am I correct >> in assuming that it doesn't implement a user / group paradigm? >> >> And more importantly, where can I go to get a plain, simple, English >> description of how this mess works? >> >> And please excuse the tone that results from my frustration. The only help >> documents that I have found (and I have extensive lists of bookmarked web >> pages) so far assume that I am an administrator. I am not, and cannot >> afford to become one. And yet MS pushes SQL Express as if I (non-admin) >> should be able to use this as a data store pool. >> >> Help! >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Feb 19 18:22:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 10:22:49 +1000 Subject: [dba-VB] [AccessD] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605ED9.11823.1EFC5774@stuart.lexacorp.com.pg> On 19 Feb 2011 at 14:53, jwcolby wrote: > If I could find something that started at the > "This is SQL Server security" basics I could learn this stuff. Maybe this will help. (This is "my" understanding of it - corrections from others welcome .) There are two levels of "Security" in SQL Server: 1. SQL Server Instance (Server name) level 2. Database level At the Instance Level, you have: 1. Server Roles 2. Logins At the Database level you have: 1. Database Roles 2. Users INSTANCE LEVEL ============== SERVER ROLES These are generic sets of "rights" which apply to the entire Instance. "Server role is used to grant server-wide privileges to a user" . Generally, use Public for all logins unless you need admin rights on the server. LOGIN To allow anyone to access SQL Server, you need to create a login at instance level for them and then define what that login can do in terms of individual databases Login = an entity that can log in to SQL Server. In your situation, you are using SQL Secruity so a Login needs a Username and Password. If using Windows/Mixed security, it could also be an Active Drectory user. Note the use of the word "entity" - not person. With SQL Security, an entity is entirely identified by the username/password pair. If you embed a standard username/password in a connection string for an application that connects to SQL Server, then that application itself is the logged in entity. Alternatively, if you collect the username/password from the person using that application and put that the in the connection string, the individual user is the entity. On creation, you can define the "Default Database" for the login - this is the one they automatically access (so your don't need to specify it in your connection string.) DATABASE LEVEL =============== DATABASE ROLE Role = a definition a what entities with that role can do in the database.. There are a number of predefined roles, which are useful for things like "read only" users but you frequently need to create your own and assign rights to specific database objects for that role. i.e. allow read only on some tables and write access on others. You can also do things like prevent users from directly writing to any tables and only allow them to run specfic stored prcedures to update data. Once you have defined a new role within the database, you can assign that role to specific users within that database. You can think of a role as similar to a Group, it defines a set of rights and you can assign roles to users in the same way you assign "group membership" to Windows users. USER Once you have created a Login, you go the relevant database ( or databases) and assign rights to that login in that database. You do that by adding the Login as a User in that database. User = The definition of what a particular login entity can do in the database. To make a specific login a user in the database, you create a new user and select the existing Login name. Note that you can give that user the same name as the Login name or use a completely different one. Unless you have a good reason, I'd use the same as the login name. You then assign Databse Roles to the User to control what the user can do in the database. -- Stuart From gustav at cactus.dk Sun Feb 20 04:20:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Feb 2011 11:20:42 +0100 Subject: [dba-VB] Calculate age in C# using extensions Message-ID: Hi all Much to my surprise (and then not), the web is flooded with crap code for calculating age, so I had to write my own method to get it right. This allowed me to work with extensions which I have never done before. Pretty clever: http://msdn.microsoft.com/en-us/library/bb383977.aspx The simple method to find the age is to apply AddYears as shown below because this is the only native method to add years to the 29th of Feb. of leap years and obtain the correct result of the 28th of Feb. for common years. Some feel that 1th of Mar. is the birthday of leaplings but neither .Net nor any official rule supports this, nor does common logic explain why some born in February should have 75% of their birthdays in another month. Further, an Age method lends itself to be added as an extension to DateTime. By this you can obtain the age in the simplest possible way: int ageToday = birthDate.Age(); or: int ageSomeday = birthDate.Age(someDate); namespace DateTimeExtensionMethods { public static class DateTimeExtensions { /// /// Calculates the age in years of the current System.DateTime object today. /// /// The date of birth /// Age in years today. 0 is returned for a future date of birth. public static int Age(this DateTime birthDate) { return Age(birthDate, DateTime.Today); } /// /// Calculates the age in years of the current System.DateTime object on a later date. /// /// The date of birth /// The date on which to calculate the age. /// Age in years on a later day. 0 is returned as minimum. public static int Age(this DateTime birthDate, DateTime laterDate) { int age; age = laterDate.Year - birthDate.Year; if (age > 0) { age -= Convert.ToInt32(laterDate.Date < birthDate.Date.AddYears(age)); } else { age = 0; } return age; } } } Now, run this test: class Program { static void Main(string[] args) { RunTest(); } private static void RunTest() { DateTime birthDate = new DateTime(2000, 2, 28); DateTime laterDate = new DateTime(2011, 2, 27); string iso = "yyyy-MM-dd"; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Console.WriteLine("Birth date: " + birthDate.AddDays(i).ToString(iso) + " Later date: " + laterDate.AddDays(j).ToString(iso) + " Age: " + birthDate.AddDays(i).Age(laterDate.AddDays(j)).ToString()); } } Console.ReadKey(); } } The critical date example is this: Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Output: Birth date: 2000-02-28 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-28 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-28 Later date: 2011-03-01 Age: 11 Birth date: 2000-02-29 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2011-03-01 Age: 11 Birth date: 2000-03-01 Later date: 2011-02-27 Age: 10 Birth date: 2000-03-01 Later date: 2011-02-28 Age: 10 Birth date: 2000-03-01 Later date: 2011-03-01 Age: 11 And for the later date 2012-02-28: Birth date: 2000-02-28 Later date: 2012-02-28 Age: 12 Birth date: 2000-02-28 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-28 Later date: 2012-03-01 Age: 12 Birth date: 2000-02-29 Later date: 2012-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-29 Later date: 2012-03-01 Age: 12 Birth date: 2000-03-01 Later date: 2012-02-28 Age: 11 Birth date: 2000-03-01 Later date: 2012-02-29 Age: 11 Birth date: 2000-03-01 Later date: 2012-03-01 Age: 12 /gustav From stuart at lexacorp.com.pg Sun Feb 20 06:07:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:07:16 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Message-ID: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun Feb 20 06:16:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:16:06 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au>, <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <4D610606.5837.21896190@stuart.lexacorp.com.pg> Turns out that Maximo can run on DB2, Oracle or SQL Server. So if you can find out what platform it is running on, have appropriate login rights and you have access to appropriate ODBC drivers you may be able to do it. And to answer Gustav's point, if that is so, then you could write a PowerBasic native code DLL fairly easily to do it :-) -- Stuart On 20 Feb 2011 at 22:07, Stuart McLachlan wrote: > I'd say you are SOOL. > > Initially it didn't make sense needing a IP address *and* Hostname to > get an OS Username so I did a bit of googling. > > The key was .psdi > > It appears that psdi classes are implementations of an Interface to > the IBM's (originally PSDI's) java based Maximo Asset Management > System. > > I'd guess that the function is looking at the Maximo database which is > running on Hostname to find out if someone is logged into it from the > workstation at IP address and returniing the username if there is > someone logged in. > > Without knowing a lot more about the internals of Maximo, there is no > way to come up with an independent way of getting this information > > It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx > is logged into an SQL Server instance. You need to know how that > information is stored inside the the RDBMS, how to gain access to that > data and how to extract it. > > -- > Stuart > > On 19 Feb 2011 at 11:06, Michael Maddison wrote: > > > Hi Guys, > > > > > > > > Maybe someone can confirm or negate my thoughts on a client request > > I have received? > > > > > > > > Consider this code... > > > > import psdi.util.AXWin32Util; > > > > > > > > Call to DLL: > > > > > > > > if (this.debug) { > > > > System.out.println("Checking for user at ip " + address + > > " on > > " + host); > > > > } > > > > OSUsername = AXWin32Util.getOSUserName(address, > > host).trim(); > > > > > > > > > > Username is one value not delimeted list > > > > > > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > > > if (this.debug) { > > > > System.out.println("Found user " + OSUsername + " on " + > > host); > > > > } > > > > OSUsername = OSUsername.toUpperCase(); > > > > > > > > I think the above is Java? > > > > > > > > My client wants me to write a dll to replace the > > AXWin32Util.getOSUserName(address, host) method call. > > > > > > > > I don't have access to either the original source (dll) or the > > source to the calling app. Just the text above. > > > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > > getOSUserName method and register it on the target server what are > > the chances it will work? > > > > I suspect the answer is zero. > > > > > > > > Dotnet is not allowed. No installation is allowed. The server is Win > > 2003 sp2. > > > > > > > > Ideas anyone? > > > > > > > > Cheers > > > > > > > > Michael > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Sun Feb 20 16:10:28 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:10:28 +1100 Subject: [dba-VB] Unusual VB Request References: Message-ID: <99266C61B516644D9727F983FAFAB4650469F5@remote.ddisolutions.com.au> Hi Gustav, Yes, VB runtime has been tested and is ok. I'm at the point of testing a solution but I'm just being cautious as I don't understand what is going on here I guess. How does Java call a COM lib? Does it 'Import' it? What if 2 libs have the same name, what am I going to break? I'll let you know what happens. Cheers michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 19 February 2011 7:21 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Unusual VB Request Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at ddisolutions.com.au Sun Feb 20 16:17:02 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:17:02 +1100 Subject: [dba-VB] Unusual VB Request References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB4650469F6@remote.ddisolutions.com.au> Thanks Stuart, Yes, you are correct! It is a Maximo installation. The code I've been asked to replace is a 3rd party dll that Maximo calls to allow for single logins. So in effect I supply the login info to Maximo, the original code used NetWkstaUserEnum but I have changed it to WMI. WMI is superior in that it returns the actual logged in user. The API returned a collection of ALL logins. It appears that some change in environment caused the API to return its collection slightly differently so the single login started to fail. Cheers Michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, 20 February 2011 11:07 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unusual VB Request I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at mattysconsulting.com Fri Feb 25 15:51:08 2011 From: michael at mattysconsulting.com (Michael R Mattys) Date: Fri, 25 Feb 2011 16:51:08 -0500 Subject: [dba-VB] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <006201cbd536$1cfb4290$56f1c7b0$@mattysconsulting.com> Hello John, I am Michael's brother Eric. I think you only have to uncheck the "Use Trusted Connection" box in MS Access. That checkbox is for Windows Security. Your user is set up under SQL Security. Best Regards, Eric B. Mattys Mattys Consulting, LLC www.mattysconsulting.com (585) 300-0181 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 19, 2011 2:54 PM To: Sqlserver-Dba; VBA; Access Developers discussion and problem solving Subject: [dba-VB] I'm getting nowhere I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 10:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO/ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav From Gustav at cactus.dk Tue Feb 1 10:19:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 17:19:49 +0100 Subject: [dba-VB] ASP.NET app's web design Message-ID: Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 1 10:17:49 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 19:17:49 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <34C49EF441B84B85AA969D2E27EF4089@nant> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:08 >>> Hi Gustav -- I'm looking here for Windows Phone 7 OS features (it's not your device - just because I have found interesting review for Win Phone 7 OS and apps on this page) http://www.amazon.com/HTC-hd7-t-mobile-htc-locked/product-reviews/B004B3KANO /ref=dp_top_cm_cr_acr_txt?ie=UTF8&showViewpoints=1 Here is one excerpt: "The built in applications like Office let you view/edit word documents, view/edit excel documents, view powerpoint presentations, view/edit onenote, outlook - view your email from multiple providers - hotmail, google, yahoo, any email provider - very intuitive and easy to use interface. Internet Explorer - optimized and is a really good browser now; pinch to zoom and scrolling in internet explorer works perfectly, loading pages is excellent and fast - no real faults at all with the new internet explorer. Music/Videos player is basically the zune interface - beautiful; manages all your videos and music here and if you have a zune pass you can listen to your music from right here - this works in the background too and you can play games and surf the web using this application in the background. " Sounds useful. But this is what I'm not sure I'm understanding properly: "- No multitasking for third party apps - we need the ability to multi-task and choose what we want running in the background. Some apps really do need multitasking. " What third party apps are they talking about? SIlverlight custom apps do come loaded from Internet - right? If so - once loaded they block all the other apps? Sounds strange. Or do they mean custom XNA apps? Thank you. -- Shamil Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 23:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil The Phone Connect is only needed for running apps that stream video and the like. I have no specifics, sorry. WP7 apps are Silverlight only for "normal" apps or XNA for games and highly graphic apps. No WinForms. Thanks for the link. That seems relevant to study. Scott Gu is a good presenter. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Feb 1 11:55:45 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Feb 2011 18:55:45 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav From shamil at smsconsulting.spb.ru Tue Feb 1 11:56:25 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 20:56:25 +0300 Subject: [dba-VB] ASP.NET app's web design In-Reply-To: References: Message-ID: Yes, Gustav, I have just watched a demo video - that should be it + Expression Design. In fact Expression Blend seems to be a "must have" tool for Silverlight Development, as well as Expression BlendR 4 for Windows Phone (http://www.microsoft.com/expression/windowsphone/). SketchFlow - that's a useful UI workflow prototyping tool too. All in all - one have to get acquired Expression Studio 4 Ultimate (http://www.microsoft.com/expression/products/StudioUltimate_Overview.aspx) - and all and every web design area will be covered :) "Just" have additionally to "borrow" somewhere good graphical imagination and skills for simple and elegant Web 2.0 designs... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:20 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] ASP.NET app's web design Hi Shamil A candidate could be Expression Web 4: http://www.microsoft.com/expression/products/Web_Overview.aspx /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 01:56 >>> Hi All -- I wanted to ask three questions to the list members who has made some graphics/knows well (at least in theory) what tools and principles are involved in that graphics design process: - 1) Is there any inexpensive graphic design tools, which allow to create designs as the following? (assumption that graphics designer is able to imagine and make such design is given by default and is not the subject of my questions) http://shamils-23.hosting.parking.ru/Prototype/ (Must have for such a tool should be a feature to make layered design built from several graphical components as well as the feature of setting transparent background for given color, drawing gradients but there is no need in that many fancy and cute features one can find in ADOBE Photoshop - just a set of feature to support development of simple and elegant Web 2.0 designs - that is required...) - 2) When such design is created is it completely manual work to convert it into a (set of) .css + graphics + .html? - 3) Do you see a lot of graphics will go into .css + graphics + .html from such a design or most of it can be presented by just .css + .html4 (maybe .html5)? (I do assume here that photos of the consumer good products are not the part of the design, as well as shadows, which can be ignore while porting graphic design from .psd into .css + .html if they are not part of photos)... - 4) Do you suppose that the referred above design can be made without HTML tables - by using
+ .css + as little as possible graphics? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 1 12:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 1 Feb 2011 21:05:08 +0300 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <6164E2D6C1494AA694F3903264213FE4@nant> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 17:17 >>> Hi Gustav -- Thank you for your reply. <<< Third-party apps means everything you install on the phone, including your own apps. >>> Do Silverlight apps get installed on the Windows Phone 7 as standalone apps? I didn't know that - and if so they are running in a "sandbox" with all the data (and files) available from Internet only? I guess IE and MS Office are implemented on Windows Phone 7 XNA or some other (unknown) kinds of apps? Or as Silverlight apps? Have you seen/heard that that "custom apps multi-tasking" will get soon supported on Windows Phone 7 by a near future Windows Phone 7 upgrade/service pack? <<< It's a pleasure to work with. >>> Do you mean to "play with"? :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 19:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Third-party apps means everything you install on the phone, including your own apps. As I understand it, the question is what apps do when you browse away from them? Do they pause/sleep, unload, or keep running? The review is correct. The IE Phone Edition is amazing. The Office apps are a little limited but who expects a full Office package on a phone. Not me. Also, the UI design is top notch. Very clean and well designed. It's a pleasure to work with. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 04:02:14 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 11:02:14 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Building-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav From shamil at smsconsulting.spb.ru Wed Feb 2 04:08:23 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 10:08:23 -0000 Subject: [dba-VB] Localizing Silverlight Business Application In-Reply-To: References: Message-ID: <7790F520893B4C9F80E94E246DD885D4@nant> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-n eed-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great- windows-phone-7-device/6977 Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 2 ??????? 2011 ?. 13:02 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil So will I - try to watch those videos. I'm not sure what will or may run in the background. Downloads I think and music I guess but I don't use the phone for music. Apps don't need to unload when the user moves away - that's up to the programmer as I understand it. I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? /gustav >>> shamil at smsconsulting.spb.ru 01-02-2011 19:05 >>> Thnak you, Gustav -- I will try to watch through "The Full Stack" video series. Not sure I will find time to read through Charles Petzold Windows Phone 7 book, we will see. No, I didn't get it downloaded yet. Multi-tasking - but built-in "MS made" apps they are not working in multi-task mode? Every time you switch one of them they get restarted from scratch? What about standard programs settings? They can be changed I guess? That above are more rhetoric questions than anything else... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 1 ??????? 2011 ?. 20:56 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Localizing Silverlight Business Application Hi Shamil Your apps cannot get direct access to the phone - it's a locked down environment. That's both a challenge and a kind of protection for the apps. "The Full Stack" - a series of five how-to videos - is for viewing/download here: http://channel9.msdn.com/Series/The-Full-Stack/The-Full-Stack-Part-1-Buildin g-the-Admin-Site-with-ASPNET-MVC-3-NuPack-and-EF-Code-First Also, did you download the free monster book: Programming Windows Phone 7 by Charles Petzold http://www.charlespetzold.com/phone/ I haven't had time for more than a quick peruse ... I don't know how the Office apps are built. Good question, by the way. As for the multitasking, I don't know, I think not even MS has decided where to go at what pace. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Feb 2 09:08:35 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Feb 2011 16:08:35 +0100 Subject: [dba-VB] Localizing Silverlight Business Application Message-ID: Hi Shamil Thanks for those links, very useful. As stated, this is version 1.0 of WP7 and things will evolve for sure. Should I meet something new, I'll try to post back here. /gustav >>> shamil at smsconsulting.spb.ru 02-02-2010 11:08 >>> Hi Gustav -- <<< I certainly didn't expect you to read the monster book in full right now! But by browsing it perhaps some info related to your questions could be found? >>> Yes, please feel free to leave my questions unanswered here - they are more chit-chatting/collecting questions to work through somewhere in the (near) future (by myself) than anything else. Please feel free to answer on my questions with your own questions - something like - yes, also is unclear/interesting to know what that feature/option means and how it works, how to make this or that etc. BTW here is information on HTML5 and multi-tasking to be supported soon(?) in Windows Phone 7: 6: The initial build is incomplete http://www.techrepublic.com/blog/10things/10-things-network-administrators-need-to-know-about-windows-phone-7/2163?tag=nl.e101 and here is information on your Win7 Phone device I have got occasionally found via some other links: Samsung Focus review: The first great Windows Phone 7 device http://www.techrepublic.com/blog/hiner/samsung-focus-review-the-first-great-windows-phone-7-device/6977 Thank you. -- Shamil From shamil at smsconsulting.spb.ru Wed Feb 2 09:27:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 02 Feb 2011 15:27:00 -0000 Subject: [dba-VB] FW: FF 3.6.8 weird error message - sec_error_expired_certificate for https://docs.google.com/?tab=mo&authuser=0 Message-ID: <9AC80F19C46943F6833F02A751E0F82C@nant> Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 04:11:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 3 Feb 2011 13:11:58 +0300 Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 In-Reply-To: <9AC80F19C46943F6833F02A751E0F82C@nant> References: <9AC80F19C46943F6833F02A751E0F82C@nant> Message-ID: <2A303320157442568CFC9C987CD7BD17@nant> Hi All -- I'm sorry for that off-topic. The issue was solved yesterday: the day before yesterday it was a usual hardworking day/night and I needed to set system date to the last year to test one fixed feature of software under development. I have set that date - one year from now in the past. I have tested the feature, I have switched off PC and I have got asleep. The next day there was a lot of new work and I forgot to set system date back to the correct value. That incorrect system date caused FF to report that SSL certificate from googledocs is invalid... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 2 ??????? 2010 ?. 18:27 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] FW: FF 3.6.8 weird error message -sec_error_expired_certificate forhttps://docs.google.com/?tab=mo&authuser=0 Hi All -- Sorry for off-topic. But I have got a very strange issue with googledocs today when using it from FF 3.6.8: sec_error_expired_certificate on https://docs.google.com/?tab=mo&authuser=0 So "something" in between my PC and https://docs.google.com tries to substitue googles docs original certificate? I have this issue on one PC but not on another one. And I didn't have that issue on now "problematic" PC yeaterday. I have anti-virus realtime protection by it looks like I have got an issue? I have Fiddler - it's disabled - I can try to enable it to see what is happening - should I? When I have got tried to use: https://66.102.13.113/ (ping returns that for docs.google.com) it also got it reported as insecure by FF 3.6.8: Technical details: 66.102.13.113 uses invalid security certificate: Current certificate is only valid for the following names: *.google.com , google.com , *.atggl.com , *.youtube.com , *.ytimg.com , *.google.com.br , *.google.co.in , *.google.es , *.google.co.uk , *.google.ca , *.google.fr , *.google.pt , *.google.it , *.google.de , *.google.cl , *.google.pl , *.google.nl , *.google.com.au , *.google.co.jp , *.google.hu , *.google.com.mx , *.google.com.ar , *.google.com.co , *.google.com.vn , *.google.com.tr Current certificate isn't yet valid. It will become valid starting 06/01/2011 1:45. (Error code: ssl_error_bad_cert_domain) :( Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Feb 3 20:38:01 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 05:38:01 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> Message-ID: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From marklbreen at gmail.com Fri Feb 4 03:10:01 2011 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 4 Feb 2011 09:10:01 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: <1A9F0B500B8247EDBF210D0A0ABE6845@nant> References: <54C40F764B3B4CBB812589E1808149DD@nant> <8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1> <1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I used > http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working after > all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and > download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power offered > by > the "Cloud" services. I'll be interested in how this comes out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search over > a > large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space on > GoogleDocs, put all the subject docs there, and then use Google API to > search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site as > front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I plan > to > implement a front-end to that application system as an WinForms application > coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Fri Feb 4 03:32:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:32:37 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); DocumentsService service = new DocumentsService("GoogleDocumentsSample"); System.Console.WriteLine("Logging in..."); RequestSettings settings = new RequestSettings("GoogleDocumentsSample", credentials); settings.AutoPaging = true; settings.PageSize = 100; if (settings != null) { DocumentsRequest request = new DocumentsRequest(settings); System.Console.WriteLine("Successfully logged in"); System.Console.WriteLine("Gettings docs..."); FeedQuery query = new FeedQuery(); query.Uri = new Uri( request.BaseUri); query.Query = "quick brown fox"; Feed feed = request.Get(query); // this takes care of paging the results in System.Console.WriteLine("Collecting docs info..."); int index = 1; foreach (Document entry in feed.Entries) { System.Console.WriteLine("{0}. {1}", index, entry.Title); all.Add(entry); index++; } System.Console.WriteLine("\n *** Docs collected - processing them***\n"); index = 1; foreach (Document doc in all) { // just listing collected docs... System.Console.WriteLine("{0}. {1}", index, doc.Title); index++; } } else { System.Console.WriteLine("Login failed."); } } Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. It's funny one can also use GoogleDocs engine as a document formats convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one format, and download another one... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: 22 ?????? 2011 ?. 20:56 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Shamil, Very innovative approach. Good use of the low cost and high power offered by the "Cloud" services. I'll be interested in how this comes out. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, January 21, 2011 8:34 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... Hi All -- I have a task to implement a system providing "smart" fulltext search over a large base of text documents. My current plan is to use Google Docs. I plan to get in the future 80 GB ($20.00 USD per year) hosted space on GoogleDocs, put all the subject docs there, and then use Google API to search via my documents base. That seems to be it? It should be even possible to create a simple (free?) Google Web Site as front-end to that GoogleDocs documents base? That GoogleDocs base/site is planned to be used by non-profit organization. Am I missing something? Additional overhead costs to keep that solution's stuff on Google site? And why I'm writing about that solution here in dba-VBA? - because I plan to implement a front-end to that application system as an WinForms application coomunicating with Windows API... Thank you. -- Shamil From Gustav at cactus.dk Fri Feb 4 03:34:49 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 10:34:49 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Mark What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? >>> marklbreen at gmail.com 04-02-2011 10:10 >>> Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: <54C40F764B3B4CBB812589E1808149DD@nant><8FA20A84C52943F49C1F87D8D6AD549B@murphy3234aaf1><1A9F0B500B8247EDBF210D0A0ABE6845@nant> Message-ID: Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 4 ??????? 2011 ?. 12:10 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil Just FYI, I happened to look yesterday at the DNN Keyword search tables, you may find them interesting also. I was surprised to see such "heavy lifting" way of providing search. Mark On 4 February 2011 02:38, Shamil Salakhetdinov wrote: > Hi Doug, > > Yes, search google docs docs can be automated - I have found and I > used http://code.google.com/p/google-gdata/ > That wasn't very quick to make it working but I have got it working > after all. > > My sample quick & dirty code, which worked for me was as the following: > > string userName = "myTest at gmail.com"; > string password = "mypassword"; > > List all = new List(); > GDataCredentials credentials = new GDataCredentials(userName, password); > DocumentsService service = new > DocumentsService("GoogleDocumentsSample"); > > System.Console.WriteLine("Logging in..."); > > RequestSettings settings = new > RequestSettings("GoogleDocumentsSample", > credentials); > settings.AutoPaging = true; > settings.PageSize = 100; > if (settings != null) > { > DocumentsRequest request = new DocumentsRequest(settings); > System.Console.WriteLine("Successfully logged in"); > > System.Console.WriteLine("Gettings docs..."); > > FeedQuery query = new FeedQuery(); > query.Uri = new Uri( request.BaseUri); > query.Query = "quick brown fox"; > > Feed feed = request.Get(query); > > > // this takes care of paging the results in > System.Console.WriteLine("Collecting docs info..."); > > int index = 1; > foreach (Document entry in feed.Entries) > { > System.Console.WriteLine("{0}. {1}", index, entry.Title); > all.Add(entry); > index++; > } > > System.Console.WriteLine("\n *** Docs collected - processing > them***\n"); > > index = 1; > foreach (Document doc in all) > { > // just listing collected docs... > System.Console.WriteLine("{0}. {1}", index, doc.Title); > index++; > } > } > else > { > System.Console.WriteLine("Login failed."); > } > } > > > Uploading docs to GoogleDocs can be also automated usinhg the same C# lib. > > It's funny one can also use GoogleDocs engine as a document formats > convertor e.g. txt -> pdf, or txt -> doc etc. - just upload one > format, and download another one... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy > Sent: 22 ?????? 2011 ?. 20:56 > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Shamil, > > Very innovative approach. Good use of the low cost and high power > offered by the "Cloud" services. I'll be interested in how this comes > out. > > Doug > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, January 21, 2011 8:34 AM > To: 'Discussion concerning Visual Basic and related programming issues.' > Subject: [dba-VB] "Smart" fulltext search on large documents (data)base... > > Hi All -- > > I have a task to implement a system providing "smart" fulltext search > over a large base of text documents. > My current plan is to use Google Docs. > > I plan to get in the future 80 GB ($20.00 USD per year) hosted space > on GoogleDocs, put all the subject docs there, and then use Google API > to search via my documents base. > > That seems to be it? > > It should be even possible to create a simple (free?) Google Web Site > as front-end to that GoogleDocs documents base? > > That GoogleDocs base/site is planned to be used by non-profit organization. > > Am I missing something? > Additional overhead costs to keep that solution's stuff on Google site? > > And why I'm writing about that solution here in dba-VBA? - because I > plan to implement a front-end to that application system as an > WinForms application coomunicating with Windows API... > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Feb 4 04:34:43 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 13:34:43 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <96488F7F3F374250A5AA0D42D002461F@nant> Hi Gustav, Search itself is as fast as Google is :) Then it takes some time to get info on docs. If your search filter results in a few records returned then the search is almost instant (I have 1000+ test docs in my GoogleDocs test site): I have slightly corrected code to return timestamps - here are the stats: 2 docs returned, batch size = 10 ======================== 04/02/2011 13:18:23: Logging in... 04/02/2011 13:18:23: Successfully logged in 04/02/2011 13:18:23: Gettings docs... 04/02/2011 13:18:23: Batch size = 10, getting first docs' batch... 04/02/2011 13:18:24: All 2 docs collected another filtering criteria 882 docs returned, batch size = 100 ============================================ 04/02/2011 13:08:41: Logging in... 04/02/2011 13:08:41: Successfully logged in 04/02/2011 13:08:41: Gettings docs... 04/02/2011 13:08:41: Batch size = 100, getting first docs' batch... 04/02/2011 13:08:44: 100 docs processed 04/02/2011 13:08:46: 200 docs processed 04/02/2011 13:08:47: 300 docs processed 04/02/2011 13:08:49: 400 docs processed 04/02/2011 13:08:50: 500 docs processed 04/02/2011 13:08:51: 600 docs processed 04/02/2011 13:08:53: 700 docs processed 04/02/2011 13:08:54: 800 docs processed 04/02/2011 13:08:55: All 882 docs collected same as above filtering criteria 882 docs returned, batch size = 500 ================================================= 04/02/2011 13:10:05: Logging in... 04/02/2011 13:10:05: Successfully logged in 04/02/2011 13:10:05: Gettings docs... 04/02/2011 13:10:05: Batch size = 500, getting first docs' batch... 04/02/2011 13:10:14: 500 docs processed 04/02/2011 13:10:19: All 882 docs collected BTW, I have used just a subset of Google.GData classlibs. Classlibs used: Google.GData.AccessControl.dll Google.GData.Client.dll Google.GData.Extensions.dll Google.GData.Documents.dll The full list of samples Google.GData provides is: analytics Analytics_AccountFeed_Sample Analytics_DataFeed_Sample appsforyourdomain blogger calendar codesearch contentforshopping_sample +DocListExporter +DocListUploader execrequest gapps_calendar_resource_sample gapps_google_mail_settings_sample gapps_multidomain_sample gapps_orgmanagement_sample gbase health OAuth PhotoBrowser spreadsheets YouTubeNotifier YouTubeSample YouTubeSample.sln YouTubeUploader I used just two of provided samples for R&D and making my solution. As one can see based on samples' titles almost everything can be queryed/processed on google similar way.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 12:33 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil How fast is this? Sounds very clever. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 03:38 >>> Hi Doug, Yes, search google docs docs can be automated - I have found and I used http://code.google.com/p/google-gdata/ That wasn't very quick to make it working but I have got it working after all. My sample quick & dirty code, which worked for me was as the following: string userName = "myTest at gmail.com"; string password = "mypassword"; List all = new List(); GDataCredentials credentials = new GDataCredentials(userName, password); <<>> From Gustav at cactus.dk Fri Feb 4 05:13:16 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 12:13:16 +0100 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... Message-ID: Hi Shamil Thanks for the link, code, and comments - and the timings in the other post. For an upcoming project I will need some text search options so I'm collecting bits and pieces ... /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 11:34 >>> Hi Mark -- I didn't know about that DNN's "heavy lifting" - what it's? I'm joining Gustav's question on that subject... Yes, I did plan to use DNN search for local manual search on the custom site but I do plan to keep that site as small as possible - hence I'm tryng to find how to "outsource" docs' keeping and searching tasks to Google Docs and Google API... BTW, for C# code solutions for full text searaching and many other tasks for local large docs base there exists a powerful free code solution I have occasionally get at yesterday: http://www.searcharoo.net/ Although I didn't use it, no I plan to use it in the near future... Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <88C8330964FC47F7A753561E66B42346@nant> References: <88C8330964FC47F7A753561E66B42346@nant> Message-ID: <4B0487F0346243328CEE785D738A4915@nant> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ??????? 2010 ?. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln ----------- From shamil at smsconsulting.spb.ru Fri Feb 4 09:03:32 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 18:03:32 +0300 Subject: [dba-VB] Mercurial vs. SVN In-Reply-To: References: Message-ID: <5C25784986154BE892C6C8CF91EA0716@nant> Hi Gustav -- I have found solution - that was easy but I didn't know about it/didn't find it somehow - just add global-ignores to SVN setup dir config file at C:\Documents and Settings\{username}\Application Data\Subversion: global-ignores = *.exe.config *.exe.manifest *.xbap *. i *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user *.g.vb *.g.cs *.baml *.GenerateResource.Cache *.cache Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 17:48 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil I don't know about these details of TortoiseSVN - I just used it for the Northwind project and never had any trouble - and stayed off the command line. Thanks for the tip (for Mercurial hosting) at bitbucket. However, I think I stay with TortoiseSVN and/or VisualSVN as they have worked fine for me. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 12:48 >>> Hi Gustav -- Thank you for your note. I should probably install newer version. But the one I have does support the feature of ignoring/making local individual files (filenames patterns) and *whole* folders. That is useful but that's not what I'm looking for/what exists in Mercurial it has more powerful feature to keep ignore list. BTW, SVN does inform that it added file/folder to the ignore list - is it possible to edit that list manually? If yes, where it's located? - I can find it - maybe you just know it from memory/used it: in Mercurial I usually just have a generic ignore list, which I'm putting in every new repository I create and then I'm adding specific files/filenames templates to that ignore list. Gustav, it's not a big issue - I can find my way using SVN via command lines - mainly wondering if I can skip making a batch which will use command line interface of SVN to "clean-up" local repository from some files/folders before committing it... BTW, https://bitbucket.org/ has an option of free unlimited code repositories up to 5 users... I haven't used it yet but I do plan to put all my important source code mirrored there in private code repository... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 31 ?????? 2011 ?. 11:43 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Mercurial vs. SVN Hi Shamil That's a very old version, current version is 1.6.something. The trick is the Shift key. From the help file: Hold the Shift key to get the extended context menu and select TortoiseSVN and Delete (keep local) to mark the file/folder for deletion from the repository without losing the local copy. /gustav >>> shamil at smsconsulting.spb.ru 31-01-2011 01:23 >>> Hi All -- Does SVN support "ignore list" as Mercurial does? (I wanted to exclude binaries and some other files from add/commit batch without going through all of added/updated items manually every time on commit). I do use Tortoise SVN v.1.4.5, and I do not see "ignore list feature" - does Tortoise SVN 1.4.7 support this feature? Or can I define ignore list somehow else when working with SVN? Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Feb 4 10:13:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Feb 2011 17:13:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln From shamil at smsconsulting.spb.ru Fri Feb 4 14:33:41 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 4 Feb 2011 23:33:41 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: References: Message-ID: <47751E10AACF40DE90041549131EA7FD@nant> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Feb 5 04:43:02 2011 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 5 Feb 2011 10:43:02 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search tables, > > you may find them interesting also. I was surprised to see such "heavy > lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at mattysconsulting.com Sun Feb 6 12:04:50 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 13:04:50 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 13:05:08 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 6 Feb 2011 22:05:08 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 13:59:53 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 14:59:53 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 15:05:03 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 00:05:03 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant> <110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Sun Feb 6 15:37:39 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Sun, 6 Feb 2011 16:37:39 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> Message-ID: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Feb 6 19:44:28 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 04:44:28 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) In-Reply-To: <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> References: <47751E10AACF40DE90041549131EA7FD@nant><110F3A846EE54412AB0D15FAEFB8ABA2@Gateway> <5AD39E8B78C04A79BEDCACF9846EA14C@Gateway> Message-ID: <48417D4A145C456FB00ECEA066160A7D@nant> Hi Mike -- OK, so you found that ADO.NET EF (.NEt Framework 4.0?) isn't stable/efficient enough for your custom applications? BTW, I have got WPF browser application running here from within VS2010 when security is set to full trust and XBAp's application app.config has connectionstring properly set. Therefore it should be possible in principle to somehow (how? any working hints are very welcome!) configure XBAP application security (manifest) to get that app delivered from Internet IOW: - WinForm application built from a set of WinForms User Controls can be quickly converted into an Internet WPF Browser Application (XBAP) without almost any additional programming. See P.P.S of http://northwind.codeplex.com/documentation Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 7 ??????? 2011 ?. 0:38 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released -RE:DedMorozsendsyoulinks on sample projects... :) Hi Shamil, I can't be specific at the moment, a recounting would take too long. Roughly, we were working with Silverlight, MapPoint, and Access 2000 when some puzzles presented themselves that caused us to back off EF and ADO.Net. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 4:05 PM To: 'Discussion concerning Visual Basic and related programming issues.'; michael at mattysconsulting.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE:DedMorozsendsyoulinks on sample projects... :) Hi Mike -- <<< Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. >>> No (I can be wrong) - my idea is to make native WPF version of front-end. WindowsFormsHost that is only for XBAP "quasi solution" if that is possible at all: one can imagine a use case when a WinForms application is implemented as a set of WinForms controls (as we have in Northwind.NET) and then a customer comes and requests for as "quick as possible" port of that WinForms app to a Browser-based environment - and then here XBAP and WindowsFormsHost come in mind - but as it happens such a port to XBAP doesn't work without some additional work if possible at all... WPF/Silverlight: AFAIK WPF and Silverlight XAML are very close to each other - so having WPF native port should simplify Silverlight port or even keeping both WPF and Silverlight FE clients would be viable (do WPF and Silverlight UserControls differ significantly or Silverlight ones are a subset of WPF ones? Or WPF/Silverlight have good intersection of features which are used for UserControls - good enough to use that intersection to cover most of the needs custom business applications development?)... <<< The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. >>> Could you please clarify what use case/context do you mean here? What are that "inconsistent object models" you "ten to revert back to Linq to SQL"? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 23:00 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: DedMorozsendsyoulinks on sample projects... :) Hi Shamil, Well, I think your only link between WPF/Silverlight is that WindowsFormsHost. Not sure whether it would translate and be installoable over a browser ... but it's all just text, right? The DAL switching is important, too - we are very disappointed with the inconsistant object models and tend to revert back to Linq to SQL. I'll look forward to hearing from you again. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, February 06, 2011 2:05 PM To: michael at mattysconsulting.com; 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Morozsendsyoulinks on sample projects... :) Hi Mike -- Thank you for your reply. <<< Are you asking for volunteers to another SCRUM? >>> Well, not, yet, but I'm thinking about that "second SCRUM round" together with you and the other "old team" members as well as with the new ones. Maybe later this spring/beginning of this summer - how about that? First I wanted to solve the issue with making XBAP application out of WinForms application if that possible at all. If that is not possible I wanted to convert WinForms application first into WPF application - and from that latter make a port to SilverLight... (And this R&D work of solving XBAP porting issues or making WPF apps out of WinForm one does need outer help and support...) And making RIA web service - that can be done right now AFAIU? I mean current ADO.NET EF DAL can be substituted with a RIA Web Service? But I know that RIA stuff a bit only in theory... I thought also maybe making multiple "switchable DAL" modules/classlibs would be an interesting for R&D work? To apply the results of this work in real life projects? If application of such "multiple DAL" solution is looking too tricky for real life environments then just "showing" the path how (relatively easy) one DAL solution can be substituted by another one while an application is getting scaled - that should be useful for sure. And one of such "substitutions" was already done within this project: ADO.NET DataSets based DAL was substituted with ADO.NET EF based DAL with just a few code changes (the traces of all the changes, which were done while converting original source code into the current state are stored in zipped .ng (Mercurial) archive)... Of course Azure is an area of interest here too for Northwind.NET project - I have looked at Azure usage/subscription options and I'm not sure, which one would be the best to use for such an open source project? Should we try to "appeal" to MS to get a free access to Azure for this project? And DotNetNuke is also an option I'm considering here. I mean porting/"branching" Northwind.NET as (a set of) sample custom DNN module(s) - it may happen this option will be the first one I wanted to work on as I plan to make some custom development for DNN in the near future.... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys Sent: 6 ??????? 2011 ?. 21:05 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sendsyoulinks on sample projects... :) Shamil, I think this delivery of an Silverlight RIA system is a great idea. Elevated permissions / user permission should get you through to Azure. Are you asking for volunteers to another SCRUM? Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, February 04, 2011 3:34 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 02:17:43 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 09:17:43 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] ASP.NET e-commerce solutions Message-ID: <89A1F89F55234B77A23FB3C8028409AE@nant> Hi All -- I'm looking for ASP.NET e-commerce solutions but not to select one (I have got one selected already) but to make the "wish-list" set of features to extend my selected solution, and here is an interesting solution: http://www.americangolf.co.uk/golf-shoes/mens-golf-shoes/footjoy-tcx-golf-sh oes/ with the feature to zoom parts of a consumer good pictures on "mouse-overing" that parts: http://smsconsulting.spb.ru/test/footjoy1.jpg Do you know how this is done? AJAX - yes, it's used here of course, but maybe you have seen somewhere some ready to use samples how to implement this feature? jQuery? ASP.NET AJAX Control Toolkit? ...? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Mon Feb 7 04:37:10 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 13:37:10 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 11:18 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Interesting. I would certainly like at least to follow and to contribute where I can. However, to focus a little, I try at the moment to concentrate on the Silverlight part because of Silverlight's cross-platform option (we do have clients running Macs as a principle). /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 21:33 >>> Hi Gustav -- Thank you. In fact we started that project together with you, Mike, Mark, Dough, Arthur in March 2009 http://northwind.codeplex.com/team/view and I do think all you guys will contribute quite some more useful stuff in this project! I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I have got stuck with position (5) of the current roadmap plan: - 1) DONE: WinForms + ADO.NET -> - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) -> - 5) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + ADO.NET EF (EDM) with backend db on the same site -> - 6) XBAP host page with WindowsFormsHost control hosting WinForms UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly ADO.NET Data Services) -> - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> - 9) Silverlight + Windows Azure Services... - .... Any takers? Please note/comment if you see some "hardcore" issues with the above roadmap plan... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 4 ??????? 2011 ?. 19:14 To: dba-vb at databaseadvisors.com Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Great! I can recommend everyone to study this. /gustav >>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32 >>> Hi All -- I have just got released: Northwind.NET v.2.1 (.NET Framework 4.0) http://northwind.codeplex.com/releases All source code can be obtained from above page by downloading zip archive or from the following page http://northwind.codeplex.com/SourceControl/list/changesets by using SVN. Looking for tips & tricks how to make in the next release "quick & dirty" XBAP port of WPF + WinForms user controls released this time. Enjoy! Thank you. -- Shamil -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] Sent: 31 ******* 2010 *. 15:14 To: 'Discussion concerning Visual Basic and related programming issues.'; 'Access Developers discussion and problem solving' Subject: Ded Moroz sends you links on sample projects... :) Hi All -- New Year Eve is approaching here, and I wanted to send you some gifts from Ded Moroz - here they are: This is a set of projects I have got developed a few days ago during 40+ hours R&D coding marathon. The task was to finish all the work in about 40 hours. So a few bugs left in there as release deadline wasn't possible to move. They (the bugs) are described in readme. But in general all the sample apps work rather well as my tests here show. I'd be interested to hear any comments - in what direction that sample should be better developed. Please write them here, or on http://northwind.codeplex.com . Please do not "judge severely" as as I noted that was very intensive R&D work with little time to think through while coding :) But feel free to comment it as you like. *Do not try* to be politcorrect. Please. I wish all of your Very Happy and Prosperous New Year! Thank you. -- Shamil P.S. Short description of published projects (the sources get downloaded 19 times already and I have got informed privately a couple of days ago just three people): NorthwindNET_4_0_Sources.zip (~24MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 Northwind.NET.VS2010.sln ======================== 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' data sources); 5. Northwind.NET.Model - ADO.NET EDM; 6. Northwind.NET.Settings - application settings (wrappers); 7. Northwind.NET.Resources - application resource file; 8. Northwind.NET.Utilities - utility class library; 9. Northwind.NET.Testing.Console - some test functions - it's not true TDD - just a rough approximation; Northwind.NET.MSAccess.sln ========================== I. WinForms FE with MS Access backend Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend Northwind.NET.Utilities - Utilities project II. ASP.NET sample application with MS Access backend E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET project III. Just a test ASP.NET app - can be removed E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 Northwind.NET.zzz_OLD.sln ========================= 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain old" ADO.NET data sets - the project we did last year's April. 2. All the other projects from as in Northwind.NET.VS2010.sln _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Feb 7 06:07:31 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:07:31 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Mon Feb 7 06:11:21 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 07 Feb 2011 13:11:21 +0100 Subject: [dba-VB] Windows Phone 7 development Message-ID: Hi all A new emulator and tools are out - and _lots_ of info at The Windows Phone Developer Blog: http://windowsteamblog.com/windows_phone/b/wpdev/ /gustav From jwcolby at colbyconsulting.com Mon Feb 7 08:19:37 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 07 Feb 2011 09:19:37 -0500 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <47751E10AACF40DE90041549131EA7FD@nant> References: <47751E10AACF40DE90041549131EA7FD@nant> Message-ID: <4D4FFF79.6090105@colbyconsulting.com> Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, Arthur > in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful stuff in > this project! > > I currently wanted to solve the issue with porting .NET WinForms application > to the Web the shortest possible(?) way (WinForms Controls -> XBAP) but I > have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services (formerly > ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above roadmap > plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip archive > or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming issues.'; > 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts from > Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive R&D > work with little time to think through while coding :) But feel free to > comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get downloaded 19 > times already and I have got informed privately a couple of days ago just > three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - ASP.NET > project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10.0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using "plain > old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Mon Feb 7 09:23:09 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 7 Feb 2011 18:23:09 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) In-Reply-To: <4D4FFF79.6090105@colbyconsulting.com> References: <47751E10AACF40DE90041549131EA7FD@nant> <4D4FFF79.6090105@colbyconsulting.com> Message-ID: <04E9C6AB518C48BD8F507B368436724D@nant> Hi John -- Yes, a WinForms compound control placed into WPF's WindowsFormsHost control with the latter placed into WPF Browser Application's (XBAP) Page http://www.google.ru/search?hl=ru&biw=1920&bih=919&q=Hosting+Windows+Forms+C ontrols+in+WPF+WindowsFormsHost&aq=f&aqi=&aql=&oq= can be hosted in a browser. That seems to be the shortest way to get a browser based application having a desktop (WinForms) one. And with current mainsteram trend of making everything looking as a "Pinned Web Site" that feature look at least attractive... <<< What problem does that solve? >>> Getting Web Browser based app ASAP... <<< What problems does that create? >>> Desktop application do usually use local files etc. - XBAP application can run in fulltrust mode and have access to local files (to test) but that looks like 'Good Old ActiveX' controls therefore once XBAp port is done be prepared to do more work of makeing your app running OK in a "sandbox" having all resources handled over Internet... There could/should be other issues I'm not aware about... <<< I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. >>> Well, that's your opinion. I have an opposite one. Let's keep that different points of view our of this discussion thread? <<< I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. >>> That's a temporary issue I suppose. I remeber "clunky" MS Access 1.1/2.0 applications we all were developing quite some time ago.. <<< I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. >>> But you can well develop desktop (WinForms/WPF/Silverlight 4(?)) applications communicating with Internet Web services... <<< It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. >>> When talking to web services it doesn't matter that much where/what way client part (FE) is set/deployed... The browser/smartphones based apps are definitely the future IMO. Are desktop applications dying? I'm not stating that here - let's just discuss different technologies and the ways to apply them to this or that use case/environment/deployment scenario/... but not which one is better and why - all are good when used properly :) And "using properly" - that depends on one own's experiences, tastes and preferences or on what technlogy a customer is requesting... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 7 ??????? 2011 ?. 17:20 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Shamil et al, > I currently wanted to solve the issue with porting .NET WinForms application to the Web the shortest possible(?) way (WinForms Controls -> XBAP) Can I assume that the application runs exactly as it would if it were native, except that it is in a sandbox in a browser? What problem does that solve? What problems does that create? I am not fond of browser applications. We end up losing a ton of screen real estate to an unknown quantity of toolbars that the user has installed, then end up with sliders in all directions etc. I actively dislike "native" browser applications, i.e. HTML / "clunky" applications. I am very interested in applications running over the internet and hitting a database at the other end but I am very wary of getting a browser involved. I am interested in services. It seems like a natural solution, already widely used and understood - though I do not understand the details yet. It just seems like a downloadable application that can talk via services would be much more fluid and "windows like" than anything involving a browser. John W. Colby www.ColbyConsulting.com On 2/4/2011 3:33 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > Thank you. > > In fact we started that project together with you, Mike, Mark, Dough, > Arthur in March 2009 > > http://northwind.codeplex.com/team/view > > and I do think all you guys will contribute quite some more useful > stuff in this project! > > I currently wanted to solve the issue with porting .NET WinForms > application to the Web the shortest possible(?) way (WinForms Controls > -> XBAP) but I have got stuck with position (5) of the current roadmap plan: > > - 1) DONE: WinForms + ADO.NET -> > - 2) DONE: WinForms + WinForms UserControls + ADO.NET -> > - 3) DONE: WinForms + WinForms UserControls + ADO.NET EF (EDM) -> > - 4) DONE: WPF host form with WindowsFormsHost control hosting > WinForms UserControls + ADO.NET EF (EDM) -> > - 5) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + ADO.NET EF (EDM) with backend db on the same site -> > - 6) XBAP host page with WindowsFormsHost control hosting WinForms > UserControls + WCF Data Services (formerly ADO.NET Data Services) -> > - 7) XBAP host page with WPF UserControls + WCF Data Services > (formerly ADO.NET Data Services) -> > - 8) Silverlight + WCF Data Services (formerly ADO.NET Data Services) > -> > - 9) Silverlight + Windows Azure Services... > - .... > > Any takers? > > Please note/comment if you see some "hardcore" issues with the above > roadmap plan... > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 4 ??????? 2011 ?. 19:14 > To: dba-vb at databaseadvisors.com > Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends > youlinks on sample projects... :) > > Hi Shamil > > Great! > I can recommend everyone to study this. > > /gustav > > >>>> shamil at smsconsulting.spb.ru 04-02-2011 16:03:32>>> > Hi All -- > > I have just got released: > > Northwind.NET v.2.1 (.NET Framework 4.0) > > http://northwind.codeplex.com/releases > > All source code can be obtained from above page by downloading zip > archive or from the following page > > http://northwind.codeplex.com/SourceControl/list/changesets > > by using SVN. > > Looking for tips& tricks how to make in the next release "quick& dirty" > XBAP port of WPF + WinForms user controls released this time. > > Enjoy! > > Thank you. > > -- > Shamil > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru] > Sent: 31 ******* 2010 *. 15:14 > To: 'Discussion concerning Visual Basic and related programming > issues.'; 'Access Developers discussion and problem solving' > Subject: Ded Moroz sends you links on sample projects... :) > > Hi All -- > > New Year Eve is approaching here, and I wanted to send you some gifts > from Ded Moroz - here they are: > > This is a set of projects I have got developed a few days ago during > 40+ > hours R&D coding marathon. > The task was to finish all the work in about 40 hours. > So a few bugs left in there as release deadline wasn't possible to move. > They (the bugs) are described in readme. > But in general all the sample apps work rather well as my tests here show. > > I'd be interested to hear any comments - in what direction that sample > should be better developed. > Please write them here, or on http://northwind.codeplex.com . > Please do not "judge severely" as as I noted that was very intensive > R&D work with little time to think through while coding :) But feel > free to comment it as you like. > *Do not try* to be politcorrect. > Please. > > I wish all of your Very Happy and Prosperous New Year! > > Thank you. > > -- Shamil > > P.S. Short description of published projects (the sources get > downloaded 19 times already and I have got informed privately a couple > of days ago just three people): > > NorthwindNET_4_0_Sources.zip (~24MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192044 > > NorthwindNET_4_0_SampleApps_Setup.zip (~5MB) > http://northwind.codeplex.com/releases/view/26600#DownloadId=192043 > > Northwind.NET.VS2010.sln > ======================== > 1. Northwind.NET.EDM.FE - WinForms Front-End (just start-up class and > app.config); 2. Northwind.NET.EDM.WinForms.Controls - UI UserControls; 3. > Northwind.NET.EDM.Reports - MS ReportViewer 10.0 Reports; 4. > Northwind.NET.BLL - Business Layer Library (ADO.NET EDM LINQ Reports' > data sources); > 5. Northwind.NET.Model - ADO.NET EDM; > 6. Northwind.NET.Settings - application settings (wrappers); 7. > Northwind.NET.Resources - application resource file; 8. > Northwind.NET.Utilities - utility class library; 9. > Northwind.NET.Testing.Console - some test functions - it's not true > TDD > - > just a rough approximation; > > Northwind.NET.MSAccess.sln > ========================== > I. WinForms FE with MS Access backend > Northwind.NET.FE.1.1 - Northwind.NET FE with MS Access backend > Northwind.NET.Utilities - Utilities project > > II. ASP.NET sample application with MS Access backend > E:/Projects/SMS/Northwind/Northwind.ASP.NET.MSAccess.Reporting/ - > ASP.NET project > > III. Just a test ASP.NET app - can be removed > E:\Projects\SMS\Northwind\Northwind.ASP.NET.MSAccess.Reporting.RDLC.10 > .0.0.0 > > Northwind.NET.zzz_OLD.sln > ========================= > 1. Northwind.NET.FE - WinForms Front-End with MS SQL backend using > "plain old" ADO.NET data sets - the project we did last year's April. > 2. All the other projects from as in Northwind.NET.VS2010.sln > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Tue Feb 8 14:54:00 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 8 Feb 2011 23:54:00 +0300 Subject: [dba-VB] Blocking IE of opening new window when working with Google Images Message-ID: <788DF9F3A5BA4F34B0A86F46D890DBDC@nant> Hi All -- I have the following sample Google Images query URL: http://www.google.com/images?q=Babolat+Bandana&hl=en&sa=G&gbv=2&as_st=y&tbs= isch:1,isz:ex,iszw:400,iszh:400,itp:photo,ift:gif (watch line wraps) that returns 7 result pictures. I wanted when clicked on any image to *not* have IE opening that pictures in a new browser window but to have image opened in the same window. It works that way on one PC but it doesn't work on the other. I have tried to tune IE options, including advanced ones but I can't get IE working as needed i.e. without opening image in a new window. Do you know how to make "the trick"? Thank you. -- Shamil From shamil at smsconsulting.spb.ru Tue Feb 8 19:08:07 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 04:08:07 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- Thank you for your notes. How to make DNN (re-)indexing a page? There should be special DNN page options to include/exclude a certain page from full text indexing? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 5 ??????? 2011 ?. 13:43 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Gustav and Shamil Here are a set of tables from DNN SearchCommonWords SearchIndexer SearchIndexer SearchItem SearchItemWord SearchItemWordPosition SearchWord You can almost guess the columns that they include, basically, they seem to create a record for each word in each item and link them back through relational database model. I described it as heavy lifting, as I would have assumed the more abstract ways to achieve this are available. I never used SQL Server Full Text Search but I suppose that is on option. Perhaps the DNN guys can demonstrate their heavy lifting is quick, fast and efficient, but I was rather surprised to see their model. Probably for a portal with 300 - 400 pages, the set of words used is rather narrow and this approach may be useful. I have not look at the code that builds the indexes, but I am imagine it. I was not proposing this as an alternative to Shamil's choice - just mentioned it as it was the same week I saw both options. Mark On 4 February 2011 09:34, Gustav Brock wrote: > Hi Mark > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > Hello Shamil > > Just FYI, I happened to look yesterday at the DNN Keyword search > tables, > > you may find them interesting also. I was surprised to see such > "heavy lifting" way of providing search. > > Mark > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 04:41:30 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 13:41:30 +0300 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery Message-ID: <34B330B354244ABC876181A0DFCC64DE@nant> Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil From marklbreen at gmail.com Wed Feb 9 04:51:36 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 10:51:36 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain page > from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they seem to > create a record for each word in each item and link them back through > relational database model. I described it as heavy lifting, as I would > have > assumed the more abstract ways to achieve this are available. I never used > SQL Server Full Text Search but I suppose that is on option. Perhaps the > DNN guys can demonstrate their heavy lifting is quick, fast and efficient, > but I was rather surprised to see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is rather > narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Wed Feb 9 05:55:55 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 14:55:55 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Mark -- I have checked my test web site - full text indexing seems to be done not instantly for large texts of HTML modules but it's somehow delayed: it works now for the html module, which it didn't work for when I first saved that module's large text. Yes, I will try to ask about HTML modules' text indexing on DNN... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 13:52 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hello Shamil, Off the top of my head, I do not know. But as you probably already know,the DNN forums are very friendly and helpful - I think I always get an answer withing 24 hours. Does it not auto-reindex? I do not know when or how it builds the list of indexes but I would presume that the indexer needs to know when module is "dirty" and then goes ahead and re-indexes it ? Take a look at this table, and perhaps it supports some of my presumptions. CREATE TABLE [dbo].[SearchItem]( [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] NULL, [ImageFileId] [int] NULL, Thanks Mark On 9 February 2011 01:08, Shamil Salakhetdinov wrote: > Hi Mark -- > > Thank you for your notes. > > How to make DNN (re-)indexing a page? > There should be special DNN page options to include/exclude a certain > page from full text indexing? > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 5 ??????? 2011 ?. 13:43 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Gustav and Shamil > > Here are a set of tables from DNN > > SearchCommonWords > SearchIndexer > SearchIndexer > SearchItem > SearchItemWord > SearchItemWordPosition > SearchWord > > > You can almost guess the columns that they include, basically, they > seem to create a record for each word in each item and link them back > through relational database model. I described it as heavy lifting, > as I would have assumed the more abstract ways to achieve this are > available. I never used SQL Server Full Text Search but I suppose > that is on option. Perhaps the DNN guys can demonstrate their heavy > lifting is quick, fast and efficient, but I was rather surprised to > see their model. > > Probably for a portal with 300 - 400 pages, the set of words used is > rather narrow and this approach may be useful. > > I have not look at the code that builds the indexes, but I am imagine it. > > I was not proposing this as an alternative to Shamil's choice - just > mentioned it as it was the same week I saw both options. > > Mark > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > Hi Mark > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or what? > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > Hello Shamil > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > tables, > > > > you may find them interesting also. I was surprised to see such > > "heavy lifting" way of providing search. > > > > Mark > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:21:56 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:21:56 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <416817D4C6014795BA3FA3AE4CA8B79D@nant> Hi Gustav -- Yes, in closed environment but Northwind.NET is an open source - it could be public environment I mean... OK, I will try to get a free public certificate from http://www.cacert.org/ and if I will get it then I will try to use it to sign Northiwind.NET executables I'm releasing from time to time... BTW your below message somehow got filtered out by SPAM filter based on its text I suppose. I'd be interesting to know what "suspicious words" SPAM filter (standard MS Outloook one) found in that message text. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 06:31:33 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 15:31:33 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: <674A5DCEB8FC47A38C06738D9ABA3FA7@nant> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil From Gustav at cactus.dk Wed Feb 9 06:47:26 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Feb 2011 13:47:26 +0100 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends you links on sample projects... :) Message-ID: Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 7 ??????? 2011 ?. 15:08 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil I'm not at a point of publishing apps, so I cannot tell. But as far as I understand, VS can create certificates on its own allowing you to distribute safely in a closed environment. As for public certificates, these can be obtained from CAcert: http://www.cacert.org/ The cost is zero money but some time consumed to get "assurance" from existing members obtaining "points". /gustav >>> shamil at smsconsulting.spb.ru 07-02-2011 11:37 >>> Hi Gustav -- When you develop Silverlight solutions do you need to sign them by software certificate to distribute them online? If yes, then that could be the knowledge I'm missing currently to have "XBAP issue" solved: - I cannot find good detailed and 100% working solution to sign assemblies using custom software certificates. Also I currently do not have such certificate and if software certificates are rather expensive - USD200+(?) - then I just can't afford to pay for one such certificate now to use it with this R&D sample Northwind.NET project - and I will have to skip "XBAP issue" for a while and to work then on porting WinForms controls to WPF... Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Wed Feb 9 10:04:48 2011 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 9 Feb 2011 16:04:48 +0000 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done not > instantly for large texts of HTML modules but it's somehow delayed: it > works > now for the html module, which it didn't work for when I first saved that > module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the > DNN forums are very friendly and helpful - I think I always get an answer > withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the list of > indexes but I would presume that the indexer needs to know when module is > "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) NOT > NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] NULL, > [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, > [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a certain > > page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them back > > through relational database model. I described it as heavy lifting, > > as I would have assumed the more abstract ways to achieve this are > > available. I never used SQL Server Full Text Search but I suppose > > that is on option. Perhaps the DNN guys can demonstrate their heavy > > lifting is quick, fast and efficient, but I was rather surprised to > > see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From dbdoug at gmail.com Wed Feb 9 10:27:32 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 9 Feb 2011 08:27:32 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should know about jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: Thanks, Shamil - looks interesting. I appreciate your sharing this kind of information. Doug On Wed, Feb 9, 2011 at 2:41 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > FYI: "What ASP.NET developers should know about jQuery" > > http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Wed Feb 9 12:36:21 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Feb 2011 10:36:21 -0800 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <0CF8A6D59CAF4D05A490EE12CC166F9D@creativesystemdesigns.com> Shamil: Right-on. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 2:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) In-Reply-To: References: Message-ID: Hi Gustav -- Yes, that's a correct assumption. :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 9 ??????? 2011 ?. 15:47 To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Northwind.NET v.2.1 released - RE: Ded Moroz sends youlinks on sample projects... :) Hi Shamil Could it be that you are missing the root certificate? https://www.cacert.org/index.php?id=3 /gustav >>> shamil at smsconsulting.spb.ru 09-02-2011 13:31 >>> Hi Gustav -- I have tried to register at http://www.cacert.org but I have got for FF 3.6.13 https://www.cacert.org/index.php?id=1 www.cacert.org uses an invalid security certificate. The certificate can't be trusted, as the certificate publisher can't be trusted. (Error code: sec_error_untrusted_issuer) Not a big issue - I can try to register but I will get a certificate which will not be trusted by FF? Thank you. -- Shamil <<< snip>>> From shamil at smsconsulting.spb.ru Wed Feb 9 14:11:48 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Wed, 9 Feb 2011 23:11:48 +0300 Subject: [dba-VB] "Smart" fulltext search on large documents(data)base... In-Reply-To: References: Message-ID: <5023DBCEB51F483AAD035CD53F0D50C0@nant> Hi Mark -- Yes, I did get it - that you're not suggesting to use DNN native full text indexing instead of GooleDocs - but I do need both in a solution I'm working on :) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: 9 ??????? 2011 ?. 19:05 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] "Smart" fulltext search on large documents(data)base... Hi Shamil I hope that was useful for you - just to be clear, I was not suggesting it as an alternative to the Google solution you described - in fact I was fascinated by that elegant solution to a search problem. If it is useful to you that will be an added bonus. thanks Mark On 9 February 2011 11:55, Shamil Salakhetdinov wrote: > Hi Mark -- > > I have checked my test web site - full text indexing seems to be done > not instantly for large texts of HTML modules but it's somehow > delayed: it works now for the html module, which it didn't work for > when I first saved that module's large text. > > Yes, I will try to ask about HTML modules' text indexing on DNN... > > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: 9 ??????? 2011 ?. 13:52 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] "Smart" fulltext search on large > documents(data)base... > > Hello Shamil, > > Off the top of my head, I do not know. But as you probably already > know,the DNN forums are very friendly and helpful - I think I always > get an answer withing 24 hours. > > Does it not auto-reindex? I do not know when or how it builds the > list of indexes but I would presume that the indexer needs to know > when module is "dirty" and then goes ahead and re-indexes it ? > > Take a look at this table, and perhaps it supports some of my presumptions. > > CREATE TABLE [dbo].[SearchItem]( > [SearchItemID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](200) > NOT NULL, [Description] [nvarchar](2000) NOT NULL, [Author] [int] > NULL, [PubDate] [datetime] NOT NULL, [ModuleId] [int] NOT NULL, > [SearchKey] > [nvarchar](100) NOT NULL, [Guid] [varchar](200) NULL, [HitCount] [int] > NULL, [ImageFileId] [int] NULL, > > Thanks > > Mark > > > > On 9 February 2011 01:08, Shamil Salakhetdinov > wrote: > > > Hi Mark -- > > > > Thank you for your notes. > > > > How to make DNN (re-)indexing a page? > > There should be special DNN page options to include/exclude a > > certain page from full text indexing? > > > > Thank you. > > > > -- > > Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > > Sent: 5 ??????? 2011 ?. 13:43 > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] "Smart" fulltext search on large > > documents(data)base... > > > > Hello Gustav and Shamil > > > > Here are a set of tables from DNN > > > > SearchCommonWords > > SearchIndexer > > SearchIndexer > > SearchItem > > SearchItemWord > > SearchItemWordPosition > > SearchWord > > > > > > You can almost guess the columns that they include, basically, they > > seem to create a record for each word in each item and link them > > back through relational database model. I described it as heavy > > lifting, as I would have assumed the more abstract ways to achieve > > this are available. I never used SQL Server Full Text Search but I > > suppose that is on option. Perhaps the DNN guys can demonstrate > > their heavy lifting is quick, fast and efficient, but I was rather > > surprised to see their model. > > > > Probably for a portal with 300 - 400 pages, the set of words used is > > rather narrow and this approach may be useful. > > > > I have not look at the code that builds the indexes, but I am imagine it. > > > > I was not proposing this as an alternative to Shamil's choice - just > > mentioned it as it was the same week I saw both options. > > > > Mark > > > > > > On 4 February 2011 09:34, Gustav Brock wrote: > > > > > Hi Mark > > > > > > What do you mean with ""heavy lifting" way"? Is it ugly or smart > > > or > what? > > > > > > >>> marklbreen at gmail.com 04-02-2011 10:10 >>> > > > Hello Shamil > > > > > > Just FYI, I happened to look yesterday at the DNN Keyword search > > > tables, > > > > > > you may find them interesting also. I was surprised to see such > > > "heavy lifting" way of providing search. > > > > > > Mark > > > > > > > > > _______________________________________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at mattysconsulting.com Fri Feb 11 05:48:23 2011 From: michael at mattysconsulting.com (Michael Mattys) Date: Fri, 11 Feb 2011 06:48:23 -0500 Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery In-Reply-To: <34B330B354244ABC876181A0DFCC64DE@nant> References: <34B330B354244ABC876181A0DFCC64DE@nant> Message-ID: <348EDCB3DAE3487E9D08DABA379B5C02@Gateway> This is good. See the Labs page also. Michael R Mattys Business Process Developers www.mattysconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, February 09, 2011 5:42 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Recommended reading: What ASP.NET developers should knowabout jQuery Hi All -- FYI: "What ASP.NET developers should know about jQuery" http://visitmix.com/Opinions/What-ASPNET-developers-should-know-about-jQuery Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Sun Feb 13 16:51:19 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Feb 2011 23:51:19 +0100 Subject: [dba-VB] Localizing Silverlight Business Application (solved) Message-ID: Hi all Even by following the guidelines in the previous posted lings, one item in the default project will still miss dynamic localization: the tiny welcome message displayed after a successful login. This is by default loaded at launch with the class LoginStatus as a localized format string for the displayed username; however, it is not changed if the culture is changed dynamically. For this to happen, you will need some modifications to LoginStatus.xaml.cs like this: public LoginStatus() { this.InitializeComponent(); this.BindWelcomeText(); this.authService.LoggedIn += this.Authentication_LoggedIn; this.authService.LoggedOut += this.Authentication_LoggedOut; this.UpdateLoginState(); } /// /// Updates the bound welcome message to that of the current culture selection. /// public void ApplyCurrentCulture() { this.BindWelcomeText(); } private void BindWelcomeText() { this.welcomeText.SetBinding(TextBlock.TextProperty, WebContext.Current.CreateOneWayBinding("User.DisplayName", new StringFormatValueConverter(ApplicationStrings.WelcomeMessage))); } The modification adds the method ApplyCurrentCulture which you can call from MainPage.xaml.cs by like this: LoginStatus _loginStatus = new LoginStatus(); /// /// Creates a new instance. /// public MainPage() { InitializeComponent(); // this.loginContainer.Child = new LoginStatus(); this.loginContainer.Child = _loginStatus; this.languageSelect.SelectionChanged +=new SelectionChangedEventHandler(languageSelect_SelectionChanged); } void languageSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { string culture = ((ComboBoxItem)((ComboBox)sender).SelectedItem).Tag.ToString(); Thread currentThread = Thread.CurrentThread; currentThread.CurrentCulture = new CultureInfo(culture); currentThread.CurrentUICulture = new CultureInfo(culture); ((ResourceWrapper)App.Current.Resources["ResourceWrapper"]).ApplicationStrings = new ApplicationStrings(); _loginStatus.ApplyCurrentCulture(); } The original line initiating LoginStatus is commented out. /gustav >>> gustav at cactus.dk 30-01-2011 16:59 >>> Hi all I had a lot of trouble adding dynamic culture selection to a Silverlight Business Application. But by combining info from these links I finally succeeded: http://johnlivingstontech.blogspot.com/2010/02/localizing-resources-in-silverlight.html http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspx http://blogs.msdn.com/b/brada/archive/2010/03/22/silverlight-4-ria-services-ready-for-business-localizing-business-application.aspx The missing task which left the login labels untouched, was to add the localized resx files from the web project "as link" to the Web\Resources folder of the main project. This way all text for labels, error messages, tool tips, etc. are kept in separate resx files. Further, select a language in the combobox and the language changes instantaneously. Great! /gustav From jwcolby at colbyconsulting.com Mon Feb 14 19:24:18 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 14 Feb 2011 20:24:18 -0500 Subject: [dba-VB] c# - close in any particular order? Message-ID: <4D59D5C2.3080909@colbyconsulting.com> I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com From mikedorism at verizon.net Wed Feb 16 07:06:33 2011 From: mikedorism at verizon.net (Doris Manning) Date: Wed, 16 Feb 2011 08:06:33 -0500 Subject: [dba-VB] c# - close in any particular order? In-Reply-To: <4D59D5C2.3080909@colbyconsulting.com> References: <4D59D5C2.3080909@colbyconsulting.com> Message-ID: <40D7D6D6846944878E1717620F7C35F1@hargrove.internal> I usually close in the following order: reader, connection, and then command. Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 14, 2011 8:24 PM To: VBA Subject: [dba-VB] c# - close in any particular order? I have a connection, a command object and a data reader (all SQL objects). Do I need to close them in any specific order? ATM the code does this: SqlDataReader dr; SqlConnection cnn = new SqlConnection(clsGlobals.myConnection); cnn.Open(); SqlCommand cmd = new SqlCommand(SQL, cnn); dr = cmd.ExecuteReader(); while (dr.Read()) { } cnn.Dispose(); cnn.Close(); cmd.Dispose(); dr.Dispose(); dr.Close(); -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 10:30:11 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 17:30:11 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From jwcolby at colbyconsulting.com Thu Feb 17 10:48:08 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Feb 2011 11:48:08 -0500 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <4D5D5148.9040603@colbyconsulting.com> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Thu Feb 17 11:04:37 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 18:04:37 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi John Yes, it works fine for me, both on XP and Vista. Plain install, nothing smart. /gustav >>> jwcolby at colbyconsulting.com 17-02-2011 17:48:08 >>> Are you actually using 2010 as your main dev environment now? I tried it for a day or so and got disgusted with the slow speed and moved back to 2008. John W. Colby www.ColbyConsulting.com On 2/17/2011 11:30 AM, Gustav Brock wrote: > Hi all > > I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? > > MS offer a "WCF REST Starter Kit": > > http://www.msdn.com/wcf/rest > > but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. > Before googling/binging around, has anyone some advice, please? > > /gustav From dw-murphy at cox.net Thu Feb 17 11:28:56 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 09:28:56 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <17942190E9764C2683F8F0EBD35F159A@murphy3234aaf1> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Feb 17 12:08:42 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Feb 2011 19:08:42 +0100 Subject: [dba-VB] REST and Visual Studio 2010 Message-ID: Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav From dw-murphy at cox.net Thu Feb 17 12:49:44 2011 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 17 Feb 2011 10:49:44 -0800 Subject: [dba-VB] REST and Visual Studio 2010 In-Reply-To: References: Message-ID: <8E8FD1D34E9E4F15A1720744B70F649F@murphy3234aaf1> Hi Gustav, I just want to consume the REST services from the client end so thought the approach in the Constant Contact download was of interest. I'll be following the series you provided the link for. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 10:09 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] REST and Visual Studio 2010 Hi Doug Thanks, but isn't that very specific to the "Constant Contact" offerings? I do have the service to test up against but I'm in the middle of the mist where to start the collector and which tools to select? The "WCF REST Starter Kit" did install right away and presented itself in VS2008, but I'm reluctant to start here as VS2010 is out, and why haven't that starter kit been updated for VS2010? Well, an answer may be found here: http://social.msdn.microsoft.com/Forums/en/wcf/thread/95746c3e-0238-4cf5-9b2 e-01e8586c4855 however, the missing HttpClient Framework seems to be exactly what I need ... Update: I just located this page which seems to be an excellent entry point: Introducing WCF WebHttp Services in .NET 4 By Randall Tombaugh Developer, WCF WebHttp Services Over the next six weeks we are going to be releasing a series of blog posts that will focus on the new features in .NET 4 around WCF WebHttp Services. http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp- services-in-net-4.aspx And in part two: This is part two of a twelve part series that introduces the features of WCF WebHttp Services in .NET 4. In this post we will cover: *Using the HttpClient from the WCF REST Starter Kit Preview 2 *Browsing the Automatic Help Page of a WCF WebHttp Service That will keep me busy for a while. /gustav >>> dw-murphy at cox.net 17-02-2011 18:28:56 >>> Hello Gustav, I am also looking at REST for an interface between our product and Constant Contact. The product is an Access Runtime and I was looking at doing it in VBA but it requires MSXML6 and apparently there are some issues with this being on computers and whether it will be in the future. I have been looking at creating a dll in vb.net for the interface. I did this for a requirement a client had to export data from their Access database to a specified XML reporting format required by the State. It worked well. Constant Contact has created a set of interface objects in C# that look like I can wrap them for my purposes. You might take a look at what they have done http://developer.constantcontact.com/samples/upload_forms. You can download the demo project. I have it but am getting some errors when I try to build it on my VS2008 system. Have not spent a lot of time on it yet, but need to get on it soon. I will be interested in hearing what you learn. Doug -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, February 17, 2011 8:30 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] REST and Visual Studio 2010 Hi all I'm about to set up a REST collector/client. This is new to me so I wonder what a good starting point would be? MS offer a "WCF REST Starter Kit": http://www.msdn.com/wcf/rest but that is for VS2008 and .Net 3.5. I would prefer to use VS2010. Before googling/binging around, has anyone some advice, please? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Fri Feb 18 18:06:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sat, 19 Feb 2011 11:06:36 +1100 Subject: [dba-VB] Unusual VB Request Message-ID: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From gustav at cactus.dk Sat Feb 19 02:20:54 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 19 Feb 2011 09:20:54 +0100 Subject: [dba-VB] Unusual VB Request Message-ID: Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael From jwcolby at colbyconsulting.com Sat Feb 19 13:53:30 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 14:53:30 -0500 Subject: [dba-VB] I'm getting nowhere Message-ID: <4D601FBA.5020302@colbyconsulting.com> I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Feb 19 18:18:04 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 19 Feb 2011 19:18:04 -0500 Subject: [dba-VB] [dba-SQLServer] I'm getting nowhere In-Reply-To: References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605DBC.3080006@colbyconsulting.com> > The hierarchy goes like this: > > Roles > -- Users But why does the user have no (apparent) password but the role does? I found a vague (to me) reference to schemas and assigning schemas to users... Now that makes sense. I assume in all this that if a user goes away I just delete the user? I don't see any way to enable / disable the user. This whole thing just seems real hokey. John W. Colby www.ColbyConsulting.com On 2/19/2011 4:38 PM, Arthur Fuller wrote: > The hierarchy goes like this: > > Roles > -- Users > > What is not obvious from the docs is that you can add a role to a role. The > reason you would want to do this is to "include" lower-level capabilities > within a higher-level group (without bothering to have to re-define these). > > You can grant select, update, delete and inserts on any combination of > tables, views and sprocs. The approach I typically use is to deny table > access to everyone but me, and then to grant various levels of access to > views and sprocs to various roles. That way, no one but you can directly hit > a table. > > So, your bottom level might define Select capability and nothing else (to > one or more views and sprocs). The next level up might permit Updates, and > the next Inserts and Deletes. Actually I mean granting this privileges on > the sprocs/views created for those purposes. > > As you move up the hierarchy, you can "stack" the abilities (i.e. add the > lowest level role to the next up, and so on, until you reach the top, where > the only member of that role is you. > > HTH, and if not feel free to ask. > Arthur > > On Sat, Feb 19, 2011 at 2:53 PM, jwcolbywrote: > >> I am getting nowhere on understanding SQL Server security. Microsoft >> provides us with SQL Server Express which implies that joe blow (me) is >> going to install / maintain it. >> >> I am not a SQL Server Admin and I cannot afford to spend the time to be >> one. >> >> Google is my friend. BOL is not. >> >> Except that Google is taking me to these places where I am expected to >> already know how this stuff works, and then wants to make me a *better* >> administrator. Which of course is useless because I am not an administrator >> at all. >> >> OTOH I am not stupid. If I could find something that started at the "This >> is SQL Server security" basics I could learn this stuff. Before anyone says >> "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it >> simply sucks for my level of expertise (my opinion of course). If that is >> your advice, simply stay out of this thread. Thanks! >> >> So... my needs: >> >> I need to set up several SQL Server databases for use by different, very >> small groups (5-20 people) of entirely unrelated people. What I mean by >> that is that each DB is for a different "company" if you will. I need to >> access these databases from C#. I understand the group / user paradigm. I >> would like to create groups and users. Specific groups can do specific >> things in the database, some can see data but not modify it. Some can add >> records in specific tables but not others. Some can run reports (view). >> >> I do *NOT* want to create windows level groups and users if I can avoid it. >> These are people that I do not necessarily know and I do not want to give >> them any rights at the machine level, and I prefer to not maintain such >> lists at the machine level. >> >> Unfortunately SQL Server does not seem to model Groups / users. I go into >> SQL Server and see a security tab. It has "logins". Is that a user? A >> specific ability to log in with a password? To what? The server itself? A >> specific database? Groups of databases? >> >> I see "roles" but these appear to be aimed at the server and none of these >> people are going to be doing anything at the server level. >> >> Can I safely ignore everything under the server security tab? >> >> I go to a database and I see a security tab. It has users and roles. >> Hmm... better (I would think). I would like to add users "under" the >> specific database that the user will access. >> >> So I try to add a new user but I do not see anywhere to require a password. >> Hmmm... >> >> I go into roles and I do not see any predefined role that looks like it >> would be useful to me in meeting my needs described above. If I look at >> "add new role" it asks for a password. The User / group model does nto >> assign passwords at the group level which implies that a role is not a group >> at the user / group paradigm. >> >> Is it just me, or is SQL Server security just... different? Am I correct >> in assuming that it doesn't implement a user / group paradigm? >> >> And more importantly, where can I go to get a plain, simple, English >> description of how this mess works? >> >> And please excuse the tone that results from my frustration. The only help >> documents that I have found (and I have extensive lists of bookmarked web >> pages) so far assume that I am an administrator. I am not, and cannot >> afford to become one. And yet MS pushes SQL Express as if I (non-admin) >> should be able to use this as a data store pool. >> >> Help! >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-SQLServer mailing list >> dba-SQLServer at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-sqlserver >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sat Feb 19 18:22:49 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 10:22:49 +1000 Subject: [dba-VB] [AccessD] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <4D605ED9.11823.1EFC5774@stuart.lexacorp.com.pg> On 19 Feb 2011 at 14:53, jwcolby wrote: > If I could find something that started at the > "This is SQL Server security" basics I could learn this stuff. Maybe this will help. (This is "my" understanding of it - corrections from others welcome .) There are two levels of "Security" in SQL Server: 1. SQL Server Instance (Server name) level 2. Database level At the Instance Level, you have: 1. Server Roles 2. Logins At the Database level you have: 1. Database Roles 2. Users INSTANCE LEVEL ============== SERVER ROLES These are generic sets of "rights" which apply to the entire Instance. "Server role is used to grant server-wide privileges to a user" . Generally, use Public for all logins unless you need admin rights on the server. LOGIN To allow anyone to access SQL Server, you need to create a login at instance level for them and then define what that login can do in terms of individual databases Login = an entity that can log in to SQL Server. In your situation, you are using SQL Secruity so a Login needs a Username and Password. If using Windows/Mixed security, it could also be an Active Drectory user. Note the use of the word "entity" - not person. With SQL Security, an entity is entirely identified by the username/password pair. If you embed a standard username/password in a connection string for an application that connects to SQL Server, then that application itself is the logged in entity. Alternatively, if you collect the username/password from the person using that application and put that the in the connection string, the individual user is the entity. On creation, you can define the "Default Database" for the login - this is the one they automatically access (so your don't need to specify it in your connection string.) DATABASE LEVEL =============== DATABASE ROLE Role = a definition a what entities with that role can do in the database.. There are a number of predefined roles, which are useful for things like "read only" users but you frequently need to create your own and assign rights to specific database objects for that role. i.e. allow read only on some tables and write access on others. You can also do things like prevent users from directly writing to any tables and only allow them to run specfic stored prcedures to update data. Once you have defined a new role within the database, you can assign that role to specific users within that database. You can think of a role as similar to a Group, it defines a set of rights and you can assign roles to users in the same way you assign "group membership" to Windows users. USER Once you have created a Login, you go the relevant database ( or databases) and assign rights to that login in that database. You do that by adding the Login as a User in that database. User = The definition of what a particular login entity can do in the database. To make a specific login a user in the database, you create a new user and select the existing Login name. Note that you can give that user the same name as the Login name or use a completely different one. Unless you have a good reason, I'd use the same as the login name. You then assign Databse Roles to the User to control what the user can do in the database. -- Stuart From gustav at cactus.dk Sun Feb 20 04:20:42 2011 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Feb 2011 11:20:42 +0100 Subject: [dba-VB] Calculate age in C# using extensions Message-ID: Hi all Much to my surprise (and then not), the web is flooded with crap code for calculating age, so I had to write my own method to get it right. This allowed me to work with extensions which I have never done before. Pretty clever: http://msdn.microsoft.com/en-us/library/bb383977.aspx The simple method to find the age is to apply AddYears as shown below because this is the only native method to add years to the 29th of Feb. of leap years and obtain the correct result of the 28th of Feb. for common years. Some feel that 1th of Mar. is the birthday of leaplings but neither .Net nor any official rule supports this, nor does common logic explain why some born in February should have 75% of their birthdays in another month. Further, an Age method lends itself to be added as an extension to DateTime. By this you can obtain the age in the simplest possible way: int ageToday = birthDate.Age(); or: int ageSomeday = birthDate.Age(someDate); namespace DateTimeExtensionMethods { public static class DateTimeExtensions { /// /// Calculates the age in years of the current System.DateTime object today. /// /// The date of birth /// Age in years today. 0 is returned for a future date of birth. public static int Age(this DateTime birthDate) { return Age(birthDate, DateTime.Today); } /// /// Calculates the age in years of the current System.DateTime object on a later date. /// /// The date of birth /// The date on which to calculate the age. /// Age in years on a later day. 0 is returned as minimum. public static int Age(this DateTime birthDate, DateTime laterDate) { int age; age = laterDate.Year - birthDate.Year; if (age > 0) { age -= Convert.ToInt32(laterDate.Date < birthDate.Date.AddYears(age)); } else { age = 0; } return age; } } } Now, run this test: class Program { static void Main(string[] args) { RunTest(); } private static void RunTest() { DateTime birthDate = new DateTime(2000, 2, 28); DateTime laterDate = new DateTime(2011, 2, 27); string iso = "yyyy-MM-dd"; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { Console.WriteLine("Birth date: " + birthDate.AddDays(i).ToString(iso) + " Later date: " + laterDate.AddDays(j).ToString(iso) + " Age: " + birthDate.AddDays(i).Age(laterDate.AddDays(j)).ToString()); } } Console.ReadKey(); } } The critical date example is this: Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Output: Birth date: 2000-02-28 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-28 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-28 Later date: 2011-03-01 Age: 11 Birth date: 2000-02-29 Later date: 2011-02-27 Age: 10 Birth date: 2000-02-29 Later date: 2011-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2011-03-01 Age: 11 Birth date: 2000-03-01 Later date: 2011-02-27 Age: 10 Birth date: 2000-03-01 Later date: 2011-02-28 Age: 10 Birth date: 2000-03-01 Later date: 2011-03-01 Age: 11 And for the later date 2012-02-28: Birth date: 2000-02-28 Later date: 2012-02-28 Age: 12 Birth date: 2000-02-28 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-28 Later date: 2012-03-01 Age: 12 Birth date: 2000-02-29 Later date: 2012-02-28 Age: 11 Birth date: 2000-02-29 Later date: 2012-02-29 Age: 12 Birth date: 2000-02-29 Later date: 2012-03-01 Age: 12 Birth date: 2000-03-01 Later date: 2012-02-28 Age: 11 Birth date: 2000-03-01 Later date: 2012-02-29 Age: 11 Birth date: 2000-03-01 Later date: 2012-03-01 Age: 12 /gustav From stuart at lexacorp.com.pg Sun Feb 20 06:07:16 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:07:16 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> Message-ID: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun Feb 20 06:16:06 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Feb 2011 22:16:06 +1000 Subject: [dba-VB] Unusual VB Request In-Reply-To: <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au>, <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <4D610606.5837.21896190@stuart.lexacorp.com.pg> Turns out that Maximo can run on DB2, Oracle or SQL Server. So if you can find out what platform it is running on, have appropriate login rights and you have access to appropriate ODBC drivers you may be able to do it. And to answer Gustav's point, if that is so, then you could write a PowerBasic native code DLL fairly easily to do it :-) -- Stuart On 20 Feb 2011 at 22:07, Stuart McLachlan wrote: > I'd say you are SOOL. > > Initially it didn't make sense needing a IP address *and* Hostname to > get an OS Username so I did a bit of googling. > > The key was .psdi > > It appears that psdi classes are implementations of an Interface to > the IBM's (originally PSDI's) java based Maximo Asset Management > System. > > I'd guess that the function is looking at the Maximo database which is > running on Hostname to find out if someone is logged into it from the > workstation at IP address and returniing the username if there is > someone logged in. > > Without knowing a lot more about the internals of Maximo, there is no > way to come up with an independent way of getting this information > > It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx > is logged into an SQL Server instance. You need to know how that > information is stored inside the the RDBMS, how to gain access to that > data and how to extract it. > > -- > Stuart > > On 19 Feb 2011 at 11:06, Michael Maddison wrote: > > > Hi Guys, > > > > > > > > Maybe someone can confirm or negate my thoughts on a client request > > I have received? > > > > > > > > Consider this code... > > > > import psdi.util.AXWin32Util; > > > > > > > > Call to DLL: > > > > > > > > if (this.debug) { > > > > System.out.println("Checking for user at ip " + address + > > " on > > " + host); > > > > } > > > > OSUsername = AXWin32Util.getOSUserName(address, > > host).trim(); > > > > > > > > > > Username is one value not delimeted list > > > > > > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > > > if (this.debug) { > > > > System.out.println("Found user " + OSUsername + " on " + > > host); > > > > } > > > > OSUsername = OSUsername.toUpperCase(); > > > > > > > > I think the above is Java? > > > > > > > > My client wants me to write a dll to replace the > > AXWin32Util.getOSUserName(address, host) method call. > > > > > > > > I don't have access to either the original source (dll) or the > > source to the calling app. Just the text above. > > > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > > getOSUserName method and register it on the target server what are > > the chances it will work? > > > > I suspect the answer is zero. > > > > > > > > Dotnet is not allowed. No installation is allowed. The server is Win > > 2003 sp2. > > > > > > > > Ideas anyone? > > > > > > > > Cheers > > > > > > > > Michael > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Sun Feb 20 16:10:28 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:10:28 +1100 Subject: [dba-VB] Unusual VB Request References: Message-ID: <99266C61B516644D9727F983FAFAB4650469F5@remote.ddisolutions.com.au> Hi Gustav, Yes, VB runtime has been tested and is ok. I'm at the point of testing a solution but I'm just being cautious as I don't understand what is going on here I guess. How does Java call a COM lib? Does it 'Import' it? What if 2 libs have the same name, what am I going to break? I'll let you know what happens. Cheers michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, 19 February 2011 7:21 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Unusual VB Request Hi Michael But is VB runtime allowed? Or you could use FreeBasic or PowerBasic (Stuart may advice on this). If so, why not try? Write a dummy where getOSUserName(address, host) always returns some username for a test. /gustav >>> michael at ddisolutions.com.au 19-02-2011 01:06 >>> Hi Guys, Maybe someone can confirm or negate my thoughts on a client request I have received? Consider this code... import psdi.util.AXWin32Util; Call to DLL: if (this.debug) { System.out.println("Checking for user at ip " + address + " on " + host); } OSUsername = AXWin32Util.getOSUserName(address, host).trim(); Username is one value not delimeted list if ((OSUsername != null) && (OSUsername.length() > 0)) { if (this.debug) { System.out.println("Found user " + OSUsername + " on " + host); } OSUsername = OSUsername.toUpperCase(); I think the above is Java? My client wants me to write a dll to replace the AXWin32Util.getOSUserName(address, host) method call. I don't have access to either the original source (dll) or the source to the calling app. Just the text above. If I create a COM dll called psdi.util.AXWin32Util.dll with a getOSUserName method and register it on the target server what are the chances it will work? I suspect the answer is zero. Dotnet is not allowed. No installation is allowed. The server is Win 2003 sp2. Ideas anyone? Cheers Michael _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at ddisolutions.com.au Sun Feb 20 16:17:02 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 21 Feb 2011 09:17:02 +1100 Subject: [dba-VB] Unusual VB Request References: <99266C61B516644D9727F983FAFAB4650469F4@remote.ddisolutions.com.au> <4D6103F4.12107.21814CB8@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB4650469F6@remote.ddisolutions.com.au> Thanks Stuart, Yes, you are correct! It is a Maximo installation. The code I've been asked to replace is a 3rd party dll that Maximo calls to allow for single logins. So in effect I supply the login info to Maximo, the original code used NetWkstaUserEnum but I have changed it to WMI. WMI is superior in that it returns the actual logged in user. The API returned a collection of ALL logins. It appears that some change in environment caused the API to return its collection slightly differently so the single login started to fail. Cheers Michael From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, 20 February 2011 11:07 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unusual VB Request I'd say you are SOOL. Initially it didn't make sense needing a IP address *and* Hostname to get an OS Username so I did a bit of googling. The key was .psdi It appears that psdi classes are implementations of an Interface to the IBM's (originally PSDI's) java based Maximo Asset Management System. I'd guess that the function is looking at the Maximo database which is running on Hostname to find out if someone is logged into it from the workstation at IP address and returniing the username if there is someone logged in. Without knowing a lot more about the internals of Maximo, there is no way to come up with an independent way of getting this information It is the same as asking who if anyone on workstation xxx.xxx.xxx.xxx is logged into an SQL Server instance. You need to know how that information is stored inside the the RDBMS, how to gain access to that data and how to extract it. -- Stuart On 19 Feb 2011 at 11:06, Michael Maddison wrote: > Hi Guys, > > > > Maybe someone can confirm or negate my thoughts on a client request I > have received? > > > > Consider this code... > > import psdi.util.AXWin32Util; > > > > Call to DLL: > > > > if (this.debug) { > > System.out.println("Checking for user at ip " + address + " > on > " + host); > > } > > OSUsername = AXWin32Util.getOSUserName(address, host).trim(); > > > > > Username is one value not delimeted list > > > > > if ((OSUsername != null) && (OSUsername.length() > 0)) { > > if (this.debug) { > > System.out.println("Found user " + OSUsername + " on " + > host); > > } > > OSUsername = OSUsername.toUpperCase(); > > > > I think the above is Java? > > > > My client wants me to write a dll to replace the > AXWin32Util.getOSUserName(address, host) method call. > > > > I don't have access to either the original source (dll) or the source > to the calling app. Just the text above. > > If I create a COM dll called psdi.util.AXWin32Util.dll with a > getOSUserName method and register it on the target server what are the > chances it will work? > > I suspect the answer is zero. > > > > Dotnet is not allowed. No installation is allowed. The server is Win > 2003 sp2. > > > > Ideas anyone? > > > > Cheers > > > > Michael > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3452 - Release Date: 02/18/11 From michael at mattysconsulting.com Fri Feb 25 15:51:08 2011 From: michael at mattysconsulting.com (Michael R Mattys) Date: Fri, 25 Feb 2011 16:51:08 -0500 Subject: [dba-VB] I'm getting nowhere In-Reply-To: <4D601FBA.5020302@colbyconsulting.com> References: <4D601FBA.5020302@colbyconsulting.com> Message-ID: <006201cbd536$1cfb4290$56f1c7b0$@mattysconsulting.com> Hello John, I am Michael's brother Eric. I think you only have to uncheck the "Use Trusted Connection" box in MS Access. That checkbox is for Windows Security. Your user is set up under SQL Security. Best Regards, Eric B. Mattys Mattys Consulting, LLC www.mattysconsulting.com (585) 300-0181 -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, February 19, 2011 2:54 PM To: Sqlserver-Dba; VBA; Access Developers discussion and problem solving Subject: [dba-VB] I'm getting nowhere I am getting nowhere on understanding SQL Server security. Microsoft provides us with SQL Server Express which implies that joe blow (me) is going to install / maintain it. I am not a SQL Server Admin and I cannot afford to spend the time to be one. Google is my friend. BOL is not. Except that Google is taking me to these places where I am expected to already know how this stuff works, and then wants to make me a *better* administrator. Which of course is useless because I am not an administrator at all. OTOH I am not stupid. If I could find something that started at the "This is SQL Server security" basics I could learn this stuff. Before anyone says "RTFM (BOL)" let me simply say, "not happening". I have tried BOL and it simply sucks for my level of expertise (my opinion of course). If that is your advice, simply stay out of this thread. Thanks! So... my needs: I need to set up several SQL Server databases for use by different, very small groups (5-20 people) of entirely unrelated people. What I mean by that is that each DB is for a different "company" if you will. I need to access these databases from C#. I understand the group / user paradigm. I would like to create groups and users. Specific groups can do specific things in the database, some can see data but not modify it. Some can add records in specific tables but not others. Some can run reports (view). I do *NOT* want to create windows level groups and users if I can avoid it. These are people that I do not necessarily know and I do not want to give them any rights at the machine level, and I prefer to not maintain such lists at the machine level. Unfortunately SQL Server does not seem to model Groups / users. I go into SQL Server and see a security tab. It has "logins". Is that a user? A specific ability to log in with a password? To what? The server itself? A specific database? Groups of databases? I see "roles" but these appear to be aimed at the server and none of these people are going to be doing anything at the server level. Can I safely ignore everything under the server security tab? I go to a database and I see a security tab. It has users and roles. Hmm... better (I would think). I would like to add users "under" the specific database that the user will access. So I try to add a new user but I do not see anywhere to require a password. Hmmm... I go into roles and I do not see any predefined role that looks like it would be useful to me in meeting my needs described above. If I look at "add new role" it asks for a password. The User / group model does nto assign passwords at the group level which implies that a role is not a group at the user / group paradigm. Is it just me, or is SQL Server security just... different? Am I correct in assuming that it doesn't implement a user / group paradigm? And more importantly, where can I go to get a plain, simple, English description of how this mess works? And please excuse the tone that results from my frustration. The only help documents that I have found (and I have extensive lists of bookmarked web pages) so far assume that I am an administrator. I am not, and cannot afford to become one. And yet MS pushes SQL Express as if I (non-admin) should be able to use this as a data store pool. Help! -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com