539 Topics

Member Avatar for
Member Avatar for AnooooPower

I want to outpout part of a richtextbox content to a textbox. Exemple (This is just part of the richboxtext1: [CODE]<meta http-equiv="refresh" content="0;url=?sid=defd7592f5b806ad8a4fa1273bd73077"> <[/CODE] This is code i used but is faulty :( : [CODE]Dim strBuild As String = Nothing strBuild = Split(Split(RichTextBox1.Text, "sid=")(1), "''>")(0) TextBox6.Text = strBuild[/CODE] I want …

Member Avatar for AnooooPower
0
733
Member Avatar for TechNewbie23

Hey! I am creating an application which will allow users to search parents names and display their childen respectively in a datagrid. I have created a form with two text boxes, a search button and a datagrid. The two text boxes are txtFName.text and txtLName.Text. On clicking btnSearch I want …

Member Avatar for TechNewbie23
0
216
Member Avatar for CrashanBurn

Hi, I am trying to get my little program to do some calculations. So far i got 15 textboxes, named TxtPP(followed by product type),so i got TxtPPproduct1, TxtPPproduct2 etc.... At the bottom of the form i got a disabled textbox which shows the total of all the above textboxes. Now …

Member Avatar for CrashanBurn
0
398
Member Avatar for dooleyis

Hi everyone, I was wondering if it is possible to point to a textbox created in the form designer via a string variable. Basically, I'm creating a golf management system with a feature allowing a user to define their own course. Each hole has a corresponding textbox into which a …

Member Avatar for dooleyis
0
209
Member Avatar for JokerDoom

Hi, I am pretty new to C# and cannot seem to find an answer to this question after 10 minutes google searching. What is the best way to suspend a program to wait for input on a textbox, specifically enter. I think my current problem is that I am coding …

Member Avatar for ddanbe
0
200
Member Avatar for arkanoid

I did not see anything about how to have multiple colors in a textbox. Is this possible, or must I use a richtextbox?. I would like to keep it simple if possible by setting it up in a standard textbox. Can someone help me with this? As an example of …

Member Avatar for arkanoid
0
118
Member Avatar for xxxferraxxx

Hi, I need to make "Keygen" that gen text not randomly with two text boxes, i need to use it for "username and "password" gen that i puted to gen. Please help with the code :)

Member Avatar for xxxferraxxx
0
205
Member Avatar for Joshua Kidd

Hello, I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone …

Member Avatar for Joshua Kidd
0
77
Member Avatar for bklynman01

I'm relatively new with VB.net, so please bear with me... I have a tabpage with 28 textboxes in it. These textboxes will be loaded with data and maybe changed. There is a Save button on the form that will take the data from these textboxes and save them in a …

Member Avatar for CodeWord
0
169
Member Avatar for vbnetworker

My Form have a multiline textbox. In this textbox, theres lines like that: name1 - phone1 and i have to convert every line in 2 variables (or array). eg: name = "name1" phone = "phone1" how could i make it?

Member Avatar for vbnetworker
0
162
Member Avatar for RenanLazarotto

Hey people! I'm creating a small project which consists of 36 textboxes and one button. When I click a textbox, it should open a open file dialog and, when OK, set the text of the textbox I've clicked to the file name. I've did this: [CODE]Public Class Form1 Private Sub …

Member Avatar for RenanLazarotto
0
4K
Member Avatar for johmolan

Is there a way to check if the user has changed the value of a textbox? I try to acces a variable in one of my methods to compare against the value but I can not seem to be able to access it?

Member Avatar for codeorder
0
124
Member Avatar for kruxena

Hi guys need help here. Scenario: I have a function in my textbox1 with the got focus event. I have a 40 textbox in my goupbox1. Here is my code so far. [CODE] Private Sub Textbox1_GotFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Textbox1_GotFocus ... ... For Each x …

Member Avatar for codeorder
0
21K
Member Avatar for RenanLazarotto

Hey guys! I'm trying to change a textbox font size at run time with a track bar. But, when I add to my code: [CODE]Textbox1.Font.Size = Trackbar1.Value[/CODE] It says that Font.Size is a read only value. I haven't found any other way to do it. There is a way to …

Member Avatar for RenanLazarotto
0
10K
Member Avatar for CrankyMero

Hello Everyone, I'm still new at programming, and im having problems with the project i was assign, so im supposed to make like a retail store POS, where i look for the articule and add how much did they take and the price. [B]SORRY IF ITS IN SPANISH[/B] So this …

Member Avatar for CrankyMero
0
266
Member Avatar for Danny1994

Hello programmers out there :) Im currently having problems with allowing the "-" in my TextBox. [B](Im using Visual Studio 2010)[/B] Im kinda new to programming, thats why this code looks messy. [CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08) && (e->KeyChar != 0x6D)) e->Handled = true; …

Member Avatar for Danny1994
0
317
Member Avatar for deconstruction
Member Avatar for deconstruction
0
146
Member Avatar for stefilina

hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i …

Member Avatar for stefilina
0
154
Member Avatar for ak24

Hello... I want to change the TextBox border color if certain event is true. For example, in a GroupBox, there is a TextBox and a Button. If the TextBox is empty, and I click the button, I want the TextBox border color to change to red. If the TextBox is …

Member Avatar for ak24
0
5K
Member Avatar for Ramy Mahrous
Member Avatar for ibdatx

Hi all, I have a textblock that is bound to an xml document. This displays the innertext of an xml-node element and the width of the textblock is fixed at "auto". The issue is that of the display as the innertext may exceed the width of the textblock and therefore …

0
91
Member Avatar for mrbungle

Lets see if I can explain- I have a text box (rich text box) in a form. Inside the box, some data gets put in there- specifically insurance information. Normally, the box doesn't need to change color to alert the user there's a problem with the text that's inside, because …

Member Avatar for mrbungle
0
754
Member Avatar for katmai539

Hi there, it's me again. My last post isn't even solved yet but already i'm on a new job, of which i'm not very proud. This time i need to convert the hex codes i put in a textbox as a string like this: "55 00 01 61 07 46" …

Member Avatar for ShahanDev
0
160
Member Avatar for camilahlah

I need to get the values of all textboxes that I've generated through dropdown list using AJAX. I've been getting only the last value of the textbox, I can' seem to loop it. Anyway, here's my code: [CODE] <? include('connect.php'); $tag = $_REQUEST['tag']; $ProjectName = $_REQUEST['ProjectName']; $Description = $_REQUEST['Description']; $textboxes …

0
78
Member Avatar for darkagn

Hi all, Well this is my 1000th post here at DaniWeb and I thought "What better way to celebrate than by posting my first ever code snippet?" This problem occurred in an application that I am working on. I have a password field in my form that was specified as …

Member Avatar for darkagn
2
360
Member Avatar for Jagfarrell

HI all, Normally I've been lucky to find someone who has had the same problem and applied their solution but after hours of searching I'm not able to find a solution to this one. I've got a FormView which is default mode set to Insert. When the page is loading …

Member Avatar for Jagfarrell
0
150
Member Avatar for erum

i have bit tricky kind or problem. i need to get values of each textbox in loop with different names,i have three row (name,telephone,email)and off course three textbox ,can any one help how to get in loop ,i need to insert them in database [CODE] Dim arr() As String Dim …

Member Avatar for shine_jose
0
207
Member Avatar for Dersev

Hello I have small problem with my lists where I am storing url links. I add my links via textbox and button which shows on listbox but here small problem. My link shows as "Collection" not as [url]http://blablabla.com[/url] I know that I make a mistake here. [CODE]urls.Add(AddLinksField.Text); listBox1.Items.Add(urls); [/CODE] But …

Member Avatar for Dersev
0
147
Member Avatar for asiaenforcer

I have able to generate several labels and textboxes based on a table in the database during runtime. My problem is that I could not get these values from these textboxes whenever a user changes these values and update them. Thank you for any answer or idea. I am using …

Member Avatar for simongh2
0
209
Member Avatar for lewisco

I have a multiline text box which is used to enter barcode numbers into. I have a barcode scanner and all the barcodes will end in L2, L3 or L4. Once a barcode is scanned in I need VB to detect either L2, L3 or L4 then go to a …

Member Avatar for codeorder
0
1K

The End.