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

Disable/Enable keyboard mapping

Is there a way to temporary disable/enable keyboard mapping at runtime? For example users with UK keyboards can not use CTRL+ALT+4, users with German keyboards can not use CTRL+ALT+8. The key...

View Article


Redirect HTTP to HTTPS in IIS 10 / Windows 2016

I am looking to redirect HTTP access to HTTPS in IIS 10 / Windows 2016 for a web site that I'm working with. I was able to add the HTTP REDIRECT "role" to the server - and can see that in IIS. But...

View Article


Processing Files in a folder in sequence

I would really appreciate your help with the following interesting issue: I am developing a Visual Basic program in MS Visual Studio version 16.3, as follows: I have a list of several files in a folder...

View Article

Best Way Trap (Examine) Mouse Values because Volume

I'm drawing a rubberband line in a picturebox. If the picturebox (X,Y) values are static (scrollbar pegged to min or max) all works fine. I've upgraded the rubberband line such that when dragged and --...

View Article

Newbie Question

Hi All, I am good with VBA but new to VB.Net. I am interested in using ExcelDNA which is an Excel addin that enables the use of Net code languages to interact with Excel. It looks pretty good, but I...

View Article


Image may be NSFW.
Clik here to view.

VS 2019 Display query result in data grid view

Hello all , I am very new to visual studio and i am very interested in learning vb.net language even though i don't have much of programming experience. I am creating a winform app for data entry...

View Article

VS 2017 VB .Net Different Arithmetic Result in Two Apps

i have a compiled Vb .Net Program that have below Arithmetic line when i want to use this line in new App has different result the code is : Code: Protected Sub MethodOne(ByRef A_1 As UInteger,A_2 As...

View Article

VS 2017 How to run a program on all wildcards in all subfolders?

I made a script with Batch which looks for a wildcard *.cc within all folders of the program and runs a program.exelike Code: program.exe folder1/ad.cc program.exe folder2/cd.cc, Is there a way to...

View Article


Image may be NSFW.
Clik here to view.

How good is my source coding or what, then???

Dear VBForumers, I am looking to have my source code to then be able to market it on the world wide web, for several departments would benefit from this product of mine, like then being said. Can...

View Article


How to get hDC Image & Shape

Sorry, English is not my first language. Image and Shape objects do not have hDC. Trying to get hDC like this: Code: Shape.Container.hDC Image.Container.hDC results in getting the same value. I was...

View Article

Horizontal and Vertical Dot/Pixel Pitch from EDID

Hello, Has anyone come across code that gets Horizontal and Vertical Dot/Pixel Pitch from EDID?

View Article

Use JavaScript to develop a True VB7 (including transpiler and IDE)

Now that JavaScript is omnipotent. I'm thinking, whether it's possible to use JavaScript (Electron or Deno) to develop True VB7 transpiler and IDEs completely similar to VB6? Note: The VB7 I'm talking...

View Article

VS 2015 vb.net VB SOAP/WSDL API I'm Stuck

Hi, I'm stuck. I've been re-reading up on SOAP/WSDL's all last week but not making much headway. I would areally appreciate any help. I have a WSDL service reference/proxy class installed in in my...

View Article


ExecuteScalar: CommandText property has not been initialized

One ASP.NET project keeps on receiving a message below from "Try...Catch...End try" block. System.InvalidOperationException: ExecuteScalar: CommandText property has not been initialized I searched...

View Article

VS 2019 Trouble with assigning the result of a function to a property

Hi, my issue is that I can't seem to be able to assign a function's return value to an instance of a Class of same type: vb.net Code: Dim MTranslate_Z As Matrix3D = Matrix3D.Create_Scale(2, 2, 2)  For...

View Article


problem with sum in diferent many tables

I'am using vb2008 - ms access i tried this code to sum values from three tables and i put them in Form load SumComR3() SumMnyD() SumMnyPT() the problem is when any of these three tables has no any...

View Article

VS 2017 Disposing variables and objects that contains sensitive data

I made a class to retrieve sensitive encrypted data from a file. The class ClassSecret have a ReadOnly Property that return the sensitive data into a Dictionary. The class DataProtector contains the...

View Article


How do I send an existing text file from my folder to a printer ?

Hi, I've been trying to find how to send an existing text file to my printer... in an application. I can obviously use 'Process.Start' to open the file on screen, and then send it to the printer from...

View Article

[RESOLVED] Use JavaScript to develop a True VB7 (including transpiler and IDE)

Now that JavaScript is omnipotent. I'm thinking, whether it's possible to use JavaScript (Electron or Deno) to develop True VB7 transpiler and IDEs completely similar to VB6? Note: The VB7 I'm talking...

View Article

[RESOLVED] problem with sum in diferent many tables

I'am using vb2008 - ms access i tried this code to sum values from three tables and i put them in Form load SumComR3() SumMnyD() SumMnyPT() the problem is when any of these three tables has no any...

View Article
Browsing all 15475 articles
Browse latest View live


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