Hello experts i need help about screenshot code. i have two form ( Form1 & Form2 ) form1 have one button and picturebox. and form two is empty. i want to take screenshot with form width and Height. mean's where i move form2 and press Command1 button on form1 then it take a screenshot that area where is my form2. and save it in (c:/ drive) my form2 is moveable so i can move my form anywhere. Here i attached Example pictures. i am very thanksfull to you . Regard Razamughal

Member Avatar
Member Avatar
+0 forum 1

to all programmer out there! i'm a new visual basic 6.0 user.. i wonder if there is possibility that i can run .exe program in visual basic that without installed visual basic? or is there any application needed. thanks in advance..

Member Avatar
Member Avatar
+0 forum 5

Help Need Vb Emplyee Record Program With My sql Connection example employee record database program add button ,editbutton,delete button all work will bhe done thru sql table connections

Member Avatar
Member Avatar
+0 forum 1

Hello everyone! :) I'm sorry I'm new to this stuff. So I'm trying to create a simple system information and I am attempting to populate a listview control and I get a Run-time error '380': Invalid property value. I hope you can help me and I hope it made sense. Here's the line to regenerates the error: [CODE].SubItems(3) = rs!Owner_Address[/CODE] Here's my entire code: [CODE] Option Explicit Dim lst As ListItem Dim lst1 As ListItem Dim OwnerID As Long Dim warning As String Dim countertitle As Integer Dim title As String Dim titledance As String Public Sub FillListView() Set lst …

Member Avatar
Member Avatar
+0 forum 4

Hello all, VB6 newbie here. I've got a basic form containing a list box, with two command buttons; one to add items to the list, and one to remove items. The two command buttons work fine, but I want to disable the "Add" button once there are 8 items in the list, and disable the "Remove" button if the list is empty. Here's my code so far; [CODE] Private Sub cmdAddItem_Click() Static count As Integer Static name As String count = lstPoints.ListCount count = count + 1 name = "Point " & count lstPoints.AddItem name End Sub Private Sub cmdRemoveItem_Click() …

Member Avatar
Member Avatar
+0 forum 5

I am using a ListView control in my VB Form and I want to save all the data in my ListView control. It has 2 columns and the number of rows can keep increasing depending on the user. Please help me with this query. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 4

Experts, I'm new to VB and I'm trying developing a VBA application to send and receive data to an RFID reader and put the result into Microsoft Access. Project has: Mscomm command1 (command button) Text boxes (Text1, Text2) At this stage i have developed the following code. [CODE]Private Sub Command1_Click() With MSComm1 'make sure the serial port is open If .PortOpen = False Then .PortOpen = True 'send the data (including a tailing carriage return as often needed) .Output = ChrW(&HAA) & ChrW(&H0) & ChrW(&H4) & ChrW(&H10) & ChrW(&H6) & ChrW(&H0) & ChrW(&H0) & ChrW(&H12) & ChrW(&HBB) & vbCr End …

Member Avatar
Member Avatar
+0 forum 7

Hi guys! I would like to ask you a question about on how to save data on a text file using visual basic. I have a hard time getting the right code for this function. Does anybody of you know a simple code that you can share to me. I appreciate any answers that you will share to me... Thank you and more power to us programmers!!! :)

Member Avatar
Member Avatar
+0 forum 2

Hi, i'm just wondering if there's any differnece between visual basic 6.0 and visual basic 2008?? Is visual basic 2008 compatible with the older versions of visual basic??? Please help.. Thank you in advance! :)

Member Avatar
Member Avatar
+0 forum 1

Hello who knows how to create a search box in Visual Basic? I want the search box based on streamreader. In proper terms, when I will input a text, it has to read on a text file in drice C. I know the streamreader code but don't know the code to do a search.

Member Avatar
Member Avatar
+0 forum 41

magine there is search box (textbox), and below there are a search button with a rich text box. My text file located in the drive C is like this: Product: Cement Size: Big: Cost: 245 Type: Construction Product: Iron Size: Big Cost: 123 Type: Consruction Product: Glass Size: Small Cost: 23 Type: Non-Construction Product: Chocolate Size: Small Cost: 10 Type: Food I want to search only two types of items in my text file located in drive C, namely: Construction and Non-construction. When the user will type a product name, OR size, OR whatever, he must get results only for …

Member Avatar
Member Avatar
+0 forum 3

Well I have a combobox with 3 items namely: Product Size and Cost. I have also a maskedtextbox. If I select "Product" and "Size" on the combobox, I want to disable the maskedtextbox from filling, how must I do it?

Member Avatar
Member Avatar
+0 forum 10

I have just started learning Basic, and i know you can create command butons from the virtual environment, but how do you create (and, more importantly, let the user drag around) them from code?

Member Avatar
Member Avatar
+0 forum 6

i made report for invoice printing which contains 10 pages for single invoice, i want to Print Terms & condition on every next page it means my report will be of 20 Page.. please help me... thanks in advance

Member Avatar
Member Avatar
+0 forum 5

I am making a new program (obviously). And I need some help. In this program, I have up to 23 text boxes. They are meant to edit a file. Not any type of file, just a file, with no extensions. There is text inside the file though. I have tried opening the file in notepad, so I know it works. When I open it in notepad, it displays the text, then you can save it back to that same file, without changing the file type (as you all know, like editing an ini file). I want this program to have …

Member Avatar
Member Avatar
+0 forum 8

I need to create a form using code. Is there a way to do this. like in the code i need to create a form with a name, caption and text box in it.

Member Avatar
Member Avatar
+0 forum 21

The End.