Search:
Type: Posts; User: Mugsy323
Search:
Search took 0.03 seconds.
-
I wrote an app that I've been updating for years to manage Saved data for another app that is now in it's third generation.
So I have separate forms laying out the data that varies based on both...
-
I tried your example. It functions, but unfortunately can't be adapted to my situation (I'd need hundreds of references to every common object on each form.)
I've already started work on a single...
-
The problem is definitely far more complex, but thanks anyway. :)
This looks interesting. The "Windows.Forms.Form" might be the missing piece of the puzzle. I'll give it a try. Thx.
-
Thx. Looks like a "rewrite" is my only choice".
-
Thx for the reply.
I'm probably too much of a Newbie to understand "Common Base Class". If I understand correctly, this would be a third "universal" form containing all the elements of Form1 &...
-
I have two nearly identical forms (only one of which is loaded into a Panel at a time.) I want to read the value of an object that appears on both forms using a single command:
(Sample code)
...
-
I'm not sure what you mean by using a "UserControl" instead of a form.
AutoScroll already set to True, but "False" didn't work either.
-
Crud. Seems I spoke a bit too soon on "it works great."
At low resolution, it causes the form to repeatedly refresh b/c the form is still jumping to the top (triggering a "MouseLeave") and then...
-
Hmm. That didn't work either but I FOUND A SOLUTION!
After setting the ".VerticalScroll.Value" I then set ".ScrollControlIntoView(sender)" and it jumps right to the location of the floating...
-
Refreshing the panel made no difference. And I don't know how to "refresh" the vscroll. :(
-
Class for Form1 (an 800x500 form with a Panel object called pnlContent nearly filling the form):
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles...
-
I created a small sample project to demonstrate what's going on:
I put a form inside a panel. On Load, I try (and fail) to scroll the form. If you click the "Label" halfway down, a popup tells you...
-
Thx for the reply.
In this particular instance, it takes place in a "_MouseLeave" instance from a floating preview image.
-
Thx for clicking on my question.
I'm displaying a form in scrollable panel/window. I'm able to force the window to scroll up/down to a desired point (ONCE), but when I do, the scrollbar doesn't...
-
Oooo. I need to try this (wrapping the search term in quotes in my code.)
Thx.
-
I thought I posted to the VB.Net forum. Sorry. My bad. :(
-
Thx for the reply, but this all has to be automated within my utility. I can't ask users to edit files by hand in mid process before the program can continue.
-
I discovered (and reported) a bug in Windows (11 only?) where searches using the "?" wildcard produce the same result as using the "*" wildcard (works fine from the "DOS" Command Prompt.)
The "?"...
-
Great. I think we can label this Case Closed. :)
-
Quick question.
From JMC's example:
Private Sub SetTextBoxText(ByVal text As String)
If Me.TextBox1.InvokeRequired Then
Me.TextBox1.Invoke(New SetTextBoxTextInvoker(AddressOf...
-
Thx. So if I understand you correctly, I must execute code "on the correct thread" to modify particular objects. And those threads will always exist once used.
So there is no way to go back to...
-
HALLELUJAH!
(For anyone searching this in the future, I found your tutorial here.)
There were a couple of details that I wasn't clear on (specifically, "SetTextBoxText" vs...
-
Thanks. This whole "BackgroundWorker" and use of "Tasks" is completely new to me, so I haven't the foggiest on how to "update the UI from a background thread."
I thought that's what adding the...
-
Great. Your code appears to work (though I am having a bit of difficulty integrating it into my existing code.) My integration has somehow resulted in the form being reloaded recursively (my problem,...
-
Thx. I'll try this tonight.
One quick question though: What is the benefit of turning the form into it's own object ("foo")?
-
The timer is used to add an animation of the copy process.
-
Thx for the reply. I'm still stuck.
I scoured Google for how to do a multi-threaded file copy using "Tasks", yet even after making extensive changes, my Timer still never runs (Breakpoint on first...
-
Thx for the reply. Here is my Copy code:
For Each myFile In Directory.GetFiles(strPath & "Save", "Data*.*")
Try
My.Computer.FileSystem.CopyFile(myFile,...
-
I created my own File Copy dialog (had to) and I'm trying to use a timer to add a simple 5-frame animation.
I created a form and placed a Timer object on it. The timer is set to Enabled with an...
-
My apologies for not replying. Your reply got caught in spam filter.
-
I created a form with a listbox. It always loads with the default text selected.
The problem is, I disabled the listbox until the user completes a previous step, yet the selection highlight...
-
I have a program that checks for a Backup folder when it starts, and if not found, prompts for you to create one.
The copy process can take a long time, so I use the standard Windows copy dialog...
-
The path is displayed in a label on my form, so I know it is correct. And regardless of location, the text being read is still "Bob".
Thx.
-
I was wondering the same thing, so I tried replacing the Select Case with "If" statements and they still are not being triggered:
If InStr(strLineBuffer, "Bob") > 0 Then...
-
I have a simple Case statement inside a loop that should work but doesn't and I have no idea why.
I'm reading a simple text file that I'm parsing for certain strings, and if found, replaces them:...
-
Thx for the reply.
I have a label beside the ComboBox, but a blank box with no text is not intuitive. It should at the very least show the first option. I don't need the user to be able to edit...
-
Thx for the reply.
The style is set to "DropDown" with displayed default text.
-
I have a combo box on my form. The default text is "Select Type"
One of my options is not yet supported, so I display a MsgBox and then try to reset the Combo back its default, but nothing I try...
-
This looks great. I'll try it out now. Thx!
FOLLOW-UP: Awesome. Works great. Big thanks.
-
Yeah, that was the first thing I tried. But I couldn't figure out how to check the value.
|
Click Here to Expand Forum to Full Width
|