Hi.. I'm doing a project on Vb.net 2008.. There's a textbox called "Price" which requires validation.. The validation is that the textbox should not enter dot, special characters or alphabets as the first character.. The Dot should only be active after the number which is entered on the textbox.. for now i'm using this code.. Thanks in advance Private Sub txt7_pprice_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txt7_pprice.KeyPress If Char.IsDigit(e.KeyChar) Or (Asc(e.KeyChar) = Asc(".")) And Me.txt7_pprice.Text.Count(Function(c As Char) c = ".") = 0 Then e.Handled = False ElseIf Asc(e.KeyChar) = 8 Then e.Handled = False Else e.Handled = …

Member Avatar
Member Avatar
+0 forum 4

How to show save dialog box in dot net 2003 using vb dot net

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm creating a bookmarks system for my web browser. I'm learning how to use XML files with VB.Net, so my bookmarks are stored in an XML file. When I want to add a new bookmark, the code below works, but it only allows for one bookmark. How can I append to the XML file instead of overwriting it? 'It's not bookmarked, so let's add it Dim wtrXML As New XmlTextWriter(My.Computer.FileSystem.SpecialDirectories.MyDocuments & "\Test" & "\" & "Bookmarks.xml", System.Text.Encoding.UTF8) With wtrXML .Formatting = Formatting.Indented .WriteStartDocument() .WriteStartElement("WebSites") .WriteStartElement("WebSite") .WriteElementString("Name", browser.Title) .WriteElementString("URL", tbaddress.Text) .WriteEndElement() .WriteEndElement() .WriteEndDocument() .Flush() .Close() End With Thanks for your …

Member Avatar
Member Avatar
+0 forum 2

I am learning C++ .net programming and was wondering why the code for creating a messagebox is [CODE=C#]MessageBox.Show("Hello, World!");[/CODE] in C# and [CODE=C++]MessageBox::Show("Hello, World!");[/CODE] in C++. Why is the dot substituted with a double colon in the C++ code? My source: [url]http://msdn.microsoft.com/nb-no/library/z9w2f38k[/url]

Member Avatar
Member Avatar
+0 forum 2

Hi there, I have an old Olivetti PR2 Dot printer. This printer was (and nowadays new revisions of this model are) used in bank environment to print on passport books and a4 format sheet. This model in particular has a Parallel port and a serial (25pin) one as well. My question is: how can I print with this printer? I'm not an expert in this sense but the only thing I understod (I hope) is that you can't manage it as a normal end-user printer but you have in some manner "talk" with this printer by using string commands. I've …

Member Avatar
Member Avatar
+0 forum 1

Hi everyone, I'm in this proyect where I need an area in the form where I can place just dots, then join these dots with an straight line between them. How can I do that? I placed a Picturebox to see functions there but nothing is clear. Any help would be great, thanks!

Member Avatar
Member Avatar
+0 forum 3

I have a script called setuptex that is run on a terminal as [CODE]. ~/context/tex/setuptex[/CODE] I wanted to execute it from a bash script file instead of typing it each time on an interactive terminal. Since the dot operator and the source builtin command are similar, and I wanted a simple one word command, I tried scripting it thus: [CODE] #! /bin/bash source ~/context/tex/setuptex [/CODE] saved it in a file, and having made the file executable , executed it from a console. It does not seem to have any effect, whereas running the interactive version with the dot operator works …

Member Avatar
Member Avatar
+0 forum 3

A city known for its liberal views and progressive trends has just blazed another trail for the country to follow. The San Francisco Metro Transit Authority (SFMTA) has begun testing a new supply and demand based parking meter system at 6,000 of its 25,000 metered parking spots in conjunction with the U.S. Department of Transportation’s Urban Partnership Congestion Initiative. Phase one of the SF[I]park[/I] project, a two-year, $27 million federally funded program, is currently underway in Hayes Valley, with the installation of the first 190 meters over the past two weeks. [ATTACH]16454[/ATTACH] The project is designed with the San Fran …

Member Avatar
+0 forum 0

The End.