Jump to content
Xtreme .Net Talk

hibiki1979

Members
  • Posts

    8
  • Joined

  • Last visited

Personal Information

  • Occupation
    Student

hibiki1979's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I am trying to print a document to a 8.5inch x 8 inch paper type. However, in crystal reports, there is no such paper size and hence my alignment is out. Therefore, I would like to ask if there are any way that i could create a custom paper size so that i can fit into the paper type.
  2. You can try this. Imagine your main form is called Form1 and your second form is called Form2 Do the following steps and it shd work: Dim frmSecond As New Form2() Me.Hide() frmSecond.Show() Your can also try instead of frmSecond.Show(), use frmSecond.ShowDialog()
  3. You can try this. Me.show() for showing the form Me.Hide() for hiding the form It must be done on the form itself cause now vb .net is using OOP approach where each form is a class of its own. Me is referring to the current form. =Þ
  4. Here is a code I got in from somewhere.(Forgooten where? =Þ) It shd works. Public Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Integer, ByVal bRevert As Integer) As Integer Public Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Integer, ByVal nPosition As Integer, ByVal wFlags As Integer) As Integer Public Const SC_CLOSE = &HF060& Public Const MF_BYCOMMAND = &H0& Function RemoveXButton(ByVal iHWND As Integer) As Integer Dim iSysMenu As Integer iSysMenu = GetSystemMenu(iHWND, False) Return RemoveMenu(iSysMenu, SC_CLOSE, MF_BYCOMMAND) End Function Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Remove the close button of the form RemoveXButton(Me.Handle().ToInt32()) End Sub
  5. Hi, I am trying to display fault code field and part code field in crystal report link by a job number. However, there are 3 tables: one for keeping job number, one for keeping fault code relating to a job number and the last one is for keeping psrt code relating to a job number too. Hence, they are linked by the job number. However, the part code and fault code can have many part codes and fault codes for a single job number. This is where the error occurs when i try to display distinct fault code and part code of a particular job number. Eg: If i have 2 part codes and 2 fault codes relating to 1 job number, it will display 4 lines instead of 2 lines when displaying the part codes and faults. In order words, it is doing all possible combinations between the part code and the fault code In Database ---------------- Part Code Fault Code ------------- -------------- a b c d Displaying ------------- Part Code Fault Code ------------- -------------- a b a d c b c d May I know how can i solve this problem? I want to display it like this: Displaying ------------- Part Code Fault Code ------------- -------------- a b c d Thx.
  6. Hi, I got a problem with datetime. Hope someone can help me. I am using the datetimepicker control in vb .net. On one machine, it displays month follow by day and then year. However, on another machine, the datetimepicker displays day followed by month and then year. When this happens the arithmetic conversion overflow error occurs. May I know how can i solve this?? Thx.
  7. Hi, I have also come across this problem and i have added all the necessary merge modules. However, according to sort resource, it say that when u add REGWIZ.MSM merge module, you will have to key in a license key. But i can't find where to key in.
  8. Hi, Sorry, I am new to .NET. I would like to ask how to you add the merge module in order for the keyCodeV2.dll error to disappear?
×
×
  • Create New...