Here's an interesting problem, and I'm looking for a pattern that will keep it all workable.
I am building a smart-client app for a school system. It will contain information about students including their report cards, sick days, and so forth. it will generate student-level reports, including their report cards, each rich with very p...
My software handles multiple operations on files, and I have now finished writing the related functions, using the System.IO classes.
I now need to add support for network drives. Using a mapping works very well (although Directory.GetFiles is a bit low, and I don't know why), but I'd now like to be able to deal directly with paths such...
i have a problem in inserting the listbox value into mysql database in vb 2008 i.e
if i select a video file i.e D:\videos\video1.mpg and add a msgbox() event before inserting into data base it shows the exact path i.e D:\videos\video1.mpg but when i check my database it shows me as D:videosvideo1.mpg how can i solve that...
here is my c...
ASP.NET MVC 2.0: Simple Model Binding not working/binding as it should
i have a simple custom object names Comment (linq to sql generated one), it has various values, but only two values are being sent from a HTML POST from to my action, and here is my action that accepts them...
Function InsertComment(ByVal Comment As Comment) As Act...
I am using Master Pages and I am truing to dynamically add hidden text boxes on the form with the NAMEs that Google Checkout expects.
<input name="item_name_1" type="hidden" value="Widget #1"/>
Using VB.NET, I execute the following code
'Name
Dim hidName As New HtmlInputHidden
hidName.ID = "item_name_" & count.ToString
hidName.Valu...
how did edit datagrid row in text box?
...
I am trying to parse a particular attribute/value pair from XML in VB.NET.
The XML is originally a string that looks like XML but it needs to be converted to an XML-like datatype or structure before I can parse it.
How can I convert this string into XML, and then parse the info that I need?
EDIT:
Dim doc As XDocument = XDocument.Pa...
how can i get data from mysql table and show it in listbox in visual basic 2008
mysql table
id
filename varchar 255
filetime timestamp
and it is windows application
...
I want to create a listview type user control which'll have a picturebox and a label inside each item. Is that possible?
...
I want to paste table name as function parameter and function need to return DataSet, this is the my code for that:
Public Function GetTTabele(ByVal tableName As String) As DataSet
Dim DAT As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM tableName", nwindConn)
Dim DAT As DataSet = New DataSet()
DAT.Missin...
how can i getting data from listbox in second form named listform while i am at first form
i have search it a lot on google but not find any usefull ans...
...
I have a sample application, in which I am trying to load a text file in WebBrowser control. I have a html file through which I am calling Javascript function to open text file. But it is showing me error like;
Cannot find 'file:///C:/temp/test%2520page.txt'. Make sure the path or Internet address is correct.
File exist at this locatio...
Here so much about this site so I'll try my luck if you could help me enlighten in my problem.
What would be the best options to handle images in .Net 3.5 framework and SQL Server for a WINAPP that is incorporated with WCF? I need use this images for transactions inside the system.
...
Using SQL Server 2005, vb.net
Table1
Name FromDate ToDate
Raja 12/02/2010 14/02/2010
Ravi 14/02/2010 15/02/2010
Ramu 18/02/2010 21/02/2010
...,
Insert into Table1 values('" & textbox1.text & "', '" & textbox2.text & "'. '" & textbox3.text & "'", con)
When i try to insert a value into table1 it will compare the table values if it i...
I'm trying to obfuscate some VB.NET 2003 app.
The resulting assemblyes are obfuscated and "run" with some errors.
I cleaned all potential reflection problems, but I'm not being able to read the selected value of a combobox.
I load the Combobox using their Datasource properties, using a collection of "VTPair" (a class created by me wit...
How do I convert an arraylist into a string of comma delimated values in vb.net
I have an arraylist with ID values
arr(0)=1
arr(1)=2
arr(2)=3
I want to convert it into a string
Dim str as string=""
str="1,2,3"
...
I have a listbox that displays Shipment Items (custom class) that are formatted using a datatemplate (see below). There is a border element in the template (I am calling it a Gem) that displays which item is active (not selected) which will be the item to which products will be added.
template.png
There is a boolean property in the sh...
This work nicely
Public Const test As ULong = 1 << 30
This doesn't work nicely
Public Const test As ULong = 1 << 31
It create this error:
Constant expression not representable in type 'ULong'
Anyone know how to make it work?
This does work:
Public Const test As Long = 1 << 31
But I have to use ULong
...
Switching Byref to Byval on method calls
I have many warnings raised due to:
"Implicit conversion from xxxx to yyyy in copying the value of 'ByRef' parameter zzzz back to the matching argument."
My feeling is that it would be safe to change the function parameters from byref to byval as nothing special is being done with the reference...
how can i select full and first row of datagridview in vb.net on form_Load
...