Can someone help me make a money denomination program in VB.NET.
The problem is when you enter a number the program should convert it to word format.
If you enter in
'98534671.23'
the program should convert it to
"ninety eight million five hundred thirty four thousand six hundred
seventy one and twenty three cents".
See Also:
...
Would anyone know how to convert any date first into a Saturday and then into yyww (weekyear) in VB.NET?
And vice versa, ie yyww into a Saturday?
...
I'm following along with an excellent Scott Guthrie article (MVC form posting scenarios) and trying to convert it to VB along the way. I've got everything working except one piece. At one point in the article he's adding his own business rules to a LINQ to SQL entity like this:
public partial class Product
{
partial void OnValidate(...
I have yet to find a "nice" way to do two way databinding in .Net.
The one thing I don't like for example in the present asp.net two way databinding is doing the binding in the aspx page is no compile time checking, ie:
<asp:TextBox ID="TitleTextBox"
runat="server" Text='<%# Bind("Title_oops_spelled_wrong") %>'>...
I am running Crystal Reports Basic for Visual Studio 2008.
I would like to dynamically refresh my report based on a parameter.
For instance, I'll have a customer contract and I want to switch between customers based on a VB.NET winform button click.
I was expecting the code below to work, but I keep getting the "Enter Parameter Values...
What is the purpose of adding the batch="false" in the compilation tag in ASP.NET 1.1?
...
What do you feel are best practices for the use of Option Infer in your projects?
In Visual Studio 2008, Option Infer is a directive that allows the compiler to infer the datatype of a declared variable by looking at what is assigned to it.
This is a key feature in VS2008 and is used extensively with LINQ statements and queries. Howev...
I have many text files in a folder. What I can do now is to read through one text at a time and insert it into the database. My little app reads a text file when I debug it. So, I need to run it several times to read all those text files and import them into the database.
My question is how to read multiple text files inside a folder at...
Is there any standard naming convention for VB.NET ?
Based your programming experiences, would like to share your naming convention for VB.NET ?
Are there any guides for this kind of good practice besides patterns & practices Guidance Explorer and Guidance Share ?
Thanks. Happy Weekend.
...
Many people here are probably familiar with one of Joel Spolsky most popular blog posts, Please Sir, May I Have a Linker, where he cries out for a way to remove dependencies on the .NET framework so a stand-alone application can be developed and sold.
Jason Zander of the Visual Studio development team, at the time, replied with his view...
apart from 1252 what other code page values can be used with getencoding() in vb.net?
System.Text.Encoding.GetEncoding(1252).Getstring()
...
Hi, I have a form with a richtextbox and a scrollbar. I want to be able to keep appending text to the textbox without loosing my selection. I can save the selectionstart and selectionlength before I append the text and set it back and it works. The problem is when it comes to reverse selecting. The best I could do is set back the selecti...
I would like to write a function GetHashCodeOfList() which returns a hashcode of a list of strings regardless of order. Given 2 lists with the same strings should return the same hashcode.
ArrayList list1 = new ArrayList()
list1.Add("String1");
list1.Add("String2");
list1.Add("String3");
ArrayList list2 = new ArrayList()
l...
I want to write an application that can capture from a TCP/IP camera. I haven't bought the camera yet. I have the following questions:
What should I look for in the camera?
Do all cameras have SDKs or APIs for that?
thanks
...
The following code is supposed to show in a message box the index of the third a in the string checkme, but when I run the program it doesn't give me the right answer (should be 12, instead I get 9). What am I doing wrong and how would I go about making it work?
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System....
When binding with Wpf is there a way to use System.String funcntions without using converters?
<TextBlock Text="({Binding Path=Text}).Trim()"/>
that's basically my desire.
...
I want to be able to add a range and get updated for the entire bulk.
I also want to be able to cancel the action before it's done (i.e. collection changing besides the 'changed').
Related Q
http://stackoverflow.com/questions/57020/which-net-collection-for-adding-multiple-objects-at-once-and-getting-notified
...
Hey, I've included an MS Access database in my WPF VB app, and I'm trying to link the data to an XCEED Datagrid. I have the following code in my testerDataSet.Designer.vb file which I assume is the funcion I should be referencing
Public ReadOnly Property Contact() As ContactDataTable
Get
Return Me.tableContact
End Get
En...
Working on Access 2007 and Visual Studio 2008, i already connected my database to the application and can see the data on datagrids and can add or edit or delete records, the problem is that those changes do not go to the database, so when i close and reopen the application, i found the old data as it was before.
Note: i used the wizard ...
It would be handy during debugging to have multiple consoles (not multiple monitors, which I already have). I am imagining something like Console.WriteLine(1, String1) which would send String1 to one console window 1 and Console.WriteLine(2, String2) which would send String2 to console window 2.
...