First, I apologize if this is a repeat of a previous question; I did some searching on SO and couldn't quite find what I was looking for in the search results.
I'm a Coldfusion Web Developer and I'm finding that in my local area, work for CF Devs has become extremely scarce. There were a handful of companies that were Coldfusion houses...
I have a bizarre vb.net problem.
I'm working with a 3rd party library with a namespace called Telerik.Webcontrols. The library is in a web site project that I am in the process of converting to a web application project.
Telerik.WebControls contains a class called RadAjaxControl.
In the original web site project, I have code that loo...
i have this requirement and since im new to vb.net dont really have much of idea how to do this. I have 20 checkboxes with dropdowns and textbox with it. the example is -
table
tr
td
checkbox -- textbox -- dropdownlist
/td
/tr
tr
td
chk1 txtbox1 ddl1
/td
/tr
tr
td
chk2 txtbox2 ddl2
/td
/tr
and so on.
the above str...
I have been following along in the book Pro ASP.NET MVC Framework by Steven Sanderson. I am trying to rewrite an application to use Unity IoC instead of Castle Windsor IoC. I want the Unity implementation to register all of the controllers like the Windsor one does.
Here is the WindorControllerFactory code:
public class WindsorContro...
How can I change the color of the Tab Page Header, the text that appears on the part of the Tab that is always visible?
...
Is it possible to change desktop background using VB.NET?
I'd like to change the icons too?
I plan on making a VB.NET program that can automatically make Windows XP look like Mac in just one click.
...
I developed a project in VB.NET
In this project I want to use data from MySQL that is resides in my WEB Server.
I can communicate with the MySQL server of my localhost but can not communicate with the WEB Server.
In my CPanel I added Host from the Remote Database Access
But I can't communicate with WEB MySQL Server.
Please help me.
...
Why this doesn't have any effect?
Dim targetRange As Microsoft.Office.Interop.Excel.Range
Dim sourceRange As Microsoft.Office.Interop.Excel.Range = exlTargetApp.Worksheets(" Recognition 1, 2, 3").Range("M69:N69")
sourceRange.Select()
sourceRange.Copy()
targetRange = exlTar...
Does anyone know the keyboard shortcut to jump from the start of a For / For Each (or If, While, etc.) block to the end of it in visual studio if you're using vb.net? I found the following which I thought would work but doesn't : http://stackoverflow.com/questions/1501921/go-to-matching-brace-in-visual-studio
Following the comment ther...
I understand how try-catch works and how try-finally works, but I find myself using those (usually) in two completely different scenarios:
try-finally (or using in C# and VB) is mostly used around some medium-sized code block that uses some resource that needs to be disposed properly.
try-catch is mostly used either
around a single s...
Following is the code that I'm using for reading data over a .NET socket. This piece of code is run by a single separate thread. It works OK the first time, on the second iteration it stops at "client.Receive(buffer)" and never recovers from it. Initially I was using recursion to read data but changed it to iteration thinking that recurs...
Is there any sense to set custom object to null(Nothing in VB.NET) in the Dispose() method?
Could this prevent memory leaks or it's useless?!
Let's consider two examples:
public class Foo : IDisposable
{
private Bar bar; // standard custom .NET object
public Foo(Bar bar) {
this.bar = bar;
}
public void Dispose(...
Using VB.Net,
In my application, am using datagridview, when i clicking the particular row, that rows value should be appear in the textbox.
So the code should be come under the DataGrid3_CellMouseDoubleClick Event.
How to dispaly a rows value in the textbox.
For Example
3 rows means - 3 rows values should display in 3 textbox.
vb6...
Is it possible to change PowerPacks.LineShape smoothingMode?
I tried to use this code(a class that inherits LineShape):
Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
' no difference when changing the SmoothingMode '
g.SmoothingMode = SmoothingMode.AntiA...
Is Possiple to create Speech recognision in vb.net .
Anybody tell to me
thanks
...
I wrote a generic EventArgs class in my VB.NET solution:
Public Class EventArgs(Of T)
Inherits EventArgs
Private _eventData As T
Public ReadOnly Property EventData() As T
Get
Return _eventData
End Get
End Property
Public Sub New(ByVal data As T)
_eventData = data
End Su...
i'm worried about doing this since my changes will be overwritten when the dbml file is auto generated again (as they often are).
i'm thinking of doing a partial class and writing out the same properties to annotate them, but worried that it will complain about duplicates, and the reason i can't even experiment brings me to the second p...
I am generating this XML using the serializer in VB.net as shown below
Dim string_writer As New StringWriter()
Dim serializer As New XmlSerializer(GetType(MyClass))
serializer.Serialize(string_writer, addr)
txttest.Text = string_writer.ToString()
though it is returning XML, I see xmlns="http://tempuri.org/ in all the elements, is ther...
I need to know how the XML class for the serialization should look like:
I need this XML
<?xml version="1.0" encoding="UTF-8"?>
<import date="2010-02-12T23:33:39">
<T_Employee>
<MI_KZ>HKBZV</MI_KZ>
<MI_Name>John</MI_Name>
<MI_Vorname>Doe</MI_Vorname>
<MI_Nummer>987654321</MI_Nummer>
<MI_DatumVon>2010-02-11T10:45:3...
Is it possible to limit the asp.net fileupload dialog to view only XML files?
(Filer, .xml only)
Note: Not to check whether the extension is .xml, but to actually only let the user view xml files in the dialog.
...