Latest Posts

Thanks bro for your reply.....but can you write some code for me please that will be great help

Try using VS's deployment tools next time as creating a folder and dropping exe's in there can be trouble as in permissions, ownership etc.

I have checked all the prior forum questions on this topic, but none of the options seem to be working for me.

I am creating an output file that goes into a specific folder for getting MP3 file information.

When I run inside of Visual Studio Community 15, it works great ... no errors. When I take the EXE and create a new folder for the actual application and run by itself is when I get the error. I have tried turning on the UAC to Admin rights, with no luck.

Here is my code

Private Sub cmdCreateFile_Click(sender As Object, e As EventArgs) Handles cmdCreateFile.Click
        Dim InFolder As String = txtFolderToBrowse.Text
        Dim sInFile As String
        Dim sTitle As String
        Dim sArtist As String
        Dim MyData As MediaID3Structure
        Dim sOutput As String
        Dim sCurrentPath As String
        Dim filePath As String
        Dim fileName As String
        Dim swFile As StreamWriter

            If txtFolderToBrowse.Text = "" Then
                MsgBox("You haven't selected a folder that has MP3 files")
                Exit Sub
            End If

            If VisualBasic.Left(InFolder, 1) <> "\" Then
                InFolder = InFolder & "\"
            End If

            sCurrentPath = Application.StartupPath & "\SongFilesForUpload\"

            fileName = "MusicFiles_" & Format(Now(), "yyyyMMdd_hhmmss") & ".csv"

            filePath = Path.Combine(sCurrentPath, fileName)

            Dim OutFile As String = filePath

            swFile = New System.IO.StreamWriter(OutFile)
            sOutput = "Titile,Artist"

            For Each i As String In Directory.GetFiles(InFolder, "*.mp3")
                    sInFile = Path.GetFileName(i)    'Get name of file so that you can get the information

                    MyData = GetMediaData(InFolder & sInFile)

                    sTitle = Replace(Replace(Replace(MyData.Title, ",", ",,"), "&", "&&"), "+", "++")
                    sArtist ...

I'm going with these can be nearly the same and YOU matter more than the degree title. Your skills and drive matter more here. From the web you read "You can work in the field of your choice with a Bachelor of Computer Science or Bachelor of Applied Computer Science. From healthcare to social media, ocean data to online commerce".

What matters is what you want to do during your coursework. You may find a passion in the ocean or what's in big data. Both degrees are just the paper that gets you in the door. It does not dictate what you will or can do.

I am currently studying for an "Associates in Computer Science" with the intention of tranfering to a four year collage to get either a "Bachelors of Computer Science" or a "Bachelor of Applied Computer Science" hopefully this spring.

Before I can make a decision on which Bachelors I would like, I have to know what type of job the Computer Science field I would want however I currently don't know the exact diffrence between some of these jobs in programing. Can anyone (perhaps who is more expreince in this job field) first explain the diffrence between some of the jobs listed below and what they do (or if there are other jobs, I would like some insight of those jobs also).

1) Software devloper/ Software application developer

2) Software Engineer

3) Computer Programmer

4) Network system administrator

Lastly, would an empolyer would prefer a "Bachelors of Computer Science degree" or a "Bachelor of Applied Computer Science degree" in evey job scenario.

xrjf 148

Just split the fields inside each row:

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            For Each row As String In File.ReadAllLines("Table.csv")
                ' split the fields from the row '
                Dim vFields() As String = Split(row, ";")
                If vFields(0).Contains(TextBox1.Text) Then ' vFields(0) = specificaion '
                    lblValue1.Text = vFields(1) ' vFields(1) is value 1 '
                    lblValue2.Text = vFields(2) ' vFields(2) is value 2
                End If
        Catch ex As Exception

        End Try
    End Sub


As I read the first section of code, Line 11 reads as if your record set "might" give you a set with one item. Use your SQLfoo (your SQL command line skills) to test this out. Again, all looks as the code is fine and doing what you asked in Line 11.


The JRE has a warm up time, yes, its like adiesel engine, powerful but takes time to load every time after rebooting your system.
In addition, an Applet must be downloded (all the .class files of the project) so add this to the loeading time and you will find that Applets are really slow and that's Applets are being abondonned by Oracle (marke as deprecated).


All you have done is the data part, no more, so you have data that will be put in a List (ArrayList) so it's like you have multiple students, courses and marks. Then every point on your list must be a method (a function).

It's a start, we'll wait for your progression.

There's no way to do this only with HTML & CSS. You'll need to throw some JS into the mix. There are loads of plugins (jQuery or pure JS) that you can find with a Google search.
Here's for example one made with pure JS. It's a modern one which is therefore also responsive and it has touch support.

rproffitt commented: "Can touch this!" That's an upgrade. +15

I'd rather have questions that can't be answered than answers that can't be questioned.

  • Richard Feynman

i didnt have3 a question

Hi All Brothers

I am working on ERP system and i need one help

I wrote code for Datagrid auto complete.

this code is working perfect but it only showing one Column record from database

what i need is

i want first column is to autocomplete as i did and it should fill related columns automatically linked with first column.

please guide me with Codes

many Thanks

My Code

    Dim strConn As String
    Dim da As SqlDataAdapter
    Dim conn As SqlConnection
    Dim ds As New DataSet
    strConn = ("Server= DESKTOP-QN6F623; Database = stock_in;Integrated Security = false;User ID=dis;Password=0m3rP@ss")
    conn = New SqlConnection(strConn)
    da = New SqlDataAdapter("Select * from [items]", conn)
    da.Fill(ds, "items")
    ItemsDataGridView.DataSource = ds.Tables("items")

    Dim cmd As New SqlCommand("Select item_number From items", conn)
    Dim dr As SqlDataReader

    dr = cmd.ExecuteReader
    Do While dr.Read

Private Sub ItemsDataGridView_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles ItemsDataGridView.EditingControlShowing

    If ItemsDataGridView.CurrentCell.ColumnIndex = 1 AndAlso TypeOf e.Control Is TextBox Then
        With DirectCast(e.Control, TextBox)
            .AutoCompleteMode = AutoCompleteMode.SuggestAppend
            .AutoCompleteSource = AutoCompleteSource.CustomSource
            .AutoCompleteCustomSource = scAutoComplete
        End With


        With DirectCast(e.Control, TextBox)
            .AutoCompleteMode = Nothing

            .AutoCompleteSource = AutoCompleteSource.CustomSource
            .AutoCompleteCustomSource = Nothing

        End With

    End If

End Sub

You supplied your example. It looks to me to be exactly this:

Seems you have a match.

How do you make the whole image with black transperent and the selected part has no opacity?

My take is you should copy prior builds like you see at
Or if you want to tweak them, just push it around like change to all SSD, more RAM, etc.

I need a recomendation for a good motherboard and accompianing CPU. Here's what I'm looking for.

Compatible with Linux
plenty of USB ports
plenty of sata ports, may be a dual boot Linux/Windows/SteamOS

Although I don't currently do a lot of high end gaming, or gaming at all, but I would like the option to do so if I get the urge. Thanks.

I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask.

Can this be done with CSS? Or should I consider jQuery?

This is what I want to accomplish ...


I just want to know how to create this overlay image feature.

On my system (laptop - wireless) I can get that info under VB.NET 2017 by

Imports System.Net.NetworkInformation

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        For Each nwi As NetworkInterface In NetworkInterface.GetAllNetworkInterfaces
            If nwi.OperationalStatus = OperationalStatus.Up Then
                If nwi.NetworkInterfaceType = NetworkInterfaceType.Wireless80211 Then
                    Debug.WriteLine(nwi.Name & " is " & nwi.OperationalStatus.ToString)
                    For Each ip As UnicastIPAddressInformation In nwi.GetIPProperties.UnicastAddresses
                        Debug.WriteLine("Address is: " & ip.Address.ToString)
                End If
            End If

    End Sub

End Class
JamesCherrill commented: Does that give the LAN address or the WAN address? +15

GIF uses lossless compression that does not degrade the quality of the image. As such there no a priori reason why steganography woudn't work.

nourimane commented: Changing some pixels only can made a small error in compressed format but if the image is large these errors remain invisible for the human eye. +0

I used to use the Regular Expression plugin until I rolled my own stand-alone tester.

The algorithm used here works best wirth PNG or BMP image files. Image file formats that use compression that leads to a loss in picture quality are not suitable.

Which address do you want?
Could be the public address supplied by your ISP
Could be the local address supplied by your router
Could be as above if you want to refer to the computer you are on

rproffitt commented: And I forget to ask which Visual Basic. The actual code to find those other 2 may look very different in VB.Net or VB6. +15

Isn't it I used that when I needed to chat with the SQL Server on the computer my app was running.

Keep in mind I and the gang don't add anything that didn't come with VS. So the answer is none.

But external to VS we do use WinMerge from time to time.

@Amjed_1, such things are out there. Change that to include "source code" to find them.

is there any way to make this work with GIF instead of png ?

What useful plug-ins / debuggers for Visual Studio do you use (for Windows)?

P.S. I know Visual Studio has a good debugger)

Already fixed the problem.