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 > april 2004 > threads for thursday april 15

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

Datagrid-Binding How can set the no of columns ?
Posted by Agnes at 4/15/2004 11:48:27 PM
my grid is bind to a large table. in my select command text = "select code,name ,address1,address2" the datagrid show 4 columns, How can I only set it to "show two columns " ??? As the users selected the row, I need to return "code,name,address1,address2" , so I think I can't list view and I...more >>


DataGridColumnName based on DataGrid.CurrentCell
Posted by Strahimir Antoljak at 4/15/2004 11:27:18 PM
Is it possible (and how?) to get the data grid column name based on the DataGrid.CurrentCell? The DataGrid has assigned a TableStyle comprising selected columns (DataGridTextBoxColumn) from the source DataTable (DataGrid.DataSource=DataTable). I would like to be able to get the column name of...more >>

Unicode and ASCII codes
Posted by Mike at 4/15/2004 9:08:46 PM
Hi, Dim strTmp as String strTmp contains not only standart set of characters (ASCII codes from 1-127) but also some of them from the extended ASCII table (128-255). I need to output this string to the file - WHERE EVERY CHARACTER REPRESEND BY 1 BITE. (I do not want to be "loud" but this ...more >>

"specified cast is not valid" when opening a mobile page
Posted by Kevin O`Brien at 4/15/2004 8:30:38 PM
I was reading my new asp.net book last night and thought I'd give mobile devices a go. I use Web Matrix, however when I went to create a new mobile page this morning, it displayed a dialog box with the message: "specified cast is not valid" The file seems to be getting created, but does not...more >>

Hello World in VB.NET without using VS.NET
Posted by Andy Sutorius at 4/15/2004 8:03:08 PM
Has anyone successfully created a VB.NET Hello World program without using Visual Studio.NET? If so, what IDE did you use and what namespaces did you import? Thanks! Andy Sutorius ...more >>

Dates Question
Posted by WStoreyII at 4/15/2004 7:10:45 PM
does vb.net have any built in functions for dates that would give me the string version of day or a month for instance if i wanted to convert the number ten to the tenth or 10th or for month the number 4 would be april Thanks again ? WStoreyII ...more >>

Loop with threats in it
Posted by DraguVaso at 4/15/2004 5:15:36 PM
Hi, I want to perform this action in my application: I gather all File-names in a directory, and than I want to do soem actiosn with these Files (reading the records and puttign them in a Sql Server). So my idea is: I perform a loop from the first until the last File. In the loop I create a...more >>

Calling an access Macro from a VB.NET application - Very Urgent
Posted by Sen K via .NET 247 at 4/15/2004 5:09:12 PM
(Type your message here) Hi, Any help is appreciated=2E I have a situation wherein i need to compact access db after some= business logic through VB=2ENET=2EI've written a function in VBA to= compact the database and i am calling that function in Access= Macro, and if i run that access ...more >>



How i can print 4pictures in one page
Posted by ferrari at 4/15/2004 5:02:56 PM
Hi, need help How i can print 4pictures in one page.......? By coding ...more >>

Running a VB Program from CD
Posted by Damien Eagles at 4/15/2004 4:46:50 PM
Just wondering if anyone out there has managed to statically link a VB Program. I want the exe and all dependencies to be included in one file so that it can run from CD without needing to install it first and register all the Dll's. Its possible to do this with Visual C++ but so far from what I...more >>

Active Directory
Posted by Ed Willis at 4/15/2004 4:33:11 PM
I have a list of groups. I want to see if a user is in a group on our domain. How do I do that? Thanks ...more >>

httpResponse
Posted by steve at 4/15/2004 4:28:56 PM
i'm hitting a php web service that utilizes nuSoap. if an error occurs, it sends an error 500 (internal server error). in vb.net, that means i get an exception when i go to get a response. i need to get the xml associated with the error returned, i.e. soupfault, faultcode, faultstring, etc. i kno...more >>

'Exploding' a string to an arraylist
Posted by Derek Martin at 4/15/2004 4:00:33 PM
HELP!!!! I have a string (never mind how it got that way) :-) that looks like this: Building Operations[]Administrative Services where [] = chr(10) (It came from an XML Schema out of an InfoPath Merged Field document, but that is unimportant at this point) I need to take that string, a...more >>

Launch web site with default browser....
Posted by Tom at 4/15/2004 3:39:41 PM
What the best way to launch a web site using the default browser? For instance, I have a help menu item that, when clicked, will cause a pre-defined web site to launch in the default browser (IE, Mozilla, Netscape, whatever). Right now I am using: System.Diagnostics.Process.Start(http://MyW...more >>

Crystal Reports problem
Posted by Brian Henry at 4/15/2004 3:33:03 PM
I have a bunch of reports in crystal reports.net, i need to basicly run them on differnt databases depending on which one the user logged into at the vb.net application start (dev, live, testing)... now the reports are created at the development level.. so i figured just change the database like ...more >>

write text directly to a form
Posted by Sylvan at 4/15/2004 3:31:08 PM
Hi ther I seem to remember that long ago you could have used lprint (Line Print) to display text directly onto a form. Does anyone know how this is done in vb.net Thank all...more >>

outlook new message and richtextbox
Posted by Sam at 4/15/2004 3:16:02 PM
Hi I see that by using System.Diagnostics.Process.Start("outlook.exe") with a linklabel I can start outlook What I would like to know is, if there is a way to start outlook's "New Message" with the contents of a richtext on my form already in outlook and the only thing left to do is enter the rec...more >>

Unload DLL Module from Owner Process
Posted by Jan Jeitziner at 4/15/2004 2:55:27 PM
Hi folk, is there a possibility to unload a (DLL-) Module from its owner Process within a VB.NET Application? With other words, how can I unload at Runtime a DLL, which my Application has loaded, from the memory. I'm very thankful for your Help! Jan...more >>

Probably a lot of code
Posted by Bill English at 4/15/2004 2:48:20 PM
I have two columns in my listview, cName and cFile. When the form loads, I want the cName column to show the short filename of all files in the C:\Music directory with a .mp3 and .wav extension. In the cFile column, I want it to show the full filename of all files in the C:\Music directory...more >>

How to intercept the datagrid just before it is commiting the values to the underlying datasource?
Posted by Frederik Wehlin at 4/15/2004 2:33:05 PM
Hi, I´m having problems with the datagrid. I have bound it to a table where one of the columns does not allow null. I the user forgets to fill in this value in the textbox I want catch it before the datagrid tries to right it back to the datasource. It would be nice if an event like Commiti...more >>

web service help
Posted by Mike at 4/15/2004 2:25:40 PM
I currnently have a VB6 dll that uses SOAP to talk to a WSDL file (web service), and several other functions that is called from an ASP page. Now my dillemma is with the support of the SOAP toolkit going away as of July 1 and my company wants to migrate off of it soon. I need to create a VB.NET ...more >>

Windows Events.
Posted by gb at 4/15/2004 2:21:06 PM
Thanks for the articles....more >>

good threading articles?
Posted by - Dan - at 4/15/2004 2:09:27 PM
anyone know any good threading articles? I don't know all the good places to search. I'd like to find an article that can discuss passing variables to a thread and getting info back that updates the UI. Maybe ones that talk about the harder stuff like invokerequired. thanks! ...more >>

Looking for an 'Explorer' type application in VB.NET
Posted by Dave G at 4/15/2004 2:01:05 PM
I ned to develop a "Windows Explorer" type application where Users can add, delete, drag-and-drop, copy, paste, etc... files of all types. In my application I will have to look at each event, and update a database on some events For example, if the User moves a file from one folder to another, I ...more >>

Windows Events
Posted by gb at 4/15/2004 1:26:04 PM
Hi. I wanting to have a Windows Service that monitors keystrokes in any application. I pretty much just want to be notified whenever someone presses a key no matter what application they are using: Outlook, Word, etc. I'm having no luck figuring out how to monitor Windows Events. Any ideas on ho...more >>

XML
Posted by Bill English at 4/15/2004 1:12:54 PM
Does anybody have any links to tutorials for using XML in your VB.NET applications. I am new to programming, and want to know what to use XML for, and how to use it. I was thinking I could use it to let the user customize the XML document, so that when a program loads, it get specific pr...more >>

Damn! - ocx gets unregistered when .net application is uninstalled.
Posted by Vinay at 4/15/2004 1:12:23 PM
Hi, I am a VB programmer moving into .NET programming I'm facing a problem here. I have used a flexgrid (COM using Interop) in a Vb.net application and it works fine. I have created a setup file and this is also not a problem. The problem comes when I use unregister this application. the oc...more >>

Adding an item to a Checked List Box
Posted by Simon Jefferies at 4/15/2004 1:04:58 PM
Hello, I am trying to add an item to a checked list box, like: clbList.Items.add("Hello",true) I get an error back: Run-time exception thrown: System.ArgumentOutOfRangeException - Specified argument was out of the range of valid values. Parameter name: '-1' is not a valid value for i...more >>

[ANN] April 20, "Debugging Visual Basic .NET Applications" chat
Posted by Jason Cooke [MSFT] at 4/15/2004 12:26:44 PM
Join members of the Visual Basic .NET and Debugging teams to discuss debugging Visual Basic .NET applications with the Visual Studio .NET Debugger. Almost every program will need to be debugged sometime, so take this opportunity to learn more about debugging from the experts on the Debugging...more >>

Customized IntegerTextBox problem
Posted by Christian Soltenborn at 4/15/2004 12:25:44 PM
Hi, I would like to have some customized TextBoxes, e.g. like this: Public Class IntegerTextBox Inherits System.Windows.Forms.TextBox Protected Overrides Sub OnTextChanged(ByVal e As EventArgs) Try Integer.Parse(Me.Text) Catch ex As Exception ...more >>

Deployment Question
Posted by MadCrazyNewbie at 4/15/2004 12:22:00 PM
Hey group, Could somebody possibly help? I know i`ve asked this before but ended up getting so confused. If I take my .exe from my bin directory and move it to another PC, i keep getting loads of security exceptions.(See Below) Anybody got a simple how to on builing a deployment package o...more >>

Crystal report get currentpage and total of page
Posted by Eric at 4/15/2004 11:51:07 AM
Hi I want to know the current page and the total pages I have in a report. I was trying with the FieldsObject property but doesn't wor Thanks you....more >>

Help needed returning variable values.
Posted by Aaron at 4/15/2004 11:30:15 AM
Complete code follows. I am new to .NET programming (and programming in general) and I am having a difficult time understanding how to fill a variable in one sub, and then access it from another. I have tried declaring them as shared, public, friend, etc and I always get an error stating t...more >>

List of Computers on Network
Posted by Steve at 4/15/2004 11:26:59 AM
Hi all How would i get a list of all Active Computers on a network? All I need are the computer names. Kind Regards, Steve. ...more >>

Creating a moving progress bar
Posted by Simon Jefferies at 4/15/2004 10:49:32 AM
Hello, Is there anyway to create a moving progress bar, like the one built-in to Windows XP for searching etc? Regards Simon Jefferies Tools Programmer, Headfirst Productions mailto:simonj@headfirst.co.uk - ...more >>

Adding to Recent Documents
Posted by Simon Jefferies at 4/15/2004 10:43:15 AM
Hello, How do I add an entry to the Windows Recent Documents list during the execution of a windows app? In MFC you could call a function in the Shell library from my memory. Is there a .NET equivalent? Thanks in advance, Regards Simon Jefferies Tools Programmer, Headfirst Production...more >>

Access vs. vb .NET controls
Posted by pmcguire at 4/15/2004 10:41:28 AM
Access supports subforms. The windows DataGrid control is a good analog for a an Access subform in datasheet view. Is there an existing control that can serve as a subform in form view or in continuous form view?...more >>

DataGrid Allow Sorting?
Posted by Strahimir Antoljak at 4/15/2004 10:24:40 AM
Anyone can help me with Allow Sorting property of DataGrid. I am trying to set the DataGrid.AllowSorting = False and it does not take any effect, neither in the properties window (design mode) nor programmatically. What do I do wrong? How can I prevent sorting for a DataGrid? Thanks, -- S...more >>

CDO and SMTP Email
Posted by EvanK at 4/15/2004 9:16:03 AM
I have been using CDO (Collaborative Data Objects) in building an application to create SMTP Email. Is there a better way to do this or is there a good place for CDO documentation?...more >>

Detecting .NET Framework
Posted by Brad Allison at 4/15/2004 8:45:53 AM
This is another form of a question I posed last night. I know how to detect the .NET Framework using the installer bootstrap, but what if the user wants to not install the program, but run it from the CD? How would the program then detect for .NET or would this be an outside script that has to...more >>

Using normal crystal reports reports in vb.net
Posted by Brian Henry at 4/15/2004 8:41:50 AM
I have a bunch of normal crystal reports (8.5 and 9.0) report files not crystal reports.net ones, can i still compile these as resources into my applications and use them like the built in one in VS.NET does? ...more >>

URGENT-help regd. code coversion sample from classic vb to vb.net
Posted by ItsMe at 4/15/2004 8:14:26 AM
Hi Guyz, I'm developing some application using third party api. They have given me sample project which is in VB6.0. I'm a newbie in vb.net. and the classic vb works perfectly alright. My job is to convert this vb6.0 application to .NET At the beginning itself i got stuck. I've no idea how t...more >>

newbie help
Posted by nufcdel NO[at]SPAM hotmail.com at 4/15/2004 8:12:37 AM
Hi, I am trying to hide a button on a windows form if the value of a label is either 2 or 4 I am struggling here and would appreciate any help you could give me please. I have tried: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2...more >>

datagrids and email addresses
Posted by kieran5405 NO[at]SPAM hotmail.com at 4/15/2004 7:58:08 AM
Hi, i know this should be easy but cant get it exactly right. i have a Datagrid pulling results from a stored proc in database, it outputs four columns, one of which is an email address column. i am trying to get all the email addresses to be clickable email links using the mailto: scener...more >>

Crystal report TextObject at runtime
Posted by Eric at 4/15/2004 7:31:05 AM
Hi, Can somebody tell me a way to change the value of a textobject in a report at runtime. By the way if anyone know a way to know how many page my report are going to had in code it will be appreciate to Thanks for your help....more >>

how to create activeX in .net VB?
Posted by sahmed_duluth NO[at]SPAM yahoo.com at 4/15/2004 6:40:13 AM
Hi all: I am new to VB, especially to VB .NET. I need to create an ActiveX DLL that I can then use in another application (LabView). I know in VB 6.0, creating ActiveX DLL was easy. The documentations says, 'class library' now replaces ActiveX DLL. Also, someone told me that an ActiveX DLL ca...more >>

Book
Posted by f.blair at 4/15/2004 6:26:33 AM
Please recommend a book for learning VB.Net. I have worked with Visual FoxPro, so I know databases, SQL, etc. but not the object oriented programming. I am looking for a good book that has examples of how to actually use the product, not more OO that just says that an "automobile is a vehicle"...more >>

Cancelling the ListView SelectedIndexChanged event
Posted by InvisibleDuncan at 4/15/2004 4:51:08 AM
I have a ListView that populates some fields whenever the user selects an item. However, if they change the data in the fields and then select a new item without saving, I want to display a message box that warns that their changes will be lost, and asks them to confirm whether to continue. Sounds s...more >>

hash table question
Posted by WStoreyII at 4/15/2004 1:57:27 AM
does a hash table hold its value when the program is closed? WStoreyII ...more >>

"About That Whidbey Provider Pattern"
Posted by spamfurnace NO[at]SPAM intermension.com at 4/15/2004 1:36:27 AM
Hi there. Ive just been reading about the Whidbey Provider Pattern on MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp02182004.asp and i wanted to clarify my understanding of it and get some implementation feedback. Im a bit unsure so please correct...more >>

Sending files p2p
Posted by pproost NO[at]SPAM hotmail.com at 4/15/2004 12:22:00 AM
Hi, has anyone in here got a good example or some hints on how to send a file directly from one pc to another pc using vb.net, for example I've got my pc's ip and a friends pc's ip and I want to send him a file or he wants to send me a file, it just needs to be a very basic program for sendin...more >>


DevelopmentNow Blog