- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 58
- Posts with Upvotes
- 44
- Upvoting Members
- 22
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
124 Posted Topics
Re: Retired early as a Dean at an R1 university. For a few years I sold specialized software I wrote. Now I do as I please, when I want, if I want. ;) | |
Re: I had this happen before, but not with VLC. It seemed randomly, Explorer would become the foreground app. It happened so frequently, I thought I had a mouse / driver issue. It hasn't happened again for a few months. Perhaps an update fixed it for me. | |
Re: 2021 Dell XPS 8940 desktop, Intel i7 10700 2.9 GHz, 16 GB RAM, 1 TB SSD, 1 TB SATA HDD, NVidia GeForce GTX 1660 6 GB, Dell 27" U2720Q display I run at 3840x2160. I'm retired, so I didn't replace my laptop when it suddenly died. | |
Re: Oh Lord... 17 years ago... I'm sure it was from searching for programming content. | |
Re: I use two - Kroger and Walmart. I want access to the app's features without having to create an account and sign in. I want easy access to the search function with accurate results and convenient options like in stock, out of stock, and sorting. In an app for brick … | |
Re: I had to laugh reading this thread AFTER reading the "Writing and speaking clearly" thread. Thanks for the chuckle. | |
Re: I don't understand a few things. There are option buttons and there are check boxes. So I don't know what you mean by "option button checkbox." I also don't know what you mean by "record." Do you mean print? Read values from a file? I would suggest instead of checking … | |
Re: VB6 doesn't support <<. As best I can determine, the C code is shifting bits to the right, then back to the left, effectively clearing the lower 6 bits. In VB6, you can do the same by: Dim py As Long Dim shiftedValue As Long shiftedValue = py / (2 … | |
In case you're wondering, VB6 programs run on Windows 11. Programs with a manifest have the appropriate Windows 11 appearance. The IDE works as well, although it seems to aggravate the known Windows 11 Taskbar flickering issue, but it settles down quickly. The only issue I have found so far … | |
Re: This will be interesting to follow through the appeals. If they allow the AI creator to copyright, couldn't the dataset author(s) also claim a copyright? If the AI works can't be copyrighted, then at least a portion would be derivative work not covered by copyright, which I believe is what … | |
Re: Good detective work! I really like Windows 11, but the list settings are becoming quite extensive and almost overwhelming. Some of it' quirks can drive a person nuts. The latest for me is Windows desktop Spotlight has quit working, which seems to have been an issue going back couple years … | |
Re: Oh no! I'm saddened to hear that. I wish you and your husband the best and you a speedy recovery. | |
After complaining for months to MS to stop Edge from adding websites to my Quick Links bar, it seems to have stopped. Nothing was more frustrating than reading some news pages then having to delete a ton of links from Quick Links. Is this your experience? | |
Re: I don't believe the control allows you to set volumes. You can use waveOutSetVolume and waveOutGetVolume in MMSYSTEM.DLL. I prefere to use the old MCIWNDX.OCX control which allows adjusting speed and volume. | |
Re: There are color constants in VB6 for the basic colors. Specifying the color with hex or RGB values allows you to select one of 16,777,216, thus there aren't constants for all of them. vbBlack 0x0 vbRed 0xFF vbGreen 0xFF00 vbYellow 0xFFFF vbBlue 0xFF0000 vbMagenta 0xFF00FF vbCyan 0xFFFF00 vbWhite 0xFFFFFF | |
Re: I assume you're trying to create a screen compatible DC by passing 0& to CreateCompatibleDC. Perhaps try: Private Declare Function CreateCompatibleBitmap Lib "gdi32" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long Private Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As Long Private … | |
Re: It's difficult to determine the cause without seeing the rest of your project. Could it possibly be the DrawMode of the surface on which the line is being drawn? | |
Re: There doesn't seem to be a space after the comma in ",for" for it to break on. | |
Re: I don't know Spanish, so it was difficult for me to follow. As best I can determine, you are trying to use the NAME keyword to rename a file: Name App.Path & "\inventario\inventario.temp" As App.Path & "\inventario\inventario.txt" Name returns the name used in code to identify a form, control, or … | |
Re: What code do you have already? | |
Re: Well, the immediate problem is you are referencing Text2 in the loop for every record you're trying to save: MyRecord.Name = "MyName" & " " & Text2.Text The other problem I see (or one that will cause you problems later) is you're using a ListBox and combining record properties into … | |
Happy New Year everyone! Wishing you and yours and happy, prosperous, and healthy new year! | |
Re: What about SMS text verification? Probably more expense, although I'm not sure how much. | |
Re: Use a ListView, then add SubItems For example: Set itmx = ListView1.ListItems.Add() itmx.Text = FirstColumnText$ itmx.SubItems(1) = SecondColumnText$ itmx.SubItems(2) = ThirdColumnText$ etc. Be sure to change the View to 3 - lvwReport | |
Re: Not to mention line 54 is a mess. | |
Re: Congratulations! Sounds like a great month even if quite busy. Where did you honeymoon? | |
Re: I think it's wonderful, at nearly 80, that you decided to continue programming. I admire your ambition. I have written countless programs that no one will ever use except me, and I thoroughly enjoyed writing them. Go you! | |
Has anyone experienced the function Windows SystemParametersInfo reporting a different display resolution after returning from sleep mode? My display is 3840X2160, which the SystemParametersInfo reports accurately. However, upon returning from sleep mode, SystemParametersInfo gives a resolution of 2560x1392, which doesn't match any configuration in the Windows Registry under Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers. The … | |
Re: This may help: [url]http://msdn2.microsoft.com/en-us/library/hfzzah2c(vs.71).aspx[/url] | |
Re: If you know the PPS file ahead of time, you can embed them in the VB application as an insertable object. However, I don't see where PowerPoint lets you programmatically assign the file in VB. As an alternative, you could shell out to PowerPoint then close it with your program. … | |
Re: If you want to trap the Tab key in the KeyPress event, you have to disable to TabStop property in all other controls on the form, but you will have to handle moving the control focus yourself. Once the TabStop property is set to false, the Tab key will be … | |
Re: Yes, use twipsperpixel... I recently found this changed on wide-screen flat panels, and if you don't adjust for it, some elements on your forms will look crappy. | |
Re: Why not just save the richtextbox contents? | |
Re: Microsoft promised to make VB6 programs "just work" in Vista because there's a TON of classic VB code out there in business and industry - a segment VERY reluctant to upgrade operating systems. Yes, they have a ton of legacy code... and it works for them. And re-writing or converting … | |
Re: Why not use FileCopy? FileCopy(Source As String, Destination As String) | |
Re: Good example using the Sieve of Eratosthenes algorithm - [url]http://www.codeguru.com/columns/vb/article.php/c6575[/url] | |
Re: Try Format$(Number, "##-####"). If you want leading zeros, use Format$(Number, "00-####") or Format$(Number, "00-0000") To be consistent, you can make the "00-0000" a public constant. | |
Re: Form is a key word in VB. Try changing it to something else like frm. | |
Re: [url]http://support.microsoft.com/kb/185476[/url] | |
Re: Your code would probably be more efficient and more readable with a Select Case block instead of the IF, ElseIf. [CODE] Select Case dbltotalaverage Case 90 To 100 txtgrade.Text = "A" Case 80 To 89 txtgrade.Text = "B" Case 70 To 79 txtgrade.Text = "C" Case 60 To 69 txtgrade.Text … | |
A friend asked me to write a program that dials a telephone number and checks for the presence of a 1000 Hz tone. Any suggestions? | |
Re: Like you, I developed a very specialized piece of software into a decent side venture. Lots of seemingly small decisions to be made. There's some good reading here doc... [url]http://www.developer-resource.com/index1.html[/url] While I haven't always followed their advice, it did help in the thinking process. Don't rush your decisions. Some, such … | |
Re: Checkboxes can also be set programmatically - ListView1.Checkboxes = True/False | |
Re: You need to update your VB6. Microsoft patched the MSVBVM60.DLL to fix the problem. Try here - [url]http://msdn.microsoft.com/en-us/vbrun/aa662927.aspx[/url] | |
Re: DateDiff can be used to calculate the difference between times - [url]http://msdn.microsoft.com/en-us/library/aa262712(VS.60).aspx[/url] | |
Re: Error 453 means the DLL function specified was not found within the DLL. Try making the Sub Public. | |
Re: Use the StrConv function: Text1.Text = StrConv(Text1.Text, vbProperCase) vbProperCase converts the first letter of every word in string to uppercase. Other constants are vbUpperCase, vbLowerCase, vbUnicode, and vbFromUnicode. | |
Re: Use RichTextBoxName.SaveFile(pathname) and RichTextBox.LoadFile pathname. The default file format is RTF. | |
Re: Efficient search routine using Windows API or built-in Visual Basic functions - [url]http://support.microsoft.com/kb/185476[/url] | |
Re: For the Printer object setting the height and width set at run time, values are used instead of the setting of the PaperSize property. Height and width are for the Printer object are always specified in twips with 1440 twips per inch. So a 6 inch height = 8640 twips; … |
The End.