|
by: kfrost |
last post by:
I know this is probably simple but I have a C# form and the class for the
form is called sbaSynch. I have a textbox name txtServerName.
I'm creating a class to manipulate XML functions so I added a class to
project and it's named XmlApi().
In the XmlAPI() class I have simple code as following
XmlAPI()
{
string str = "Some Text";
|
by: Jurjen de Groot |
last post by:
I'm developing a ASP.NET/VB.NET web application. (VS.NET 2003)
I've created several webpages, but on two pages one textbox colors yellow
(the background) and I can't get the background to appear as White as it
should by default. Even setting the background to Red doesn't prevent it,
the textbox still appears with a yellow background. With or Without using a
stylesheet the textbox still appears with a yellow background.
The textbox is...
|
by: MattB |
last post by:
Hi. I'm working on an intranet application that requires a user to input
information about themselves. I have a user control with a couple of
textboxes that I want the user to enter their weight into. One is for
Lbs and one is for kg and I'm using the OnTextChanged event to populate
the other control if one is filled in (converting between kg and Lbs).
It works, but when one TextBox is changed and it sets the other's value,
the second...
|
by: Martin |
last post by:
Hi all,
I'm trying to make a subclass of the Textbox. One of the things I did there
is the following:
Protected Overrides Sub OnLeave(ByVal e As System.EventArgs)
If Me.DataType = 1 Or Me.DataType = 2 Then
If IsNumeric(Me.Text) Then
Me.TextAlign = HorizontalAlignment.Right
End If
|
by: Jason |
last post by:
I have created a user control, MyControl.ascx, that has a text box and
a button. The button updates a table in SQL with the text in the
textbox. Now, I include that control in a page Default.aspx. From
Default.aspx, on page load, I populate the textbox through the public
property TextBoxBody of MyControl.ascx.
When I load Default.aspx and change what's in the text box and click
the button to update the database, the update statement...
|
|
by: teddysnips |
last post by:
WINDOWS FORMS
I've a form that has a textbox that allows the user to enter a string.
On the LostFocus event, the textbox formats the string into a preferred
format.
However, if the user presses the "Save" button while the textbox has
the focus, the LostFocus code doesn't run at the right time, so that
the "Save" function is dealing with an incorrectly formatted string and
the whole caboodle goes splat.
|
by: WALDO |
last post by:
I have a .Net TextBox (TextBoxBase, really) in which I am appending about 20
lines of text per second. I use the AppendText() method to accomplish this.
This is a great substitute for taking the Text property and concatenating
it...
Me.tb.Text &= newText
' Instead use
Me.tb.AppendText(newText)
....ultimately setting the SelectionStart to the end of TextBox, the
|
by: > Adrian |
last post by:
Is there a way of stopping text from highlighting in textbox?
Many thanks,
Adrian.
|
by: john |
last post by:
I have the following textbox setup with Text & ToolTip Bindings as follows;
I'm using Visual Studio 2008 VB:
<asp:TextBox ID="txtDay1" runat="server"
Text='<%# Eval("Day1") %>' Width="30px"
ToolTip='<%# Eval("M1") %>'></asp:TextBox>
|
by: sphinney |
last post by:
I have a datasheet style form with textbox (MyTextBox) that has the Text Format property set to "Rich Text". It is bound to a memo field in a table. How do I change the text or highlight color of certain text in the textbox such that the formating is saved in an underlying memo field?
My situation is a little different than other posts I read. Most posts show how to find and select certain text in a textbox, and then change the formating...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|