Search:
Type: Posts; User: Poppa Mintin
Search:
Search took 0.53 seconds; generated 48 minute(s) ago.
-
You may want to post your timer code in order to get some assistance. (If you've not found the answer yet)
Poppa
-
From where does your code obtain a value for guest ?
-
Good morning, from a VB application I send emails by creating an outlook.application which sends me the email from the account defined as default in Outlook and I find the sending in the sent mail of...
-
Hi,
I've had a problem with pairing anything to my Win.10 laptop.
Here's my problem: -
189757
As you can see, the answer panel doesn't show any answer buttons so I can't click anything. It...
-
Thanks guys, thanks for the explanations, and Barry for that suggestion.
I've got it sorted out now, I added a second timer to trigger the original one, the original one now turns itself off at...
-
Hi,
I'm trying to develop an application which updates a text file with the time once every minute. That's no problem but the idea is that another application reads that text file when the...
-
Hi Surya,
You might like to checkout this URL
Poppa
-
Thanks PD, I found the answer... Add ' Process.StartInfo.CreateNoWindow = True to the command.
Poppa.
-
Hi,
I have a couple of apps which call CMD.exe, the command form which shows is a nuisance, even though it's only for a few seconds.
Is there a way to call CMD.exe with the form hidden ?
...
-
Richard hasn't replied to my post in eleven days, which was itself three days after he asked the question, so I recon the chance of getting any sort of reply to today's posts is unlikely.
Poppa
...
-
Hi,
Here is some code which I've used several years ago.
pic is the Bitmap I wish to print. I think the rest is self explanatory.
Private Sub PrintForm(ByVal sender As System.Object,...
-
Yes John, would be a good idea but...
The reason that I forgot to reply was because I'd found an up-dated version of the old game on line even before I read your suggestion, and therefore didn't...
-
Oops sorry... I forgot to say thanks John. All sorted out now thanks.
-
Hi,
We have a very old Windows XP game which we still like to play from time to time, I've just installed it in a new Windows 10 laptop, we've been playing it in a previous Windows 10 machine,...
-
Thanks OB1
The reason I want to use 'Me.CenterToScreen' is because the application can be used on at least two laptops which have considerably different screen sizes so I have to re-size the forms...
-
Hi,
I'm making a different version of an application which I've had up and running for well over a year, the only difference being some text files in the resources are changed.
I've just copied...
-
Thanks again OB1
That works even better than Notepad, I can not only specify the font and font size but also the form size and its location, I can also include an image. I just had to remember...
-
That's a neat idea, I'll have a go at that.
Thanks
Poppa
-
Thanks guys, that's pretty much as I thought.
I think it was worth asking the question though.
Thanks
Poppa
-
Hi,
This
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Process.Start("C:\HangState\Stats.txt")
End Sub
Will open this text file...
-
Oh bugger !
Of course it is. Thanks.
"Go with what you know" Ha !
Poppa
-
Hi,
I know it's 'Old hat' but I prefer to use WriteLine when writing to a text file (Go with what you know).
Using this code...
' Create new text file in directory "C:\HangState": if...
-
Hi again nwl5,
Did you get your application to work ?
Poppa
-
Hi nwl5,
Since (surprisingly) you've had no replies, I suggest that if I were trying to do this I'd select the image which I want to move with the right mouse button then, keeping it pressed, I'd...
-
Hi again,
I've had time to test my idea, which has worked out just fine.
I modified the function thus: -
Public Function Gap(ByVal txt As String, ctrl As Control) As Integer
Dim...
-
Hi Paulg4ije,
Yeah, I'm passing the correct control but...
Although I've not had a chance to look at it yet, I do know what's happening. The problem lies with the RichTextBox, it's not a regular...
-
Thanks OB1 and Paulg4ije, as I say this function has served me well for several years, it's only gone wrong with this font, although instead of being 'a smidge' off centre, mine shunts the first...
-
Oh... Yes, you're correct in your assumption, and also in pointing out my omission.
Poppa
PS.
My apologies for the tardy reply, I keep forgetting that we no longer get an email informing us...
-
Hi,
I use this function to find the number of spaces I need to add in front of a text in order to centlalise it when I can't use Text Align Middle Center.
Public Function Gap(ByVal txt As...
-
Hi Schoemr,
Sadly I'm not able to assist with your problem, but I'd like to suggest possibly a minor improvement to your code, Thus
Dim found As Integer 'Defaults to = 0
...
-
Hi Tajaldeen,
This may help.
ProgressBar CLASS
Imports System.ComponentModel
-
Hi Gideon,
This might help.
You might like to note that
For i As Integer = 23 To 32 Step 1 can be written as
For i = 23 To 32
The index will always be an integer and the step is 1 by...
-
Hi Schomer,
I notice that in your example you talk about 'While you're typing'...
I've been playing with this a while and have a bit of a con job...
I've made a little video which you may...
-
I may've re-written the instructions somewhat for my own use, but basically it's the code which I've been using since December 2014 and my notes definitely say it was from passel. (lower case...
-
You're welcome, there is still an option for text align centre, just not the convenient selection that a label has. Maybe ask Passel to help ?
Good luck.
Pop.
-
No...
On second thoughts, that's not going to centre-align your text... Sorry
-
Hi Schoemr,
How about a RichTextBox with justified text ?
I have a beautiful one designed by Passel which I call a SmartBox.
Poppa
-
Hi OldHead , Welcome to VB Forum.
From one old head to another... I personally, wouldn't bother with overwrite, some of the younger heads in here (most) would say I still use 'old hat' coding,...
-
Thanks Schoemr,
Nice to see someone actually helping Max.
Might I suggest instead of a counter...
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
...
-
I've been coding in BASIC since 1978 and and Visual BASIC since 1990, so as I said. I'd use the code I posted. (Because it answers the question and it still works) I'd be surprised if it was as long...
|
Click Here to Expand Forum to Full Width
|