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

VS 2019 Add printer in windows 10 problem

Im having problems with adding printer's in windows 10After adding the port, the program just crashThe code im using works very well in windows 7Can anybody help? Thanks 'SETS LOAD DRIVERS PRIVILEGE....

View Article


[jQuery] Bootstrap Confirmation Modal

Bootstrap Confirmation Modal A simple jQuery solution for displaying and handling Bootstrap confirmation modals on the fly. Demo Fiddle: https://jsfiddle.net/7g4819yL/ Repository...

View Article


VS 2010 Deboger OK , Released Not Finish

When I run my code thru the déboger the program run all the way to the end. When I run the released program, it does not go all the way. Where should I search? Thank you

View Article

Visual Basic net files tutorial

There appears to be many different ways to deal with reading, writing, checking if a file exist etc. Is there a good tutorial that deals with all of those ways?

View Article

Application.StartupPath is not working vb.net

Dear All I used the Code: Dim Path As String = Application.StartupPath & "\Main_Master_VB.xls" in vb.net Application and it worked very well but when I used it in another vb.net application with...

View Article


COPY file from C:\ to ftp dir...

Possible copy a file from c:\ to a dir ftp server note: i just have usename and psword of ftp server

View Article

What skills are needed for IoT?

What skills are needed for IoT?

View Article

Image may be NSFW.
Clik here to view.

Icon loaded from resource DLL gets blurred, but fine if loaded in IDE

I have a problem loading an icon from a resource.dll and the problem is that when I load it from the dll the image gets blurred, while if I add it to the form's Icon property it gets crispy and clear...

View Article


try to instance FileSystemObject

hi there, i have encountered an a error while trying to instance the FileSystemObject. When i do: Dim fso As New FileSystemObject it returns me that error: Compile error: User-defined type not defined...

View Article


Image may be NSFW.
Clik here to view.

MsOf365 Big Help on a Printing Macro

Long story short, I inherited this pallet tag printing excel booklet. One of our new managers brought it from a previous business and I'm the only advanced Excel user in the building, though I have...

View Article

VS 2013 Clear last Document in Printdocument

Hi, I just cannot find a solution to this. When I print a document, it also prints the last documents, My code is as follows: Private Sub Print() Try PrintDocument2 = New PrintDocument PrintHeader3()...

View Article

Trying to identify the *.BAS file

I was asked to make a few changes to a VB program. The program resides on an XP machine running VB6 SP5. I searched the machine for *.VBP and *.BAS files. There are over 80 project files and even more...

View Article

Calculate Age-February issue

Hello everybody. I managed to create a function which calculates the age, based on today's date in form of "X years + Y months+ Z days". For example if someone is born at November 23rd 1978, it returns...

View Article


VS 2012 What to hijack a SqlDataReader class so it can be sourced from...

Ok - I'm using a simple SqlDataReader like this: Code: Using rsPrint As SqlDataReader = cmd.ExecuteReader     ReDim strRS(0 To rsPrint.FieldCount - 1, 0 To 2) . . .     If rsPrint.HasRows Then...

View Article

Insert To Excel Starting From Column E

Hi, I'm trying to add info to an excel sheet but rather than add a new line each time I would like it to ignore the first 4 columns as these already contain formulas to generate a barcode. Is this...

View Article


SQL Query to eliminate duplicates

Ok, newb SQL guy here. I have a vb.net mission and one of my queries has me stumped. It can be done in code, but trying to do as much as possible in SQL The basic concept is a room booking application....

View Article

VS 2012 Want to hijack a SqlDataReader class so it can be sourced from...

Ok - I'm using a simple SqlDataReader like this: Code: Using rsPrint As SqlDataReader = cmd.ExecuteReader     ReDim strRS(0 To rsPrint.FieldCount - 1, 0 To 2) . . .     If rsPrint.HasRows Then...

View Article


Image may be NSFW.
Clik here to view.

Copy Paste (Capture) an action word into empty cell

Working w/ contracting/quotes, etc. "CONTRACTOR SHALL" statements and want to be able locate the word that follows the statement "Contractor Shall" in every line then copy/paste that single word into...

View Article

Get remote Process Description.

Hi. This is nuts. So Anyhow I'm trying to get the process description as show in task manager. From what I read you might need to do this: Dim info As FileVersionInfo =...

View Article

Prevent Form_Activate

With form1 active/visible, I show form2. Is there a way to prevent form1_activate from firing after form2 is closed? Form2 is used this way frequently, with various different other forms, so I’m trying...

View Article
Browsing all 15827 articles
Browse latest View live


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