I am developing an application in which I would like to let the users design some forms and decide the fields that are in the form.
An example is better than a poor explanation, so let me put the example of Microsoft CRM in which you as end user can define a form, the fields in that form, or customize existing forms by adding or removin...
We are developing a VB.Net Thick Client.
Our Business Objects get filled from Services which make calls through iBatis to the DB. These BOs obviously hold information about the object in variables. I am curious on how far to take unit testing? Do you go as far as to do create a new object, fill all of the properties and then verify that...
What is the best way to provide strongly typed access to the session object? I am planning on turning on Option Strict, which is causing the compiler to complain about my lazy programming technique of directly accessing the session object:
Dim blah As Integer = Session("Blah")
My initial thought is to create a class that wraps the se...
My application uses an MDI form, and there are instances where the end user will need multiple child windows open at a time. I need an easy way for the user to switch between windows, which made me think of using tabs kinda like Firefox, or like the tabs in the Visual Studio IDE up at the top where you can switch between open forms and ...
I have an array of IP addresses, and I want to send the same data to all of them. I could just send the loop code that sends data but I think there's a better way of doing this.
I've heard of multicast, what exactly is it? I think it's what I need but how do i use it.
...
Hi everyone!
This is for vb.net I've been working to develop a system which involves computation.
I would just like to ask for any ideas or source code or a link perhaps that
could help me resolve this issue.
What I've been trying to develop in my program is, I have a textbox where user will
enter a numeric value,there is a button ...
I am newbie at using DataSet. I am writing a program with VB.NET, there I have to select data from one table. Then I have to update about 4 tables and insert to 2 Tables. Which approach will be ok for me? I'm thinking to use DataSet. If anyone can point out that problem , please show me with Sample code to update DataSet. Thanks you all ...
appreciate if anyone knows how to serialize a listview using vb.net
...
When a compile fails in VB.NET in Visual Studio 2008, an Error List pops up at the bottom of the screen. To jump to an error, I double click on an error in the error list.
Is there a shortcut to automatically jump to the next error in the list? It gets a little bit tedious at times having to reach down and double click a list that I lik...
So I have a TreeView and it has about 7 parent nodes that have 3-5 children each. All of these children nodes when click navigate to a URL. What I would like to do is have one parent node auto-expand based on the URL and the other parent nodes to collapse.
If that wasn't clear, here is an example:
Root
|
|--Admin
| |
| |--Add.as...
Work = New ExampleWork()
Here the Work is a withevents variable and I've used the handles clause for handling various events fired by the ExampleWork object. However the event handler will not get assigned till the constructor of the ExampleWork returns. Now how can I handle any events fired from the constructor? I can move the constru...
Why my set of codes didn't update in DataSet? Then it goes to Error. Please anyone check this code and point me out where I am missing. Thanks in advance!
Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
Dim conxMain As New SqlConnection("Data Source=SERVER;Initial Cata...
I am trying to update a DetailsView but I am getting the error "Parameters must be named". I assume that means there is a problem with the markup for the DetailsView. Here is the relevant code:
<asp:DetailsView ID="DetailsView1"
runat="server"
AutoGenerateRows="False"
DataKeyNames="studentID"
Dat...
Lately I have been programming an application in Visual Basic 2008, and on one of my Windows Application forms I have several text box forms, and with my code the way it is, none of them can be enabled, and they must all be set to Read Only.
Now if I put a big block of text in one of the Text Box's that extends past the parameters of th...
What I am trying to do is create an application that replaces explorer. Now the issue is that I am using SetWindowsPos with HWND_BOTTOM to set it at the bottom of the z-order, however once the application is clicked - it comes to the top. I tried using SWP_NOACTIVATE but it does not work and I dont want to make it so when the user clicks...
I have the feeling, in every RSS.xml file, both the pubDate and the lastBuildDate match.
I am sure that this one, is not always true...
So firstly, what is the difference between those two above?
Secondly, the RSS readers, sort the content by Date, based on the pubDate or the lastBuildDate?
...
hi all, i used mygeneration to generate my code,it is very helpful
but i found that the template editor is awful, and i dont have any substitution.
do u have any ideas? or better generator?(no CodeSmith, it is commercial)
thanks
:)
...
Right - to start with, I'm entering unfamiliar areas with this - so please be kind!
I have a script that looks a little something like this:
Private Function checkString(ByVal strIn As String) As String
Dim astrWords As String() = New String() {"bak", "log", "dfd"}
Dim strOut As String = ""
Dim strWord As String
For Eac...
On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn't work. What am i doing wrong?
protected void bttnView_Click(object sender, EventArgs e)
{
ImageButton bttnView = (ImageButton)sender;
String param1 = bttnView.CommandArgument.Split(',')[0];
String param2 = bttnVi...
I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application.
ex. "&Goto Here" is not underlining the G until I press the ALT key.
Is there a way to have this underline the text that I put an ampersand in front of when the form/applicat...