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.
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(5) 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(30) 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(1) view(1,118) 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(25) status(

)
answer(2) view(951) status(

)
answer(0) view(32) 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(878) 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(33) status(

)
answer(0) view(24) 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(710) 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(549) 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(520) 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(398) 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(439) 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(155) 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(807) 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(347) 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(933) 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(897) 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(919) 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(848) 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,011) 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(505) status(

)
answer(2) view(807) 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(404) status(

)
help
Can i do a main menu that open all the project i had done using those command button? Can anyone can give me a sample code?
For example, this is the main menu project file name "project1.vbp" and create a "form1" as m...
answer(6) view(58) status(

)
hey all
i am new to vb and does anyone no a free compiler that is very small if you do please attach the url
answer(6) view(467) status(

)
ADO.NET and Checking to see if record exist
What I am trying to do is this we have a couple branch offices that are looking to use a common database with the same program remotely. Now what I am doing is only pulling back one record at a time the one they search for. This will make i...
answer(0) view(400) status(

)
Modify MS Word HTML output
Is there a way to use Visual Basic to modify the HTML docs that MS Word creates?
I am trying to find a way to get MS word to insert somekind of mark up for page breaks in the output HTML document.
any suggestions?
answer(3) view(118) status(

)
How to exit a program
I know it's kind of lame and such, but i still don't know, so i'm asking.
What's the function to call when i want to quit my program?
That is, which function should i connect to my "Quit" button in my program?
I tried exit() a...
answer(4) view(420) status(

)