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 > may 2004 > threads for wednesday may 19

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 31

is a crystal Report 100% customizable at runtime ?
Posted by odin at 5/19/2004 11:36:02 PM
I have an application where the user selects the fields to include in the report so the question is How can i add fields at runtime to a crystal report ....more >>

If no local file
Posted by Bob Achgill at 5/19/2004 11:10:20 PM
Two part question for my windows application ... 1) Is there a after-the-fact way to know if the Flash file did not play because the file does not exist? Maybe some handle I can check? Also, if the file is not there... 2) How can I call an FTP file copy function to go get the missi...more >>

tooltip for tabcontrol headers?
Posted by Lisa at 5/19/2004 10:38:54 PM
I'm trying to display tooltips when the mouse hovers over the header of individual tab pages in a tab control, but the tt only displays when the mouse is over the body of the tab page. Is this by design? What am I doing wrong? ...more >>

recursive stuff
Posted by Dane Carty at 5/19/2004 9:22:22 PM
Hi, Using a TreeView component to create a tree of the directories within my file system. I can't get my head around the logic of the recursion. Anyone with a bigger brain is welcome to help!! I want the vaild drives to be the top layer with 'children' drilling down through the directory...more >>

Upgrade Wizard - Problem
Posted by HS at 5/19/2004 9:21:57 PM
In Upgrade Wizard , I always get the msg "Upgrade failed: Exception Occurred. Invalid System Configuration (Unable to Locate Microsoft.VisualBasic.UpgradeExtensions.dll). Please run setup again" Reinstalled it again but no luck. any help. ...more >>

Textbox.text, Input to Integer
Posted by Keith at 5/19/2004 9:16:03 PM
I've been reading and looking on the internet - but I just can't fin this. Perhaps I'm approaching this the wrong way - code-wise I'm attempting to learn how "things" work in VBNET by creating small app - 3 textbox objects. I want the user to input data int textbox1 and textbox2 - and then cli...more >>

multiple search/replacements in a single Regex.Replace?
Posted by Craig Buchanan at 5/19/2004 8:52:06 PM
Is there a way to combine these two Replace into a single line? Regex.Replace(Subject, "\&", "&") Regex.Replace(Subject, "\'", "'") Perhaps Regex.Replace(Subject, "{\&|\'}", "{&|'}") Thanks, Craig ...more >>

Detecting screen resolution and resizing forms and objects, fonts etc to suit
Posted by dreamer at 5/19/2004 8:42:50 PM
I need to be able to detect different screen resolutions and then resize my applications objects to suit. Any ideas how to go about it? I use VB 5. Many thanks in advance....more >>



Method's description
Posted by Chris Wagner at 5/19/2004 8:36:57 PM
How do you put method description in a method (sub, property) so user can see it when he browses a method? Thanks ...more >>

Focus
Posted by Richard Grene at 5/19/2004 7:59:42 PM
I set focus to a text box the data in the text box is highlited. When I enter into the text box, whatever was there is replaced by what I entered. How can I set this up so what I enter is appended to the text that is there. I need to do this one character at a time. I'm using the KeyUp event to...more >>

Pocket PC 2003 Architecture Question.
Posted by Daren Hawes at 5/19/2004 7:58:39 PM
Hi, I have a architecture question. How would one structure an application along with a Pocket PC 2003 component that work together to collect survey data. My query is around the Sync and Data Holding parts. I plan to use an XML file on the PPC as a survey template (Questions, Question...more >>

datagrid insert row event
Posted by pmcguire at 5/19/2004 7:51:05 PM
I have a form displaying information from one record in a datatable and a datagrid displaying "child" information from records in another, related, datatable. I have added a DatagridTableStyle so that the relevant foreign key is not displayed in the datagrid. How do I automatically insert the fore...more >>

Class Help
Posted by Neil Stevens at 5/19/2004 7:25:12 PM
Hi, I have been tasked to upgrade a project from VB6 to VB.NET, i have a number of problems of which most i have now solved but i am still very perplexed by one problem. The VB6 application has one class whose instance property is declared as GlobalMultiUse and this class defines properties th...more >>

How to access .Net Assembly from another Workstation?
Posted by IMRAN SAROIA at 5/19/2004 7:18:45 PM
Hi! I have developed a simple database (using oledb and Access ) application in VB.Net. I have placed the Assembly (EXE) on server computer and want to access the application from other workstations. When ever databound form is going to be displayed security exception about access denied is th...more >>

Uncompressed Image Format With Transparency?
Posted by TC at 5/19/2004 7:00:38 PM
Is there any way to save a bitmap in an uncompressed format which preserves transparency? The BMP format is uncompressed, but doesn't support transparency. The GIF format has an alpha channel, but always uses compression. The TIFF format preserves transparency and has an option for no compress...more >>

Implement "form.dirty" feature on a VB .NET Form
Posted by alainf NO[at]SPAM humaprise.com at 5/19/2004 6:50:14 PM
Hi, I need to implement a "form.dirty" feature on a VB .NET form not related to a database. I need to know if any of the items (Textboxes, combo, listboxes, ...) was changed. Is there a quick and easy way to do this? Thanks in advance. Alain...more >>

Inheriting Typed DataSets and DataTables
Posted by Ryan Shaw at 5/19/2004 6:31:03 PM
I’m having trouble with Typed Dataset I would like to add functionality to my typed dataset at the business layer such as delete rules or editing rules by inheriting it Can I inherit the datatable? I’m having trouble because of the constructor Can I override the row change event routines? ...more >>

Reading file to include in ASPX page drops characters
Posted by Tego at 5/19/2004 6:21:06 PM
I have a main ASPX page that loads HTML pages into it. If the HTML page contains characters like the (R) registered or (C) or apostrophe then these characters are replaced (usualy with a question mark) or dropped. How can I retain these characters? Thanks for you help...more >>

Does Bitmap.Save(Stream) Work?
Posted by TC at 5/19/2004 6:04:20 PM
I would like to save bitmaps to a file stream, but I can't get the Bitmap.Save(Stream) overload to work. If I save one bitmap to the stream, it works okay, but if I save two or more, they all become garbled. I saw another post where someone questioned whether there is a bug, but there was no d...more >>

Retriving User Details from Active Directory in VB using ADODB
Posted by Kuntesh Desai at 5/19/2004 6:01:42 PM
Hi! I am trying to retrieve user details from a Windows 2000 Active = Directory using ADO and am successful to retrieve all info except the = Postal address... I get the following error when I try to use = "PostalAddresses" property of an "IADsUser" object. Following is the code that I hav...more >>

Form Show Question
Posted by WStoreyII at 5/19/2004 5:11:07 PM
I have a class that is sort of a custom console it has an object member in this class that is a custom form with a sub show which has a command of frm.sho my question is i had a module with a instance of this class and in the sub main i hit the show sub of the class it opens but then closes im...more >>

ComboBox Problem
Posted by Lars Netzel at 5/19/2004 4:47:49 PM
I have a Combobox that is filled from a dataset. I want to let the user be able to edit the text in the Combobox and if he enters a text that is not a equal to any of the items in the combobox, I want to catch that event. As it is right now, the text the user wrote is overwritten with the s...more >>

hashtable add fails unexpectedly when using attribute instances as keys
Posted by Bob at 5/19/2004 4:41:33 PM
If two attribute instances of the same type have all their fields values identical, the compiler will say that they are not equal to each other, yet adding them both as keys in a hashtable will throw an exception. Is this expected behavior or a bug? I've included an example below. Run the code...more >>

Databindings Question
Posted by whaletyr at 5/19/2004 4:05:16 PM
If have a problem I have 2 comboboxed on the same form both are filled with the same data. with datasource and displaymember in the properties defiened. My problem is that if I select 1 item in combobox1 combobox 2 also chanches but I dont want that.. where should i look for an answer to t...more >>

Region and PictureBox.Image Resize
Posted by M West at 5/19/2004 3:58:51 PM
continuation of my previous post, thanks to all those that contributed with answers I am creating a control that will take an image and make parts of it transparent, this is done by creating and then applying a region to the control. The control inherits from picturebox and works fine when lo...more >>

Fill DataGrid
Posted by ruca at 5/19/2004 3:08:56 PM
Hi, How can I fill a datagrid without accessing to a database or any type of file, only filling with a command button like this: I have 3 textboxes that I must fill, and a button that when clicked pass text of this 3 textboxes to my datagrid. I want to manage (edit , update, etc) a datagrid...more >>

file attributes ...file owner
Posted by JH at 5/19/2004 2:49:06 PM
I can get file attributes such as Name, LastAccessTime, Length etc using system.IO.Directory.GetDirectories and other related procedures. But how can I get the file owner ? Thanks ...more >>

LPCSTR marshalling to unmanaged dll
Posted by cab0san NO[at]SPAM hotmail.com at 5/19/2004 2:48:51 PM
I wish to call an unmanaged function from vb delacred as so: #define DllExport __declspec(dllexport) DllExport int WINAPI DllAlcWrite(HANDLE, LPCSTR, int); I have tried: 1.) Private Declare Ansi Function DllAlcWrite Lib "alcsapi" (ByVal hConn As Long, ByVal strGWOutgoing As String,...more >>

HELP!: Where is my MailMessage class?
Posted by Matthew Speed at 5/19/2004 2:45:04 PM
Environment: Windows XP, VS.Net 2003 Enterprise Architect Edition (from an MSDN Universal subscription) The SMTP server is on a Windows 2003 system running Exchange 2003. I am trying to write an app that needs to be able to send an email message. I tried to add Imports System.Web.Mail ...more >>

Using a FileStream for Random Access
Posted by TC at 5/19/2004 2:23:30 PM
I just noticed that the Stream class has a Seek method, which implies that a FileStream object can be used to manipulate a random-access file. Before now, I assumed that a Stream, as its name implies, could only stream sequential data. Are there any advantages / disadvantages to using a FileSt...more >>

Print problem
Posted by Tux at 5/19/2004 1:41:37 PM
Hello, I've a small problem : For a printer a must use a different paper size and i do this : documentPrinter.DefaultPageSettings.PaperSize = New Drawing.Printing.PaperSize("MyFormat", 1200, 850) but it doesn't work (there is a shift with the page break) .... Thanks for you help :) ...more >>

Web Page Problems
Posted by Charles A. Lackman at 5/19/2004 1:28:23 PM
Hello, I have made a comercial web site with Visual Studio.NET and I am using Flash and Javascript inside the pages. There is also a database that retrieves information and displays it on a aspx page. This site is working well, but every now and then when the Flash it clicked, instead of ru...more >>

Shared variable problem
Posted by Ringo at 5/19/2004 1:27:55 PM
I've just designed (or at least what I thought was) a clever class with shared members and properties, great no more having to pass an object to all of the other classes that need it. The problem occured when I had to run separate instances of my assembly in COM+. I discovered that "share...more >>

HTTPWebRequest Error (0x80090300) after a while
Posted by Kevin Landymore at 5/19/2004 1:21:50 PM
I have a vb.net service running under a Domain account. I'm trying to call a web service on our Mainframe (IBM CICS via SSL and Client Certificates) and after a while (1 or 2 days.. thousands of transactions) I'm getting the following errors: First, 2 of these: SoapDriver GotRequestStream Syste...more >>

Is .NET 2.0 Framework going to take advantage of 64-bit computing?
Posted by int at 5/19/2004 1:17:21 PM
Is .NET 2.0 Framework going to take advantage of 64-bit computing? Intel and especially AMD's Opteron are 64-bit and they are really inexpensive. Look at the prices here... http://www.anandtech.com/guides/priceguide.html By the time .NET 2.0 comes out, maybe middle to late 2005 at the ear...more >>

How do I use a curly brace within a string passed to String.Format?
Posted by Jason Kendall at 5/19/2004 1:15:47 PM
How do I use a curly brace within a string passed to String.Format? I want to pass a string that includes a curly brace, but that curly brace is not being used to indicate a replacable format parameter. Ex: Debug.Writeline(String.Format("{ts '{0:yyyy-MM-dd hh:mm}'}", Date.Now) Thanks. -J...more >>

Strong Names, GAC and a whole bunch of headaches.
Posted by peter NO[at]SPAM mclinn.com at 5/19/2004 12:50:44 PM
I wrote my first VB.net class that doesn't suck and I want to allow local users on my network use it in their MS Office Applications. From what I've read I have to assign a strong name and then insert the name into the gac. Here is where I get lost. Is there a way to do this using the VB.net...more >>

Method not found??
Posted by Trapulo at 5/19/2004 12:03:18 PM
I've an exe that creates an object with reflection using Createinstance. All ok. Then I call method in this object, that returns a user-defined control. This code is executed. I've very strange problem in the user-defined control constructor. Some code is executed. This calls mybase.new, initia...more >>

Microsoft Visual Basic Errors
Posted by Sandra at 5/19/2004 12:01:00 PM
Hi there! Hope I have the right chat forum for this. Anyway, if someone could help me, I would really appreciate it. I have a few Microsoft Word XP files and here is what's happening... These files were sent to me from some other user, and when I go to open the files, here is what hap...more >>

PopUp Browser Window With HTTP Header
Posted by spamfurnace at 5/19/2004 11:51:19 AM
Hi there, I know about Process.Start class/methods. I was wanting to know how to pop up a browser window from a Winform and not only supply the Url which is straightforward but also supply Header info, specifically referrer info. Thanks Richard ...more >>

Making a VB .net program run from they system tray
Posted by Ranjan as usual at 5/19/2004 11:51:04 AM
Dear folks, I just completed an autoresponder program. My program should be constantly running to monitor the folder of exchange server, but I just don't want to minimize it in my test box. Is there a way to make it like a icon on the system tray, next to the system clock? Any pointers would be app...more >>

compile an executable
Posted by Syl at 5/19/2004 11:41:04 AM
What would cause a program that compiles in Developer to give a 'Not responding' message when trying to compile the executable. It worked both ways yesterday (famous last words, right?)....more >>

Unloading Form
Posted by DNK at 5/19/2004 11:29:58 AM
Hi, how to unload a form in vb.net (equivalanet code for vb6 - [unload me] ) thanks dnk. ...more >>

A Few questions - If people don`t mind
Posted by MadCrazyNewbie at 5/19/2004 11:22:49 AM
Hey Group, Hows you all doing? Im after a bit of advice, if you don`t mind? 1) How i setup some Validation checking? ie - check to make sure all my textbox`s have been selected and that certain comboboxs have been selected, and if not through a message saying "You have not filled out - Us...more >>

auto resizing forms contents
Posted by John Smith at 5/19/2004 11:20:18 AM
i wanna do something like layots in java swing when the user resizes the form all its contents (datagrids, buttons, treeviews) get moved and resized (including datagrid columns wight) im using VB 2002 TIA ...more >>

Conversion from .NET 2002 to .NET 2003
Posted by Tom at 5/19/2004 10:54:17 AM
We currently have a rather large application that is in VB.NET 2002. We have just purchased licenses to the 2003/1.1 Framework version of Visual Studio. What kind of conversion, if any, will we need to do to move our application over to the 2003/1.1 version? We will be moving this application ove...more >>

Can you hide a vb.net console window?
Posted by DaveF at 5/19/2004 9:57:05 AM
Can you hide a vb.net console window? ...more >>

Validate Domain Username/Password Sample Code?
Posted by Scott Lezberg (Deltek) at 5/19/2004 9:49:55 AM
Does anyone have some sample code that can validate a domain username and password account to check to see if it is a valid account? Thanks in advance. Scott ...more >>

VB.NET 2002 and Framework 1.1
Posted by TC at 5/19/2004 8:58:13 AM
I have Visual Studio .NET 2002, academic version, running on a Windows 2000 computer. When I upgraded the computer to Framework 1.1, Visual Studio stopped working, and I can't reinstall it. Has anyone else encountered this problem? If so, how do I fix it? -TC ...more >>

DateTime in DataSet, want to display as Date (11/11/1111) type
Posted by Helen at 5/19/2004 7:31:11 AM
I have an array being passed as a parameter to Crystal 9 (using vb .net in VS 2002). The listbox containing the dataset output at runtime shows DateTime format, but I want to only show mm/dd/yyyy format to the user. How is this accomplished? I changed the dataset type for the field to "Date" but ...more >>

filtering dataset
Posted by resti at 5/19/2004 7:01:07 AM
hi how can i filter my dataset using the value of my combo box thnks ...more >>

Accessing a computer through LAN using .NET
Posted by Jinu at 5/19/2004 6:01:15 AM
Hello Will be very helpful if anyone can share the idea o 'how to access a computer in a LAN using .NET Thank yo Jinu....more >>

Process.Start ?
Posted by songie D at 5/19/2004 5:01:05 AM
H If I us Process.Start("DTSRun ...") on a computer that has SQL server installed, it can't fin DTSRun, claiming 'file not found'. Despite this, Shell("DTSRun...") from VB.NET works fine It also works to run DTSRun from the command line without typing in the directory as c:\program files\micro...more >>

Country specific decimal.parse
Posted by Stefan Richter at 5/19/2004 3:41:38 AM
Following problem: On a german computer system I am developing a program for international = computer systems, and I want my programm always to run in the same way. There's a difference in numbers, we use "," instead of "." and "." = instead of ",". (Don't know why!!!) The method decim...more >>

Modifying the NotifyIcon.Icon Property from Within A Service Application
Posted by Randall Powell at 5/19/2004 2:21:02 AM
I am in the process of developing a Windows Service which will: (1) monitor multiple network shares; (2) marshal text file transfers into an SQL Server 2000 instance; and (3) provide messaging services via email and a customized event log viewer. An additional goal is to have the service provide a ...more >>

Datagrid Column Auto Sizing
Posted by Brian Mitchell at 5/19/2004 1:03:34 AM
I hate to ask this question because I'm sure it's been asked before, but how do you automatically resize the columns in a datagrid when the form is resized? Thanks!! ...more >>

Error using array of structs from a COM-Dll
Posted by wurst.michael NO[at]SPAM web.de at 5/19/2004 12:16:19 AM
Hi all, I've written a COM-Dll (with ATL) that holds a database of marathon runners. I wrote a function that returns the needed information of all runners and it works fine in VB but not in VB.NET. I'm using an array of structs as a return value. Here's the code of the function: ***********...more >>


DevelopmentNow Blog