I am a student of VB. I am trying to figure out how to open an Excel workbook by clicking on a button on my VB form. I keep getting a message that the method is unsupported and the starred l...
I am trying to have VBA open an instance of IE and browse to a specific
URL
Private Sub DrawingIn_Click()
Set browser = CreateObject("InternetExplorer.Application")
browser.N...
Hi
I normally have to program in .NET and i love the substring function, but how do you do it in vb6 (i have to modify some old code)
My .NET code is
'Declare Variables
Dim i As Inte...
Hello Experts,
I have a report that is generated from a third party application as a text file. I need to read and obtain some specific information contained in this text file. I need the f...
Image Control Array:
Image1 (<array 0...>)
Event:
MouseDown (Right_Click)--activates pop-up menu relative to specific image control array.
Question:
Do you use a Select Case or If...Then.....
I am trying to write a VBS that will remove a line from a text file if it contains a certain string value. I've got most of the way through, except for the part about deleting the line. That...
Hi i have an easy question but lol i wasn't able to solve it... i want to change a string to integer...
Dim strTo2 As String
Dim strFrm2 As String
Dim strFrm As In...
Hi Guys,
i use vb6 ,Access 2000 Database. my format date is like below. But why diffrence os PC show diffrence format.
CqDate = Format(Date, "dd/MM/yyyy")
in winxp the date show 12/...
In my VBA Excel application, I need to use Internet Explorer to obtain some required data. From my VBA program, I also need to be able to set values in the Internet Explorer within several tex...
How do I create a new text file in VB6, so I can then use it with the Open, Write, Input, Output, and Read command?
I will be creating this file based off of a serial number generator, so the...
Everytime I try and run my app on another PC I get this error.
Am using Visual Studio 6, SP5. Button I click on to get error is "Next form"
Private Sub Command1_Click()
DBSAR.Show
End S...
Hi-
I have a SINGLE list of values that I want to display in a multi-column listbox (i.e. I want to eliminate the vertical scrolling). I want this multi-column list to display when I click...
Hi,
Does anyone know the new codes to operate WMP 9 in VB6?
For example, to play a file in my program.
Thanks!
I'm using a DataGrid in VB6 and want to know when the user has selected a whole row. The help says properties called "SelStartRow" and "SelEndRow" exist, but they never appear on my control. S...
I have a form that contains a picturebox that I've loaded up with an image and added the ability to freehand draw (Pen, Drawpath) in the picturebox. I used to be able to leverage the SavePict...
Hi
I have a timer control on a Windows form in Visual Studio 2008. I want the Timer1_Tick code
to run at the start of every minute. At the moment I have the Interval property set to 60000,...
Hello experts,
I found this piece of code here in the forum:
Sub ShowFolderList(folderspec)
Dim fs, f, f1, fc, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f ...
Hi all,
I have a string include spaces, how do I make a split to this string by "&".
I used the split function, but this function make a problem with spaces
array = Split("aaa sss&eee...
Hello
I'm new to VB(A)
I tried in several ways to fill a multicolumn listbox.
It must have a variable number of variables.
(a singlecolumn listbox works fine)
I have two columns, bu...
Hi experts...
I build an application using VB6 and Crystal Report 4.6. Then I make a distributable installer. The problem is: it install correctly on some machine but not with some machine. T...
Hello, I am trying to kill processes that are protected, and that are not visible. Is there a way to kill processes using the PID? I have tried the examples that allow you to kill processes th...
Hi,
How do I Copy a folder in VB6
Hi there.
I want to send a simple E-mail using "Microsoft CDO for NTS 1.2 Library".
Here is the code I have thus far.
START OF VB CODING
---------------------------------------------...
Hello experts
I've inherited support of a bunch of VB6 exe/dll/ocx's, and need the ability to point to an dll/exe and find out what the CLSID is, when it is not actually registered.
Than...
In excel sheet cell I have a some of values from different cells, but if value is zero cell shows the zero value which I don't want to show to the user.
for exp. =c12+c14+c16+c18+c24
If...