Groups | Blog | Home


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 > june 2004 > threads for saturday june 26

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

TextCursor in RichTextBox
Posted by Richard at 6/26/2004 11:28:44 PM
When you give focus to a RichTextBox, then it goes to the textCursor, but i don't want to give the richtextbox focus, cause there is being written a lot in it, and I have to do something else at the same time, then if I don't give it focus, and I add some text to it, then it don't automaticly scr...more >>

Sorting ascending, and descending in ListView
Posted by Richard at 6/26/2004 11:20:30 PM
The obvious way to do it is ListView1.Sorting = SortOrder.Ascending 'or SortOrder.Descending But, I've made my own IComparer, cause it shall sort in a different way, and then the above codeline doesn't seem to work. Anyone who knows why?? Richard ...more >>

What is this? "Disassembly cannot be displayed in run mode"
Posted by kjon at 6/26/2004 10:35:17 PM
When I try to run any project, sometimes I will encounter this tab window in the IDE which has the following message: "Disassembly cannot be displayed in run mode". I mean it'll show sometimes, and sometimes don't. Just wonder what is the meaning of this? Do I need to concern of any wrong doin...more >>

Issue with Update String....
Posted by Manuel Canas at 6/26/2004 10:20:12 PM
Hello there, this is the piece of code that if giving problems right now; cnSQL = New SqlConnection(ConnectionString) **** strSQL = "UPDATE tb_product SET (ProductID = @cProductID, Code = @Code, ServiceName = @ServiceName, Price = @Price " & _ "WHERE ProductID = @cProductID)" **** cm...more >>

Small vb.NET/Active Directory FindOne Problem
Posted by Phil Kelly at 6/26/2004 10:18:37 PM
Hi! I hope someone can help me here because I'm tearing my hair out (what little there is of it!) trying to figure out what's going on with the code below. I'm passing an Active Directory CN of a user object (like CN=Phil,OU=Users,DC=Test,DC=local) to the doRep() function, then have the fun...more >>

Application Activation/Licensing Sample?
Posted by ML at 6/26/2004 5:10:23 PM
Does anyone have any info on sample code for handling activation/licensing for a vb.net app? Just looking for something fairly basic to implement the ability to have an application registered and tied to a specific single PC to help reduce possible piracy. Something where the user would install...more >>

Changing colors in code
Posted by Tony at 6/26/2004 4:21:47 PM
vs 2002 -- win xp -- web forms I have the bgcolor of a form se to #00cc33 in my code i have Dim WhatBackColor As System.Drawing.Color = System.Drawing.Color.DarkGreen I cannot find an exact match to #00cc33 How can i use the hex number in my Dim statement? Thank you ...more >>

Word automation in Webbrowser
Posted by Paul Bromley at 6/26/2004 2:45:33 PM
I am trying to automate Microsoft Word in the Webbrowser and have used the sample at http://support.microsoft.com/default.aspx?scid=kb;EN-US;243058 can some kind soul tell me the syntax to close the Instance of Word hat is opened? I have tried oDocument.Application.Close & oDocument.Applicati...more >>



Problems with Very Large Numbers
Posted by Jonathan at 6/26/2004 1:24:01 PM
My app is trying to multiply and add some very large numbers. Here is the line that I am am having problems with: Seconds = CDbl(PartB) * CDbl(16777216) Seconds is a double and PartB is a short. Partb is 15 before this line. After the multiplication, the value held in seconds is 549420. This o...more >>

List the entries in registry
Posted by vals vals via .NET 247 at 6/26/2004 12:43:47 PM
Hello! How do I list all the entries in my windows registry from vb.net. Pls help ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>kzaSxLFUo0Wp4z/rV8md7A==</Id>...more >>

Hover delay
Posted by Adriano at 6/26/2004 12:33:37 PM
hello, when i use mouseHover event on a button it delays for about 0.5 seconds before running, any ideas how to remove this delay? tnx in advance, adriano ...more >>

Fail to install vs.net 2003
Posted by Agnes at 6/26/2004 12:16:27 PM
I had setup prereqvisites, and then install vs.net 2003 disk1. after I click "Install" it prompts "Unable to locate sitsetup.dll". I am fail to install vs.net , Do I need to re-install my PC ? my PC OS is win xP professional and I didn't install any VS.net version before in that PC Thanks F...more >>

passing values from child form to an object in parent form.
Posted by frixx net via .NET 247 at 6/26/2004 12:15:49 PM
I want to know if anybody here knows how to pass values from a child form to an object in parent mdi form. -------------------------------- From: frixx net ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>t8+lcHd8V0igAsAJ5HZdHg==</Id>...more >>

Unicode fonts in combo boxes with Windows 98?
Posted by Frank Gewalt at 6/26/2004 11:57:05 AM
Hi My problem is that unicode fonts like cyrillic fonts are not shown correctly in combo boxes with Windows 98. I'm using 'MS Sans Serif' and 'Tahoma' fonts. Has somebody a solution for that? ...more >>

Access class properties with MyClass.Item syntax
Posted by Joel Reinford at 6/26/2004 10:16:25 AM
I would like to build a class that has properties which can be accessed by string names or index numbers in the form of MyClass.Item("LastName"). The string names or item index values would be populated by a data-driven loop. I need a few pointers to get me started in the right direction. I'm pr...more >>

Image compression from scanner to database
Posted by jlpraz NO[at]SPAM corobori.com at 6/26/2004 8:22:14 AM
I am writing a vb.net application where I need to store image in a SQL Server database, yes I know I shouldn't but my clients wants it and has his reasons to do so. In order to reduce the database size I was wondering how I could compress the image (coming from a scan made by Pegasus TwainPro). ...more >>

Newbie - Error with command line vbc but not with vs.net?
Posted by Zenobia at 6/26/2004 5:49:00 AM
What is wrong with this snippet? It is a modification from Stephen Walther's ASP.NET Unleashed, 1e, page 734-5: +++++ +++++ +++++ +++++ +++++ Public Class ProductsHandler ... some code ... objContext.Response.Write ("<html>" & vbCrLf & "<title>") ... some more code ... ...more >>

Error consuming web service
Posted by John at 6/26/2004 3:09:39 AM
Hi I am trying to access a web method which is on my local server from a vb.net client which is also on the same server. In client I am using the below code to access the web method. The problem is that I get an 'Object reference not set to an instance of an object.' error on the indicated lin...more >>

Application Level Error Handler?
Posted by Lucas Tam at 6/26/2004 3:08:51 AM
Without writing try/catch statements is there a way to have a global error handler in VB.NET? In ASP.NET there is an application level error handler inside Global.asax, but is there something similar for VB.NET winform programs? Thanks! -- Lucas Tam (REMOVEnntp@rogers.com) Please dele...more >>


DevelopmentNow Blog