12,425 Topics
![]() | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
Hey, one simple question: how to call Image1_click event form module? | |
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 & "'") … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 | |
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 … | |
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 | |
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? | |
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? | |
Hi guyzZz,.. How can I send a string into my POS POLE Display...??? Idea and Some Source Code is appreciated... TnkXx.... | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. | |
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. | |
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 | |
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 … | |
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 … | |
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. | |
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 | |
//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 … | |
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. | |
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. … | |
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, … | |
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 … | |
conectivity of sql & visual basic is needed as early as possible pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeee! | |
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 … | |
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 … | |
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 = … |
The End.