I'm trying to setup a connection to a webservice from VB.NET I'm totally clueless on how to perform this. I receive an overview of what their Soap can do and i also received a securitykey. I'm however not sure how to call this webservice using the securitykey in VB.NET. Hope someone can help me a bit further using the layout of the servi...
C# or VB.NET are welcome.
I have an <%#Eval("FirstName")%> in the aspx page, I want to replace "FirstName" to <%#Eval(employee.FirstName)%> but "employee" object
is instantiated in the codebehind like this:
Public employee As New Employee
How can I call this object in the
aspx page?
Should I can create an "employee" ...
Hi all,
I'm working on a program that get quotes from some sites, using my acccounts,
I fill in user/password using the InnerText ' property of text input html element ,
for a couple of site this doesn't works,
I suppose there's ajax validation
I think the solution can be emulate keypress on he text input,
I suppose the process can...
Can anyone sort out the following code to make the adding an attachment to an email work please.
Thanks
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="ISO-8859-1" Debug="true" %>
<% @Import Namespace="System.Web.Mail" %>
<% @Import Namespace="IO" %>
<script language="vb" runat="server">
Sub btnSendEmail_Click(sender...
Hi,
I am using code to send email through SMTP that is given manually. I wish that user does not have to give the SMTP. My application should get SMTP automatically and use that.
Can I know what is the SMTP of the current ISP, with which my client is connected?
Thanks
Furqan
...
I have the following code which attaches an image to the email but I need this image to be embedded in the html of the email.
Any ideas??
objMM.Attachments.Add(new MailAttachment(Server.MapPath("images1/links/beach-icon.jpg")))
objMM.Body = "<p>There should be an attachment</p> <img src='beach-icon.jpg' /> <p>with this email</p>"
...
Hi, I've started a new job this week and am trying to get my head around this WPF stuff.
I've gotten to a point where I'm trying to add a ComboBox to a UserControl, and to populate it from a collection which exists in code.
I've been getting along pretty much on monkey-see-monkey-do coding for the most part; copying and adapting existi...
Hi everyone,
I created a service which monitors a few servers and file shares for exchange. Written in VB.NET 2.
The service is installed and running fine(ish) but randomly and without any warning or entries in the event log it stops.
Upon noticing it stops (the web front end that it generates stops working) we have to manage ther hos...
This code works fine for absolutely every mail client except Mail for OSX, which just inserts a plain grey icon titled "Mail Attachment (2.6kb)"
Can anyone see what might be missing to make it work in all mail clients.??
Dim mail As New MailMessage()
mail.From = New MailAddress("[email protected]")
mail.To.Add("[email protected]")
...
I ran into a situation where FindControl was returning a control that wasn't a complete match of the Id I was searching by. There are two controls in the parentcontrol with similar Ids like: "MyControl" and "MyControlAlternate". When I call FindControl("MyControl") the control returned is "MyControlAlternate". I was wondering if anyon...
Hi
I am using following code to add my application to StartUp of Windows. It works well in XP but gives error in Vista that you donot have permission to edit registty file.
Private Sub Forceps_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Dim regStartUp As RegistryKey = Registry.LocalMach...
Hey All,
How can i get the scope identity parameter in my vb code. I have this so far....
InsertCommand="INSERT INTO [table_name] ([title], [subtitle], [description], [image1], [image1_caption], [image2], [pdf], [meta_description], [meta_keywords]) VALUES (@title, @subtitle, @description, @image1, @image1_caption, @image2, @pdf, @m...
i get the error "DataSetSharedkey.sharedkeyDBDataTable can not converted to string
Dim sharedkeyFromDB As New DataSetSharedKeyTableAdapters.sharedkeyDBTableAdapter
Dim test As String = sharedkeyFromDB.GetSharedkeyByUsername(tbUserName.ToString)
my GetSharedkeyByUsername Statment look like
SELECT sharedKey FROM sharedkeyDB WH...
I am writing an application that will call a SQL Server job on all our client's systems.
I'm able to execute it, and wait until it's finished. It has an output file that's save location is hard coded into the job however, and this is not the same location on all client's.
Since the job is identical on systems minus this one value, I wa...
Code i have used.
For j = 0 To dataset4Category(i).Tables.Count - 1
Dim Finder As Integer = Decimal.Floor(((dataset4Category(i).Tables(0).Rows.Count) / 30))
key = dataset4Category(i).DataSetName
name = Space(1) & StrConv(dataset4Category(i).Tables(0).TableName, VbStrConv.Proper...
I have an 100 aspx files with one module file for code. All these aspx files have the same backend function, so i created on public module for all these files to access. These files are in the same folder. But for some reason the aspx files cannot access the function from that module.
mod1.vb Code (.vb file)
Public Module Allinone
S...
When I utilize AddHandler in VB to add my own method to the Click event :
AddHandler Button.Click, AddressOf myButton_Click
I see that my code executes last - after other event handlers for the Button_Click event.
Is there a way to insert my event handler in front of other events so that it executes first?
I tagged this questio...
I have a datatable and am currently binding it to a datagrid, however, when i go to enable paginating it is very messy. Is there a more malleable method for displaying and paginating aside from using a gridview or datagrid???
Thanks!
...
I'm extending the ComboBox class in VB.NET and I'm running into a problem prepopulating the collection. I try to do so by using Me.Items.Add() calls in the New() sub. However, once I place the control on a form in the form designer, Visual Studio automatically adds those items to the collection in form designer, then they are added aga...
I know how to create and populate a datatable, which i have already done. Now, I simply want to display the datatable on a webform, but I also want to know how to paginate and sort it. Ultimately I do not want to bind this to a datagrid or gridview. I would like to learn how to programmatically do this myself.
Can you tell me how to ...