| |
thread by: vikasjains |
last post May 9 '14 by: vikasjains
Hi,
I am facing an error "Subscript out of range" in format_sect..function,if I remove the code line 'On error resume next'. And if I disable this line ,then different image file names will display the same JPG file. Unable to find out,whythe error. Can any one help me to sort out the problem correctly. I have attached the Project file here.
...
|
thread by: Warren16002 |
last post May 13 '14 by: Robin25
I have tried so many different ways to do this.
I am using vb I'm a newbie but resourceful, this has to have been answered elsewhere but I wasn't able to it.
Basically I have. A button on form2 when clicked I need it to date stamp a text box that is in a user control " user control being a child form on form1 there are 7 total that are called...
|
thread by: bookchuck |
last post May 7 '14 by: bookchuck
I have a Visual Basic 2008 project on my C: drive. It works fine, but when I try to make a backup on my external USB drive
the Form1.vb code is copied correctly, but the design form is not copied.
|
thread by: Justair07 |
last post May 8 '14 by: Justair07
Hello everyone,
Attached is a sample of my project to help you see the issue yourself instead of me trying to explain. It's kind of confusing.
Once you open the db. open up the frmQuoteLog and the frmPDMontior. You will notice one record is displayed in the frmPDMonitor (Justin Ryan). This is correct.
Now to test out the issue leave open...
|
thread by: ScottDay96 |
last post May 8 '14 by: Luk3r
Before starting please note I am a complete novice so most of my codes will probably be messy and overcomplicated. I am trying to create a program where when you enter the correct series of digits (In this case 4 digits ranging from 1-12) a picture would appear. The problem is that though it is working for when the correct combination of digits is...
|
thread by: sushma somesh |
last post May 6 '14 by: Rabbit
HI,
my code for search is
rec.Open "select * from Body_Markings_new where Part Number like '%" & txtsearch.Text & "%' ", conn, adOpenDynamic, adLockOptimistic
after compiling this code getting an error saying syntax error (missing operator) in query expression 'part number like' %1%"
please help me I not able to fix this.
|
thread by: appsols |
last post May 5 '14 by: appsols
Dear All!
I have RTF formatted data stored in the database as varbinary(max). I want to retrieve all data and store it in word document using while loop. However, the first record is correctly retrieved while the rest are ignored. I have queried other non-binary fields and they are correctly display in the output document. Please check my...
|
| |
thread by: Jacko1953 |
last post Oct 3 '14 by: Jacko1953
Hi, I am using Visual Basic 5 Learner's edition on a HP envy laptop running Windows 7.
I have written some fairly unsophisticated, but quite useful routines for my personal analysis of the UK 6 from 49 lottery.
For my purposes I have created a 7x7 "grid" consisting of an array of labels (i.e. label1(0) to Label1(48) and have written code to...
|
thread by: Blarghanaught |
last post May 9 '14 by: Blarghanaught
I'm having some trouble coding this and I found myself very stumped. This is my code so far. I know I made some errors because it won't run correctly.
'intTemp Program
Option Explicit
Private Sub cmdCalc_Click()
Dim intTemp() As Integer
ReDim intTemp(7) As Integer
|
thread by: julinator |
last post Apr 30 '14 by: julinator
hi,
i made a mistake but can't find it
..the program says theres something wrong with this:
Get #FileNum, Page, Save
this program worked with a method to save
values in a file but when i added more values
it gives an error
could this be only in cause of too many values???
or did i made an other mistake???
|
thread by: lenBullard |
last post Apr 29 '14 by: Luk3r
I've seen this mentioned as "bug" and wondered if there is a better workaround. When using the webbrowser control, I open a document (navigate) then getElementByID, scrollintoview. It does that then immediately goes back to top of the document. If I insert a message box, it does not.
This works but what an ugly hack:
Dim doc As...
|
thread by: grego9 |
last post Apr 29 '14 by: grego9
I have a file that is stored in C:\users\123456\ with the name export.ttx . I want to create a VBS script that opens up this file, removes all the " in the file (and replaces these " with nothing)and then saves down the amended file as a .csv file. I am not sure where to start. To be clear I want the rest of the file contents to be unchanged - I...
|
thread by: Robin25 |
last post Apr 24 '14 by: hasherjohn12345
Good day, i have a problem regarding to my crystal reports, i created a from with 2 datetimepicker to determine the date range , but when i run it, all data still showing, my stored procedure working on SQL Server, any advice?
|
thread by: Justair07 |
last post Apr 22 '14 by: zmbd
Hello everyone,
I need to reference a workbook from a formula, for example:
='WorkSheet'!$A$93
But instead of the formula always having the full path I want it to look for the path with the date before today. For example I places this in a separate cell (S11):
|
thread by: SayyidShereef |
last post Apr 17 '14 by: SayyidShereef
iam trying to add my visual studio 6 Application to windows file right click popup menu so please help me
|
| |
thread by: benzbikuku |
last post Apr 12 '14 by: Honduras2811
Hi,
I just begin programming in vb5(I use Visual_Basic_5.0_CCE AS Interpretor)
My problem is how can I do for enabling drag and drop between two label controls.In others words,I want enable drag and drop between caption property of these two labels controls.
Best Regard
|
thread by: jyothish8807 |
last post Apr 10 '14 by: Robin25
Hi,
I want to disable Textbox2 when Textbox1="YES".
This "yes" value will be fetched from database Query table and not manually entered.
|
thread by: kako0000000 |
last post Apr 9 '14 by: kako0000000
problems please solved datareport
i create two tables name are ( re2014 and re2015 )
filed dataname in ( pay , exp and cost ) each table
in filed record in see picture
http://www.vbforums.com/attachment.php?attachmentid=112571&d=1396943849
total see pic
http://www.vbforums.com/attachment.php?attachmentid=112573&d=1396943882...
|
thread by: grego9 |
last post Apr 9 '14 by: grego9
I have an excel 97-2003 file called "MASTER - FX Reconciliations Modelvista.xls" that I open using Excel 2010. Within this file I run a VBA macro with the name FXcurr. This macro picks up a file called rollifrp.xls (97-2003 Worksheet) makes some amendments to it and then saves it down to a file path detarmined by the entries in two cells of the...
|
thread by: Tim F |
last post Apr 8 '14 by: Tim F
Hi all,
I have been scratching my head over this one for a day now!
I have a word 2007 document with 2 user forms, Form1 and Form2. Form2 is activated from Form1 and should let the user select a value from a listbox and have that value sent to a textbox Text1 in Form1.
I am doing this as follows:
in Form1 module
Public Sub SetCode(ByVal...
|
thread by: shenkepa |
last post Apr 9 '14 by: shenkepa
Hi,
In a vb routine I try to get the text in a statusStrip box named statusStrip1 of another program, but the returned string is "statusStrip1" while the correct string is "red ball:3".Looking for help from you.
Thanks in advance.
Some of the routine are here:
ahwnd = FindWindow("WindowsForms10.Window.8.app.0.202c666", "receive")
bhwnd =...
|
thread by: charlottewebb63 |
last post Apr 5 '14 by: charlottewebb63
How can I get my script keep the correct answers in the input box and have the person redo only the incorrect answers?
im MyString, MyArray, i, objRegEx, array, stransw1, strquit, Firstname, Lastname, Password, aMyString
stransw1 = true
Do while stransw1 = true
MyString = Inputbox("please tell me your Firstname: Lastname: Password:...
|
thread by: joelin139 |
last post Apr 1 '14 by: joelin139
Dear Guru
how can i sort listbox with vbTab my code is
Dim i As Long, TPts As Long, LPts As Long
Dim User As String, LText As String
If List2.ListCount = 0 Then 'default, just enter & exit
List2.AddItem Text5.Text & vbTab & Text6.Text
Exit Sub
End If
|
| |
thread by: Tom Corrigan |
last post Mar 31 '14 by: Tom Corrigan
How do I obtain and instal the license (mine seems to have expired)?
|
thread by: fafahuha |
last post Mar 28 '14 by: fafahuha
I have code in VB access 2010 to import contacts from outlook based on selected fields such as firstname, middlename, mobile phone etc.
I need to pass the fields selected to item object and get the value. But I am getting an error when I pass the variable field name to the object.
file attached
|