Hello guys ,
i am going to develop a dynamic rss feed in asp.net and it is almost developed , only one problem is there that is the developed rss is working properly in ie8 but is not working in mozila , i don't know why so please help me about that...
the code to develop rss dynamic is:
Imports System.Xml
Imports System.Data
Partial C...
We've built a small component which takes an Id, looks up an entry in the database for an assembly/namespace/class, and dynamically loads an instance of the class that we're after. It has been working fine up until now, but when running this code in VS 2010, it's failing.
Private Function AssemblyLoaded(ByVal assemblyFile As String) As ...
I have a class which has the following methods:
Public Function rumusbuffer () As Decimal
buffer = (ukuranblok - pntrblok) / (ukrnrecord + pntrblok)
Return buffer
End Function
Public Function rumusW () As Decimal
interblock = pntrblok + ((pntrblok + intrblok) / buffer)
Return interblock
End Function
how can I make the...
Here's the code i'm using to rotate:
Dim m As New System.Drawing.Drawing2D.Matrix
Dim size = image.Size
m.RotateAt(degreeAngle, New PointF(CSng(size.Width / 2), CSng(size.Height / 2)))
Dim temp As New Bitmap(600, 600, Imaging.PixelFormat.Format32bppPArgb)
Dim g As Graphics = Graphics.FromImage(temp)
g.Transform = m
g.DrawImage(image, 0,...
This is one of those "seems obvious" as how to do, but came across interesting side effect in implementing. I'm trying to keep two text boxes syncronized when information is updated. In this example, I will be using txtStartDate and txtEndDate. If the txtStartDate is changed, then the txtEndDate should should be updated. Likewise, if...
Hi all,
I am a new silverlight user and struggle a bit with the coding.
Could anyone please help me.
What I am trying to do is create a list of checkboxes in a stackpanel on my application at runtime.
The amount of checkboxes is determined by the amount of classnames in my sql database.
I am using vb
...
Contact Title has a default value which is Sales Person. Anyhow, when a user
click Edit on the chosen ListView record, i need Contact Title to have
the right value that corresponds to the chosen record. For example,
if user clicks edit, the fields on the left side will be filled with
values. In this case, i want Contact Title to view t...
I encountered the following exception:
System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.
at System.Net.HttpWebRequest.GetResponse()
at Proxy.Form1.Form1_Load(Object sender, EventArgs e) in
The following code works without proxy. I had tried asking around but...
I am using a list to keep track of a number of custom Row objects as follows:
Public Rows As List(Of Row)()
Row has 2 properties, Key (a String) and Cells (an ArrayList).
I need to be able to sort each Row within Rows based on a developer defined index of the Cells ArrayList.
So for example based on the following Rows
Row1.Cells =...
I would like to take blank secure stock paper and convert it in to a check.
I know you can get magnetic toner and print MICR.
The question is
What is the actual font to use or should i get a package and send the data to it to print the check?
Has anybody done it successfully without having to resort to pre-printed checks.
etc..
...
Using .Net, I need to generate a response based on only the checkboxes on my form that have had there states changed. So how do I know if the check box has changed from its previous value before submission. I can't use the onchange event because the user may check multiple boxes before submitting.
...
In my webpage i use the following in order filling the listview control
<asp:ListView ID="ListView1" runat="server">
<layouttemplate>
<asp:PlaceHolder id="itemPlaceholder" runat="server" /></layouttemplate>
<ItemTemplate>
<tr>
<td><asp:Label ID="Label1" runat="server" Text = '<%# DataBinder.Eval(Container.DataItem, "Ans1") %...
Hey all i am new to XML parsing on VB.net. This is the code i am using to parse an XML file i have:
Dim output As StringBuilder = New StringBuilder()
Dim xmlString As String = _
"<ip_list>" & _
"<ip>" & _
"<ip>192.168.1.1</ip>" & _
"<ping>9 ms</ping>" & _
"<hostname>N/A</hostname>" & _
...
Hi everyone,
My request is quite specific so I will do my best to explain it properly. If you have any questions please ask!
Basically I have built a web page that reads an English XML file and displays its contents on the left of the page as text, divided up by each C-DATA tag it finds. It also then loads the equivalent translated v...
I'm using SQL Server 2005, VB.NET 2005. I want to be able to import a very large excel file into a SQL table called "XYZ"
I've done this by doing the following:
1. Save the excel file as csv.(Using SaveAs XLCSV option)
2. Build a datatable "ABC" From CSV.(using ODBC Connection and Select * from '*'.csv command)
3. copy the datatable"...
I dread asking this question, because with what I've read so far I understand im gonna have to cram a lotta new things into my head. In spite of all the similiar questions(and the wide variety of answers) I thought I'd ask as nothing I've read tailors to what I need specifically enough.
I need to represent the following query using LINQ...
Is there any tool that will convert a multiline text, to a compatible multiline string for Visual Studio 2008/2005?
For example:
line1
line2
line3
line4
Should become:
"line1" & _
"line2" & _
"line3" & _
"line4"
...
This webservice is almost converted form VB to C#, except I get this error shown below on the DataRow arow object when I use it in the foreach statement below to populate the Results Class with a DataSet Object... any ideas???
Error: A local variable named 'arow' cannot be declared in this scope because it would give a different meani...
I have been trying to execute a button event in html page that displays additional content on the web page. I am getting a null reference error when using the getelementbyid and not sure how to change this. Here is the html reference I need to engage:
<div class="button" style="float:none;width:180px;margin:20px auto 30px;"><a href="#" ...
I have some code that locates all the contact folders that a user has access to by iterating through the Application.Session.Stores collection.
This works for the user's contacts and also all the public contacts folders. It also finds all the contacts folders in additional mailbox accounts that the user has added via the Tools -> Accoun...