jgroleau's Q&A profile
.NET Development WinForms Vs WebForms
Where can I get the list of pros & cons generally speaking WinForms are Richable but not reachable , on the contrary WebForms are Reachable (but not richable due to performance factors). so the question is : can we have a form that is both richable and reachable at the same time . the answer is simply , yes "Click-Once deployment ". there was an old article about hosting a windows form over IIS , and this would lead to the death of bro ...Show All
Architecture the best orm for .net?
I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this par ...Show All
Visual C# asp.net
hello i have an asp form in which i have added checkboxes for a field "hobbies". now i want to retrieve the values of all the checkboxes that are checked, in another asp form. can anyone help me how i can do that thank you Im Sorry, but thats no help, searching the MSDN local and online help for CrossPagePostBack does not return any results. So the term might not be well known. ...Show All
Visual Studio Express Editions Help with TextBoxes
Hi, I'm a Newbie. Suppose I have 20 Text Boxes; say TextBox.1 to Textbox.20. How can I access or add data to these Text Boxes by using a variable (e.g. put 5 in Box 5, put 9 in Box 9, etc.) I don't want to write a separate piece of code for each individual Text Box. Thanks, David. Hi Mattias, Could you give me a hint about how to create such an array Something like : Public MyTe ...Show All
.NET Development How to download a file over HTTP
Hello, How do i download a file over HTTP from my Windows form app., and how do i use a progress bar to determine how many bytes left..... thanks alot in advance Take a look at the WebClient or HttpWebRequest objects: http://msdn2.microsoft.com/en-us/library/system.net.webclient.webclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.httpwebrequest.aspx To handle progres ...Show All
Visual C# datagridview / cells and rows
hi, i need help, how can i get the value from a particular dgvcell if i'll select the entire dgvrow and how to auto-select a row thats brilliant got it working now. super fast reply. Thanks! ...Show All
.NET Development Newbie, Updating Records
Hello, I'm quite new to .Net/C# in VS2005. Having years of experience in Delphi/Vcl environment blocks me here. I've created a grid that allows me to search in data, when selecting a record in that grid i'm updating another tableadapter to select the complete details of this record. In the search only the descriptions are selected. This works fine. The data is displayed with textboxes that have databinding. I've even (by test) attached a d ...Show All
Visual Studio Team System "Normalize strings to uppercase" rule
One of the new rules in 1.32 is the "Normalize strings to uppercase" which tells me to "replace the call to String.ToLower(CultureInfo.InvariantCulture) with String.ToUpper(CultureInfo.InvariantCulture)". I am missing the point of this new rule - why is a conversion to uppercase any more accurate than a conversion to lowercase when using the invariant culture Guy This would be an extremely difficult anal ...Show All
Windows Forms Invalid Operation Exception while installing from CD
Visual Basic 2005 Express Edition: My app works fine on my computer. I published it to a CD using ClickOnce, specifying that the prerequisites be downloaded from the internet. I attempted to install it on another computer. It immediately aborted with an Invalid Operation Exception in my app. I installed it on my computer from the CD, and it ran fine. I suspect that this could be my problem: My ...Show All
Windows Forms Enumerate SQL data sources
Hi, How can I enumerate SQL data sources in my domain using C# I found MS KnowledgeBase article 310107, but I can't get the code to even compile. Thanks, Royce Hi Royce, If you are trying to figure out how to list all the SQL&nbs ...Show All
Smart Device Development wrapping complex parameters (including nested classes) for WinCE users
Hi all, I have to wrap a product written in C++ for WinCE (4.0) application. The wrapper should be written in C# .Net 2003. Most of my API functions which i need to wrap includes complex parameters, such struct with nested structs, structs with string, etc. With the given hardware and software, i some problems as you can see in the following example: 1. The C++ Code (can not be changed): struct NestedStruct // Simple to wrap {   ...Show All
Visual Studio Express Editions New to C
Hello. I was interested in programming in C and of course I bought a book. However the book is a little outdated, so they describe how to use the tools such as the compiler, etc. They teach you how to compile and link everything with Borland and Microsoft Visual C++. This book is C For Dummies, printed in '96. I downloaded Visual C++ and it has WAY more features than the one in the book has. I'm lost. Starting out he teaches you to do the usu ...Show All
Windows Forms Getting COM error for Webbrowser control
I m opening form asynchronously. in my form i m having 8 tabstrips. i m loading controls on each tab strip when tab is getting activated. one of tab is having htmleditorcontrol (downloaded from windowsforms.net site). Now the proble is when i am clicking on tab contain control htmleditorcontrol i m getting error. ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single- ...Show All
Visual Basic can here discuss vb6
or vb.net Hi, This forums is still beta. this was created in parallel for the Visual Studio 2005 Beta 2. The final release of this forum would also be in nov. (I really hope so) this forum mostly discusses .net technologies. that's why vb6 (COM) is not being discussed here. If you want to get the microsoft vb6 site here it is: http://communities.microsoft.com/newsgroups/default.asp Just search it in the NNTP forums... cheer ...Show All
Windows Forms WebBrowser to view documents like word docs
I have being using the WebBrowser control to show documents like office files and pdfs, i am now changing my EXE to an ActiveX to use in my new web application only now i get an exception saying "Adding a WebBrowser control in Internet Explorer is not supported" at System.windows.forms.webbrowser.CheckIfCreatedInIE Due to the encryption and way my program must work it must be ActiveX so does anyone know how to get around this or rai ...Show All
