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 > march 2005 > threads for thursday march 24

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

Detect if running in terminal server session
Posted by Oenone at 3/24/2005 9:14:58 PM
Is it possible to detect whether my application is running within a Terminal Server session or not? I'd like to automatically switch off some of my graphics rendering under this environment as they can be quite slow to transfer over a terminal server session. The graphics should still be di...more >>

Button in a datagrid (windows form)
Posted by MCDave at 3/24/2005 8:58:44 PM
Hi all, I'm trying to get a datagrid to display a button in every row, so that when the user clicks on it, the value from the first column (record index) is read, and then a new window opens for the user to see the full record (for editing or what not). I've seen examples in ASP.Net all over ...more >>

vb.net dll
Posted by Wendy Elizabeth at 3/24/2005 8:31:02 PM
I am new to using .net. I am told that I need to setup a config file that will be accessed by a VB.net dll. This vb.net dll will be setup to run every 5 to 10 minutes by a timer that is coded into the vb.net application. A user will submit a request to obtain data from a HP mainframe. This...more >>

windows media player problem
Posted by Messer at 3/24/2005 7:49:04 PM
hello, i'd like my application to play video "friday.wmv" just after "monday.wmv". i don't want to use a playlist. the wmp is deaf just after playing the first video. what am i doing wrong? windows xp, wmp 9 the code: Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.Eve...more >>

Class That use ViewState/session
Posted by Max at 3/24/2005 7:19:12 PM
I need an vb.net class that is invoked from aspx page, that use the viewstate/session object. This class must be store the information into viewstate/session. Can you give me an example ? Thanks ...more >>

Byte array and Queue
Posted by Marty at 3/24/2005 6:10:36 PM
Hi, I want to enqueue many byte array in a queue. When I dequeue the elements of my queue, I need them back as byte array. How can I extract them as byte array from the dequeue method of the queue? Thank you Marty...more >>

How to implement ComboBox.FindValue
Posted by Hal Heinrich at 3/24/2005 5:09:02 PM
How do I implement the value equivalent of the ComboBox.FindStringExact method? I.e. How do I set the ComboBox.SelectedIndex so that the ComboBox.SelectedValue object matches one that I specify. Thanks in advance for any help, Hal Heinrich VP Technology Aralan Solutions Inc....more >>

VB6 easier than VB.NET?
Posted by Mitchell S. Honnert at 3/24/2005 5:04:23 PM
In some recent posts, I've seen people who seem to be waxing nostalgic with respect to the "ease of use" of Visual Basic 6. I can't quite put my finger on it, but they seem to be implying that VB6 was simpler to use than VB.NET, that it was somehow easier to write programs in VB6 than in VB.N...more >>



ArrayList Strongly Typed
Posted by Dennis at 3/24/2005 4:57:02 PM
I use the following code for a strongly typed arraylist and it works great. However, I was wondering if this is the proper way to do it. I realize that if I want to implement sorting of the arraylist then I have to handle this with a sort method that uses comparer. I can reference the prope...more >>

Unshare an Excel sheet with VB.Net
Posted by Erik Foreman at 3/24/2005 4:50:44 PM
I use the line XLwkb.ExclusiveAccess() to unshare the workbook and it works. the problem is it sends up a prompt for confirmation. When I run this there will be noone around to confirm it. how do we unshare the workbook without being prompted to confirm. I tried XLwkb.Exclusiv...more >>

nested class events and scope question
Posted by Carmella at 3/24/2005 4:50:20 PM
Is it possible for a class to create an instance of a private nested class which raises events and then listen for those events? In the example below, when InnerClass sings, OuterClass should say Bravo . I am not sure about the scoping and I cannot get this to work. Thanks Mel Public Sub Out...more >>

inheritance and shared
Posted by rodchar at 3/24/2005 4:49:02 PM
hey all, i have a MustInherit class and a derived class. is it possible to have a shared method in the base class and use it? Note: this is not working for me but just going to explain. i have a base class that has a shared function that returns a connection string for a datasource. is ...more >>

remember my user name
Posted by Brian Henry at 3/24/2005 4:35:03 PM
I want to make a login form, but have a checkbox with a "remember user name" option to create a cookie on their system to save their user name and place it into the username text box when they visit the site, how to go about implementing this? any examples out there? thanks! ...more >>

drawing and moving shapes
Posted by Andreas Schubert at 3/24/2005 4:30:15 PM
Hello newsgroup, I am pretty new to .NET and need some advise on how to approach to the following: I have to create an application with a drawing surface, where some predefined shapes (picture boxes with icons in it) can be dropped and moved around. This should work like some MS Visio on a...more >>

What is threading?
Posted by George Medlock at 3/24/2005 3:49:23 PM
I see all kinds of threading but there is nothing explaining thread. ...more >>

how do i limit the number of rows in a windows form data grid?
Posted by Reny at 3/24/2005 3:49:12 PM
how do i limit the number of rows in a windows form data grid?...more >>

Datagrid colum sorting problem - URGENT
Posted by Bill Nguyen at 3/24/2005 3:41:16 PM
I found that rows in datagrid can be sorted by clicking on the column header. However, this doesn't refresh the .currentindex DataGrid1.CurrentCell.RowNumber I need either to disable colum sorting programmatcially or somehow refresh the DataGrid1.CurrentCell.RowNumber index so that it will r...more >>

I can't get a form to call. (I'm new to VB)
Posted by George Medlock at 3/24/2005 3:33:46 PM
I have a button that I want to click and bring up another form. I can't find the command to do this. I've mostly worked with MS Access macros. But what's the command to open a form in VB.NET? ...more >>

Template class, what is the syntax in VB.NET?
Posted by Marty at 3/24/2005 2:52:18 PM
Hi, if I want to create a templace class (like we can do in C++), what is the syntax to tell to the class's constructor the specific type I want to use? Thank you and have a nice day! Marty...more >>

Pass an array to javascript
Posted by ruca at 3/24/2005 2:43:29 PM
Hi, How can I pass an array string to javascript? I have this: in ASP.NET VB code: -------------------------------------------------------------------- Dim siteName(100) As String Dim siteLink(100) As String Dim i As Integer siteName(0) = "New JavaSc...more >>

setting date 2 to be 365 days later than date1
Posted by Scott at 3/24/2005 1:54:49 PM
Hi I have done a program that is to work out travel insurance for single and annual trips. For single trips I put in a start and end date no problems. But for an annual trip I only need to insert the start date of the cover and I want the program to automatically work out when the last day ...more >>

Get a list of installed programs?
Posted by Lars Netzel at 3/24/2005 1:44:47 PM
Hi How can I get list of the installed Programs on a computer in VB.NET code, I need to list them in an application I'm creating? best regards/ Lars Netzel ...more >>

Website "Remember Me"
Posted by TCORDON at 3/24/2005 1:32:26 PM
Can someone give me a sample or point me in the direction of one, on how to implement User "Remember Me" option when logging into a website? TIA ...more >>

Automatically executing a subroutine when a form loads
Posted by Mark Lancaster at 3/24/2005 11:15:03 AM
I have a form that displays a time vs temperature graph when the user clicks a plot button. The plot is done in a picturebox using gr.drawline. I would like for this plot to be made without the user having to click the plot button, ie when the form opens. I have tried putting the call t...more >>

StdFont?
Posted by John at 3/24/2005 11:09:02 AM
Is there an equivalent of StdFont (VB6) in VB .Net? Thanks....more >>

Cobol to .Net
Posted by Mythran at 3/24/2005 11:08:59 AM
No Cobol.Net yet? Wha?!? Anywho, hope someone is familiar enough with Cobol to help me out here. I have some files written by COBOL applications that contain COMP-3 fields (on a mainframe) that I ftp up to a network folder for processing in .Net. Anyone know if it's possible (and how) to ...more >>

VB.net et pocket pc
Posted by Gilles at 3/24/2005 10:40:11 AM
bonjour je voudrais savoir comment porté une application de vb.net sur un pocketpc (la compillation ....) Merci -- # ANTISPAM # Click on the link to answer - Cliquez sur le lien pour répondre http://www.cerbermail.com/?zH3uNd5dV8 ...more >>

XP Style Look in windows app
Posted by Richard at 3/24/2005 10:32:14 AM
Hi guys, I am trying to implement XP style look using the following link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchimpdragdrop.asp It does works. But it does not work with silent deployment. I thing something to do with manifest file. Can anyone...more >>

Help SharpZipLib Unzip from MemoryStream
Posted by Giuseppe at 3/24/2005 9:30:19 AM
I'm write a code with SharpZipLib for Zip files in MemoryStream... I don't succeed to make Unzip.... This my code for Zip : Private function ZipFiles(Files() as string) as MemoryStream Dim StrFile As String Dim ms As MemoryStream = New System.IO.MemoryStream Dim s As ZipOutputStream = New ...more >>

VB.NET tutorials for a VB6 programmer
Posted by Jonathan at 3/24/2005 9:08:25 AM
Hello, I'm a VB6 developer looking for any tutorials to transition to .NET. Any suggestions would be appreciated. Thanks, Jonathan KingsKinght1 <at> hotmail <dot> com ...more >>

VB6 to VB.NET dlls
Posted by Cutlass at 3/24/2005 9:01:09 AM
What is the proper VB.NET way to declare these VB6 dlls? Public Declare Function WaitForSingleObject Lib "kernel32" _ (ByVal hHandle As Long, _ ByVal dwMilliseconds As Long) As Long Private Declare Function CloseHandle Lib "kernel32" _ (ByVal hObject As Long) As Long Public Declare Fu...more >>

Write to new Binary File has junk characters at end of file
Posted by not aaron at 3/24/2005 8:39:50 AM
I start out with a string. Which I then encode with my own algorithm changing every characters ascii value depending on a key. I then save it to a binary file. When I generate the initial string, it shows up fine. When I encode the string it shows up right. When I save the file it appends ...more >>

Accessing a Form control from a class
Posted by Jon Masterson at 3/24/2005 8:29:34 AM
Hi All I am trying to access a control on my main form from a class. The control is a Windows Media Player which I do not think I can instantiate in code. The class needs to pass the file name to play. I am new to VB.Net, but not to Basic or OOP, so I am sure that I am missing something obvi...more >>

Docking Windows in Development Environment
Posted by Ed Bitzer at 3/24/2005 7:30:34 AM
This is rather humiliating and has taken a lot of guts to even ask here - I have lost my ability to dock the Properties and Solution Explorer windows at the right - will only dock at top where I do not want them. Tired of pushing them around and of course hiding my main coding window. Right ...more >>

How to format text in Datagrid.
Posted by cr113 NO[at]SPAM hotmail.com at 3/24/2005 7:24:18 AM
How do I format text in datagrid column? I have a column of currency values and I want them all to display with 2 decimal points (XXX.XX). I figured out how to set the width and alignment as follows: DataGrid1.TableStyles(0).GridColumnStyles(0).Width = 140 DataGrid1.TableStyles(0).GridColu...more >>

listboxes to select/deselect multiple items
Posted by Bill Nguyen at 3/24/2005 6:47:48 AM
I would like to be able to do the following: Listbox1/Textbox1 contains list of all items not selected item A item B item D Listbox2//Textbox2 contains list of all items selected item C item E User then can highlight desired items to select/deselect using the corresponding arrows...more >>

How to tell if Excel workbook has been closed
Posted by Randall Arnold at 3/24/2005 6:47:02 AM
I have a VB.net assembly that manipulates excel data. At the end of data processing, the user has the option to view the spreadsheet, which is at that time open and not visible. So at this point it's a simple matter of saying ObjXL.Visible, which works. However, I need to also test to see i...more >>

scaleheight,scalewidth properties
Posted by Kevin at 3/24/2005 6:22:12 AM
How does one go about setting the interior dimensions of a picturebox? In vb6 is was the scaleheight/width proerties. thanks kevin...more >>

Picture in picture
Posted by Aris at 3/24/2005 3:51:02 AM
I want to create a new big image from other Images in VB .net Is that possible ? what should I need to do that Regards Aris ...more >>

Collection Class Serialization
Posted by Michael Rich at 3/24/2005 12:58:22 AM
Can anyone point me to a collection class that has serialization/deserialization with it - preferably in XML. I know this can't be done with a collection that inherits from CollectionBase, but I'm hoping someone has another collection class out there. Thanks; Michael ...more >>

ActiveX
Posted by Nikolay Petrov at 3/24/2005 12:48:46 AM
Is it possible to create ActiveX in VB .NET and if yes does the client need to have .NET Framework installed? tnx ...more >>


DevelopmentNow Blog