Have a look at the msdn link below, it will explain in detail what the := symbol is used for.
Passing Arguments by Position and by Name
Basically, it is used to set the value of the arguments in your call to a Sub/Function by their parameter Names instead of setting them in their specified order, separated by commas. You will see the := used with subs and functions that have several Optional parameters.
...
User Profile
Collapse
-
Kind of handy if you really want to use a ListView but, it is much easier to just use a DataGridView which can be made to look just like a ListView and can easily have a checkbox column on any column(s) you want. 8)Leave a comment:
-
Yes I saw your post on the Msdn Vb.net forum (link below), I am a member there too.
Sorting filenames using the Windows Explorer algorithm
The class at that link I gave you sorts the names in the same order as the windows Explorer does on my testing. "F22" comes before "F22 2". It is about the same length as the code in that msdn thread but, it does not use any native win32 api functions.
...Leave a comment:
-
An "AutoRun" is just a simple text file that is saved in the root of the DVD or CD itself which contains the exe file you want to run when the DVD or CD is inserted. A VB.Net program would not be needed to run the exe on the DVD or CD.
You can find info on creating an AutoRun.inf file at the links below.
Msdn - Creating an AutoRun-Enabled Application
Wikipedia - Autorun.inf
However, if you actually...Leave a comment:
-
You will need to create your own Comparer class to compare alphanumeric strings. With one quick search for "Sort alphanumeric strings vb.net", the link below was the first search result at the top of the page.
I tested the AlphanumCompara tor class that they show there and it worked fine for sorting the example strings (directory names) you show.
dotnetperls - alphanumeric sortingLeave a comment:
-
This would depend on how the array is declared and used. For example, if the array is declared as an empty array then you can just clear its contents by assigning an empty array to it as shown in this first example below...
If you run this example and press Button3 first, you will see that the array is empty, contains 0 elements. Then press Button1 and then Button3 again, you now see it contains 10 elements. Last, press Button2 and then...Leave a comment:
-
Your problem with the day being off could be due to what is said in the 1st paragraph under the Remarks section of the DateTime.Day property in the msdn documents. See the documents at the link below.
DateTime.Day Property
However, your whole function could be reduced quite a lot if you just used the ToString method with the custom date and time format strings. See the msdn link below.
Custom Date and Time Format...Leave a comment:
-
You should pass the GroupBox control to the sub or function in the Module through a parameter. For example, in the Module you would add a parameter to the sub/function like this...
Code:Module Module1 Public Sub DoSomething(gbx As GroupBox) gbx.BackColor = Color.Red 'access the GroupBox through the (gbx) parameter End Sub End Module
Leave a comment:
-
This happens when you create a new bitmap from an image file because, it does not released the reference to the file until you call the Dispose method of the new Bitmap.
You can get around it in several ways. One is to create a temporary Bitmap with a Using/End Using statement to open the image file and create the new Bitmap from that Bitmap. The temporary Bitmap will be disposed when the End Using statement is executed which will release...Leave a comment:
-
Try setting the AutoScrollPosit ion to 0,0 in the Form.Shown event.
Code:Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown Me.AutoScrollPosition = New Point(0, 0) End Sub
Leave a comment:
-
How are you saving the image bytes to the database, can you show that code?Leave a comment:
-
Have you even tried to google for any information on this? There are loads of information on the internet about doing this.
Here is one API i found in my first search.
http://32feet.codeplex.com/
And here is the Google Search result.
https://www.google.com/search?q=send...utf-8&oe=utf-8...Leave a comment:
-
I really have no use for Stenography, i don`t really have anything to hide from anyone. 8)
However, a person i know from the Msdn VB.Net forum has posted an example of using an LSB (least significant bit) Stenography algorithm at the link below. I don`t approve of some of the methods he used in the example code but, it does work. Maybe it will give you some ideas.
https://social.msdn.mic rosoft.com/Forums/vstudio/en-US/...Leave a comment:
-
Well, it depends on what exactly you want to change in the bytes of the image and how large the image is that will determine the best way to go about this.
If you just want to adjust the ARGB values to change the colors or transparency of a large png image like 256x256 or larger, then i suggest using the Bitmap.LockBits method at the link below. LockBits is very quick at processing large images. There is an example there to show a basic...Leave a comment:
-
Why are you getting a FileInfo of the exe file from the D:\ directory but, then trying to execute the exe on the Desktop?
How did the file get on the Desktop, did you actually copy/paste the exe file onto the desktop?
Are you sure it is an ".exe" file and not a ".lnk" shortcut file that is on the Desktop?Leave a comment:
-
All that image shows is that you are getting a "File Not Found" error which we already know. You need to show your code and explain what file you want to open or we are not going to be able to help.
No, i don`t do Skype or any of that stuff. Questions asked on the forum are to be answered on the forum. The whole point is to make answers available for others to find when they are searching for the same problem.Leave a comment:
-
I have no idea without seeing your code and knowing the location of the exe file you want to run.Leave a comment:
-
You should always post the code you are using and the exact error message you get.
Anyways, i am guessing that you are using the Process class to start a program and it is telling you it can not find the exe file. If that is correct, you need to use the full path to the exe file, not just the filename.Leave a comment:
-
You could use an axWindowsMediaP layer control to get the length of a video as a Double type value. Then use the TimeSpan class to get a String formatted as "HH:MM:SS". You could modify the example to format it to include milliseconds too if needed.
I am not sure what the "FF" stands for in your post so, i`m not sure what to tell you for that.
Also, you will want to test any video formats that you want...Leave a comment:
-
The answer to your question is, the 1st and 3rd way are basically the same thing, just written differently. They both would create a strongly typed instance of the CultureInfo class. I would strongly recommend using either of these over the 2nd way.
Dim CultFr As CultureInfo = New CultureInfo("fr-FR")
Dim Cult_fr1 As New CultureInfo("fr-FR")
The 2nd way would create a new instance of a CultureInfo...Leave a comment:
No activity results to display
Show More
Leave a comment: