Is Refactor Pro the only .NET Refactoring tool that supports the String to StringBuilder refactor?
I'm looking for one that has a trial version of this feature to see if I like it enough to purchase. The overall goal is to tidy up another developer's VB.NET code.
...
Does anyone know if there has been a port of the GNU Ballistics library to C#, java, vb, etc? Is there a similar library out there in any other language, even C++?
...
Hi.. new with Linq and very excited with this feature. However, I want to see if I can do the following with LINQ:
DataView source = (DataView) MyDataGrid.ItemsSource;
foreach (DataRowView vw in source)
{
if (vw.Row[dummyColumnIndex] != null &&
vw.Row[dummyColumnIndex].ToString() == DisplayValue)
{
vw...
I did a fair bit of searching for an answer to this question, but no example that I could find got all the way to where I need to be.
I've got a Dictionary(Of SomeEnum, Integer) that gets filled up while looping through some objects that have a property with type SomeEnum. Once the loop is done, I want the SomeEnum type that occurs the ...
What is the keyboard shortcut to get CodeRush to do the #1 suggested fix for the situation?
Do I really have to hover over the problem long enough to get the ellipse to show up and then pick a choice?
Also is there a way to jump to the next problem area?
...
I'm not quite sure how to ask this, or if this even exists, but I have a need to merge two xelements with one taking precendence over the other, to become just one element. This is may be thought of as similar to the way Outlook 2007 merges two contacts that seem to be the same based of the contact name.
The preference here is VB.NET an...
I am using ASP.NET 2.0 and SQL Server 2005.
I am saving a value/string in the database such as............
<P>Test 1</P><P>Test2</P>
Now i want to decode/remove the html tags and display it properly to the user such as....
Test 1
Test 2
I have tried this but it does not work!
txtDesc.Text = VALUE FROM DATABASE
What am i...
Hi,
I've built a web service using WSE 3.0 that should interface with various other platforms like IBM's WebSphere. In the addressing part of the request the content of MessageID needs to be in the format uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Anything else results in a "Bad Request" error. I've been told that according to WS-Addres...
Hi. I have a problem regarding listview control in asp.net and vb.net. I'm developing a web based application wherein the user will search for a topic and the search results will be displayed and bind in a listview. There's a link in a listview where users can click to view a file.
I want to get the selected value of each item in a lis...
Hi to all. Is it possible to restrict a user from opening a sub folder like "permission denied" message should display while trying to open the folder. If yes, help me to solve this using vb.net in winform as well as using vb.net in asp.net
...
how can i retrieve data from a gridview to text box in vb.net.i want to select first row of values(suppose that contains:rollno and name)and to display in textbox1 and textbox2.ie, i want to display the values of selected rows
...
hey everyone,
I use the following coding to show six images from the latest photo album i uploaded picture to. However the images being shown are the 1st six images in the folder (which are the ones the oldest uploaded) not the final six images uploaded.
Anyone can help me what should i change in the following coding to show the last si...
hi i have an insertItemTemplate as follows, and all i want to do is to programmatically add all the values myself, without asking the user, of course, the userID, picID and dateTime should not be asked to the user, the comments field of course, i want to ask the user as they are leaving a comment about a picture on the site :)... seems s...
Hey guys,
I made a simple chat system that connects to a server with a client one on one. I'm not really sure how to get multiple clients with the server so that you can see everyone's messages. Here is the source code. The Server only accepts one client at a time. how can I fix this?
Thanks,
Kevin
...
Value cannot be null. Parameter name: stream
Can anybody assist my code?
Me.PictureBox1.Image.Save(memStream, System.Drawing.Imaging.ImageFormat.Jpeg)
Dim imSource() As Byte = memStream.GetBuffer
Dim imStatus As Integer = publicStream.Read(imSource, 0, streamLength - 1)
imSource.GetValue(memStream.ReadByte)
...
I need to set different tooltips for listview items
for example:
listview has three items like Item name,menu name,price. I have to set tooltip like "Name of item name,menu name contains only food and drink,price should be necessary" for these three items respectively.
how to set tooltip for listview items in vb.net?
...
I've started as a developer a few months ago (c#/vb.net) and I am keeping a folder in my "pendrive" (not really a pendrive) of all the sourcecodes that i modify, with all problems i solve, and solutions i create (profissionally).
That may somehow violate the policy of where i work, because everything i do is their legal and intellectual ...
I have an xml formatted document that looks like this:
<?xml version="1.0" encoding="windows-1250"?>
< Recipe>
< Entry name="Stuffed Red Cabbage" ethnicity="Slavic" />
< Cook_Time Hrs="1" Mins="30" />
< Ingredients>
< Cabbage Amount="1" Measurement="head" />
< Egg Amount="1" Measurement="unit" />
...
In C#, if you do this, it will compile:
namespace Name
{
public class Test
{
}
public class TestUse
{
private global::Name.Test test;
}
}
If you try the same in VB.NET, however, it won't:
Namespace Name
Public Class Test
End Class
Public Class TestUse
Private test As Global.Name.T...
Sometimes I have to implement an interface or inherit a virtual (MustInherit) that the base method expects an object, whilst I know that the value I will be passing will always be an Integer for example.
What should be the best performance from the examples below:
Public Sub DoSomething(ByVal obj As Object)
'option 1:
Dim x As ...