Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21237 articles
Browse latest View live

[RESOLVED] listview1 help

assuming i have 10 list Code: Dim i As Integer  For i = 0 To File1.ListCount - 1   ' ListView1.ListItems.Add , , File1.List(i)     ListView1.ListItems.Add , , File1.List(i), , 1...

View Article


Set Process Name To Default Name

Hi I create a free project and save project exe file. When i save the exe file i chose this exe file name "ss" (ss.exe) Now if i run this file i see a process name in process list in task manager...

View Article


[RESOLVED] Duplicate error in current scope vb 6

Can someone help me. I'm trying to display an alert msgbox with two different recordset in one form so whenever there is an expired medicine it will both display and alert at the same time. But it...

View Article

[RESOLVED] WebBrowser Control/Java Applet

Not sure if I should ask here or in the Java Forum. I'll probably ask in both OK, I can run a Java applet in the IE but it won't run (that is, it wont run correctly) if I use the WebBrowser control. In...

View Article

[RESOLVED] How to display selected value in datagrid.vb6

I'm trying to get the value of medicine that has a quantity of less than 15 and display it in datagrid. For example I have paracetamol that has quantity of 15 or less then the paracetamol will...

View Article


[RESOLVED] how to import text file data to access database??

Hi, why got syntax error in insert into statement?? mycode: Code: Private Sub Command2_Click() Dim cn3 As New ADODB.Connection Dim rs3 As New ADODB.Recordset cn3.Open...

View Article

Help in preventing application going non responsive during restoring a backup

I have an application which backs up and restores database (sql server). Somtimes it takes a long time. I need to put a progressbar or a gif while the query is being processed. Doevents is not working...

View Article

Image may be NSFW.
Clik here to view.

Custom Message Box Not Working On Windows 7

Greetings every one. i am using custom message box (by using some api calls to modify the standard windows message box) to change message box icon and button text. It is working fine on windows xp. But...

View Article


Resize DataGrid to Show All Rows

I have a datagrid bound to a recordset. The record count of the recordset will vary each time. So I want to set the height of the datagrid to fully display all rows (records). Simply multiplying the...

View Article


Specify command line for application while creating service using SRVANY.EXE

I am creating service in VB6 application using SRVANY.EXE as show in this link . But my application requires a command line to work.So if i want to pass command line to my application then what to do?...

View Article

[RESOLVED] lisview1 help

i need similar code to this Code: If List2.ListIndex = List2.ListCount - 1 Then         List2.ListIndex = 0       \     Else           List2.ListIndex = List2.ListIndex + 1           End If with...

View Article

detecting a vscrollbar in msflexgrid vb6

I am trying to set the width of a Msflexgrid based on if it has a vertical scrollbar Code: Code: Const GWL_STYLE = (-16) Const WS_VSCROLL = &H200000 Const WS_HSCROLL = &H100000   Private...

View Article

Save File without duplicating file name

I have a macro that renames files by removing unwanted characters (to make the file name SharePoint compliant) in a folder and its subfolders. However, if after removing those characters and making...

View Article


ISAM Error VB6

All, I installed VB6 on my new Windows 8 machine. That was a bit if a chore, but I have it running. I have always used the common "Data" Controls with Data Grids in my programs and they work...

View Article

Multiple Length Functions

I've been coding and maybe I'm tired or what.. But I can't figure out that why is the error "please fill in all fields" is displayed even though all the textboxes are filled.. Code: Private Sub...

View Article


mozilla browser innertext not working

wb.Document.getElementById("q").innerText="Aaa" not working please help , its mozilla component , works same as ie browser but 100000% times better plz help fixing this

View Article

[RESOLVED] Multiple Length Functions

I've been coding and maybe I'm tired or what.. But I can't figure out that why is the error "please fill in all fields" is displayed even though all the textboxes are filled.. Code: Private Sub...

View Article


Need help on soap action and web service - please help

I'm new to web service and i've been learning fast so far, however i have some challenges with making it work finally. I am trying to have a VB6 program communicate with another program in a different...

View Article

VB 2008 Split Function/Method (please help)

Hi I am struggling with this bit of code as it is getting an exception... I am trying to get the program to split the text that is already saved in the textbox1 and to show result in textbox2. I could...

View Article

Locking a row in an Access DB

Help please A button on a form displays the current row fields in txtbox's for editing Is it possible to lock the current row until edit completed or cancelled

View Article
Browsing all 21237 articles
Browse latest View live