I've got 2 DataTemplates defined for a Listbox Control. 1 Template is for the UnSelected State and the other one is for the Selected State(showing more detail than the UnSelected State).
I followed the example here:
http://blogs.msdn.com/b/wpfsdk/archive/2007/04/16/how-do-i-programmatically-interact-with-template-generated-elements-pa...
Hi my program launches a 3rd party program with a few switches to update itself.
Once these updates are complete I need to manually click save from the applications menu. This can be done via the keyboard (Alt Gr + M then Alt Gr + S)
The application will take several seconds to load at which point the application will open maximised an...
Hi,
I have a vb app working now but many users have complained to me that it requires .net library installed. Is there a way to bundle it with my program without having a seperate exe?
...
I am working with windows application.
I have a datagrid in vb.net. Its first column is a checkbox. I want to know which checkboxes are checked and which are not.
My code is :
Dim dr As DataGridViewRow
For i = 0 To gdStudInfo.RowCount - 1
dr = gdStudInfo.Rows(i)
att = dr.Cells(0).Va...
. I get this error: "Cannot convert lambda expression to type 'string' because it is not a delegate type" - keyword select become underlined in blue Can you please advice.
Employee emp = new Employee();
comHandledBySQt.DataSource = from x in emp.GetDataFromTable("1")
select new { x.Id, Name = x.FirstName + " " ...
I was using the following to provide more information on a common exception that can occour in a piece of my code, the only problem is this errors if an exception is generated that has no InnerException message.
Catch ex As Exception
'MessageBox.Show(ex.Message) 'If there is no InnerException.
MessageBox.Show(ex.InnerException...
Hey guys and gals,
Any one knows of an easy to use/well documented Facebook library for VB.NET?
I have searched the Interwebs for it for a long time and even the official one has a very poor documentation for beginners. It looks like you have to be a Facebook developer to work with them.
Any help is much appreciated.
Thanks!
...
I feel bad asking this question but I am currently not able to program and test this as I'm writing this on my cell-phone and not on my dev machine :P (Easy rep points if someone answers! XD )
Anyway, I've had experience with using hashvalues from String objects. E.g., if I have StringA and StringB both equal to "foo", they'll both com...
hi guys,
I found a nice controls used by a software so wanted to use or build similar nice looking controls for my applications in vb.net
First Sample control is nice rounded cornor group box [ i guess so ]:
http://sachicomputer.com/kabin/samples/control1.jpg
and second control is nice looking tab control:
http://sachicomputer.com/ka...
DataGridView inserting an extra row every time I populate with data. The row appears even if I only fill the column headers. This is causing problems when I try to get values of each cell.
Is there a way to avoid this perhaps in properties?
Thanks in advance for any suggestions.
...
Imports System
Imports System.Windows.Forms
Class MyButtonClass
Inherits Form
Private mrButton As Button
Public Sub MyButtonClass()
mrButton = New Button()
mrButton.Text = "Click me "
mrButton.Click += New System.EventHandler(MyButtonClickEventHandler)
Me.Controls.Add(mrButton)
End Sub
...
I need to retrieve only selected portion of a webpage (user open a webpage in web-browser control, then he/she would select some portion of a webpage, i just need only those selected portion/text) in vb.net in visual basic language. How to do ?
i am using microsoft visual studio 2008
Language: Visual Basic
FrameWork: vb.net 3.5
...
So I have a website with multiple asp controls. When I press enter inside by login form, the search function runs because it's the first thing found on the page.
How would I handle the enter button so that when the active textbox is for the login form, the loginbutton code actually runs rather than the searchbutton.
One last problem is...
A big company says At least knowledge not to ask "Why don't you use C#?" in its job requirements. And as a C# coder I wonder why do they prefer vb.net instead of C#.
Also a Microsoft MVP uses vb.net in his Silverlight applications. Is there something Microsoft won't tell us?
...
My team is using the Mere Mortals .NET framework from Oak Leaf. Being used to working with primarily open source software, I found it excruciatingly painful to find ANY community support for MM.NET. When I asked if there was any, the only place I was given to look for support was Universal Thread, which is a site which requires a membe...
in vb.net how can i use replace function when the replace from part has double quotes in its value ?
...
How i create a exception in location to allow access to page GanttViewer.aspx with other rol and others pages only with Admin rol
<location path="Admin">
<system.web>
<authorization>
<allow roles="Admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
...
I have few MS word documents which contains text in text boxes. I want to remove those text boxes but keep the data as it. How can i do it ?
...
Hai Friends
I having the project in Vb i want to migrate that project in the vb.net.any tool available pls inform me.i have tried a lot.i have not installed the visual basic.with the help of remote server i am running that project.
...
I'm changing old, vulnerable SqlCommands with SqlParameters but get a SqlException:
System.Data.SqlClient.SqlException {"Conversion failed when converting datetime from character string."}
on sqlCommand.ExecuteScalar:
Dim sqlString As String = _
"SELECT TOP 1 " & _
"fiSL " & _
"FROM " & _
"tabData AS D " & ...