12,425 Topics

Member Avatar for
Member Avatar for herms14

guys I'm just new with visual basic. I would like to ask a question regarding coordinates.. Suppose I have object lets say a button how do i get the coordinates of the button in the form? also I want to button to move given a particular path, example if i …

Member Avatar for herms14
0
114
Member Avatar for 4ukh

dear all, what is the sql command for ms access 2007 to get the tables name of the database? and also how to put these names into a list box? thanks in advanced. 4ukh

Member Avatar for 4ukh
0
119
Member Avatar for srikanth48

Type BITMAPFILEHEADER bfType As Integer bfsize As Long bfReserved1 As Integer bfReserved2 As Integer bfoffbits As Long End Type Type BMPInfoHeader biSize As Long biwidth As Long biheight As Long biPlanes As Integer bibitcount As Integer biCompression As Long bisizeimage As Long biXPelsPerMeter As Long biYPelsPerMeter As Long biClrUsed As …

Member Avatar for vb5prgrmr
0
328
Member Avatar for MichaelSammels

I have the following code: [code] For lngPosition = LBound(strNames) To UBound(strNames) mainForm.NameDisplay.Caption = strNames(lngPosition) mainForm.StockDisplay.Caption = intLevels(lngPosition) Next lngPosition [/code] This code, in my opinion, should print everything in array in a label. However, it only prints the last element of the array. Anyone got any ideas on how …

Member Avatar for MichaelSammels
0
204
Member Avatar for JonnyHawes

Hello everyone! So as my first post, I would like to say I am in no way unfamiliar with Visual Basic or programming in general, but this Database integration is giving me quite a problem! lol So basically I have a VB 2008 Project with a single form that displays …

Member Avatar for JonnyHawes
0
174
Member Avatar for deftones

Hi, Let's say I have a form full of objects and want to make all of them (or half of them, whatever) invisible. Is there a short way to do that without a need of setting visible to false individually to each object?

Member Avatar for deftones
0
182
Member Avatar for deftones
Member Avatar for deftones
0
149
Member Avatar for Israelsimba

i am trying to make sure that one record is not entered twice into the same database but the code i am using is giving me an error [CODE]Set ri = deSub.conn.Execute("SELECT* FROM individualsubs WHERE firstname = '" & txtfname.Text & "' AND surname = '" & txtsurname.Text & "'") …

Member Avatar for vb5prgrmr
0
156
Member Avatar for brendajean

I am trying to create an If Then statement to use in an excel spreadsheet using data from 2 or 3 columns. Column AB has text. Column AA has a date in it. I need the statement to say if column AB says RFEP or TRFE and Column AA is …

0
112
Member Avatar for chuckc

My name is Chuck. I am a semi-retired IT consultant. I got started in the computer field when minicomputers were still hot. Over the years I have done programming in a number of different languages, but my strength is probably more in financial application design. Currently I am trying to …

Member Avatar for jbennet
0
83
Member Avatar for Gangstafier

I am currently trying to create a Web Design program, freeware, for use to help with the aid of web design. I want it to be sorta like... "Web-Design-Toy" by ACME, only with more features. To where when you type in the textbox, it comes out in a live view …

Member Avatar for kvprajapati
0
153
Member Avatar for Israelsimba

I have a subscription system that i have developed. the system is supposed to automatically subtract the number of copies given to a client every monthend as per request they made of the copies required upon joining. my problem is i cant make my code run through my database so …

Member Avatar for Israelsimba
0
109
Member Avatar for RobEin

Hi Everyone, This feauture enables to use "Try" exception handling in VB programs like VB.net Try-Catch statement. [URL="http://sites.google.com/site/truetryforvisualbasic/"]http://sites.google.com/site/truetryforvisualbasic/[/URL] I think it's a new way of exception handling in VB 4,5,6, VBA and VBScript. I'm waiting for opinions.

Member Avatar for RobEin
0
5K
Member Avatar for lein.o16

okay. i'm an B.S.I.T student and we're going to develop a system. i hope you can suggest a unique system. my professor doesn't like common system: library system, student information system, etc. hope you guys can suggest some. we might use VB6, VB2008 or VB.net. it's up to our prof. …

Member Avatar for vb5prgrmr
0
141
Member Avatar for nagatron

Is it possible to make a program using VB where you let people visit a site and get their IP address and use their IP address to click the link which is inside the site they visit? Ex. My site location is: [url]http://www.mysite.com[/url] And this site contain one link name …

Member Avatar for vb5prgrmr
0
135
Member Avatar for karthiknvs

Hi all, I am new to VB. i want to know how to connect to a remote server and run three batch files with some arguments, over there. E.g. machine Ip Address:xxx.xxx.xxx.xxx username:test password:test I have to connect to the machine name and run the batch files. Please suggest a …

Member Avatar for vb5prgrmr
0
104
Member Avatar for hhh0505

i'm new to visual basic and I managed to make somewhat of an assignment I need. now it's not perfect but, I am terrible when it comes to calculations... what am I doing wrong? ;-; ' This procedure calculates and displays each floors ' occupancy rate. Dim intCount As Integer …

Member Avatar for hhh0505
0
2K
Member Avatar for deftones

Hi again, I have a huge code written, but I'm not even halfway there. Had to split couple of procedures to make everything work smoothly etc. I was wondering, would it be reasonable to put some of my code into modules, in order to avoid compiling or similar errors in …

Member Avatar for deftones
0
90
Member Avatar for deftones

Hey, How not let the user to close a form with a close button? Basically, I need a form to be hidden most of the time, but sometimes it is shown by the code (intentionally). And when you hit close button, user not only closes the form, but unloads it …

Member Avatar for deftones
0
100
Member Avatar for esspeter

Read a post that had a similar scenario and wonder how it was solved. environment VB6, sql server 5.0, windows 2003 server, xp sp2 clients Randomly getting data populated with first record information. original post was from looney064 on 6/24/08 Just joined so if this is out of format please …

Member Avatar for vb5prgrmr
0
102
Member Avatar for RgCz

In Visual Basic 2008 Express edition: Create a new string replacing the order of the words, from last one to the first one and show it in a text box Example: Input: “This is an example” Output: “example an is This” I know theres a function to reverse the letters …

Member Avatar for RgCz
0
158
Member Avatar for rino699

how to get string from other function? i tried this , but come error... i using Visual Basic C++.... [CODE] void main() { char name[51]; name=NAME(); } int NAME() { char names[51]; names="john"; }[/CODE]

Member Avatar for Tom Gunn
0
130
Member Avatar for WordScript

Hello, would you please assist me in solving this problem: I have an Excel object (Excel.Sheet.1) in MS Word document. I'm trying to write a Visual Basic macro for MS Word to change the data in cell A1 of this table. How can I access the cell? I can only …

Member Avatar for sabarishjm
0
191
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Date Boolean Bytes

Member Avatar for kvprajapati
0
138
Member Avatar for ab00120

Hi there, I am currently attempting to enhance an old program to use Windows Forms in C++. From what Ive read it would be preferable to use Visual Basic or C#; however in its current state, combined with my lack of experience in C#/VB this would be a real struggle …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for oluscoa

Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Byte Date Boolean

0
58
Member Avatar for tomshulski

I am working with VB6 (Pro. Edition) and in my tool box I do not have the slider control. Does anyone know how I can add that to my programs?

Member Avatar for mehrzad1373
0
508
Member Avatar for ghost-virus

I am an IT student and working on a project. Since we have not yet been taught about databases, can anyone show me basically how you design and create an access database in Visual Basic 6?

0
65
Member Avatar for oscarresonable

Hi guyzZz,.. How can I send a string into my POS POLE Display...??? Idea and Some Source Code is appreciated... TnkXx....

Member Avatar for silmy
0
113
Member Avatar for drabsch

I need to copy text form a text box for example: My text box has temperature="18.5" in it and i want to copy the text 18.5 i already have it selected i just need to copy it or put it into a var

Member Avatar for drabsch
0
108
Member Avatar for ronyyy

Hello.....I have problem ......i have to transfer a sms from a mobile to another mobile which is connected to a computer.i have to read the sms directly through computer without seeing tne mobile which is connected to computer via USB........then i have send a sms from computer to mobile(which is …

Member Avatar for AndreRet
0
150
Member Avatar for bcohenllc

Ive been working on a checkbook application for my visual basic class and I'm a little stumped.. To preface, the values I need to mess with include: transaction type (checking or deposit) DTP check number ("dep" if deposit) payee (who check is for) purpose of check/deposit amount of check/deposit user …

Member Avatar for kplcjl
0
263
Member Avatar for makybe

I have developed two large VB 6 programs and apparently and unintentionally developed one as a Project Group rather than a stand alone Project. As A group I have problems that all releases of the program seem to be altered each time I make a development change, which I dont …

Member Avatar for makybe
0
1K
Member Avatar for Loony064

Hey guys! I figured it might be easier to have my various questions in separate posts, to avoid confusion. My next problem is that with two of my tables (Hours Worked and Occupations) when i want to save the records, it places the correct values (taken from text boxes on …

Member Avatar for esspeter
0
218
Member Avatar for xirosen

can anyone help me pls on how to resize treeview while the program is running.. i know how to populate treeview but when the text is to long not all text will be displayed that is why i want to know if there is way on resizing it while running..

Member Avatar for AndreRet
0
81
Member Avatar for abu taher

have any code for all form. I mean, here I write [CODE]form1.show form2.show form3.show[/CODE]But I want I write one line. like: "allform.show". or other what is right.

Member Avatar for AndreRet
0
127
Member Avatar for nareshkumar131

Hello, I have a DatePicker and text box on my Form and When I try to show the choosen date of DatePicker in the TextBox. It Shows the date and time. But I want to show only date. Plz help me. Code: text1.text=DatePicker1.value

Member Avatar for AndreRet
0
230
Member Avatar for deftones

Hi gang, I've started making a card game, which seems is going to be quite a challenge for me. To make my question more simple, let's say we have a form with three empty images and three images with cards. How do I put those three card pics randomly into …

Member Avatar for deftones
0
75
Member Avatar for aligahk06

Dear All, I have installed Visual Studio 2008 Express edition " Free by Microsoft ". I have done some of my assignment in vba using excel 2007. i want to learn office programming in visual Studio 2008 Express Edition the enhanced features and their advance application in office 2007. Please …

Member Avatar for jbennet
0
100
Member Avatar for jomamik

Hi to all, May I ask any help for a code in VB6 in saving images in either SQL server or MS Access databases? Please give me some idea thanks a lot in advance.

Member Avatar for MansoorAhmedK
0
255
Member Avatar for naveen g

i run vb6.0 code in xp for getting hdd physical id and it run ok. but when i run same programme in vista it does not display any hdd physical id. please solve the problem

Member Avatar for naveen g
0
183
Member Avatar for sting23

//program for salary payroll #include<iostream.h> #include<stdlib.h> class employee { char name[50]; int number,worked_hours,PF,HRA,salary,net_salary; public: void read(); void calculate(); void display(); }; void employee::read() { cout<<"enter the employee details here"; cout<<"\n enter the employee name"; cin>>name; cout<<"\n emter the employee number"; cin>>number; cout<<"\n enter the employee worked hour"; cin>>worked_hours; cout<<"\n enter …

Member Avatar for muzaffar85
-2
128
Member Avatar for cookware_ok

Easily allows temporary message to be displayed on any label for a programmable length of time. This is a very simple way to display a temporary message on an existing label (or textbox)without doing a lot of coding.

Member Avatar for muzaffar85
0
318
Member Avatar for EntangledDesi

I have created form resembling a standard dialog box where some enters there name into a text box and then hits 'ok' taking them to the main form..On this form I need to get the name that is typed into the text box to be displayed on the main form. …

Member Avatar for EntangledDesi
0
390
Member Avatar for fulcrum9

Hello, I'm a beginner in Visual Basic and I was wondering if it is possible to shorten twenty subs into only 1 sub. example: [code]Private Sub box1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kist1.Click Dim box1Click As Boolean = True End Sub Private Sub box2_Click(ByVal sender As System.Object, …

Member Avatar for kplcjl
0
153
Member Avatar for xirosen

Here my code to display the menu: Private Sub Text5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = 2 Then PopupMenu t5menu End If End Sub But my problem is the default popup menus such as undo, copy, cut etc. keeps in taking place …

Member Avatar for xirosen
0
112
Member Avatar for rakky

conectivity of sql & visual basic is needed as early as possible pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeee!

Member Avatar for AndreRet
0
138
Member Avatar for samira1993

Create an application that will predict the approximate size of a population organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a text box and select or enter the number of days the …

Member Avatar for AndreRet
0
482
Member Avatar for ivankenny

Hello it's me again i'm having problem with the database subtraction for my POS Project im using ado database and i know that you just have to change the value from the selected and voila it would update the database but mine doesnt work: ' txtqan is connect to the …

Member Avatar for AndreRet
0
146
Member Avatar for sting23

Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim ans As Integer Private Sub br_Click() Form27.Show End Sub Private Sub bsm_Click() Unload Me Form3.Show End Sub Private Sub Command1_Click() If Text1.Text = "" Or Text2.Text = "" Then MsgBox ("please enter user id and password") Text1.Text = "" Text2.Text = …

Member Avatar for AndreRet
1
167

The End.