Hi,
i have problem LINQ query.In above,i got error system.object cant be converted to Sytem.String. What can be the problem?
if i use string() instead of ArrayList, it doesn't raise error. But in String(), i should add items manually
Public Shared Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer, ByVal con...
Greetings,
How I can retrieve data from Access database and preview them in crystal report in vb.net?.
To be more clear:
I have Access tables
I want to retrieve data from them through vb.net
Then I want to preview this data in crystal report created on desktop through vb.net.
Please help me...
Thanks all.
...
I have grouped some checkbox in GroupBox1, 2, 3 respectively. Now I want to know the tag value ( I am using a TAG property to assign a some value to radio button ) of check box which is checked in either of the groupboxes.
Is there any solution besides using if then statements?
...
Are there any Timeout.bas equivalents for Visual Basic using Visual Studio 2010
I have this file called timeout.bas that I could add to projects in earlier versions of visual basic that basically let me use the code:
Timeout .5
I'm trying to get the same kind of file for Visual Studio 2010
So I can write code such as:
Label1.text =...
I don't know much about the CIL, except that there is metadata in assemblies that record the type information.
Would it be possible to create some reflecting tool that is able to read a C# or VB.NET assembly and change its metadata so that all class members become public?
Would it be straightforward (e.g. change one or two bytes for ea...
Hello,
I've written an application that does 2 things:
It uses WebClient to get data from an outside server.
It hosts a second application that has 2 instances. Each instance connects to the server software on the same port.
Here is the issue. When I run the server app in the VS IDE, it connects to the outside server very quickly, a...
Question:
I need to make some system calls in my C# applications.
Unfortunately, this behaves differently on Linux than on UNIX.
Now I used to switch the Operating system at runtime like this
If Environment.OSVersion.Platform = System.PlatformID.Unix Then
' Linux/Unix '
ElseIf Environment.OSVersion.Platform = System.PlatformID.Mac...
is there a way to detect firefox's proxy setting in vb.net
...
hello,
how can I delete items with forbidden words?
thanks
...
Hello,
I've developed a .NET application that, among other things, does the following:
Uses WebClient to retrieve data from a remote server.
Serves as a socket server to 2 'satellite' applications run on the same machine or on a LAN.
When I run the app in the VS IDE, it works great. It quickly gets the data from the remote server and...
I have ASN.1 format files. I have to convert into CSV(comma separated) format also readable one. Tell me the shortest way... Like Decoders etc.
...
I have the following table structure. I want to select distinct CustomerId and CustomerName, TotalCost.
Here's the table structure and column data type.
LogId (int)
CustomerId (string)
CustomerName (string)
Cost (int)
Logid / CustomerId / CustomerName / Cost
1 2031 John Steward 20
2 2035 Mary Joe 10
3 2034 Robert Tuck ...
Hello Everyone
I referred to an Active X component in my VB project. It has some forms. when ever any operation happens on the form, it(DLL) raises an event. How to handle that event in VB ?
I have declared like this:
Public withevents FormEventCapture as vFormAgent.__vFormAgentLib_Event
vFormAgent is the reference to DLL.
Then the...
I want to implement this function:
Public Function GetFunc(Of TSource, TResult) _
selector As Expression(Of Func(Of TSource, TResult)) _
As Func(Of TSource, TResult)
'Implement here
End Function
UPDATE
I have the following issue, it's a part of a function:
Dim obj As Object = value
For Each exp In expressions
If ob...
Dear all,
Is there any function in Vb.net (or C#) that encodes a string in UCS2?
Thanks
...
Hello Everyone, I'm trying to create a typical Housie/Bingo Game ticket in Asp.net 2.0 (VB). But, not being succeeded. Ticket contains 3 row with 9 columns. Total 27 blocks, and it must be only 15 should be fill outta those 27. and each column contains value like 1st column should be between 1-10 and 2nd must have random values between 1...
How can you add a system DSN with its security credentials programmatically at runtime from VB.NET?
Keeping key in ODBC.INI is done, but when creating ODBC, it asks for Authentication Type (SQL or Network Login).
How can we set that option at runtime?
...
I am developing a small desktop application in VB.NET. It has to be formal like a business application. Will I need to use WPF?
As I heard it's good for building a richer UI, and I would love to work with something new. But I also have the notion that it's mostly used for graphics rich applications - videos, animations, etc. I do not k...
I have a simple XML file like so:
<?xml version="1.0" encoding="UTF-8"?>
<foo attr="blah ° blah"/>
When I load it into the .NET XmlDocument and issue a Save, i.e.:
xmlDoc = New XmlDocument()
xmlDoc.Load("c:\temp\bar.xml")
xmlDoc.Save("c:\temp\bad.xml")
the new XML file contains the resolved amp 176 (a degree sign). This then b...
I have a datagridview (unbound). Fields are Name, Family Name and Phone No and a checkbox colum.
There are ten rows in that DataGridView.
There is an OK button
I need to get message of showing which rows user has checked. The message should appear when user clicks OK button. There could be several message, checking each row one by ...