• Member Avatar for Minimalist
    Minimalist

    Began Watching Theres something wrong with my keyword cipher

    For my computing GCSE course i had to create a keyword cipher and most of my class did it in VB console, so so did it. Little did I know, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Theres something wrong with my keyword cipher

    He is using a script language
  • Member Avatar for Minimalist
    Minimalist

    Began Watching VB yes no problem

    can you please help me in my code MsgBox "Are you sure you want to Logout?", vbYesNo, "Confirmation" If vbYes Then Unload Me frmAuthentication.Show End If how can i have …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in VB yes no problem

    In vb6 you can't use declaration= dadada but you need to seperate these. Private Sub cmdLogout_Click() Dim reply As String reply = MsgBox("Are you sure you want to Logout?", vbYesNo, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Invalid String

    Do you have any code in the key events of the textbox? If yes, do show what you have done sofar.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching select row in data grid view

    hi people how do I select a specific row in a data grid view to be updated. the row contains item number, item name and price. thanks
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in select row in data grid view

    Just search dani web with your query as there are lots of answers.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error when change the width of a line chart

    Here the frame is in action
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error when change the width of a line chart

    It's hard to understand what exactly you want to do. However, to put a fframe around the chart you use: Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin1 and you can play around with different …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Error when change the width of a line chart

    Hi guys, I want to change the width of a line chart When I run with this code: Private Sub Chart1_Click(sender As Object, e As EventArgs) Handles Chart1.Click chart1.Series["Series1"].BorderWidth = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Error when change the width of a line chart

    First of all get rid of the semicolon after 3
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Input Box

    hi all this code give me input box i want to make the Characters like this ******* Dim x As String x = InputBox("inter password") If x = Label1.Text Then …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Input Box

    You need to use the textbox in vb6 and set the password character in the peoperties.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Invalid String

    Please help me in solving this error of my project. This error appear when i enter this character [ it shows me that i enter an invalid string. where particularly …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Invalid String

    Where do you enter the string ? Textbox? Combobox?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Data Environment

    SELECT BANK ACCOUNT.*FROM BANK ACCOUNT ORDER BY ACCOUNT NAME What is the missing operator here? In sql statement, pls I need help
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data Environment

    Spaces in these names are problematic and there are different ways of dealing with it: http://stackoverflow.com/questions/14190798/how-to-select-a-column-name-with-space-between-in-mysql-on-liunx-ubuntu http://forums.codeguru.com/showthread.php?329069-SQL-Selecting-from-quot-column-names-quot-with-spaces-in
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Object reference not set to instance and I got mad

    I just want to delete if column qty contains value 0 then delete that row but i get error after delte six records it says object refrence not set to …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Object reference not set to instance and I got mad

    Yes you need to assign your value properly. Otherwise start your loop at the top and go down. That should work. For i As Integer = dt.Rows.Count - 1 To …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching textbox positioning

    hello people, I would like to position my text boxes using code. the anchor property is a bit limited. could someone help me on how to achieve that. thanks.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in textbox positioning

    You can use somezhing like this (.NET Framework 4.5): TextBox1.Location = New Point(15, 15) or you can use the top and left properties: TextBox1.Top = 100 TextBox1.Left = 30
  • Member Avatar for Minimalist
    Minimalist

    Began Watching link button with form

    Hi, I build a login form and want when user click on submit button then other form show. I also add new form by file->add->new project I use the name …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in link button with form

    It should be welcom.show() without (;)
  • Member Avatar for Minimalist
    Minimalist

    Began Watching form error

    Hi. I am working on vb.net and i want ot link a form with a button so when i click on button the form show but it contain error kindly …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in form error

    Why would you want to load form1 again? Anyway it works for me without an error. Try: Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim myform As …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Auto complete text box

    hello, am fairly new to VB. Net and am trying to develop an application. I want to implement auto complete function in one of my text boxes. I want my …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Auto complete text box

    Just type autocomplete into the search box in the top right corner and you will find plenty of references.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching disable alt+tab HELP!!

    I need some help .. i want to disable alt+tab .. and other shortcut keys to prevent the user from closing it unless you logout of the program..
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in disable alt+tab HELP!!

    Set your form's KeyPreview property to True and test for the key combinations you want to prevent in its KeyDown event, then set e.SuppressKeyPress = True
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Ascii to hex using VB

    Dear sir, I am getting some port input in ASCII form, and wanted to convert it in HEX form, I have used following code '\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////////////// For A = 1 To …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Ascii to hex using VB

    You need two textboxes and a button. Add a module to your project and copy: Option Explicit Public Function HexIt(sText As String) As String Dim A As Long For A …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Printing a form in A4 size paper

    Well if you want the form to fit into A4 you need to find the size of the form on screen and print to preview. Trial and error. These are …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching "Stopped Working" during routine

    Group, You've helped me write a routine that merges and formats a text file when multiple files exist. The code is as follows: If fileCount = 3 Then RestranName = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in "Stopped Working" during routine

    Maybe also replace line 29: If Len(Trim(txt.Text)) Then with If Len(Trim(txt.Text)) > 0 Then
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Printing a form in A4 size paper

    One way of doing it is to capture your form into memory as a bitmap, resize the bitmap and than print it. That might make the font too small?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Printing a form in A4 size paper

    i want to print my receipt in A4 size, but the problem is when i tried to print preview the form that need to be print , it occupy the …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Printing a form in A4 size paper

    O.K so you want to print the whole form to A4 or part of it? So how big is the form -whole screen, part of the screen? How much space …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Help Displaying 2 Decimal Places

    Hello I need help getting this to display the 3 outputs (Euro, Franc, Rand) with 2 decimal places (1.00) I have all the calculations done so this is what I …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Help Displaying 2 Decimal Places

    You are aware that you let the compiler do your conversions from text to decimal. Put option strict on and you will get some errors.Why? because you are multiplying text …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Making a list of Folder Names from a Network Drive

    Hello Group! I've written an app that saves the updated info into a network file folder based on the property number (I'm in the hotel industry). Currently I have a …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Making a list of Folder Names from a Network Drive

    Well Don, if you want the group to improve on your app you have to show us the code.
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Printing groupBox contents

    This link might help to solve the problem. And yes, there is a bit more involved printing selection in a form. https://social.msdn.microsoft.com/Forums/vstudio/en-US/adfda3b9-7dbb-430b-96ca-28dd7f543bea/how-to-print-a-group-box-content-only-in-vb?forum=vbgeneral
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Printing groupBox contents

    What have tried sofar? You got some code?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Write TXT File

    @ Jim Sorry we just posted almost at the same moment. Cheers
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Write TXT File

    How do i get this to write to a txt file instead of message box pleaseWr Function ReceiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Write TXT File

    Put this on top of your class or form1: Imports System.IO Put this into your function instead of the msgbox: Using writer As StreamWriter = New StreamWriter("C:\append.txt", True) writer.WriteLine("First line …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Preventing Hotel double booking

    Hi, I am working on Hotel Application and I need your help on how to prevent booking a room twice. That is, if a room is booked for 3 days(24/2/2015(18.00) …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Preventing Hotel double booking

    You are probably better off moving the question to asp web development in Dani
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Time

    Hi again, i am working for a new project [payroll system] , i want to know how can i calculate late like for example my working time should be 8:00am-5:00pm …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Time

    This snippet should give you an idea of how to work the difference out: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim str As String = "" …

The End.