
dotnetguy37
Avatar/Signature-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by dotnetguy37
-
It says here: It doesn't say what tasks you can accomplish without membership, however.. :confused: So I looked around a little more. This page says: It's step one of "Deploying and Testing on Your Windows Phone" I found a link on this CodeProject page, which sent me to the Windows Phone SDK 7.1 Download page, where I was able to download "vm_web2.exe" without having a subscription. Looking at the "Windows Phone Development QuickStarts" page, I noticed under "Getting Started & Fundamentals", there was a "Getting Started (Hello World)" link to this page where the "Installing the Developer Tools" section had some download links for tools (without mentioning needing a membership), including the link for updated emulator package. So basically you download the tools and test on the emulator, but as soon as you want to try and transfer the app to your phone it's time to pay Microsoft for the privilege. You wouldn't want Microsoft to go broke, would you? ;) :rolleyes: I don't know about Windows 8, but you might want to read through "Microsoft to address Windows Phone App Hub issues", which mentions them planning changes by "late summer". Also of interest Microsoft was recently caught releasing Windows Phone Apps that "borrow" a bit from the iPhone interface (bypassing Metro guidelines). :eek: This page has the screenshot.
-
Hey..I think I can almost understand Slovenian now (:)). Thanks for the the translation validation.
-
Slovenian commentary No idea on the SQL question, but for other forum members info.. Google translate recognizes, ..as Slovenian, and it translates to: ..however the namespace name "Tarok_turnir" doesn't translate from Slovenian or any other language that Google translate recognizes, but I know there is a Slovenian card game called "Tarok", and so maybe "turnir" means "turn". From the translation of the Slovenian comment above, "podatki" would roughly translate as "data" or information, so "class cPodatki" would be "class cData" "PreberiIgralce" doesn't translate via Google translate, but there is a film called "Preberi in za�gi", whose American title is "Burn after reading", so I'm guessing "Preberi" probably means "read" (google translates "read" from Slovenian-to-English as "preberite" - its close..) "Izgubljamo igralce" means "losing player" so I'm guessing "Igralce" means player, which makes "PreberiIgralce" something like "readPlayer" (possibly).
-
Re: Getting someone to write code for you without any attempt on your part.. ArtinSoft�s Visual Basic Upgrade Companion (VBUC) -used to help upgrade code VB6 to VB.Net There used to be site called "Rentacoder" where you could contract out to have code written/converted for you - it's changed it's name to "vWorker".
-
Re: Research please I agree with Ida_3, it's obvious you didn't do any research at all if you can't even come up with a specific name of a bar code type you want to use. You can check out a list of "Generating Barcode Symbologies" in this the middle of this "Barcode Generation Component for .NET, C#, ASP.NET, VB.NET Projects" page. There is also a Barcode Rendering Framework, which: The coding project's documentation page has a list of barcode fonts and the accompanying Wikipedia pages which will help you research the amount of data each can store.
-
Yes, snarfblam is right...a few more coding details would be helpful. For instance, there is a Mesh.Torus Method which could produce a 3D pipe that is curved into a 3D circle (torus), (but I'm not sure if that's what you want). If it is a fairly complex set of twisty-turny 3D piping sections you might want to use something like Blender to generate the necessary .X file(s), and bring it into DirectX to render it programmatically using the 3D person Viewport method described here. The other approach might be to "Draw 3d Ring object" (or series of 3D ring objects) using a ID3DXPatchMesh structure for tessellation.
-
gridview events and javascript You have not shown any code which makes it difficult to access the context of your question. I'm going to assume you are talking about System.Web.UI.WebControls.GridView. The MSDN page lists several events, which do not require user interaction, that can be used, including: Init, PreRender, Load, and Databound events. Since you are needing the gridview to be populated before the columns are read the Databound event seems the most likely candidate. This client side javascript in this Asp.Net article might be of use, (which shows how to set up a callback event handler): Asynchronous GridView in 5 simple steps Further info: MSDN: Implementing Client Callbacks Programmatically Without Postbacks An extra little gridview control "nicety": I know you, Haak3n, are probably doing this already, but for many programmers it is often overlooked.. A gridview programmer has the responsibility to explicitly set up the control to make it more accessible to users of assistive technology devices. Of course this means correctly using/setting the UseAccessibleHeader property, but there is a little more to it if you want the GridView control to generate the necessary thead, tbody, and th elements. "MSDN Walkthrough: Accessibility Guidelines for Using the GridView Control" shows how to use javascript to hook into the page load event and update the page heading caption (depending on a particular section group the page may display).
-
What Won't My DataGridView Display Data?
dotnetguy37 replied to TexasAggie's topic in Database / XML / Reporting
Usually besides a setting .datasource most code like this also involves setting a data member. There some code of this MSDN page that shows how to do this. I believe the DataGridView control also has a Refresh method, which this MSDN page says: (So you might try also adding a "dgvSummary.Refresh") If none of these help there could be other issues. Here's some links: DataGridView Not Showing Data My DataGridView won't display data -
Re: Altering Button down state ("pressed") with key Have you tried: Private Sub Button1_KeyDown(ByVal sender As Object, _ ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown If e.KeyCode = Keys.M Then 'MsgBox("do something") e.Handled = True Button1.FlatStyle = FlatStyle.Flat End If End Sub Private Sub Button1_KeyUp(ByVal sender As Object, _ ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyUp e.Handled = True Button1.FlatStyle = FlatStyle.Standard End Sub
-
Re: Iframe URL not loading in chrome There was someone named "gopal krish" that asked a similar question (with somewhat similar html code) in an EggHead Cafe page. You can read the answer he got here. Don't know about Safari, but Chrome is a little funny about iframes. If you read here you'll find: ..a small code snippet showing "Example of good encoding placement" follows the above quoted text on the linked-to page.. As regards to debugging for Safari you have not shown any CSS code that may be tied to: id="ifrmEBOOK", So all I could do is offer a few tentative links (1, 2) to explore.. I myself have fallen prey to this little javascript generated iframe onLoad "gotcha".
-
It's always nice when posters give a little "context" to their questions. Of course every programmer knows that CRUD stands for "Create, Read, Update and Delete", but not every programmer may know that: ...per the "Developer's Guide to Microsoft Prism" Secondly it looks like you, gopal_nivas, crossed posted several other places to get your question answered. This one produced no responses for now, but your msdn thread, which asked the same question, did get a reply and the link it porvided, "How do i implement the CRUD method on MVVM via DataGrid..." has some good info.. Making the assumption your were looking at using the ViewModel (or business object) implementing INotifyPropertyChanged, I would also suggest looking at some of the links provided in this StackOverflow thread:"Good examples of MVVM Template".
-
possibly gravedigging..
dotnetguy37 replied to dotnetguy37's topic in Suggestions, Bugs, and Comments
I also did a "report post" as well.. -
firestarts post today to a thread whose last previous last post by EFileTahi-A was on 11-19-2011, 10:53 AM. Please feel free to delete this thread if it is not applicable or already being taken care of..
-
Re: Remove Duplicate items from a ComboBox How?
dotnetguy37 replied to ashwinims's topic in Windows Forms
Re: Remove Duplicate items from a ComboBox How? Did you do a search of the forum? I did and found some code in this post (don't know what ..Net framework it goes with). Make sure the DataSource property is not set though, or else. If that code doesn't work for you try the code on this page. -
Re: c# Capture Screen and Pixel Search I see you also cross posted to CodeGuru (so this must be really important to you): http://www.codeguru.com/forum/showthread.php?p=2058440 The question is/becomes: Which code routine is causing the leak - the screencapture or the pixel search? Are you using any leak detection tools like: ANTS Memory Profiler 7.2 If you don't have access to any such leak detection tools the best troubleshooting method is to find code to do each separately, insure that neither routine is leaking, then try to merge them. Capture a Screen Shot It looks like the pixel search function you posted came from here. I would take a step back and look at writing your own pixel search routine. The LockBits function has better performance than GetPixel but can be somewhat more involved to implement. Here's a good overview: Using the LockBits method to access image data Surprisingly enough MSDN actually has an actual example of how it recommends using LockBits (which might be a good starting point for a pixelsearch class/routine since Microsoft is not in the habit of release code examples with memory leaks included). The example is at the bottom of this page. When I ended up developing a screencapture utility of my own I ended up starting from using the C# source code for Cropper. Some other code for looping through LockBits pixels to search for a color can be found here and here.
-
Appreciate the reply.. Whoa! I thought this thread was going to die before anyone responded. (which I would have put down to the generally low level of traffic on this forum compared to the amount of postings weekly on the xvbt sister forum). Which would put the breakdown closer (perhaps?) to: C#.Net - 70 % VB.Net - 25 % C++.Net - 5% I had a feeling that at least some of the people who viewed this thread were thinking along those lines. But yes, those "available resources" will probably be one of the primary deciding factors. These not only includes the amount of source code available on the internet but also the ease of hiring programmers who are more well versed in one language than another...possibly leading to an app developed more quickly (cheaply?) and/or in a way which is easier to maintain while scaling easily. ...and thanks for the feedback/response.
-
I know this seems a silly thing to ask about out of the blue, so I guess I should explain a little further. I am a hard core VB6 programmer. I've had over ten years to transition to .Net and I've been fighting such a transition all that time. I have written a little C++.Net and ASP.Net code but mostly I've been successful at avoiding having to rewrite all my VB6 code to .Net. Now it's 2012, and VS.Net has to be considered a "mature" programming environment. Recently I got asked by a friend, who is the owner of a small to medium size business, about moving his VB6 code (for a large document repository management software for millions of documents) to .Net. Of course he knows that I know a lot of VB6 coding (I guess that's why he decided to ask me). Even though Microsoft's support statement has promised some level of support for VB6 with the upcoming release of Windows8, he feels, looking down the road a ways, that .Net is the way he wants to go. The VB6 code has been "massaged" (refactored?) heavily over the years by several VB6 coders and has become quite "brittle". It is easily tens of thousands of lines of code with many many .bas and .cls modules and even a few .ocx custom controls (I know uisng the legacy COM technology gives little hope of even using InterOp for a smooth transition to a native .Net user control). I first advised him to think about going with a web app approach (maybe go asp.net with Ms SQL Server or an HTML5/javascript/ajax/json app), exploit Azure or another type cloud, and maybe even look at some of the Microsoft Dynamics packages. He is adamant, though, he wants to keep all the documents (data) on a local hard drive (I've let him know, though, that Server 2008 R2 does have the ability to create a private cloud, though it probably won't be cheap). So. this business owner, having been told (by other people, not me) all the difficulties of trying to convert VB6 code to VB.Net code, wants to re-code the whole document management software from scratch. He said it shouldn't take long if we can find some a whole bunch of sample code online to "jump start" the coding (yeah, I know this really is pretty ridiculous and doesn't really take into consideration the long process that this total re-write is going to take, but anyway..). Thus the question he asked me (which I didn't really have a good handle on how to answer): What is the majority percentage of publically available (open source?) code on the Internet written in: VB.Net, C#.Net, and C++.Net? Here is my break down guesstimate: 1.) C#.Net - 55% 2.) VB.Net - 35% 3.) C++.Net - 10% However, there is lot of C/C++.Net code that is basically "student projects" - very primitive console application using main.c, int main, and with only console window output. Eliminating this C/C++ (which could be rolled into a .Net console application - but is otherwise unusable), give a revised estimate of: 1.) C#.Net - 55% 2.) VB.Net - 40% 3.) C++.Net - 5% ..and that 5% is probably being generous. A lot of such code has licensing issues and there are tons of "Hello World" samples. Of course many commercial software projects are written in unmanaged C++ code but, also of course, don't have open source code available (so really doesn't factor into things). Of the two languages (C#.Net and VB.Net), not only does C#.Net have stronger support from Microsoft (VB.Net doesn't support GSE and have only has Mango support for XNA - not applicable to what this business man is doing but it sends a message from Microsoft that the "preferred" .Net language is the only one with XNA Xbox360 support), but also C#.Net is somewhat closer to java (there are many java programmers out there who have a familiarity with C#.Net and could hopefully help augment C#.Net programmers in supporting this .Net doc management software in the future). So you can probably guess which way I am leaning, in terms of a recommending a .Net language in which to re-write the VB6 code, (especially since I mentioned the owner saw difficulties in going with a VB.Net rewrite - but didn't rule it out entirely). I could say "go with unmanaged C/C++ code, because even if you use obfuscators the managed languages of .Net have too high a risk of reverse engineering and intellectual property theft" (I should mention that the doc management software is licensed to other businesses) . Here's maybe another way of asking the question - after ten years (up-to this point in time), which of the three .Net languages has achieved greater "mind share" in terms of being most embraced by all .Net programmers at large? I know it's not an easy question to answer, but any thoughts would be appreciated..
-
Thanks for letting me know what was going on..
-
The thread labelled: "Howto: loading old mfc code into visual studio express C++ 2010 " was posted in Random thoughts: http://www.xtremedotnettalk.com/showthread.php?t=104863 It previewed fine, but when the thread/post is clicked on I only see the attached screenshot. Is it just me seeing something missing..did I do something wrong? Oh well.. I guess it wasn't that important if it's just gone..
-
Please excuse if this procedure is documented elsewhere on the forum, but I didn't find it after doing some searching.. VisualStudio.Net C++ 2010 Express doesn't come with the MFC (Microsoft Foundation Class) libraries and headers, per the chart on this MSDN Page: http://msdn.microsoft.com/en-us/library/hs24szh9.aspx I had some old VisualStudio.Net C++ Professional 32 bit code I needed to load into the 2010 (using 32bit CLR) and build (that had MFC references). So it's not a 32bit to 64 bit CLR upgrade, just 32 bit to 32 bit. Note: I know even 32 bit CLR stuff involves wow64, per this MSDN entry: http://msdn.microsoft.com/en-us/library/ms241064.aspx Anyway, I found this article on how to do it (under 2008): http://www.codeproject.com/Articles/...sual-C-Express The article is wrong in two ways: 1.) The link for the DDK web page is wrong. It should be for "1830_usa_ddk.iso". It is the link called "download the ISO from Microsoft" under "Installing the DDK" section of this page: http://www.tenouk.com/windowsddk/win...opmentkit.html ..or here is the direct link. 2.) The other change --under VS.Net C++ 2010 the setting of the VC directories has changed. This article covers these changes: http://blog.gockelhut.com/2009/11/vi...heets-and.html They don't mention in the above blog article but if the Tools menu -> Settings is set to "Basic" (the default) you can't get to where you need to go. To view the property manager in VCExpress, you can must choose Tools -> Setting -> Expert settings. After that, you will can finaly get to the View menu -> Property Manager option. I didn't need to add MFC to all my projects so I just went to View -> Property Manager and expanded "Debug | Win32", Select "Microsoft.Cpp.Win32.user", right click, and select "Properties". Click on in "VC++ Directories" (see attached screenshot 1) Then follow the other attached screenshots to add the winddk entries to the include and library directories. The build error you get if you don't do this is: 1.) something like missing file afx_something.h (actually a whole bunch of .h, header files, that start with afx, but most can be found elsewhere on the internet). 2.) If you find and replace most of the missing mfc header (.h) files you end up getting some missing files: afxres.h and afxres.rc errors (these files can't be found at large on the internet, but can be found inside the Microsoft PSDK (platform server 2003 sdk) install) 3.) Once all header and res files are dumped in the /program files(x86)/Microsoft Visual Studio 2010 10.0/VC/include/ folder then you end up getting a linker error (usually for missing mfc42d.lib/mfc42d.dll) - at this point is where the procedure outlined in this post is really needed.. Caveat: This uses the old mfc42d, not the mfc that comes with 2008 or 2010, but if you just have some old VC++.net 2005 mfc code that needs to be loaded into VC++ 2010 express, at least you can get it loaded and maybe remove the mfc references afterwards.. Yeah I know this all stupid, but it's not really documented all in one place and that's what it took for me to get a good build in VC++.Net 2010 express. Maybe it will save someone else a lot of grief.
-
I've just gone through every single DirectX thread on this forum (took a few hours). The thread that came closest to the code I was looking to find out something about was this "Skinned Mesh Animation" thread: http://www.xtremedotnettalk.com/showthread.php?t=91054 Although its pretty old there doesn't seem to be any newer thread along the same lines.. The thing is the thread ends with post that hints that there is some working code off site but no direct link was given: http://www.xtremedotnettalk.com/showpost.php?p=445978 After over half an hour of doing Italian translating I think I found the page being referenced: http://translate.google.com/translate?hl=en&sl=it&tl=en&u=http%3A%2F%2Fwww.robydx.altervista.org%2FDirectX9%2FDirect3D9Less43.htm It contains links to three code files: newSkinMesh.zip newSkinMeshUpdate.zip multiSkinMesh.zip Hopefully someone someday will post something more updated that finally explains the mystery of how Microsoft's "tiny.x" model was created and how the code that makes it work so well can be more generalized to work with other types of 3D skinned mesh models from Maya, MilkShape, and Blender. Until then I guess this seems to be the best code out there -- unless someone can come up with something better (a tutorial link on advanced skinned mesh animation would be really great if anyone has got one). I am not connected with the site in question..I just hope this save someone else the time (and headache) it took to get past the translation barrier and the "non-linking" link.
-
Perhaps one of the moderators on the forum could fix this broken link. Here's the details: This is the thread: http://www.xtremedotnettalk.com/showthread.php?t=49346 This is the post: http://www.xtremedotnettalk.com/showpost.php?p=249183& This is the link: http://msdn.microsoft.com/vbasic/downloads/code/default.aspx That forwards to: http://msdn.microsoft.com/en-us/ms123402.aspx?missingurl=%2fvbasic%2fdownloads%2fcode%2fdefault.aspx ...which says "Page Not Found" I don't know what the updated page should be..perhaps one of these: 101 Visual Basic and C# Code Samples (2003) http://www.microsoft.com/downloads/details.aspx?familyid=08e3d5f8-033d-420b-a3b1-3074505c03f3&displaylang=en 101 Samples for Visual Basic 2005 http://msdn.microsoft.com/en-us/vbasic/ms789075.aspx C# Code Sample for C#.Net 2005 http://msdn.microsoft.com/en-us/library/z9hsy596(VS.80).aspx Visual Studio 2008 Samples Page http://msdn.microsoft.com/en-us/vstudio/bb330936.aspx MSDN Code Gallery http://code.msdn.microsoft.com/Project/ProjectDirectory.aspx?ProjectSearchText=visual%20studio Thanks if anyone can help! :)