I'm trying to make a calendar in vb.net and I have come across this problem. I want to append some text into an existing datatable row. When I watch my debugger it says:"In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user.".
Dim aantalRijen As Integer = 1
...
I'm working on a vb.net application that executes an Oracle stored procedure. The stored procedure displays a value using dbms_output.put_line. How do I retrieve that value from the oracle database into my vb.net code?
...
I currently making a "Snake" game in VB2010. I am using picture boxes to create the snake. The snake moves fine and it picks up the apples fine.
But when I turn the snake Left or Up it only displays the first 5 segments of the snake. When the snake travels Right or Down it displays the entire snake. I am completely stumped on what is h...
I'm trying to insert a new line in a cell of my datatable. When I hover the cell it shows it like it should. Everything has a new line.
Otherwise in the gridview I see the string in 1 line.
Dim info As String = dttopdrachten.Rows(j).Item(0).ToString & vbCrLf & dttopdrachten.Rows(j).Item(2).ToString & vbCrLf & dttopdrachten.Rows(j).Item...
I have a class definition that I've seen other define properties that return collections of objects.
Public Property GetAllAdults() as Adults
...
End Property
I made the argument that this should be a method in the class, because it doesn't define an attribute of the class, and could not be extended with parameters. Is/Are there reaso...
Hey guys, so I am creating a List(Of String), always of size 9.
This list contains True/False values. I need to go through this list and find the 3 values that are True (will never be more than 3, but could be less) and then set 3 string values in my code to the 3 index's of those values + 1.
Here is my current code:
Private Sub SetDe...
I have some code that access an API out on the web. One of the API's parameters allows me to let them know that I am testing.
I would like to only set this parameter in my code when I am testing. Currently, I just comment the code out when I do a release build.
Is there an automatic way of doing this based on the build configuration?
...
I was told that my program was not issuing a MAIL/EXPN/VRFY/ETRN when sending an email by the web hosting company we are connecting to.
Anyone know what this means and how I do it?
I am sending an email with SmtpClient and I have no problems with other clients.
Any suggestions?
Thanks!
...
Function getItems()
''# make a reference to a directory
Dim di As New IO.DirectoryInfo("https://ipossum.svn.sourceforge.net/svnroot/ipossum/")
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
''#list the names of all files in the specified directory
For Each dra In diar...
I'm getting a ton of errors like this when attempting to build an empty VB.NET project:
'GenerateCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'
Is this some problem with my .NET installation?
Thanks
...
Hey everyone,
I'm converting a VB.net library to C# and having trouble finding the C# equivalent to a VB.Net Public Module.
In the same VB class is a With block. Any idea what the equivalent might be for that as well.
TIA
Steve Campos
...
Hello,
I have two columns, for example: first name and last name.
How can I add information only to firstname?
...
I've using vb.net 2003 and some of the times this error arises. Can anyone know on how this error arises and how to fix it?
Error: The requested clipboard operation failed
...
When I write a log into windows event log, I get the event below, what's the root cause of this message, and how can I fix it? Many Thanks
The description for Event ID 51001
from source RRWS cannot be found.
Either the component that raises this
event is not installed on your local
computer or the installation is
corrupted....
Hallo,
I have a problem with value transfer from a list to another in VB2008. I have 2 lists of string with same number of member that reference to their object-collections separately. I want to overwrite memory slots of list1 with the values of list2 without creating new memory slots. How can I do these?
Thx.
Lert
...
Hi,
I need to be able to test if the current view is print preview in Excel 2003.
Is there something in the excel object model to simply access this property? (Like the application.printpreview in the Word object model...).
Any advice would be more than welcome,
Thanks
Julien
PS: Long story short, I'm developing a vsto addin with k...
hi,
I recently came across a problem for image file storage in network.
I have developed a desktop application. It runs in network. It has central database system. Users log in from their own computer in the network and do their job.
Till now the database actions are going fine no problem. Users shares data from same database server.
...
Greetings,
How can I prevent the user to enter characters but only numbers and '.' in a textbox in vb.net 2005?
thx...
...
Hi all,
I have a log table where i need to insert the query which causes errors in the code.
I have a common function "WritetoLog".
Catch ex As Exception
writetolog(ex)
End Try
My Question is from the ex how do i take the query which causes error.
eg. If the insert command is giving exception i should get like this
SQL Que...
I have an com dll which i an reffering from .Net, I have registsred that dll using regsvr32 and referred to my project.
Unfortunatley I am not able to view any methods and properties in a particular Class of that dll,
The class is defined as public but When i try to check methods and properties they are not visible.
But the same dll ...