vb.net

I need a query designed for MySQL translated to work for SQL Server 2005

I've spent a whole day on this already without figuring it out. I'm hoping somebody can help me translate the following MySQL query to work for SQL Server 2005: SELECT MAX ( messages.date ) AS maxdate, topics.id AS topicid, topics.*, users.* FROM messages, topics, users WHERE messages.topic_id = topics.id AND topics.user_id = user...

How do you get to you APP.CONFIG

I am working in VB.NET and I am familiar with working in the vb[design] view as well as regular vb. I am looking to view/edit my APP.CONFIG file how do I access this file? I am using Visual Studio 2008 ...

Problem with File IO and splitting strings with Environment.NewLine in VB.Net

Hi, I was experimenting with basic VB.Net File IO and String splitting. I encountered this problem. I don't know whether it has something to do with the File IO or String splitting. I am writing text to a file like so Dim sWriter As New StreamWriter("Data.txt") sWriter.WriteLine("FirstItem") sWriter.WriteLine("SecondItem") sWriter.Wri...

How to Compute a Database Column in .NET

I have a Database named CarsType.accdb there are four fields in the data base Item_Name, Item_Num, Item_Qty, Item_Cost. I am able to get the database to display my data in VisualBasic but I am not sure how to get the total cost to appear in my label (lblTotalCost). I prefer doing it in VB versus writing in my access program. All I a...

How should moq's VerifySet be called in VB.net

I am trying to test that a property has been set but when I write this as a unit test: moqFeed.VerifySet(Function(m) m.RowAdded = "Row Added") moq complains that "Expression is not a property setter invocation" My complete code is Imports Gallio.Framework Imports MbUnit.Framework Imports Moq <TestFixture()> Public Class GUI_FeedPre...

validate a textbox in vb.net

How could i validate a textbox in vb.net, so that it gives error message if i enter anything apart from alphabets ...

Best way to communicate between 2 .Net apps?

If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this? ...

POST to webpage in vb.net (win forms, desktop, not ASP.net)

I have various php files which data is Posted to (like the password when the user signs in) How can I can I post to these php from vb.net (a desktop application that is Windows Forms, this is not about ASP.net) thanks ...

changing "application files" folder in vb.net

i understand that some files get published to this folder in my application. i want all the files to be in the same folder. how do i do this? meaning that i want the setup.exe and everything to be in one folder after i have published the application. i dont want to have an application files folder at all ...

Image Access from db in .NET

How do I display an image from db on a crystal report in VB.NET? ...

how can i create playlist for shockwave player in vb.net

i want to play multiple swf files in a single shockwaveflash object instance one after other as a playlist.. so how can i create a playlist for shockwaveobject...in vb.net ...

PHP Session when using desktop app

In this question I asked how to POST to a php file form a vb.net app: http://stackoverflow.com/questions/2615335/post-to-webpage-in-vb-net-win-forms-desktop-not-asp-net So now I've logged in the user user by posting their username and password to the php file, the php file then does security/checks they exist/etc and if both username and...

creating fade between 2 videos in winforms

i have a media player in vb form...with 2 files in a listbox as a playlist now i want to create a fade between changing these files as a transition how can i do that... ...

Web form is not updating tables, why?

I have a web application and on page is an update page to update some profile information. Below is the code I am using to update the table. But I think it is wrong. Does anything stick out? The connection string works cause it is used to read the database to get the profile information, I just removed it due to it containing passwor...

publishing app in vb.net and creating setup.exe

i am publishing an app in vb.net. it's creating setup.exe and a folder called application files. i am told that setup.exe is stand alone and does not need any other files. is this right? because when i put setup.exe in a different directory it says that some files are missing. ...

Send Email in .Net 3.5

I need to send a basic email from my site when someone registers for my site. Is their an easy way? or a site to reference? ...

trying to read a delimited text file from resources - but it wont run

I'm having a problem where instead of reading a text file from the location string, I changed it to read the text file from the resource location and it breaks my program. I've also used the insert snippet method to get most of this code, so it is safe to say I don't know what is going on. Could some one please help? 'reads the tex...

How can i use DomainUpDown as spinner?

I want to control domainUpDown as spinner to control value from 0 to 800 so that if i hit its upper arrow it adds 1 into current value... ...

permutations gone wrong

I have written code to implement an algorithm I found on string permutations. What I have is an arraylist of words ( up to 200) and I need to permutate the list in levels of 5. Basically group the string words in fives and permutated them. What I have takes the first 5 words generates the permutations and ignores the rest of the arraylis...

Ajaxcontrolkit calendar control - customisation

hi, Can the calendar control be customsised so that, say you have a system of renting out a holiday home. can the dates that have been booked appear as red and disabled on the ajaxcalendar control? Cheers -- Jonesy ...