Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > january 2008

Filter by week: 1 2 3 4 5

Remote Desktop Application
Posted by syswayinfo@gmail.com at 1/31/2008 11:09:58 PM
I am building a remote desktop viewing cum administration application using vb.net. I have tried used mstsc.exe i.e. remote desktop in win xp. but the remote desktop logs of when i login from my application . Does anybody know how to give the login user and password in the code itself. How ...more >>

warning MSB3247
Posted by Dean Slindee at 1/31/2008 9:50:25 PM
Anyone know how to fix this warning message: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly. Thanks, Dean S ...more >>

String Manipulation - Multiple lines to a single line
Posted by kru at 1/31/2008 4:24:33 PM
Hi All, Simple issue I cannot figure out. I have a multiline textbox, I need to convert the string contents of this textbox into a single line string which I currently write to a textfile. I've attempted to cleanse the contents of the textbox by removing ASCII chars 0-31 which includes c...more >>

how to diassable the Printer processing window
Posted by Koen at 1/31/2008 4:11:40 PM
Hello, Is there a way to print a page without that the printer processingdialogbox appears. I don't mean the Printer Dialog Box but the box that comes up when the page is sent to the printer. (The Dialog box who comes up has in the Title: Printing... at the prompt: Page 1 of Document) Grea...more >>

Instantiating object returns nothing
Posted by Rotsey at 1/31/2008 3:59:57 PM
Hi, I have this code. Which is the beginning of class. The last line objSI = new TBRSendDocInfo has an error when this code executes objSI is nothing. What would cause a object not be able to instantiate it??? The object TBRSendDocInfo definition is below this code. <Transaction(Tra...more >>

Help Fixing a Memory Leak
Posted by TC at 1/31/2008 3:05:22 PM
I need help fixing a memory leak. I've done a lot of research, but most information is aimed at finding leaks, not at fixing them. I've found the leak; I just don't know how to fix it. In my project, I have a reference to a third-party .NET class library. My application needs to create an inst...more >>

Audio Capture
Posted by News Groups at 1/31/2008 2:47:58 PM
Hi, I would like to be able to capture the audio coming in through the Line In port on my soundcard, using VB.net 2008 Express. I know there are prebuilt things that can do this but I would like to build my own!. I've searched the web but cannot find anything that helps me to get my head around...more >>

difference between Generic.List and List
Posted by BobRoyAce at 1/31/2008 12:59:28 PM
Is there any difference between Generic.List(Of MyClass) and List(Of MyClass)?...more >>



WPF Newsgroup?
Posted by ol at 1/31/2008 12:51:34 PM
Is there a newsgroup dedicated to WPF? Thanks...more >>

Currency
Posted by Smokey Grindel at 1/31/2008 11:06:07 AM
What is a good data type to store 4 digit precision currency in VB.NET? Double? Since it is only 4 digit precision wouldnt have any rounding problems right? thanks! ...more >>

Inserting AutoCompleteSource.AllUrl list's items into combobox
Posted by kimiraikkonen at 1/31/2008 10:44:41 AM
Hi, I want to add all the IE's URL history into my combobox1 on form_load event. If i associate AutoCompleteSource.AllUrl wiht my combobox, no problem seeing the URL history when typing letters inside my combobox but i also want to add all this array's items(ComboBox1.AutoCompleteSource.AllUrl)...more >>

EM_GETCHARFORMAT, SCF_SELECTION and CFM_UNDERLINETYPE question
Posted by Academia at 1/31/2008 9:54:23 AM
I use EM_GETCHARFORMAT, SCF_SELECTION and CFM_UNDERLINETYPE to get the underline type. And it works all the time except when there is no underlined text. Then it returns: 1 (CFU_UNDERLINE). Which is the code for a single underline line. I'd expect: 0 (CFU_UNDERLINENONE) The "1" retur...more >>

Underdstanding HRESULT in DotNET
Posted by Academia at 1/31/2008 9:10:03 AM
I've been Googling and there is many many hits but I can't find what I want. I've read at one time how DotNET treats HRESULT but can't find it now. Does it return HRESULT unchanged or does it check it for error-return or what? Thanks for any help ...more >>

Vb.Net & classic DOS-style hotkeys?
Posted by Jack Black at 1/31/2008 8:35:50 AM
Hi, all! I'm working out an idea to build an application that responds to hotkeys in any application, and was hoping some of you might have input. Basically, I want to build an application along the lines of an old DOS-style TSR (terminate and stay resident) kind of application. I'm assum...more >>

Prevent Form Un-maximizing when titlebar is double-clicked.
Posted by Engineerik at 1/31/2008 7:04:03 AM
I have a form which is maximized when I show it. The form maximize button is not enabled so cannot be used to un-maximize the form. However, if a double-click is done on the form titlebar the form resizes to its unmaximized size. I know I can change the unmaximized size to be equal to the max...more >>

Is DeflateStream = .zip format?
Posted by Grok at 1/31/2008 4:14:14 AM
Trying to zip/unzip files from VB.NET 2005 with 2.0 .NET Framework ... but the file created "SampleFile.zip" is not a readable zip file. (Using GZipStream works correctly to produce a readable .gz file) How do I properly create a .zip file without 3rd-party lib? Dim sourceFile As FileS...more >>

VS 2008, Web service and Extremely Slow Build
Posted by Chris Botha at 1/31/2008 3:07:41 AM
I have a Web Service with approx 90 functions. I had, or still have, a VS 2005 Windows app that has a reference to the Web Service and when building the Windows app it takes a few seconds to build the release or debug. Create a VS 2008 Windows app with only 1 form and a "hello world" button ...more >>

How do I upgrade Picture1.cls to dotnet?
Posted by at 1/30/2008 5:14:57 PM
I need to upgrade from vb6 to dotnet. In vb6 I use Picture1.cls How do I upgrade this? Thanks in advance ...more >>

Reading a local file ASP/VB ,net 2005
Posted by AMP at 1/30/2008 3:33:49 PM
I am trying to open a local text files on a client network, and store the details in a database Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click pvfilecount = pvfilecount + 1 Dim uploadedFiles As HttpFileCollection = ...more >>

team server the solution
Posted by Wendy Elizabeth at 1/30/2008 3:24:03 PM
woul I would like to know what Microsoft product(s) would be could used for the following results and what the price of the recommended product would be: I work for a small company that would like to keep track of the following: 1. the workload of each employee, 2. how many hours are as...more >>

XXX cannot override XXX because they differ in return type
Posted by Alex at 1/30/2008 1:50:26 PM
Hello everyone, I'm currently in the process of converting a huge project from VS2003 to VS2008. I'm having a very specific problem to which I cannot find a solution. Take a quick look at the following code: (assembly name is ClassLibrary1) Public Class Class1 Public Overridable S...more >>

file copy questions
Posted by Jeff at 1/30/2008 12:17:53 PM
....hope this question is on the right ng. The code below works to copy all files and folders from D:\Template to a new location that is specified by the user. Is there any easy way to modify this code to copy everything except for one or two child folders inside of D:\Template ? ....or w...more >>

Where's add web reference?
Posted by cj at 1/30/2008 10:59:16 AM
In VB 2003 and 2005 to use a web reference I right clicked the project and chose "Add Web Reference". I don't see it in 2008. How do I add a web reference?...more >>

"the project file or web cannot be found"
Posted by Randy at 1/30/2008 10:05:37 AM
I've got a VS 2005 VB solution I got from someone and I'm trying to get it to run in a different directory. I've got all the files in my new directory (inetpub\wwwroot\CS). When I open the solution, I'm getting the above error. I went into the .sln file and adjusted the line... Project("{E24C65D...more >>

Dont read de controls in the page..
Posted by Newton at 1/30/2008 4:58:34 AM
Protected Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged Response.Redirect("Ativ_usuarios.aspx?check=" & CheckBox1.Checked) End Sub Dont work ... =( ... anyone can help me ?...more >>

What is the best way to update applications?
Posted by jim at 1/30/2008 3:43:55 AM
Let's just say that I am foolish enough to code and distribute a free app to the general public over the web. What is the best (cheapest, smallest bandwidth, easiest to code) way to publish updates to my .Net application? I'd like to save bandwidth by only updating the changed portions if ...more >>

How to start to edit listview items programatically
Posted by bz at 1/30/2008 1:32:19 AM
Hi, How to start to edit listview items programatically? I know how to let users edit it by using LabelEdit prop, but I want to start this from a button or context menu too Thanks...more >>

Ping
Posted by TBoon at 1/30/2008 1:29:11 AM
how do you do a "PING" in vb.net? any samples? ...more >>

how to send email
Posted by TBoon at 1/29/2008 11:35:41 PM
how do u send email in vb.net? any samples? ...more >>

What is the effect of having constructor in a module?
Posted by Peter at 1/29/2008 11:13:01 PM
Does constructor New applicable to a module? What happen when a member of the module test is accessed? public module Test sub new() .... end sub .. .. .. end module...more >>

send file by modem
Posted by fff at 1/29/2008 10:39:17 PM
Hello, I need to do an aplication in vb .net 2005 that send a file by analogic modem. I look for the web and don't find. Thank you. ...more >>

Form refresh
Posted by Tony WONG at 1/29/2008 5:29:39 PM
i have the following running numbers on the button the number is running well if i do not move the form however, if i move the form while number is running. the number stops running (perhaps running at the back) and then jump to 10 (the end) how can i make the number running on screen ...more >>

Convert code line to VB.NET
Posted by shapper at 1/29/2008 5:16:13 PM
Hello, I am having problems in converting the following code line to VB.NET: Control[] list = MyFun(myControl, delegate(Control ctl) { ctl.ID == "MyControl"; }); Could someone please help me out? Thanks, Miguel...more >>

Breaking out of recursion?
Posted by Andrew Morton at 1/29/2008 5:07:23 PM
I'm recursing through the controls in an asp.net page to find if any TextBox contains text. JOOI, can I break out of the recursion as soon as it's found one, or does it have to unwind itself? The TextBoxes are generated at run-time. VB.NET 2003, so no Control.FindControl. Andrew ...more >>

AxInterop.MSChart20Lib and Interop.MSChart20Lib - Class not registered Exception
Posted by Peri at 1/29/2008 4:26:25 PM
Dear All, I have used 2 dlls named AxInterop.MSChart20Lib and Interop.MSChart20Lib in one of my screen called stock price tracking in my VB.NET project. It is running well in my machine. But when I install it in my customer's machine it is throwing an error called "Class not registered". C...more >>

Keyword suggestion 'Exposes'. (Bill, Jon, Others?)
Posted by Rory Becker at 1/29/2008 4:19:53 PM
I was hoping to get the opinion of Bill McCarthy and Jon Skeet ( I do enjoy their "discussions" :) ) on a suggestion I made to the VBTeam on a new keyword "Exposes". I know it's just syntactic sugar but I thought it might be nice all the same :) It would work like Extension methods in ...more >>

how to print .doc and pdf using printdialog?
Posted by jabslim via DotNetMonster.com at 1/29/2008 3:53:32 PM
excuse me guys, i need your help once again... i just recently tried to learn printdialog(code below) , but it prints the strings( Dim text As String = "the string goes here.") you type only, and it also sets the font type, size and the likes. my question is, how can i print a .doc and pdf u...more >>

Using Excel
Posted by John Wright at 1/29/2008 3:25:39 PM
I have a datatable I need to export to excel and display on the screen. The users will take the excel table and do some work with it and save it, discard it etc. I am using Excel 2002 and vb.net 2005. I tried to use the Microsoft.Office.Tools.Excel namespace but I am having problems. I ass...more >>

My.Settings with roaming profiles
Posted by matthewlowrance@gmail.com at 1/29/2008 1:47:56 PM
I have an application that uses the Application Settings Architecture (My.Settings) to store its settings. Everything works fine except one of our users uses Citrix systems. On those systems the files are stored in the "Local Settings" folder and when the user logs off this folder is removed ...more >>

how to determine what language a string is written in? is there any method to take a string and return what language it is in? e.g. english, hindi, sp
Posted by DR at 1/29/2008 1:28:00 PM
how to determine what language a string is written in? is there any method to take a string and return what language it is in? e.g. english, hindi, spanish, etc. ...more >>

how to show the print dialog
Posted by anne marie via DotNetMonster.com at 1/29/2008 12:17:25 PM
hello. im using ProcessStartInfo to print ms word files (coz this is the only way i could print it). but it is being printed directly without even showing the print dialog. is there a way to show the print dialog before i could print the file? because at times, i need to change the printer settin...more >>

String functions from VB6
Posted by Griff at 1/29/2008 11:50:27 AM
Hi In VB6, I used to use the following functions: String$(x,y) and Space$(x). These are still available in VB2005 as part of the Microsoft.VisualBasic.Strings library. However, I understand that this is available just for backwards compatibility. I would therefore like to know how I w...more >>

vb2005 to vb2008 express
Posted by Galen Somerville at 1/29/2008 7:26:12 AM
I converted a VB6 to VB2005 pro awhile back. Had to dump it because it wouldn't handle my real time data fast enough. I decided to try VB2008 Express. Brought my old VB2005 app in from a backup DVD. It builds quickly with no errors but fails to launch with "Does not support debugging the...more >>

Error when open the connection between .net 2005 ans sql server 2000 ?????
Posted by M. Diab at 1/29/2008 5:55:01 AM
An unhandled exception of type 'System.NullReferenceException' occurred in system.data.dll Additional information: Object reference not set to an instance of an object. I dont know why this message always raise when i try to open the connection eventhough the connection string is correct. p...more >>

issue when converting C#.net code into vb.net
Posted by Dhananjay at 1/29/2008 5:47:50 AM
Hi All, I am facing problem when i am converting C#.net code(Delegate concept) into vb.net. I am unable to do that . Can someone help me to solve the problem. I am providing my C#.net code. ==================================my code is :- ====================================== [DataObject...more >>

Check string language
Posted by Cylix at 1/29/2008 2:24:17 AM
Is there any existing method in VB.NET or any 3-third party function can find out the language in a string? Let say, isChinese? isFrench?...more >>

Can VB 2008 Compile To Distributable Code?
Posted by no.spam@gte.net at 1/29/2008 1:47:23 AM
I've read that VB 2008 output code (exe file) is not distributable - is this true? If not, how does one distribute it? Thanks for help...more >>

N-tier setup help
Posted by plexter at 1/28/2008 8:26:51 PM
Hi wondering if someone could give me a example of how a hospital can be setup in a n-tier environment? Thanks...more >>

Frustration and Excitement with Crystal Reports
Posted by Tony K at 1/28/2008 7:58:00 PM
Getting the former. Not the latter. As some of you may know (Terry...btw thanks for all your help), I have been battling a Crystal Reports problem. I have recently made the discovery that my "Current Connections" or ADO.NET options for the database expert in CR are not working with my pro...more >>

How to get the length of this regex?
Posted by alexvorn2 at 1/28/2008 5:57:04 PM
How to get the length of this regex: ((.|\n)*?)...more >>


DevelopmentNow Blog