Hello,
I am using VB6 and Crystal to view and print my report. I've designed the report in a particular font.
When I'm printing it from Crystal viewer it's not defaulting to my chosen font.
If I printer a word document with that font it prints ok on the desired printer.
Your help would be...
Hello,
I've a tab delimiter text file which I'm using split() function, but the split function isn't recognising the tab delimiter.
I'm using the systemfileobject TextStream to read line by line.
However, if I try a string with tab delimiter the split() function recongises the tab.
I'm using...
One good solution would be 2 change the caption of your button
this way the user is clear of what's next action would be.
Private Sub Button1_Click()
With button1
If (.Caption = "&Save") Then
If (AddedNewRecordSuccess) Then
.Caption = "&Add Record"...
It would be better if you use a disconnected recordset. U can use apply further filter on the disconnected recordset and pass it to whatever methods as parameter.
Also u can clone the recordset. I find it more flexible.
U can open the vbp in notepad and check the Crystal version number. If I'm not mistaken the version you will see in yours will be either 5.2 or above. Subtract 0.1 from the decimal (ie 5.2 will be 5.1). This will fix your problem
Well try this by using the window API
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Any) As Long
Const LB_FINDSTRING = &H18F
List1.ListIndex = SendMessage(List1.hwnd, LB_FINDSTRING, -1...
Hello,
Can someone help me with flexgrid please.
I want to display a button in each row of a selected colum.
Does anybody know how do this.
Your help would be much appreciated.
Hi,
PRINT CHECK
I want to perform a check before printing to ensure that the printer is (online/connected).Does anybody know how do to this ??
Second : Once I've sent a page for printing is there anyway of knowning whether it has been printed. This would allow to update the number of pages...
Hello,
I have an xml file that holds client Details.
<Client>
<Surname>ClsClient.Surname</Surname>
<FirstName>ClsClient.FirstName</FirstName>
....
....
....
</Client>
Can someone tell me how I can load those values once I have loaded my Client Class.
Your help would be much...
Hi,
I've three textboxes and their values are appended to a string variable and then a check is performed by IsDate function
DDText1 = 10 , MMtext2 = 12 ,YYtext3 = 1900
strMydate = DDText1 & "/" & MMtext2 & "/" & YYtext3
IsDate(strMydate)
When the value of MMtext2 is...
Hi,
I've embedded MS Word in my form, but when it activates, the menu bar of MS Word appears on the top of the form. Is there a way to prevent this and have all the full functionalities of word ??
Your help would be appreciated.
Thanks
Hi,
Does anybody know how to delete a tab from SSTAB
I the form has SSTAB ( which has displays 3 tab in first row) I want to delete one of the tab
Your help would be much appreciated
Hi,
Is there an event that u can use to check if the EscapeKey is pressed.
I've tried the form_Keypress but doesn't execute this event, instead it perform the cancel button procedure
Hi,
When pressing the EscapeKey I want it to execute the Cancel button Click Event. I have set the KeyPreview for the form to true and catch the Escape Key in the Form_KeyPress Event.
But doesn't seem to call the Cancel button procedure
Your help will be much appreciated.
Hi,
I would like to design in VB6 a display (Summary Dialog) similar to one that microsoft displays when you choose properties of a word document from windows explorer.
I have designed the treeview, but it doesn't allow to add value like the one in the Summary Dialog.
Has anyone come across a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.