Home > Visual Basic Programming
Visual Basic Programming
Visual Basic Programming forum discussing VB specific programming information. Quickly prototype and build applications with this robust and simple language.
what is sorting?
example of sorting program, especially quick sort and insertion sort.
answer(0) view(5) status(

)
Managing Outlook email Bookmarks with VB
With VB I already have opened an Outlook template and need now to place the cursor on a Bookmark (previously defined in an email template) in order to proceed.
I labeled the Bookmark 'Bookmark1'.
Any suggestion? Many thanks!
answer(0) view(8) status(

)
answer(0) view(6) status(

)
update oracle through excel vba
Hi,
I would like to update ORACLE base tables through VBA.
The user would make changes in a excel workbook and the oracle tables should reflect the changes made in the excel workbook.
I want a VBA code to achive this.I do not want to save the ex...
answer(0) view(31) status(

)
Move Next Record in Crystal Reports
Hi,
I'm using crystal reports 8.5 and Here is my question.
I need to create a formula fields which looks like this "Dates going to get approval are 1/2/04, 1/5/04,1/6/04 and 1/7/04" I'm picking these dates from Database.
...
answer(1) view(266) status(

)
Disable JavaScript Alert in WebBrowser Control
I would like my custom webbrowser application to prevent webpages from generating JavaScript alert messages. I have a VB project with a form that contains a WebBrowser control. As a test I created a simple example project to demonstrate m...
answer(2) view(1,177) status(

)
how access and view files on other computer in my lan
hi ,
I would like the simplest example of using DirectoryInfo (or something similar) to view the files and folders on another computer's drive. The other computer is on the same local network as my computer, but requires credentials other than my ...
answer(0) view(32) status(

)
Converting VBA in Excel in VBScript
I'm converting VBA code that copy a chart in Picture format into VBScript, Can you help me convert the following code into VBScript:
ActiveSheet.PasteSpecial Format:="Picture (PNG)", Link:=False, _
DisplayAsIcon:=False
Your...
answer(0) view(63) status(

)
Enable ICS on my internal LAN adaptor
Hi programmer
For you it will be so easy, but I can't 8-(( - thanks for help.
I'm looking for lines like this...
File=EnableICS.vbs
##############
' mylittle script for enable ICS on my internal LAN adaptor with ip 192.168.0.1
Dim obj
...
answer(0) view(66) status(

)
answer(2) view(983) status(

)
answer(0) view(57) status(

)
Rotate a picturebox
Hi.
I am making a game that and the player uses the arrow keys to move the picture box. I need to know how to rotate a picture box 90 degrees left and right. I searched google and found this website:
http://www.vb-helper.com/howto_rota....
answer(8) view(911) status(

)
can u help me about this problem?
#include<iostream.h>
main ()
{
int i,no,sum;
cout << "Enter a positive integer: \n ";
cin>> no;
while (no!=0)
{
sum = 0;
for (i = 1...
answer(0) view(54) status(

)
answer(0) view(48) status(

)
The rowset is not bookmarkable
can someone help me wit this error..."the rowset is not book markable" where am i wrong?
Code:
Option Explicit
Public cnConnection As ADODB.Connection
Public rsRecordset As ADODB.Recordset
Public rs As ADODB.R...
answer(13) view(969) status(

)
Changes to use / Share Data in Access
I have developed an application using VB 6 and Access Database..
The same is in use on single PC for few months.
Clinet wish to share this database...
What kind of changes I need to do ?
1. Related to VB6
2. Related to Access...
answer(1) view(569) status(

)
vb close desktop windows - newie help
hi guys,
i'm totally new to VB Scripting but am hoping someone can lead me on the right track. basically i need a script that when executed will close all open windows on the windows desktop, this includes any opened copies of windows ex...
answer(2) view(540) status(

)
Alerts in VB
I remember, from somewhere in my past, that VB can create alerts other than the !/Alert/Ok and ?/Confirm/OK-Cancel boxes. Is this true? I think there was some sort of information/help alert... can't remember though, i've slept since then.
...
answer(4) view(433) status(

)
Open Combo Box and DatePicker on focus event
I am developing a package and client want to open the combo box to be opened on 'setfocus' event or when cursor is focused on combo or DatePicker.
Please help me as soon as possible
Wioth regards
Vikas AThavale
answer(1) view(460) status(

)
Http file upload (Post)
Does anyone know how to upload a file and form data
to a server?
What i want to do is allow a user to upload a file and form data
to my php script so i can process it. So of course FTP would be
no good.
I can do this with the XMLHT...
answer(4) view(179) status(

)
Error while installing package generated by VB 6
Dear All,
I generated a package in vb6.
When I tried to install it on my client's Pc it gives error
A message prior to this error was :
Copying files please stand by.
Processing msvbvm60.dll (7 of 7)
Then message appears as:...
answer(2) view(825) status(

)
map updater...
i took VB in school last year so i only know a little bit about it, but i want an auto map updater for 2 games...
1) ill upload the maps to a online directory or ftp server (different directories for each game since the maps are differe...
answer(1) view(377) status(

)
Interfacing Webcam with VB
I have a Typhoon webcam and i want to make a software that will take a picture and store it in a file.
How can i interface the webcam with VB applications?I don't have any SDK(logitech provides a separate SDK for its Cams)
answer(1) view(962) status(

)
DTPICKER ... Can we show CLOCK instead of calender ?
I am really thankful to this forum for timely and accurate information...
I had developed an application where in user wnat the time in Hours (with am and pm e.g. 9 am, 1 pm , 4 pm etc)
I can customise the dtPicker that will show th...
answer(3) view(931) status(

)
PopUps from VB in IE
Can VB open popup windows like javascript in IE?
Also, is there anyway to control the browser window in IE using VB, such as removing the addressbar or altering the window so it becomes changes to fullscreen mode?
answer(5) view(939) status(

)
visual basic with Excel
I have an excel worksheet that has 4 columns that need to have data calculated in them, but the user might be inserting other columns between them. Via Visual Basic is there a way that I can track in my code where those columns have moved ...
answer(1) view(888) status(

)
IRC and TCP/IP programming
Can anyone tell me if they are interested with programming a IRC server program like IRCD and IRCXpro/IRCPlus if you are contact me at URL,
Thanks
You should know enough about Visual Basic to do this bareing in mind i dont or i wudnt...
answer(3) view(1,034) status(

)
another question
sorry to post so many a once. But i had lots of question i don't understand.
How do i open a form when i opened IE(internet explorer) and when i close IE, the form will close too?
I am using XP.
answer(1) view(521) status(

)
answer(2) view(829) status(

)
excel visual basic
I had one question, how do i plus a number from excel cell for example A1.
A1 number is now 30, if i add a code in visual basic by clicking a command button, it will add 1 to 31. (excel97)
answer(1) view(426) status(

)