Search:
Type: Posts; User: paulg4ije
Search:
Search took 0.05 seconds.
-
Isn't it just that your long header (column) names are pushing the text to the right? How does it look if you use some much shorter column names?
190919
-
Will the bit you want always be between brackets (braces)? If so, I would just do this:
Dim TestData As String = "RPM|Cabinet - Tall - -Notch (18.000H x 1.500W) - Black - Edge: Black"
...
-
Why not simplify things just to get started. Place your 8 textboxes on the form in the designer instead of creating them dynamically. At least that way you would know if you are reading the file...
-
https://learn.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/data-types/how-to-declare-a-structure
-
What happens when you start Word from Windows? It looks like your copy of Office 2010 is not activated.
-
Thanks for your input. I have just tried some quite different code but I'm getting the same response so I'm beginning to think there really is an issue with my Key. I will look into postman.
-
The string is fine. Really, the question is, does my code comply with the requirements of the API? I was hoping someone familiar with HTTP POST might be able to tell me if I'm doing something wrong....
-
Not sure I know how to examine the PostData. ToString only shows "System.Net.Http.StringContent". Hovering over a breakpoint, I can look at Non-Public members > Content with IEnumerable Visualizer...
-
I am trying to use an API to insert a new record into my online ham radio logbook. Here is the documentation for the API:
API END POINT
Requests should be made to https://logbook.qrz.com/api
...
-
-
No-one else had this "issue"? I'm using the latest Visual Studio Community edition which I keep up to date. I have definitely done nothing that would require these phantom imports. It's happened in...
-
Fair enough, but I wonder why they are being added in the first place?
-
I've been googling this but not getting a definitive answer. Why are imports that I didn't add appearing at the top of my form code? They are "greyed out" and hovering over them displays "IDE0005:...
-
Well you live and learn, as they say. I knew that user-scoped settings would be in the users appdata folder but didn't think that would be the case whilst running in the IDE. Turns out, it is! I have...
-
Where are my.settings stored when running in the IDE (design mode)? If I make a copy of a complete solution folder and rename it, all my.settings revert to default values. I would like to copy those...
-
-
That works! Many thanks for your help.
-
This looked promising but it fails to match a string that contains a forward slash. e.g. 1AAAA/P
Any further thoughts?
-
Thanks for replying Paul. That's not quite there. The string must contain at least 1 number, at least 1 uppercase letter (it will never contain lowercase letters if that helps) and may optionally...
-
I am trying to write some "simple" Regex to match a string that contains at least one uppercase letter, at least one number and may contain a forward slash but no other symbols. The string may start...
-
I'm not sure what else to tell you. The code works for me and doesn't need the import. Those errors suggest that something is broken. You could try creating a new project with just a PictureBox and a...
-
Your code works perfectly for me in a test project targetting .Net Framework 4.8. It works the same with or without the import. Are you using .NET Framework?
-
Try omitting the .png extension. e.g.
O_PICTURE.Image = My.Resources.O
-
That was it. Thank you. I must have turned it off by accident.
-
I'm gradually getting used to Visual Studio 2022 (Community). One thing I'm missing is the toolbar at the top of the code window that had drop-down lists of events available on a particular control....
-
Glad you got it sorted out.
-
It still works for me with a wide RichTextBox and longer text. Are you sure you are passing the correct control to the function? Don't ask how I found that potential issue ;-)
-
Your code seems to work for me, although the text might be just a smidge left of centre.
-
You could just place another LinkLabel on top of your existing LinkLabel with the test set to "Click here":
Private Sub LinkLabel1_LinkClicked(sender As Object, e As...
-
Don't forget April and September. Why not use a DateTimePicker which takes care of all that for you? If you must use a NumericUpDown control just change the Maximum value:
If...
-
Not sure I can offer much more help. This is the code I have used to send emails (but not via Gmail). It looks very similar to yours:
Dim mail As New MailMessage
mail.From = New...
-
Do you have 2-step verification and an app password for the Gmail account?
-
Sign in to the relevant Google account and go to "Security". Turn on "2-step verification" and then click on "App passwords".
-
Quite possibly. It's been a while since I did any VB6 ;-)
Thanks for the other suggestions too.
-
Is there a way to make the CommonDialog filename non-editable, whilst retaining the folder browsing side of things. In other words, I want to allow the user to browse to a folder to do a "save as"...
-
If you move all your form1 code to the Activated event rather than load it will work. Bear in mind that closing form2 will not close the project.
-
Start by taking out the Try - Catch - End Try block so at least you will see which line is causing the error.
-
I thought it went without saying that your path would be to a 2022 folder rather than 2017 ...
-
In VS 2017 the shortcut is to:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
It might be the same in 2022.
Also, did you run the install as...
-
Looks like I'm doing your Googling for you today ;-)
Any reason you can't add Visual Basic PowerPacks to your project? It's easy via a NuGet package. Then you could do this:
...
|
Click Here to Expand Forum to Full Width
|