Hi Guys,
I want to send an SMTP email and include an attachment from my VB.NET application. When using ASP I was able to do this using a third party library as follows:
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = Session("Mailhost")
Mail.From =...
Hi guys,
Quick question, in ASP I used to used the file system object to manipulate files such as
fso = CreateObject("Scripting.FileSystemObject")
Set a = fso.CreateTextFile(session("AppDir") & "\" & ICS_ID &".ics", True)
a.WriteLine(strICS)
a.Close
How can I do the same thing in vb.net...
Hi Guys,
I generally develop Web applications in ASP.NET and use a web.config file to store user configurable items like the database connection etc.
Can anyone tell me how best to store and access these items in a VB.NET application?
Any help is as always greatly appreciated.
Cheers,
Chris
Hi guys,
I have an application which needs to scan a database every X seconds and then sleep for X seconds before scanning again.
Can anyone tell me how to make my application sleep for x seconds before continuing the loop?
Any help is as always greatly appreciated.
Cheers,
Chris
Hi Guys,
I need to develop a windows service and it appears that there should be a windows service project type in Visual Studio 2003.
However my project types list for a new project does not include it ??
Can anyone tell me how I can get this added to my list?
Any help is as always greatly...
Hi Guys,
I am trying to write an app which I want to run as a service on the web server.
This application will poll the database every X seconds to find records which meet some criteria. Then based on these records it will send SMTP E-mails.
Is a web service the best way to do this in Visual...
Hi guys,
Quick question..
I have a hyperlink:
<a href="http://localhost/mrm7/updatelotusnotes.asp?EmailTo=&StartDate=30/06/2006 08:00:00&EndDate=30/06/2006 20:00:00&Location=Head Office&Subject=ds" target="new">Update Lotus Notes</a>
Can I define the size of the new window using the...
Hi guys,
I am trying to build an interface to update a lotus appointment and I was wonder whether i can build a url as is possible for outlook which will update an appointment which already exists.
Does anyone know if this is possible with Notes?
Any help is as always greatly appreciated...
Hi Guys..
I usually keep my main server on constantly and a couple of nights ago i came an found that it was off .. when i booted it I got an error...
I want to do a scandisk from a bootable cd to remove the open file errors that I get when I try to do a windows repair. Does anyone know where...
Hi guys,
I am trying to write an update statement which updates a single table but I need to reference another table in order to get the data I need. The query currently looks like:
update reservations, rooms set reservations.room_id = rooms.room_id
where
reservations.roomname =...
Hi guys,
I have a loop below that reads some fields from a table. The problem is I know the name of the field (from web.config) but I wont know its type, I just want to cast everything to a string. is there a method I can use that will cast the data to a string regardless of type (the bit in...
Hi Guys,
I want to manipulate MS Exchange Calendars via a C# application and it appears I can do this by using ODBC to access the calendar databases.
Can anyone tell me what type of database Exchange uses and hence what sort of driver I need.
Any help is as always greatly appreciated...
Hi Guys,
I have a DTS Routine which archives a large amount of data into archive tables in the same database(Personally I would rather archive into a separate db but the paperwork for the customer involved in doing this is ridiculous).
The routine seems to archive all tables except for one...
Hi guys,
I have developed a DTS package and have ended up with more connections than I need. I now want to tidy up and remove the redundant connections but I can't see a way to do this. Can anyone tell me how this can be done?
Any help is as always greatly appreciated.
Cheers,
Chris
Hi guys,
I have recently added a new 250GB SATA HD and a new DVD Writer to my machine and since then I seem to be experiencing an odd problem.
When I am using the machine and especially when I am multitasking at certain times the machine freezes.. and I mean freeze.. No mouse or keyboard...
Hi guys,
I have some functions which are common to a number of forms within my project. So i created a new vb file with a class name and put them into it.
I then thought I could just in the other forms just by inheriting it, however when I do that it says that I can only have one inherit...
Hi Guys,
I have an application with which I want to connect to and manipulate Exchange Calendars which are hosted on an exchange server.
Has anyone done this before and can tell me where to look regarding references for this type of Exchange manipulation.
What I want to do is use a...
Hi Guys,
I want to refresh some data on a page every X seconds and I have a sub which does this. Having done a bit of research it looks like I can do this with the timer class however I am having trouble implementing it.
Can someone tell me how I should use this class to call for example
sub...
Hi Guys,
Can anyone tell me how I can get a page to automatically refresh itself every X seconds?
Any help is as always greatly appreciated.
Cheers,
Chris
Hi Guys,
I have a completed .NET project which I now want to package. I have added a deployment project to my solution and I can see how I can add files to the deployment.
My quesiton is which files do I need to add as I dont want to add the project files only the ones that are required for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.