473,785 Members | 2,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.NET 2005, Change text of control on a Splashscreen

Hi,

I'm currently working on an app in VB.NET 2005 which uses a splashscreen.
In the 'my project' settings I used the 'Spash screen' setting to set the
form that will be the splash screen.

The next thing I want to do is change the text of a control on this form so
the app can show some information about the startup proces.

There's a control ctlText on the Splashscreen. I also have this property on
the Splashscreen:

Public Writeonly Property SetText() As String
Set(ByVal value As String)
me.ctlText.text = value
End Set
End Property

When I call the SetText property from my main app I get an cross-thread
exception.

How can I change the text on a Splashscreen?
Maurice
Jan 23 '06 #1
1 1760
Hi Maurice,
I accomplish this by caling a public method of the splash form. That method
uses an parameter as an ENUM that determines which text to display with each
call. The text changes based on which group selection is clicked.
--
NormD
"Maurice Mertens" wrote:
Hi,

I'm currently working on an app in VB.NET 2005 which uses a splashscreen.
In the 'my project' settings I used the 'Spash screen' setting to set the
form that will be the splash screen.

The next thing I want to do is change the text of a control on this form so
the app can show some information about the startup proces.

There's a control ctlText on the Splashscreen. I also have this property on
the Splashscreen:

Public Writeonly Property SetText() As String
Set(ByVal value As String)
me.ctlText.text = value
End Set
End Property

When I call the SetText property from my main app I get an cross-thread
exception.

How can I change the text on a Splashscreen?
Maurice

Jan 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1676
by: Dean Slindee | last post by:
Does anybody know to whom I can send this letter so that it hits home before Visual Studio 2005 goes production? Dear Microsoft Visual Studio 2005 developers, This is a request for you to change four of the most basic controls to improve them and make them more consistent amongst themselves.
3
7657
by: steve | last post by:
Hi All I have set a splash screen form as the application splash screen in VB.net 2005 I t runs fine but stays on top when my login screen appears How can I shut the splash screen down when the login screen is shown Attempts to close it from the application main form results in error message
4
5111
by: steve | last post by:
Hi All I have a form set as the splashscreen in project properties Is there any way to get msgboxes to appear on top of the splashscreen If I don't hide the splashscreen then the program just stops as msgbxes from licence checks etc cannot load on top
2
6913
by: Zim Babwe | last post by:
I posted in another group but thought this was the better place to post, since it had to do with the vb language I have been making changes to my Windows Application and in the Project/Properties the Publish Version shows the following: Major: 1 Minor: 0 Build: 0 Revision: 45
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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,...
0
10147
jinu1996
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...
1
10090
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8971
agi2029
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...
0
6739
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();...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.