• Member Avatar for Minimalist
    Minimalist

    Began Watching Separate a number input and show a corresponding output

    I’m trying to create a textbox, where the user enters a number, and the output shows a word representing each digit, each word is in an individual label created by …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Convert Int type column to String type in DataGridView - Windows Forms

    Hello, I have a scenario where I fetch all the records from a database table using ADO.Net and I want to convert one of the column values which has either …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Convert Int type column to String type in DataGridView - Windows Forms

    Dim value1 as string="Item1 1" Dim value2 as string=value1.Replace(" 1","Yes")
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    I very much recommend to read through this tutorial beause you are not following procedures of getting the recordset etc. http://visualbasic.freetutes.com/learn-vb6-advanced/lesson8/p24.html
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    Your msgbox will always display because it is not in any of the conditions but executes within the flow of the program. You need to put it where you want …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    O.K. just go back to your original question. You want to use two input boxes to get two values. Look at my original post and then look at your last …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    Sorry copied the wrong line the first trime. What I tried to point out is that you never use msg1 in your search. If StrComp(Adodc1.Recordset.Fields("Shift"), msg, vbTextCompare) = 0 Then …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching create tags for folder in windows.

    Please preview image: I want to create something like this. Red fonts is just typed using paint. (it's not software or else) I know how can I know the Size, …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in create tags for folder in windows.

    There are 2 issues: 1st) In windows 7 you havent't got the folder option to display your requested info to the statusbar as it has been removed by microsoft. 2nd) …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    If StrComp(Adodc1.Recordset.Fields("Prod_Date"), msg, vbTextCompare) = 0 Then If StrComp(Adodc1.Recordset.Fields("Prod_Date"), msg1, vbTextCompare) = 0 Then instead of msg shouldn't it be msg1
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    Well you want to prompt for two pieces of input, so use two input boxes. Dim msg1, msg2 As String line 16 msg = InputBox("ENTER PROD_DATE", "FIND") line17 msg1 = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    Why don't you just show a second one? Like: Private Sub Form_Load() Dim msg1, msg2 As String msg1 = InputBox(prmpt1) msg2 = InputBox(prmpt2) Debug.Print (msg1 & " " & msg2) …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching datagrid automatic update entered data

    [](http://www.)how does a datagrid for example when you enter a data and it automatically update/enter at the datagrid when you click the next textbox? please i need a clear explanation …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in datagrid automatic update entered data

    This question cant be understood. What do you mean a datagrid upgrades if you click on a textbox?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data entered in DatagridView does not remain when using mouse to exit

    Well if this works well done. Please mark the thread as solved. Thanks
  • Member Avatar for Minimalist
    Minimalist

    Began Watching connecting vb.net to sql server

    How can i connect vb.net to sql server
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in connecting vb.net to sql server

    just search this site with 'connect with sql' there are plenty of posts
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    if you got a solution please mark the thread as solved. Also, you wouldn't need my array because you are feeding the values from your database. Also check out dynamic …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching how to show picture from folder to image box

    my problem is i want to show the picture from folder to image box but it need to find what picture depends on text box, If Right(filStudent.Path, 1) = "\Picture\" …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in how to show picture from folder to image box

    Use & instead of + and the general code snippet is: Dim strFileName As String strFileName = File1.Path If Right$(strFileName, 1) <> "\" Then strFileName = strFileName & "\" strFileName …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Find Date and Shift

    Hello everyone, Please can someone help me with a code to find two(2) fields at thesame time. As in with a msgbox "Enter Date" then after that "Enter Shift". Because …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Find Date and Shift

    Can you show some code so we know where it has to go - buton click, key event ?
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    Well, you can't just copy my code into your program before thinking about or trying it on its own. If you copy the code I give you now into a …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data entered in DatagridView does not remain when using mouse to exit

    1) I would check that there is nothing in any of the 3 keypress events 2) I would move the calculations of the row somewher else 3) If nothing changes …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to detect the enter key and make it null

    Private Sub txtPassword_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPassword.KeyPress Dim NotAllowed As String = "~`@%^&+={[}]()!:,;'><?/|\-.#+()_$*" If e.KeyChar = ChrW(Keys.Enter) Then e.Handled = True End If If e.KeyChar …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to detect the enter key and make it null

    If you don't want anything happen on the key enter just don't use it. Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress Dim NotAllowed As String = "~`@%^&+={[}]()!:,;'><?/|\-.#+()_$*" …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    O.K I just go back to the original post as this seemed to work and change it to: ACRS.Open "SELECT * FROM Salary1", CN, adOpenStatic, adLockOptimistic dim j as integer …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data entered in DatagridView does not remain when using mouse to exit

    O.K I can't replicdate this behaviour. What you can do is insert this code and double click in different rows, different cells and see if the values in the cells …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data entered in DatagridView does not remain when using mouse to exit

    So what happen if you enter a value and move with the arrow keys?
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Data entered in DatagridView does not remain when using mouse to exit

    I have a datagridview (bound) which works fine as long as the users "accepts" each cell they type in by pressing the tab key. However, when they click in another …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Data entered in DatagridView does not remain when using mouse to exit

    Check the keypress event of the datagrid.
  • Member Avatar for Minimalist
    Minimalist

    Began Watching how to match a fingerprint template from database ?

    i now can save a fingerprint template from database using this code.. Dim fingerprintData As MemoryStream = New MemoryStream Template.Serialize(fingerprintData) fingerprintData.Position = 0 Dim br As BinaryReader = New BinaryReader(fingerprintData) …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in how to match a fingerprint template from database ?

    Well Microsoft wasn't much help on this one. Try this link: http://stackoverflow.com/questions/13578909/how-to-save-and-retrieve-a-fingerprint-template-in-phpmyadmin-database-using-vb
  • Member Avatar for Minimalist
    Minimalist

    Began Watching How to delete Excel Rows on Vb.net

    Hi guys I need help in deleting rows in Excel. What I want is if I delete a row in DataGridView it will also delete a row with the same …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to delete Excel Rows on Vb.net

    The error means that you haven't instanciated your workbook. The folowing is I think the way to do it: 'Instantiate a Workbook object. 'Load a template file. Dim workbook As …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in System Error &H80004005 (-2147467259) Unspecified Error, when save VB6 file

    Well I googled it again and went a bit further.The conclusion is that there are many reasons that error can be thrown. It would be helpful to see the original …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in How to backup a MySQL database in VB6?

    Please mark it solved. Thanks
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    Well, you need to adopt the code to what you need. Ishowed you haw to prevent double entries. Since I used only one word, the first time it is added …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Good Old Runtime 91 error

    Well you asked the question yourself "What did happen?". Something must have changed. Some one fiddling with the code?, data has changed?, the feature has not been used before? If …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in .NET Framework difference in versions

    Well, if they wouldn't put in new features why would they upgrade from vers.1 to vers. 4.5. You find everything here: http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Good Old Runtime 91 error

    Hi people, I am doing some unpaid work for a friend on an Access/VB application they have. Everything worked for 5 years and then suddenly one day they got the …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Good Old Runtime 91 error

    You have set your object in a subso the scope only works in the sub. Do the same in the othe sub or declare the object on top of yxour …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching i upgraded my application from vs 2005 to vs 2013 and i got problems

    i've upgraded my vb.net application from visual studio 2005 to 2013 and and when i click to show a form which its windowstate is set to maximize , the form …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in i upgraded my application from vs 2005 to vs 2013 and i got problems

    There must be some in your program that overrides your setting. You can try this at the form load event: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching .NET Framework difference in versions

    When creating a new project, I have a list of Frameworks to chose from. I need a Framework which will allow my program from Bin -> Debug -> Program.exe to …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in .NET Framework difference in versions

    The higher the version number the more features are built into the framework. The problem is that not every one is upgrading to the highest version of the framework. If …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    o.K. thought it would work but its vb.net. The following code works, I just tried it. You need to adapt so. Private Sub Form_Load() Dim str As String For i …
  • Member Avatar for Minimalist
    Minimalist

    Began Watching Populating combobox

    Friends...A small problem I have a combobox in which I want to add list from a field from a ACCESS databas Table.It works well My code is here ACRS.Open "SELECT …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in Populating combobox

    Just prevent adding the string to the combobox by checking if it is already in the string collection of the combobox like (don't know if it works): If ComboBox1.Items.IndexOf(str) = …
  • Member Avatar for Minimalist
    Minimalist

    Replied To a Post in i need help with my task

    Public Class Form1 Dim counter As Integer = 1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load test() 'this is calling the sub named test End Sub Private …

The End.