Make The Current Name To Be Replaced With The Suggested Name?
Jul 5, 2009
I'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 4 Replies
ADVERTISEMENT
Apr 26, 2011
I'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 Replies
Apr 6, 2012
I have a general question on app.config, or the best way to NOT hard code a SmtpServer.Host = XXXXXXXX setting. I wrote this very simple SMTP texting application and wanted to have the settings not hard code but a form that read or writes to app.config or .ini or registry. my question is the pros and cons? and if anyone hae suggested or a link to sample project that is doing what I'm after. I have a single .exe and am new to vb.net and either want the exe to check for app.config, ini or registry if does not exist to create and then save added config, if the exe runs again it uses the newly created settings.
View 5 Replies
Apr 28, 2010
Ive created a few in-house applications using Access, such as an IT Ticket tracking database and a database to store legal case logs, but finally found a project that I knew would completely out-grow Access and Im trying to incorporate my previous knowledge in to Visual Basic/Visual Studio.That being said, do any of you have any suggestions for intermediate-level reading material or tutorials, especially on how SQL Server and Visual Studio mix together? I've picked up a copy of Sams Teach Yourself Visual Basic 2005 in 24 Hours, which isn't too bad but I've had to skip around quite a bit because I'm already pretty familiar with the interface, I just need some more assistance with the code. I've also purchased Murach's Visual Basic 2008, but I haven't cracked that one open yet.At any rate, I look forward to talking with you all.
View 1 Replies
Dec 8, 2009
I'm creating a text box with auto-suggested. So, it works well. It suggests only first name, but I want it to suggest the full name (first and last name which two different columns). Take a look at the following code behind that worked as expected :
[Code]....
View 1 Replies
Jan 21, 2009
what I could use to display some help for a function (or subroutine) in the popup that appears when entering said function in the VS2005 IDE when using VB.NET. I discovered later that you could use the XML code documentation to write the description. Just type 3 single quotes (''') on a new line directly above the function you want to document and press return. The IDE creates a comment template. Just enter your description text within <para></para> in the <summary> section and it will show up when the intellisense dropdown is displayed for your function.
View 1 Replies
Nov 15, 2011
By accident I named a report like a form that i already had example:
Form Name: CheckIn
Report Name: CheckIn
And know I cant use the form, anyone know how to get back the code from that form
View 1 Replies
Sep 27, 2011
Dim ds As New DataSet
Dim xmlfile As XDocument = XDocument.Load("devices.xml")
Dim reader As XmlReader = xmlfile.CreateReader
[code].....
View 14 Replies
Jul 14, 2011
In my database I have 3 tables Act, ActVisi and Visi. Table ActVisi is an association table between Act and Visi tables. In My EF4 data model the association table ActVisi is replaced by a many to many navigation property in both Acts and Visis entities.I want to select the entries whose Visicode=1 (in the ActVisi association table). I have tried the query below and it works when I remove Include("Visis").Where(Function e.Code = 1) but I am getting all the results. How can I make the below query work. I suspect that my lambda syntax in vb is incorrect.
[Code]...
View 1 Replies
Apr 1, 2009
In the .NET world, what application has replaced the role that SourceSafe used to provide in Visual Studio 6?
View 23 Replies
Apr 21, 2009
I've created a class that inherits from CollectionBase that populates with a custom object type. I populate the custom collection and set it as the datasource for a ListBox control and set the appropriate DisplayMember value to one of the properties of my custom object.
While the binding behaviour is working great, I'm trying to polish up the UI because when the list of objects is somewhat long, there is a momentary flash where the ListBox displays the custom classname which is then replaced with the appropriate display data. I'd like to keep that initial flash of the ToString() method from appearing. I tried SuspendLayout() and ResumeLayout() on the control and the form, but neither keeps the flash from occuring.
What am I missing?
View 2 Replies
Jun 15, 2011
Below is an snippet from my project template. I have some classes I want to link to in the project.One of my developers created the template and I copied it to my PC.It seems to work on his, but when I create a new project, instead of keeping the hard coded path the "my documents" gets replaced.I know this is a little cryptic, but I was hoping to flesh the question out with your questions.[code]
View 8 Replies
Mar 11, 2012
sorry but i changed my thought to adding here pictures it loooks stupid so i will remove them now
View 22 Replies
Feb 20, 2011
I use Visual Basic 2005.I'm making a web browser,First of all, I want to know how to make the URL TextBox display the current URL. For example, if you're on url...I want to make it so that the text box displays the url you're on, not the one you typed in. Second, I need to know how to make the web browser go to the home page when started up. That seems kinda dumb but in the properties of the web browser when I type in the home page to the URL nothing happens!
View 2 Replies
Jun 22, 2010
How to make datagridview current row bold?
View 1 Replies
Mar 30, 2012
Private Sub Button7_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button7.Click
[Code]...
oook so this when button7 clicked it will move my mouse to the X:700 and Y:700, but will start from the X:0 and Y:0 but i tried making start from my current mouse position but idk how not working:
View 11 Replies
Sep 27, 2011
i'm making an emailing app that send emails, from one account to another by smtp client and importing system.net.mail
i want to make a progressbar that shows the current progress, like, when the email, is successfully sent the progress bar value = 100, but how to do this?
View 1 Replies
Aug 13, 2009
I'm making a application but I want it to be as small as possible also if you use the FormWhatever.Show function, if you close the parent window, everything closes. Is there a way to make a button open up an application that is NOT in the current project?
View 5 Replies
May 9, 2010
i need to make a program that simply takes current date and the input date (users birth date) from the user both as i integer then if the users is 18 or more then the back color turns green otherwise turns red.
Code:
Public Class Form1
Dim int_ThisDay, int_BirthDay, int_ThisMonth, int_BirthMonth, int_ThisYear, int_BirthYear, int_DifYear, int_DifMonth, int_DifDay As Integer
[Code]....
View 3 Replies
Mar 31, 2010
I'm working on a VB.Net windows application.In the top half of the form application, I have a vendor number with a "GO" button and in the bottom half I have a list of tab pages. We have built the application to only go to the database and display data when the tab page is selected by the user. If I'm in one of the tab pages, and I change the vendor number and click the GO button, the data on the current tab page goes blank (it does not refresh). I have been told that I have to find a way of programmatically clicking on the tab page's tab a second time. How do I do that? I've tried using _Selected event, _Selecting event, _Click event. I've even tried to do a .Focus() on the tab page itself. Nothing seems to work to reload the new data without clicking off of the tab and back onto it manually.
View 4 Replies
Nov 8, 2011
im asking for help on how to Make Folder and it name by current Date?
sample today is 11-08-2011
so program will create a folder name 11-08-2011 (Nov.08,2011)
and also creation of folder triggered by timer lets say Folder creation every 11pm daily.
View 3 Replies
Jan 20, 2010
How to make datagridview current row bold & green color?
View 1 Replies
Mar 14, 2012
I'm trying to make the combobox get suggested values from a website using the current keyword they have in the box already. For example if I have O, it will show up values that the website has returned with O. The problem is how can I make it work where whatever I type into the combobox, it will get the values, set the datasource and make it show up. So far I have this:The problem is whenever I type something, I cannot get it to set it to the new datasource without the comboxbox becoming the first value in the data source.
Dim pop As New List(Of String)
pop.Add("Koolaid")
pop.Add("kIMKY")
pop.Add("KoolPaid")
ComboBox1.DataSource = New BindingSource(pop, Nothing)
View 1 Replies
Apr 28, 2009
What ive done so far is make 1 textbox show the current hash code of the colour, and it works..
But what i want to do is, In another textbox, you type in a hash code and the color dialog loads the color of that hash code.. Not work!
Ive tried..
ColorDialog1.Color.GetHashCode(Textbox1.Text)
X
ColorDialog1.Color = Textbox1.Text
[Code]......
View 4 Replies
Dec 21, 2009
How would I make the Windows Media Player element in visual basic play the next song after the current one is done. I know you can do it with a playlist but how would I do it with out any kind of list boxes or stuff like that. To browse for the files i use a open file dialog.
View 9 Replies
Dec 28, 2011
I have following link in a.aspx file:
<a href="a.htm" target="iframe">A</a>
I want to set link from a.aspx.vb page according to what person is viewing the page. How can i change this so that if user clicks on link it will replace current frameset contained in current window with a url provided according to user?
Or in another way:
How will i replace href code in aspx page by giving it value from aspx.vb page?
View 1 Replies
Sep 20, 2011
Is that possible to get current Enumerator (...or iterator? Don't know which tern is the correct one) in a LINQ query ? For example, I try to create a XML output (via LINQ to XML) of all currently loaded assemblies. [code] is it possible to somehow get current "index" (counter?) from LINQ's Selects? I would like to use it in XML. [code]
View 1 Replies
Oct 18, 2010
In vb6 you could use:
Type SysInfo
Clr as Interger
Tmp as integer[code]...........
What command(s) do we use for structured varibles now?
View 2 Replies
Jun 22, 2009
the system is going to have two front-ends - one web application and one desktop application.The desktop application is going to be coded using VB.NET, and the web application in PHP. There's really no reason why the desktop application can't be replaced by a web application as well - except that one of the programmers seem to really want to code it in VB...However none of us have experience working with either of these pairs .
P.S. hosting service will be gotten from some provider and not be on the client's own server.
View 3 Replies
Sep 12, 2011
I have a datagridview having 3 columns (qty,scraft factor,actuall qty). What I want is if the user encode 50 in qty and 2 in scraf factor, actuall qty will automatically computed based on qty multiply by 2. I was using keyup event. Now I am using endedit to get the current value of the current row and column, now the problem is if the amount to be encoded is more than one digit it will not accept because of endedit. What event do I have to used? or any solution with this scenario.
[Code]...
View 1 Replies