Quantcast
Channel: VBForums
Browsing all 15236 articles
Browse latest View live

VS 2019 [RESOLVED] Simplifying Object Initialization

Hi, I have the following code: vb Code: Dim cmd As New SqlCommand             cmd.CommandText = SqlInsertVendor             cmd.Parameters.Add("@job_number", SqlDbType.VarChar).Value = JobNo...

View Article


Detection on which monitor an windows is shown

I have 5 monitors (yes, I know). And it is very very usefull. My main App is a MDI application. I wrote a mechanism to extract some children form to be out of the MDI part, so I can disply those forms...

View Article


Image may be NSFW.
Clik here to view.

Need help with a querry

Hello Vbforums First I have to thank szlamany, Arnoutdv and Zvoni who did their best to help me in DataBase Development forum. Unfortunately I was unable to solve my issue. Sincerely the querries they...

View Article

Image may be NSFW.
Clik here to view.

Simple transparent button control For VB6

Private Sub Form_Load() Me.Picture = LoadPicture(App.Path & "\bg.jpg") 'MyButton1(0).FilePath = "bt1a.png" 'MyButton1(0).FileClick = "bt1b.png" End Sub Private Sub Form_Activate() If Me.Tag = ""...

View Article

Loop and search in bin file for bytes?

Is it possible for instance: Code: Dim B1() as byte = {&H20 , &H20, &H20} Dim B2() as byte = {&H30 , &H30, &H30} Dim B3() as byte = {&H40 , &H40, &H40} Dim File() As...

View Article


Access the excel statusbar

Hi, Apologies if this is in the wrong forum and if it is would appreciate a mod moving it. Thanks. Longish post warning!! This is a multipart sort of question from a newbie to vbforums. I've been using...

View Article

tooltip no longer working

Hi All.. I am creating buttons dynamically from a delimited text file and assigning text to a tooltip. This was always working just fine, but for some reason all of a sudden they stopped working. I...

View Article

Can I simulate WM_TOUCH?

Hello! I have just begun making me app ready for touch events. Using some great samples I found here, I made it work. However, I still find it hard to debug. I have my VB6 IDE installed on my desktop...

View Article


ImageList_SetBkColor

Hi, I have created an imagelist via ImageList_ReplaceIcon and successfully added the icon + caption to a button that I have created using CreatewindowEx. The button backcolor is always grey and I want...

View Article


Get CPU usage of specific process

Hi. I have created a task manager that works with WMI and get the processes CPU usage. Now in WMI you just have the process time straight up without having to do double datetime calculations. I'm...

View Article

Image may be NSFW.
Clik here to view.

Looking at the countdown timer for extracting a file fromt the resource file

Dear VBFormers, I am looking to have a file that i had made to be extracted from the resource file. whch i can do, then i need to have an inflatation timer for when i need to deploy my MKV file to the...

View Article

MOD operator problems

Hi, All, I'm intermediate for VB6. I want to get remainder from divided two doubles. I used , Dim a As Double, b As Double, result As Double b = 8333.33 a = 58333.31 result = a - (b * Fix(a / b))...

View Article

Interpolating values

Hi all I have a 2 column array of torque against RPM. This is around lets say 114 values but it could vary in size. I would like to interpolate and extract 1500RPM to 10000RPM in 500RPM increments....

View Article


Setting file and folder permissions

I have a specific set of permissions i need to apply for users. the parent folder has disabled inheritance so it doesn't pick up from root drive. When i use the code at the top to add the user in with...

View Article

TrickAdvancedTools

Thanks Trick for the hooking function of these API. I added a few more by guessing. Is there any way to list the parameters for these procedures, from the vba6 dll module? For example I guessed that...

View Article


VB6 QUESTION: Moving the taskbar to top or bottom via code

Hopefully a quick answer will be forthcoming from someone who has experience of trying to do this already. I just need a confirmation that it is possible or is no longer possible in Win 7 or 10. In XP...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Need help regarding codeings

Hello all am just started to learn Vb.net am trying to make a downloader..it can download files from a link...i created treeview but am unable to get how to do this...can any one plz guide me with...

View Article


VS 2019 Cannot get web app to work with MS Access databases

I have two web pages that perform statistical calculations using data from MS Access tables. In VS 2019 it works fine. I have not been able to make it work after I deploy the pages to the web. I have...

View Article

Creating scheduled tasks on remote computers within VB

I’m not sure if this is the right spot, first time poster, I used to develop VB back in the day as a hobby, I’ve since decided to pick it back up. Enough of the intro, I’m trying to do something that...

View Article

VB6 Windows Server Migration

Good afternoon guys, My programming skills are very dated, hence me being stuck in VB6. I don't programme anymore but a few years ago, I developed a vb6 front end application with an Access backend....

View Article
Browsing all 15236 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>