Click here to Skip to main content
15,885,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Properties on Custom Control Pin
Eddy Vluggen1-Apr-23 23:57
professionalEddy Vluggen1-Apr-23 23:57 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 0:04
mveRalf Meier2-Apr-23 0:04 
GeneralRe: Properties on Custom Control Pin
Ralf Meier2-Apr-23 0:05
mveRalf Meier2-Apr-23 0:05 
QuestionDetecting when a child form is being moved Pin
Georg Kohler25-Mar-23 8:48
Georg Kohler25-Mar-23 8:48 
AnswerRe: Detecting when a child form is being moved Pin
Dave Kreskowiak25-Mar-23 18:13
mveDave Kreskowiak25-Mar-23 18:13 
GeneralRe: Detecting when a child form is being moved Pin
Georg Kohler26-Mar-23 8:31
Georg Kohler26-Mar-23 8:31 
GeneralRe: Detecting when a child form is being moved Pin
Dave Kreskowiak26-Mar-23 10:15
mveDave Kreskowiak26-Mar-23 10:15 
QuestionLoading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Member 1206177121-Feb-23 8:29
Member 1206177121-Feb-23 8:29 
Hello,

I have a table layout panel that is dynamically populating a user control into a table panel layout.
The user control has a picturebox and a few text fields.
Loading the svg literally takes 2-3 seconds for each user control with the picture box to display.
The file sizes are only 2kb to 20 kb.
I've tried chnaging the sizemode property on the picturebox, but it acts the same no matter what.
I can step through the code and there is no delay at the Load step.
Any ideas why this is happening and how to speed this up?

'UserControl
Dim pp = New ProjectPart
With pp
pp.PictureBox.ImageLocation = strFileName
' pp.PictureBox.LoadAsync()
pp.PictureBox.Load()
pp.CheckBox.Text = PartPlastic_ID
pp.ComboBox.Text = PartPlastic_Status
pp.TextBoxPN.Text = PartPlastic_PartNumber
pp.TextBoxType.Text = PartPlastic_Type
End With
'Add to TablePanelLayout
TlpCustomerParts.Controls.Add(pp, currentcolumn, currentrow)
AnswerRe: Loading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Gerry Schmitz25-Feb-23 6:58
mveGerry Schmitz25-Feb-23 6:58 
GeneralRe: Loading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Member 1206177127-Feb-23 4:02
Member 1206177127-Feb-23 4:02 
GeneralRe: Loading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Eddy Vluggen10-Mar-23 12:06
professionalEddy Vluggen10-Mar-23 12:06 
AnswerRe: Loading svg into picture box on user control added dynamically to Table Layout Panel Slow Pin
Member 1562749512-Mar-23 5:00
Member 1562749512-Mar-23 5:00 
Questionunable to run msbuild command from my c# console application code Pin
Madhurima Dutta7-Feb-23 4:59
Madhurima Dutta7-Feb-23 4:59 
Rant[REPOST] unable to run msbuild command from my c# console application code Pin
Richard Deeming7-Feb-23 5:15
mveRichard Deeming7-Feb-23 5:15 
AnswerRe: unable to run msbuild command from my c# console application code Pin
Eddy Vluggen25-Feb-23 6:30
professionalEddy Vluggen25-Feb-23 6:30 
QuestionInstalling VB6 Pin
Single Step Debugger24-Jan-23 3:05
Single Step Debugger24-Jan-23 3:05 
AnswerRe: Installing VB6 Pin
Dave Kreskowiak24-Jan-23 4:19
mveDave Kreskowiak24-Jan-23 4:19 
GeneralRe: Installing VB6 Pin
Single Step Debugger24-Jan-23 4:20
Single Step Debugger24-Jan-23 4:20 
GeneralRe: Installing VB6 Pin
Dave Kreskowiak24-Jan-23 13:38
mveDave Kreskowiak24-Jan-23 13:38 
GeneralRe: Installing VB6 Pin
Single Step Debugger25-Jan-23 2:58
Single Step Debugger25-Jan-23 2:58 
GeneralRe: Installing VB6 Pin
Dave Kreskowiak25-Jan-23 3:05
mveDave Kreskowiak25-Jan-23 3:05 
GeneralRe: Installing VB6 Pin
Jeremy Falcon1-Feb-23 11:27
professionalJeremy Falcon1-Feb-23 11:27 
GeneralRe: Installing VB6 Pin
Dave Kreskowiak1-Feb-23 11:38
mveDave Kreskowiak1-Feb-23 11:38 
AnswerRe: Installing VB6 Pin
jschell25-Jan-23 5:26
jschell25-Jan-23 5:26 
GeneralRe: Installing VB6 Pin
Single Step Debugger25-Jan-23 5:39
Single Step Debugger25-Jan-23 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.