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

Strange behaviour of "foreign" computer

I have writen a new edition of a certain VB6 ap. I send to a beta tester with the following instruction "don't install this in your pc in case we have bugs because in your pc we have the old version...

View Article


VS 2019 Just a visual thing (names in Properties Window(Box))

Hi, I have some Style-members as Integer() And a private member myStyle as integer Code:     Public ExpandAll() As Integer = New Integer() {Expand, Expand, Expand, Expand}     Public FloatAll() As...

View Article


[RESOLVED] How to get a progress bar changes from its previous step?

Hi all :wave: Consider a progress bar which supposed to indicate a quality for instance. How can I get a three state thing which states that this progress bar is fixed, increasing or decreasing? In...

View Article

Routine needs fixing

This is a bit odd, I'm sure it used to work but seems not now. Its meant to get all folders from a given path. Plus their subfolders if DoDepths is True, but it's not. A bug exists as DoDepths is True,...

View Article

Can Someone help me to correct the following code for SelectedItems and its...

Hello Can Someone help me to correct the following code for SelectedItems and its Subitems in Listview as per proper columns Code: My listview1 is Displayed as from Excel range             Product...

View Article


Recording voice from specific position in file

Hi all, Is it possible to resume recording voice via microphone from specific position in file? Example. Im starting recording and after 5min I made mistake, now I want to record again last 20sec and...

View Article

[RESOLVED] Recording voice from specific position in file

Hi all, Is it possible to resume recording voice via microphone from specific position in file? Example. Im starting recording and after 5min I made mistake, now I want to record again last 20sec and...

View Article

Read XML file and insert into ListBox

Hello, I'm trying to read an xml file and then put it in a ListBox in VB.net. I just need the "Country" and "Name" columns. But I only manage to read the entire XML file. Does anyone have a tip on how...

View Article


Rounding of binary fraction strings

I need help with the rounding of binary strings. I am not sure I have applied the tie-breaking rule correctly. This gives an explanation of "nearest even" method....

View Article


WIP: Win32 API functions for VB6

Here is a list of 13871 Windows 10 API functions (Unicode only) This has been extracted from all the JSON files at https://github.com/marlersoft/win32json Which in turn have been based on original...

View Article

Can VB simulate all pointer operations in C language?

We know that C language is a highly efficient language. The main reason for this is that C language uses pointers to directly manipulate memory in most cases. I'd like to know whether VB can completely...

View Article

Can VB simulate the struct of C language?

C language has no class, only struct. I know that VB6 can implement "LightWeight COM" or "C-style Class-implementation" through vbIUnknown, vbIDispatch and VTable. I'd like to know whether VB6 can...

View Article

[RESOLVED] vb6; parsing text to list listbox

i solved it my self in case anyone need this here is code: List1.Clear Dim sInput As String sInput = Text1.Text Dim Item For Each Item In Split(sInput, "</option>") Item = Mid(Item,...

View Article


Extract value from ListBox to TextBox

Hello, I might have a "noobie" question. Sorry about that. I have a function that reads an xml file and puts it in a ListBox. I now want to create a function that moves the selected item from the...

View Article

Point rotation with reference to zero?

Hi all, hope you had a good weekend :). I should be able to do this but for some reason not wrapping my mind around it. The following code rotates a given point around an origin, usually the center....

View Article


How to get a unique chrome ID in vb?

I know how to get all the names of the Chrome tabs and the URL of the current active tab in VB I want to get a unique ID for each tab, because there are tabs with the same name and URL Code: Public...

View Article

VS 2008 problem in adding data

pls need guide sir, heres my code; thank you in advance ineed result like this.. Code: room    subject a          mathe a          english not like this room    subject a          mathe a...

View Article


[RESOLVED] Can VB simulate the struct of C language?

C language has no class, only struct. I know that VB6 can implement "LightWeight COM" or "C-style Class-implementation" through vbIUnknown, vbIDispatch and VTable. I'd like to know whether VB6 can...

View Article

How to hide cursor?

Hi all. :wave: Is there any specific code to hide cursor in middle of running VB.NET project? The reason is just for AFK and make UI readable and being more user-friendly. And if so, How to re-show the...

View Article

Basic variable problem

Hi all. :wave: There is a byte variable as follow Code: Dim Sendcmd() As Byte = { 0, 0, 0, 0 } which need to be called in Code: SerialPort1.Write(Sendcmd, 0, Sendcmd.Lenght - 1) The question is how to...

View Article
Browsing all 15578 articles
Browse latest View live


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