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

How do you uses instr to see if a directory exists

Ok so i need to check if a directory exists, problem is the folder is diffent on each install the only thing that the same is the first 3 characters so I thought of uses the instr to check to see if...

View Article


[RESOLVED] Simply set pixel at position 0,0 to red, what's going wrong?

I am simply trying to set the pixel at 0,0 to the color red. Code: Dim newPic As System.Drawing.Bitmap newPic.SetPixel(0, 0, Color.Red) Afterwards, I want this to display on a picturebox. Code:...

View Article


i need sniffer + turtial

hi all can anyone help me ?! i need a good packet sniffer and turtial to grab raidcall packets and make a raidcall clients please help me sry for my bad english thanks in advance

View Article

[RESOLVED] How can I print a byte array to a textbox?

I have Dim b(10) as byte and I am having trouble using .ToString, to display it in a textbox. What can I do to print the byte array to a textbox?

View Article

[RESOLVED] Build toolbar buttons at runtime with tooltips

I was using the "commented" out code below to create BUTTONS on a TOOLBAR at runtime - worked nicely. Code:                 //List<String> list = new List<string>();...

View Article


Inet error handling in vb6

hello to everyone.:wave: sorry for my bad English :blush: How can i handle an run time error from inet and ignored. like on error resume next. but in this case i can not handle any errors from inet ....

View Article

DataGridView Forecolor Changes when Row is Deleted

I've got a list in a datagridview with two columns. The first column has a list of items, and the second has red X's. When the user clicks the red x in the second column, it will remove that row. For...

View Article

[RESOLVED] DataGridView CellValuePushed

hello, i have a datagridview that i create during runtime, to summarize some datagridviews totally 2 columns and 8 rows are created inside a loop and i insert values to datagridview.rows(i).cells(j)...

View Article


Image may be NSFW.
Clik here to view.

Typing Text Directly Into A Picturebox

This VB6 Project allows you to type text directly on a picture much like you do using MS Paint Attached Files Text On Picturebox.zip (17.6 KB)

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Stack Overflow in a game that plays itself

So I've been developing an american football game. In the game, the offense chooses a type of play, the defense chooses a play, then the code takes over. My problem is that when the computer is calling...

View Article

[RESOLVED] Need Help Converting C++ Code

I have limited C++ experience, and the meaning of the following escapes me: fClient ? CRYPT_SERVER : 0, fClient ? 0 : CRYPT_SERVER, These are variables in a system call, fClient is a Boolean value...

View Article

Image may be NSFW.
Clik here to view.

Detect rectangle in image

Hello, I would detect the rectangle in image like image in attachments usually i use this below code in do that also you can check on full example in attachments. Code: Private Function...

View Article

Cannot Set object for ListBox

Hi everybody. I have an application that uses VBA in Excel to access values in ComboBox and ListBox. Here is the code for ComboBox: Code: Dim myCB As ComboBox Set myCB = UserForm1.ComboBox1 Then I have...

View Article


VS 2010 Reading and Writing to my .ini file

hi, i'll post the reading problem later, rite now i have an error on writing to .ini file, here's my code: Code: Imports System Imports System.Xml Public Class Editor     Private Sub Editor_Load(ByVal...

View Article

Capturing serial data from Arduino

Hi All! I have made a digital scale using an Arduino Uno. I want the serial data to be sent to a VB.Net app. All I want to capture is a single number of type double. That would be the weight of the...

View Article


Excel Cell Contents in VBA expressino

As I am sure will become apparent, I am new to Visual Basic. I'm trying to change the name of an Excel Sheet identified by the value in a particular spreadsheet cell to a name that I get from the user....

View Article

VB6 new installation and Sheridan 3D Controls problems

Good Evening, I'm a software developer and I've some problem with VB6. I'll try to explain myself. I had to format my Pc and to reinstall Visual Studio (VS) for VB6 adding my old program that uses the...

View Article


Clicking Print with VS 2010

Hey guys, I have a little program that prints a flash graphic from a page. However i have a problem finaliing the print and sending it to the printer. When i click print it sends me to the usual...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 ComboBox Add Item (True, False converting to text)

Hello, I have one table with Name (text), Surname (text), Gender (bit; Male, Female). I want to display this data to ComboBox, so I use this code: Code:         For Each Comb1 In Comb.Table1s...

View Article

problem exporting datgrid values to excel sheet using an array

I am trying to export datagrid values to excel using an array.. I get an error " ComException was unhandled " in the following line: Code: xlWorkSheet.Range( "A1" ).Resize(DataGridView1.Rows.Count,...

View Article
Browsing all 42412 articles
Browse latest View live


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