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 2005 > threads for friday january 7

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

'Select...' in ComboBox
Posted by Evan Camilleri at 1/7/2005 11:55:33 PM
How do I add a column 'Select...' to a databound Combobox? ... So that users will see that? In windows application. Evan Camilleri ...more >>


Tab Property Set
Posted by krishna murthy at 1/7/2005 9:59:17 PM
Hi, Thank u for helping us. I have doubt that is I have DotNet Bar Tab Control.In that there few tabs.In these tabs I will be getting the information from different tables.What is my requirement is the record count should display beside the tab name if it contains rows in ...more >>

Can't divide a type UInt64
Posted by Kevin at 1/7/2005 9:31:51 PM
Dim X as int32 Dim Y as int64 X = Y / 1024 gives me the error: "Operator is not valid for type 'UInt64' and type 'Integer'." I'm new to VB.NET and this is one of the reasons why I've resisted so long. I've tried Dimming X as Int64 and integer. What do I have to do to divide this stink...more >>

Grid Lines
Posted by krishna murthy at 1/7/2005 9:00:44 PM
Hi, I have one doubt How to add grid lines to grid at the design as well as at the run time.And color to the Grid Lines. Regards, Krishna...more >>

Enum Delcarations
Posted by Dennis at 1/7/2005 6:59:02 PM
I have a public enums declared as below in a project named "mfirstSolution" Imports ...... Imports ..... Public Enum myEnum1 FirstEntry SecondEntry End Enum Public Class myClass Private v_EnumValue as myEnum1 Public Property myProperty () as myEnum1 Get Retur...more >>

Class Reference Problem
Posted by Dennis at 1/7/2005 6:41:01 PM
I have a class within a class and need to use a method in the main class like: Public Class myMainClass Public Sub mySubToDoSomething () ..... End Sub Friend Class mySubClass myMainClass.mySubToDoSomething() 'Get Error Here End Class End Class -- When I bui...more >>

How to Fax in .net?
Posted by K.K. at 1/7/2005 5:17:38 PM
Hi All, Can anyone tell me how to send Fax in VB.net? Try MSDN but without much luck... guessing need 3rd party component... if that's the case, which one you would recommend? Any advice/web reference/example are welcome~~ Thanks heaps ! K.K. ...more >>

testing
Posted by Test at 1/7/2005 5:14:03 PM
just testing sorry for inconvenience ...more >>



Problem about getting the time format
Posted by Ray at 1/7/2005 5:03:46 PM
Dear all, Now, I can get the time using the code "DateTime.Now.ToString("hhmm")". If the time is 18:00, the result I get will be "0600". How can I get the result "1800"? Please help. Thanks, Ray ...more >>

Select a ListViewItem from outside
Posted by Joerg Trumpfheller at 1/7/2005 5:03:40 PM
Hey folks, I have a problem with selecting an item in a listview control from outside. Listview items are binded with unique ids. I got now an id from another control and want to select the specific listview-item. Is there a chance I haven't seen jet? Thanks for you help Joerg ...more >>

Address App Hosting Custom Control
Posted by scorpion53061 at 1/7/2005 5:03:18 PM
Hello All, Long time no see. I hope this finds you all well and having had a good holiday season. I am trying to figure out a way to control within a custom control the application that is hosting it. Specifically in this case I am trying to shut down the host application from code wi...more >>

Trying to better understand class design and types
Posted by Dave at 1/7/2005 4:19:30 PM
I know in C++ you can create class templates so the data type can be defined during the declaration of an instance of a class. I was trying to do something like that for a VB.NET class cut am not really sure where to start. Here is an example for a simple DataArray class definition that set...more >>

Memory doesn't release (from collections)
Posted by Brian Mitchell at 1/7/2005 3:40:54 PM
Hello, I am using several queue collections to store some data (about 20,000 entries split across 2 collections). When I view the process in the Windows task manager I can see the memory increasing when the collections start to fill. However, when I stop the thread and clear the queues (and se...more >>

How to convert colors to HTML
Posted by Tom wilson at 1/7/2005 3:30:21 PM
How does one convert "LightGray" (ie.) to an HTML color? Thanks ...more >>

Deploy Web App
Posted by Paul Smith at 1/7/2005 2:50:04 PM
I am trying to deploy a web app in VB.Net. Following the MSDN 'Walkthrough: Deploying a Web Solution': -- To add the output of the WebApp1 project to the deployment project In the File System Editor, select the Web Application folder. On the Action menu, point to Add, and then choose Proje...more >>

rs.AdNew() equivelent in vb.net
Posted by Kevin R at 1/7/2005 2:42:07 PM
This week I've begun to learn vb.net by re-writing an existing VB app. I'm having a difficult time figuring how to add new records to an ADODB recordset. How would I re-write the '.AddNew' statement in vb.net? Thanks in advance! Kevin ================ -----vb6 ' Populate the loca...more >>

how to bind checkbox in windows form?
Posted by jaYPee at 1/7/2005 2:18:07 PM
I have bind textboxes in my form successfully using the databindings > text property. but don't know how to bind checkbox. i set the checkbox databindings > text property the same with textbox but it doesn't work. anyone know how to do this. ...more >>

PathTooLongException problem/question
Posted by Justin at 1/7/2005 1:51:42 PM
Hi. I'm writing a little c# program to list all the files in a selected directory longer than a given size. The problem is that when it finds a file that is too long for Windows, I get the PathTooLongException error. I try to handle the exception, but can't do anything because, well, the file...more >>

NOOB: Could someone explain in laymen's terms the reason for an Interface?
Posted by you at 1/7/2005 1:34:33 PM
I may be just stupid, but I don't understand the point of using an Interface. I am going through a couple of books at the moment trying to teach myself a little vb.net. Just for the heck of it, ya know. Kinda interesting stuff. Anyhoo; Both of these talk about what an interface is, giv...more >>

Icon extraction on .exe and dll. files
Posted by Joachim at 1/7/2005 1:19:02 PM
Hello everybody! I am currently developing a sidebar-application and getting stucked in the problem of extracting the default application icon of .exe and .dll files. Has anybody out there a solution in VB . Net? I tried a solution using LoadLibraryEx, LoadResource, FindResource, Extract...more >>

Security problem within MAPI/Outlook
Posted by Tor Inge Rislaa at 1/7/2005 1:09:14 PM
I have an application sending e-mail within my organization based on an existing MAPI session. The users are using Outlook as the primary e-mail program. Based on the security updates within Outlook I am no longer able to automate the internal mailing trough my VB program, because the user must ...more >>

Enumerating Network Printers
Posted by Phil Galey at 1/7/2005 1:09:08 PM
In VB.NET, Printing.PrinterSettings.InstalledPrinters enumerates only printers connected to the current computer. How can you enumerate network printers? ...more >>

How to enumerate through Enums in a Class
Posted by Faisal at 1/7/2005 12:52:49 PM
Can anyone tell me if it is possible to enumerate through all the Enums within a class [and NOT the individual enumerations within a single Enum]. I have a class with many Enums and would like to accees the Enums through an array/collection etc. I can't seem to find an appropriate Reflection method ...more >>

Handler manipulation of controls
Posted by Joseph at 1/7/2005 12:45:01 PM
Hello. What I am tiring to accomplish is highlight and restore the backcolor of "a" textbox when a cursor hits or leaves it with a general sub and a handler that contains the fields I want to change. The code below gives you an idea of what I would like to accomplish and it only demonstrat...more >>

Using intellisense with user defined class
Posted by Dave at 1/7/2005 12:10:55 PM
Is there a way to put some comments in my class designs that will show up in the IDE intellisense so I can add some information about the parameters to be passed to member methods? Thanks in advance for the help. Dave ...more >>

problem with data.Split(vbCrLf)
Posted by Ron at 1/7/2005 11:55:28 AM
Hello, I am trying to parse a string on the newline char. I guess vbCrLf is a string constant. How can I parse my string - data - on the newline char? .... data += ASCII.GetString(buffer, 0, bytesRead) .... Dim parts() As String = data.Split(vbCrLf) Thanks, Ron...more >>

restart for loop
Posted by Joe at 1/7/2005 11:38:12 AM
This is probably really simple... (I'm not a vb programmer) I have a For loop I want to restart from within the loop. For i = 0 To myarray.Length - 1 .... .... If something Then myarray = a new array i = 0 End If Next ...more >>

How to show dropdown list of menu items just like click on Parent menu by writing code.
Posted by Sakharam Phapale at 1/7/2005 11:32:28 AM
Hi All, How to show dropdown list of menu items just like click on Parent menu. For example, Edit (Parent menu) Cut (child menu) Copy (child menu) Paste (child menu) When you click on Edit menu, you get dropdown list of submenu items. How to achieve this w...more >>

how to bind checkbox in windows form?
Posted by Cor Ligthert at 1/7/2005 11:13:23 AM
Time correction for Outlook. You still live in the future jaYPee ...more >>

how object.move will work
Posted by Lal - Luxor at 1/7/2005 10:57:53 AM
please help me. how to work object.move will work on ve.net regards lal ...more >>

Printing a Web Control (OT?)
Posted by Mitchell Vincent at 1/7/2005 10:55:13 AM
I know this isn't the right newsgroup for this question but I can't seem to find one that is appropriate. It's a general Windows programming question I suppose. Hopefully someone will have mercy on me and give me a hand. This application isn't written in any MS language, it's written in a litt...more >>

How to make app responsive to windows but not to user during long process?
Posted by Samuel R. Neff at 1/7/2005 10:50:18 AM
I want to make my app repaint and show a wait cursor during a long running process but not actually respond to user events. What's the best way to implement this? If I just put the process on another thread, the user can continue to interact with the form. For my own code, I can have a fla...more >>

cookie trouble - vb.net web page
Posted by Owen at 1/7/2005 10:40:42 AM
I have a web app that is a mixture of ASP and ASP.NET pages. Largely the only data passed between them is via the querystring, or by reading from a database. However there is a requirement for one part to communicate via a cookie. (Please dont ask me to go into why, I don't have time). In m...more >>

How can I convert high ASCII to low ASCII
Posted by Friso Wiskerke at 1/7/2005 10:15:19 AM
Hi all, I'm creating a fixed length textfile with data which is sent out to a third-party which in turn reads the file and processes it. Some of the characters are not part of the lower ASCII table. This causes problems because an È (&HC4) in the textfile is converted into 2 bytes on the rece...more >>

Any performance issues using CallByName?
Posted by Rob R. Ainscough at 1/7/2005 10:13:02 AM
I use a generic Processing form (modal) where I pass it an object and method name and parameters if needed and then use CallbyName to execute the passed in method. What this does for me is lock out user input on the parent form as the Processing form has no input controls until all processing...more >>

inter-form communication
Posted by MSSQLServerDeveloper at 1/7/2005 9:49:03 AM
VB.Net >> Can someone give me some insights as to communicating info between 2 forms. Generically, I have the following - 1 form with a datagrid which is the result of a search operation. Another form that holds detailed data for each row in the search result grid. I would like the abili...more >>

TweakUI-Like Interface Question
Posted by Randy Cox at 1/7/2005 9:46:25 AM
I would like to develop an application with an interface similar to the 'Powertoys for Windows XP' TweakUI program with a tree view control on the left where the user can select a node and a "form" of controls appears to the right of the tree view. What I want to know is what is displayed on t...more >>

new to vb - is this code ok ? - retrieving ID from SQL stored procedure
Posted by luna_s at 1/7/2005 9:38:41 AM
i've been playing with this code to return an ID on an insert - it seems a little dirty/hacky to me stored proc goes something like this (ive stripped out uneccesary sql code - the proc works fine) :- CREATE PROCEDURE uipersonal declare all the variables here AS IF EXISTS (SELECT * ...more >>

SOAP and VB.NET
Posted by Julian McMaster at 1/7/2005 8:31:00 AM
Here's what I need to do. I have to consume a web service using a Windows client application. I want to write the application using VB.NET. I have some experience with earlier versions of VB, and I have the new software loaded. I'm just not sure how to get started. I've searched the Internet...more >>

Pass Procedure Name?
Posted by Mike Hoff at 1/7/2005 5:38:36 AM
Hello, I am wondering if it is possible to pass a procedure name to another proc. I have been looking into delegates, but cannot seem to get the code correct. Basically what I have is a proc to add handlers to various controls on a form. basically each control would get mostly the same handle...more >>

"Process cannot access file" problem
Posted by Paul at 1/7/2005 4:03:55 AM
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit anyway).... Private Sub LogChange(ByVal source As Object, ByVal e As System.IO.FileSystemEventArgs) ...more >>

Instance of an form
Posted by krishna at 1/7/2005 2:18:42 AM
Hi, I have doubt,I have a MDI form with few menus whenever i click on particular menu item it should open.it is opening nice.I have closed that form.I am still in the MDI i have tried to open the same form.It is giving error message disposed object can not exist.I have declared...more >>

November ctp crashing
Posted by John at 1/7/2005 2:13:21 AM
Hi Just uninstalled vs 2005 beta1 and installed nov ctp instead. The nov ctp vs 2005 splash screen comes and load the stuff but as soon as 'Find & Replace' window starts to appear it crashes and offers to send the report. What am I doing wrong and how can I fix it? Thanks Regards ...more >>


DevelopmentNow Blog