Hi, i have a script that reads an xml file then produces some document.write javascript lines and sends them to request . I'm getting a weird character (only shows in internet explorer, not firefox). I can't seem to track it down.
Here's a URL of the script being used (has weird chars in IE): http://www.voyagertravelguides.com/test....
If I have code like this (C# or VB.Net does not matter)
Dim e As IEnumerable(Of XElement) = _
From s In _dataSourceSettings.Elements _
Where s.Attribute("name").Value = toInsert.Attribute("name").Value
If e.Count > 0 Then
e.Remove()
End If
How do I get now new _dataSourceSettings w...
i know vb.net, but have had no experience at all with web programming. i need to make a web app that can run in a browser where there is a board game and pieces that you can move around. can someone help me get started? are there any examples in asp.net?
i need something like this:
http://www.hallofbrightcarvings.com/game/grid
i don't...
i would like to program a little app that will change the colors of the screen. im not talking about the darkness. i want it to mimic what it would look like if for example you put on blue lenses or red lenses. so i would like to input the color and i want the screen to look as though i put on lenses of that particular color. well i actu...
i am trying to figure out how this software works:
http://www.stereopsis.com/flux/
specifically, i would like to know how it changes the colors on your machine, and also was wondering if this would be possible to do in vb.net?
...
I have an application that uses a Microsoft DLL (Microsoft.ComponentStudio.ComponentPlatformImplementation.dll) which is used for OS deployment and accessing the catalog files. Version 6.0.0.0 is specific to the Windows Server 2008 catalog files. The newer version 6.1.0.0 is specific to Windows Server 2008 R2 catalog files. Attempting to...
I've build a vb.net windows service which does nothing but ping a wcf webservice and handles sending a maintenance request to this same webservice at night time. It does both tasks using a timer event. If the service does nothing but these two things it says at startup that it's shutting down cause of being idle. The windows service thre...
So I have a number of user control dynamically added to a page, and user interaction with these dynamically added user controls need to be handled by the control's parent.
Is this what is referred to as "event bubbling"?
How do I do that in VB?
Thanks in advance.
...
I'm trying to bind CheckedListbox's Cheched items to Combobox my code is given below
Private Sub chklColumns_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chklColumns.SelectedIndexChanged
cmbSort.DataSource = chklColumns.CheckedItems
End Sub
whenever I check an item first ...
What is the VB.NET syntax for declaring the size of an array of objects at runtime?
To get an idea of what I mean, here is the code so far:
Private PipeServerThread As Thread()
Public Sub StartPipeServer(NumberOfThreads As Integer)
' ??? equivalent of C#
' ??? PipeServerThread = new Thread[numberOfThreads];
' ??? goes he...
Just as the title asks, when should a trigger in your head go off signifying "Aha! I should use the factory pattern here!"? I find these moments will occur with many other design patterns, but never do I stop myself and think about this pattern.
...
I've set up a test database to begin unit-testing an app that I've recently been added to. It is a 3-tier design (presentation layer, BOL and DAL) and this is my first time writing unit tests.
I've decided to start at the BOL and I figure the best way is to swap out the ConnectionString (which has been passed along as a Shared String...
I am having trouble with, as I said, setting a property's property. Let's say I have a class that represents a transaction. In my class I have a property that represents another class, such as this:
Public Class PersonRecord
_myPerson = new Person()
Public Property MyPerson as Person
Get
_myPerson = Person.GetApp...
How to Create a Table from the recordset value
sqlCardEvent1 = "select * from tmp_CARDEVENT"
If rsCardEvent1.State = 1 Then rsCardEvent1.Close
rsCardEvent1.Open sqlCardEvent1, Cn, adOpenStatic, adLockOptimistic
cmdCardEvent1.CommandText = sqlCardEvent1
Set rsCardEvent1 = cmdCardEvent1.Execute
sql33 = "create table t...
Can someone suggest that out of the two mentioned (odd?) combinations, which is less odd, or in other words, is less trouble to work with + maintain.
If it helps, the system is going to have two front-ends - one web application and one desktop application. The desktop application is going to be coded using VB.NET, and the web applicatio...
I have a requirement to make an XML file - and the partner is rather sticky about the header. Apparently, the header must be exactly this:
<?xml version="1.0"?>
But whenever I create an XML file I get extraneous properties like this:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
The hacker in me wants to stop using XMLWr...
I'm using VB 2005, how do I open a CSV file and read the columns/rows and display the values in a datagrid?
CSV file example:
jsmith,[email protected]
I then want to perform an action on each row i.e. each user, how would I do this?
I'm a newbie as you can tell but happy to learn.
Thanks
...
I'm trying to make a menu based off of an asp.net sitemap. How do you nest the sitemap nodes so that they all appear on the same level. Here is what I have:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode>
<siteMapNode url="~/Default.aspx" title="Home" description="link to Home" />
<siteMap...
I am checking emailId exists in DB, If Exists
I am looking to create a Ok/Cancel confirmation dialog.
if user say "Ok" I am redirecting to some other form.
My code is :
If emailId = True Then
If MsgBox("Your email address exists in our database. Click OK to update your Details.", MsgBoxStyle.Information + MsgBoxStyle.OkCancel, Ti...
Hi all,
I have a datagrid called DataGridView1, column A contains a name, column B contains a path to a file. How do I run some code for each row? What is the correct terminology for traversing a datagrid in this way?
Example of what I need:
For each row in DataGridView1
MessageBox.Show DataGridView1.ColumnA.text & "," & DataGridView...