C# - Good Tutorial For Resharper Templates?
Aug 6, 2009I'm looking to get into some of the more advanced features of resharper tamplates. I know just enough to be dangerous by looking at some of the existing templates.
View 1 RepliesI'm looking to get into some of the more advanced features of resharper tamplates. I know just enough to be dangerous by looking at some of the existing templates.
View 1 RepliesI have been looking for a good beginner tutorial on polymorphism, inhertance,and related terms.Something where I can start at and go through and get most of the common programming terms and techniques explained with examples
View 1 RepliesCan anyone point me to a good tutorial for creating custom controls. I want something that is actually understandable.I have gone through a few but nothing really any good at this point. I want to create my own contol that uses its own look and not just modifying a windows control.
View 2 RepliesAny links to good descriptions and/or tutorials (with VB.net 2008) on OdbcDataReader? I tried, but didn't find many. MSDN is not such a good help in this case.
View 1 RepliesI probably confused memory usage issues with the UI sharing same thread as the processing (as pointed out by MusiGenesis below). However regarding the Memory usage. I am still not able to find VB.net specific syntax, although people have pointed out some great .Net and C# information below (and if I were more versed in those technologies, one could adapt to make work with VB.net).The general concepts are working fine, however I am having issues where the Mem Usage on Task Manager keeps growing as the program is used to load more and more files.On Startup, before doing anything, the VB application has 27,000 K.Once the file is parsed and even after I dispose of the File handle as well as the the data increases a lot. I strip out everything in the code and it still seems that memory in Mem Usage remains captured. There is no rhyme or reason as to why the Mem Usage is growing (i.e. sometimes it can grow by 20 mb when reading a 7mb file, however other times it does not increase at all, when reading a 3mb file). Sometimes, it appers to release some memory when the parsing is complete and other times it just holds.I have looked at .Net Memory Profiler and have not really been able to make heads or tails from that.I have read a lot on internet regarding Memory Management on .Net in General about Dispose and "Nothing" and DataSets, etc, however have not really found anything regarding VB.Net specifically.My General Question is: Are there any good tutorials/books/blogs/etc that show a more in depth tutorial on managing memory in a VB.Net application (i.e. how/when to dispose/close, etc), or does anyone have some specific tips from there experience.
View 5 RepliesI have created a Customized Excel template for Office 2007 using VSTO. currently i am showing this template under my templates. is it possible to show under Installed templates?
like we have in office 2007 Billing Statement, Blood Presser Tracker, Time Card , etc. Is it possibe to show the template which is created by me; under Installed templates?
I have experience in C++ programming, but never created gui with it so learning vb.net for some quick gui development. and i want to learn vb.net. I can't install visual basic express on computer cause i'm on shared computer and such huge install is not possible on that computer. So i picked up sharpdevelop. After searching most of the tutorial, i found out that most of tutorial written for visual studio IDE for vb and vb.net. I'm trying to learn vb.net in depth from command line to gui programs. Any good recommendation of tutorials, book ? I searched google but very few results so far. I'm looking for good learning tutorials that can help learn with sharpdevelop.any suggestion for tutorial and books that mentions sharpdevelop in their tutorial/guide ?
View 2 RepliesBasically in visual basic 6 I could access word tables in existing templates with the code owordactivedoc.tables(1).select() where owordactivedoc refers to the active word document and tables(1) refers to the first table in the template.Trying the same code in VB 2003 just leads to errors. Secondly how do I access bookmarks or alternatively word variables.Furthermore how do one deploy web.services. For example the current program I am building is for another computer. Simply copying the web service to Inetpubwwwroot dont work because it is not picked up by the Internet Information Services program. I have to create the web service in vb2003 on the other computer change msconfig manually. Copy and paste the existing service vb file in the created folder replacing the empty vb file.
View 3 RepliesRunning solution with VB.NET & C#, ASP.NET, VS 2008 with ReSharper 5 Most of the time, ReSharper is working (redundant code grayed out, squiggles, etc.)Sometimes, on the same code where it was working, nothing is highlighted to show ReSharper is enabled.I haven't done anything except modify code and debug.
View 1 RepliesI'm Using resharper 6 nighty builds and VB.net. I've a big medium project with multiple files that don't follow the code style conventions of my company.I've configured resharper with my own convenctions and It suggest to me the right name for each variable (perfect!).But I can't find any automagic way to make the current name to be replaced with the suggested name.
View 1 RepliesI use resharper 6.1.I use VB.Net and I want to search for this. for all the help.ShowHelp things and put those in a wrapper.So I have something like this.
Private Sub BtnHelpClick(sender As System.Object, e As EventArgs) Handles btnHelp.Click
Help.ShowHelp(Me, HelpFiles.AuditTables, HelpNavigator.TopicId, AudittablesContext.AuditTables)
[code]....
I am using Resharper 4.5 in Visual Studio 2008. Whenever I try to extract a block of code into a method, it tries to create a subroutine and not a function. The return type option is disabled. Does anyone have any advice as to how I can get it to create a function and not a subroutine?
View 1 RepliesWe have always used Me.Property and Me.Control in our VB projects, and have just got ReSharper. Does anyone know of a way to get it to ignore this specific type if redundant qualifier?
I still want it to complain if I use any other redundant qualifiers.
According to the General Naming Conventions the usage of CLR type names (e.g. String, Int16) should be preferred over the usage of language specific type names (string, short). I usually follow this advice. Resharper however seems to use the language specific type names when generating code (eg. when extracting methods or generating foreach loops) which is very annoying.
View 2 RepliesDoes vb.net allow use of function templates like in C++, so that the function can be generic?
View 3 Repliesi am using vb.net 2008 express edition. I want to create a report using crystal report but there is no crystal report in my vb.net.
View 2 Repliestell me the difference between the different project templates, or examples of when to use each? Or is there a good place I can find explanations? The short descriptions in the statusbar don't really explain well enough for me to clearly understand.
View 2 RepliesIm working on a Winforms application that reads an XML file containing html templates and generates some html to send to another application.Each template will have about 25 values to replace.I thought about using the String.Replace method for this but wanted to get some ideas from the people here.
View 10 RepliesI have VS 2008 installed and cannot seem to get the form template to show when I try to add a new item to a project. I have tried the dev /installvstemplates from command line and I checked my zipfiles are in the 1033 folder, I think that is where they are meant to be but still no form showing in add new item?
View 9 RepliesI am working on a project that will entail connecting to a SQL server. I have been looking at different ways of doing this, and was attempting to connect via Linq to SQL, but found that when I click on the Project menu, and select Add New Item, I do not have anything regarding Linq in the templates.
View 6 RepliesI started trying to do this... [URL]...and quickly ran into a problem because I don't have a Windows Class Library project template. The option simply isn't there.[URL]So I start a Windows Application and try adding an Inherited User Control to the project, and I get this error.[URL] Building the current application does nothing for this. I tried browsing to system.windows.forms.dll and nothing happened.
View 1 RepliesI recently installed Visual Studio 2008 Professional (Finally!) and I was going to use it for XNA programming. (I know XNA is C#) and my problem is that the templates for XNA aren't showing up in VS, how do I fix it?
View 5 RepliesHow do I add Visual Basic templates to Visual Studio 2008
View 2 RepliesI found very few project templates in my vs 2008 express edition, so where i can find more project templates on net to download?
View 1 RepliesIs there a quick and easy way to make a VB.NET user interface for managing the data in a normalized DataSet? I know that is a very subjective question, so let me explain. For a brief period early in my career, I used to create user interfaces in Microsoft Access. I developed a simple, but very effective approach to user interface design. Here are some details of that approach:
[Code]...
I am trying to build a macro that formats all modified files before saving them.
Public Module ReformatAndSave
Sub SingleFile()
DTE.ExecuteCommand("ReSharper.ReSharper_SilentCleanupCode")
DTE.ActiveDocument.Save()
End Sub
Sub AllFiles()
[Code]...
Is there a repository of localreport templates for printing standard type mailing & etc labels available for download anywhere that anyone knows of?
View 6 RepliesHaving:
<asp:FormView ID="frmEmployee" runat="server">
<EditTemplate>
<asp:TextBox ID="txtFirstName" runat="server" />
[code]....
is there a way to reference this control statically, without having to use FindControl?
VB.Net
txtFirstName.Text = "George"
C#
txtFirstName.Text = "George";
I am looking to create several custom controls (PictureBox Derivatives) on during runtime. I've read that the best way is to create template controls that will be created, and duplicate them in the Controls array.
Well, that's all fine and dandy, but what's the best way to store the template? I considered a seperate form with all the templates laid out on it for easy access for my editing, and keeping them out of the user's sight. I also considdered doing a Struct for each template, and smply mirroring values onto the control being created from the Struct to the created control.
I'm looking for ease of development first and foremost, as I'm most likely going to have a vast number of these templates, and keeping the system as simple as possible will eliminate a lot of hair-pulling. After development ease, I'd go for optimisation.
Where and how do I look for to access the default templates of say for e.g a checkbox, so that I can modify few styles in it.
View 1 Replies