I just have a simple Interface definition in my project, which I haven't even used yet. But when I try to build the project I get this error:
Access is denied: 'System.IEquatable`1[Reactor.IOptions]'.
Below is the interface:
Interface IOptions
Inherits Xml.Serialization.IXmlSerializable ' Optoins Should...
Hi u all,
I need a function to Hide a form in cross -thread operation. I write this code but it close the form and not only hide it:
Dim objHideMyForm As delegateUpdateApps = AddressOf HideFree
Private Sub HideFree()
Try
Me.Hide()
Catch
End Try
End Sub
Public Sub HideMe()
Me.Invoke(objHideMyForm)
End Sub
Can any...
Hi,
I am using VB.net Code.
I have got below string
http://localhost:3282/ISS/Training/SearchTrainerData.aspx
Now I want to split above string with "/" as well I want to store value SearchTrainerData.aspx in a variable
In my case
Dim str as String
str = "SearchTrainerData.aspx"
Please give my the code which will split the above...
I'm having problem getting all the values in datalist
here is the problem:
I have datalist which is populated dynamically from table in database, the aspx page is the bulk order page so there are many items in datalist and I want the user to be able to selct multiple orders at once in mode and select a buuton in which is called ch...
I have a several C# console applications that basically parse tons of data in memory (LINQ) and output the results to a text file.
Now, forget about the writing to the text file for a minute because this is not where the problem is occurring.
When I run the application in debug mode, I will never get it to utilize more than 50% of cpu ...
I've always felt like SecureString was a little odd, but assumed most of my issues with it were due to security problems I don't understand. Today I decided to sit down and teach myself about it, but I've hit what seems like a fatal snag.
The scenario I envision is "user enters password into text box, that password is hashed and compar...
I have a C# library that internal clients configure with VB.Net
Their scripts are throwing an InvalidCastException where they really shouldn't.
So the code is something like this (massively simplified):
//C#3
public class Foo {
public static implicit operator Foo ( Bar input )
{
return new Foo( input.Property1, input...
Hi all,
In your actual programming experience, how did this knowledge of STACK and HEAP actually rescue you in real life? Any story from the trenches? Or is this concept good for filling up programming books and good for theory?
...
What is the UInt32 datatype in VB.NET?
Can someone inform me about its bit length and the differences between UInt32 and Int32? Is it an integer or floating point number?
...
Can you help me to track the motherboard number in vb.net
...
whats do Or operator in Vb do when it is applied as follows
eg
Dim returnValue As UInt32
Public Const RMA_VC_RET_NULL_PTR_PARAMETER = 1
returnValue = returnValue Or RMA_VC_RET_NULL_PTR_PARAMETER
what does the 3rd statement do?
...
After being spoiled for years with C# automatically setting the default namespace for new classes to match my folder structure, I'm wondering if there is any way to get VB.NET to do the same?
I've been aware for awhile that it doesn't do this automatically but I've never really researched alternatives. Any tools or tricks to help me ke...
I am a java devloper and I wish to convert following code to java
can any VB devloper tell me what following does?
temp8Bit = 0
temp8Bit = Convert.ToByte(tempRMACode.ToCharArray().GetValue(0))
+ Convert.ToByte((tempRMACode.ToCharArray()).GetValue(7))
rmaValidationCode += String.Format("{0:X2}", temp8Bit)
temp...
I am using the function below to open the user's default web browser.
Public Function ShowHelp(ByVal url As String) As System.Diagnostics.Process
Dim startInfo As New Diagnostics.ProcessStartInfo()
startInfo.FileName = url
startInfo.WindowStyle = ProcessWindowStyle.Maximized
Return System...
In VB what is the difference between
String.Format("{0:X1}", abyte)
and
String.Format("{0:X2}", abyte)
abyte is of type byte
...
Public Enum Fruit
Red_Apple = 1
Oranges
Ripe_Banana
End Enum
Private Sub InitCombosRegular()
Dim d1 As New Dictionary(Of Int16, String)
For Each e In [Enum].GetValues(GetType(Fruit))
d1.Add(CShort(e), Replace(e.ToString, "_", " "))
Next
ComboBox1.DataSource = d1.ToList
ComboBox1.DisplayMember = "V...
whatd does following code do in VB?
Convert.ToInt32(rmaValidationCode.ToCharArray().GetValue(0), 16) Mod 2) = 1
note :Private rmaValidationCode As String
...
How do I go about overriding the default functionality when a user clicks the X in a VB.NET form-based application?
I am currently handling the MyBase.Closing event... but since it's a DirectX app, I need to do some cleanup before allowing the form the close.
Thanks
...
I need access to very precise timing in a .NET application.
I need microsecond precision.
Is there an easy way to do this in .NET?
...
I am interested in writing an application that overlays a small heads up display (HUD) over another application, in VB.NET. What is an example of this?
I will need to enumerate all open windows to find the window that I want, and then overlay some text in a specific position on the window. If the user moves that window, my text will n...