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 > april 2006 > threads for monday april 3

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

Header cell alignment
Posted by Morten Snedker at 4/3/2006 11:22:16 PM
Using datagridview: ..Columns(2).HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleRight still leaves a lot of space to the right border of the column header - any good reason for this? Regards /Snedker...more >>


error line number
Posted by Rotsey at 4/3/2006 10:27:24 PM
Hi, I am trying to write some error handling code to log the error. But getting the line number of the error is not simple. Is it because the app is set to "Release" and does not have debug info. Is there a way of getting the line number when in release mode????? Thanks ...more >>

Generate a text/binary file during installation
Posted by at 4/3/2006 10:10:53 PM
Hi all expert, (I got no solution on deployment group) I would like to know how I can execute my own vb .net function during installation. I had created my own setup project, but i don't know how can i make a text file included the Client's Computer Name. Thanks alot. ...more >>

Reading a Webpage Source with Cyrillic Characters
Posted by memzback NO[at]SPAM gmail.com at 4/3/2006 10:02:23 PM
Hi all, And thanks for taking a look at my post. I'm trying to input the source of a website into a string in Visual Basic 2005. Heres the code Public Function GetPageHTML(ByVal URL As String) As String ' Retrieves the HTML from the specified URL Dim objWC As New ...more >>

Merging menuitems : nobody knows the answers ???
Posted by cc at 4/3/2006 9:42:19 PM
hi, i've posted this message at the start of last weekend, maybe that's why I didn't receive any answer (I know there are better things to do than sit in front of a computer a whole weekend) that's why I'll post again now. ---> when adding items to a MenuStrip VS 2005 defines them as objec...more >>

Get the Application Icon??
Posted by Arthur Dent at 4/3/2006 7:49:50 PM
Hello all, I am trying to write a simple app with no forms, but which uses a system tray icon and a context menu. I want to set the icon for the NotifyIcon to the icon which is set for the application in the My Project settings dialog. How can i get this icon? Thanks in advance. - Arth...more >>

VB UI with ATL control
Posted by Amy at 4/3/2006 7:25:01 PM
Hi, I'm using vs2005 for developing a pocket pc application. There are some interesting thing happen after the app has called the atl control. After receiving the event from the atl, it seems that the vb UI has lost the instance of the UI. I could not visible a button or text in the form. ...more >>

Typed Dataset and Numeric Only Fields in VB.Net 2005 ?
Posted by Luqman at 4/3/2006 5:36:17 PM
My textbox is bound to Typed Dataset, with a Numeric Field, I want the user should not type anything in textbox except Numeric, how can I ? The data type is : Sql Server Decimal(5,2) Currently, VB.Net automatically raise error on lost focus of textbox, but I don't want user to type anything el...more >>



Dummy question
Posted by Tanja Krammer at 4/3/2006 5:13:25 PM
Hi, I see System.Windows.Forms.SaveFileDialog but no LoadFileDialog. How do I make button text to "Load" instead of "Save" Thank you ...more >>

Accessing Properties within a Panel
Posted by ally at 4/3/2006 4:42:30 PM
In VB 2K5 Express I've created a panel named "Configure" with eight label, and eight combobox controls; and finally a button named "Apply." The label controls are sequentially named Channel0 through Channel7, and the combobox controls are sequentially named Ch0 through Ch7, accordingly. ...more >>

Exposing methods of controls in collection
Posted by Yuk Tang at 4/3/2006 4:41:18 PM
I've satisfactorily got an axwebbrowser control on a form within a panel, suitably positioned and sized, and now I want to display a webpage on it. This is not normally a problem when I have the control as a uniquely named object, since I would just use the axweb.Navigate or Navigate2 metho...more >>

CallByName - Trying to understand.
Posted by Fredrik Melin at 4/3/2006 3:42:11 PM
Hi, We had real bad problems with reports being printed wrong (active reports ..net 2.0), which we tracked down to being because before we printed the report we used CallByName to READ properties from the Business Object that the report was based on. When I replaced the old CallByName's ...more >>

Double buffered SplitContainer
Posted by Tom Bianchi at 4/3/2006 3:27:56 PM
Hi, is it possible to make a SplitContainer double buffered ? Deriving and setting the style in the constructor doesn't seem to work, maybe because it is composed by two normal Panels... Thanks, Tom. ...more >>

Inheritance
Posted by tshad at 4/3/2006 3:03:56 PM
I am playing with Inheritance and want to make sure I understand it. I have the following Classes: ******************************************* Public Class AuthHeader:Inherits SoapHeader Public AuthHeaderName As String Public SessionKey As String = "Default" End Class Public Class Serv...more >>

Compressing more than one file into .zip
Posted by Jonathan Rothwell at 4/3/2006 2:41:23 PM
Can somebody please tell me how to compress more than one file into a .ZIP file? Any code samples would be appreciated - I am intending to tell my application to store the contents of one field in one text file, another in another text file, and so on, and then compress them into a single file...more >>

get selected node from mouse right click
Posted by iwdu15 at 4/3/2006 2:21:02 PM
hi, the treeview only selects a tree node when clicked with the left mouse button...how can i get it to select a node with the right mouse button? thanks -- -iwdu15...more >>

Dynamic DataGridView missing horizontal scrollbar
Posted by Crazy Cat at 4/3/2006 1:21:57 PM
Hi, I am dynamically creating datagridviews for my application, then filling them with data from a 30 row datatable, and everything seems to work great with one exception. My horizontal scrollbar never appears -- no problem with the vertical scrollbar. I even try setting the scrollbars proper...more >>

Launching HTML Help
Posted by Spags at 4/3/2006 1:20:03 PM
Does anyone know how to Launch an HTML Help file in response to a button click without using API calls?...more >>

Form Focus
Posted by Jose Cintron at 4/3/2006 12:55:03 PM
Hello all I have a program (with a timer) that runs in the background when the timer expires I open a scond form and based on the user input here I either log the user out or open a third form to add more time to the timer. Is there any to preven the user from clicking on anything else on ...more >>

deleting multiple record same time
Posted by JK.Jarmen NO[at]SPAM gmail.com at 4/3/2006 12:38:49 PM
hi everbody... i am using vb.net 2005 and sql server 2005. my master-detail table tableADISYON tableAYRINTI ID ID ADISYONNO <---------> ADISYONNO DATE URUN .......... ...more >>

Easy One: Bind a Text Box to a an Integer Variable
Posted by Monty at 4/3/2006 12:33:22 PM
Hope this is an easy one: How can I bind a text on a form to a an integer variable? Possible? Thanks! ...more >>

Undefined when defined
Posted by tshad at 4/3/2006 11:33:28 AM
I actually have 2 questions: 1) I am getting an error "Type 'TempClass1' is not defined" Why? Here is my DLL, where I have 3 classes defined outside of my Web Class: AuthHeader, ServiceTicket and TempClass1 ************************************************************************** <%@ W...more >>

Suggestions to reduce memory use when splitting a string
Posted by klineb at 4/3/2006 11:15:49 AM
Good Day, I have written and utility to convert our DOS COBOL data files to a SQL Server database. Part of the process requires parsing each line into a sql statement and validting the data to keep the integrity of the database. We are parsing roughl 81 files and range in size 1 kb to 65 MB...more >>

Reflection Question and MDI question
Posted by John Wright at 4/3/2006 10:54:29 AM
How can I set the property of a loaded Assembly using reflection. My Shell program will log in a person and retrieve a list of all programs the person can use. When the shell program launches a program I use the following code: Dim extAssembly As System.Reflection.Assembly = System.Refl...more >>

Calendar Date Format
Posted by newsgroups.jd NO[at]SPAM gmail.com at 4/3/2006 9:53:41 AM
Thanks in advance - Trying to get this format returned when selecting a date on a calendar and having a little difficulty Format needs to be mmyy/Dayd Example Feb 3, 2004 would return 0204\Day3 Dec 15, 2002 would reurn 1202\Day15 Code I have tried This way actually almost work...more >>

WMI script to get Win32_Product
Posted by Brian Henry at 4/3/2006 9:19:03 AM
I have this script Dim query As New ManagementObjectSearcher("Select * from Select * from Win32_Product") Debug.Write(query.Get().Count) For Each mo As ManagementObject In query.Get Me.ListBox1.Items.Add(mo("Name")) Next but it returns nothing, however other WMI scripts work ...more >>

Keep Console Output Window open
Posted by Jason at 4/3/2006 8:52:27 AM
I've got a simple program in which I just write something to the console output window, but when I compile and run the program, the output windows displays the output and closes right away. How do I configure it to have the console window stay open so I can view the output without it closing....more >>

visual studio pro 2005 upgrade best buy?
Posted by ray well at 4/3/2006 8:46:59 AM
where can i find price comparisons for getting the best price for a visual studio pro 2005 upgrade? thanks, ray ...more >>

How do you use an unbound DataAdapter?
Posted by Max at 4/3/2006 8:27:00 AM
I've included the needed tables in the DataSource. Those tables that are bound to controls I can workwith. But how do you get access to the DataAdaptors that are not bound? me.Dataset1.table is a table with no Insert or Update methods. pll.DataSet1.table has the Row, ChangeEvent, and Chang...more >>

Can't get rid of references
Posted by Charlie J at 4/3/2006 8:26:22 AM
I have converted a vb6 dll into vb.net and gone through all of the code and changed it to .net format. I have attempted to get rid of all Interop code so that the dll will compile with only .net classes. I still have Interop assemblies referenced and I do not know how to locate the code that...more >>

What/How do I access installed Drivers in .NET 2.0 ?
Posted by Chip at 4/3/2006 8:11:53 AM
Hi - There are installed device drivers on my system that I do not know how to access from my .NET code. I can see them in the Registry (and in my XP control panel), but I have no idea how to find/open/use/get-access-to this code. And I can seem to find anything relevant in the MSDN KB. ...more >>

Using PLink interactively as a Telnet process with VB.Net 2003
Posted by Al at 4/3/2006 8:10:02 AM
I'm currently attempting to use PLink (the console component of PUTTY - see http://www.chiark.greenend.org.uk/~sgtatham/putty/) as a Telnet component as I may in future need to change to using SSH and this seems an ideal solution. I'm running it as a process and re-directing the standardinput/...more >>

Trying to "display" control characters in a text box
Posted by Ron L at 4/3/2006 8:09:43 AM
I have a barcode scanner which uses a "keyboard wedge" program so that the data it scans comes through as if it was typed on a keyboard. I am trying to have the data in the barcode be displayed in a text box. I know that there are certain control characters embedded in the data that I want t...more >>

Take a look at that security pack which comes from MS Corporation
Posted by LOLA at 4/3/2006 7:23:27 AM
Microsoft Customer this is the latest version of security update, the "April 2006, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to protect your computer from these vulnerabilities, the m...more >>

Getting DataGrid row X, Y position and Changing Column Width (2003)
Posted by Aziz at 4/3/2006 7:19:27 AM
1. I have a shopping basket DataGrid with a list of products. What I want to do is when the user clicks on a row, a button will become visible/be created that allows user to edit the quantity. The button will be dynamic and always show up on the same Y-axis position as the selected row. So, how...more >>

Where to do the Loading tasks for application ?
Posted by Cerebrus at 4/3/2006 6:20:02 AM
Hi all, I have an Windows application in which the startup form is called "MainForm". Now when this form loads, I need to do some intensive tasks like loading and parsing an XML file, that takes about 10-12 secs. Initially I was doing it through Multi-threading, by calling the intensive fun...more >>

Getting the selected item from a listview
Posted by George at 4/3/2006 5:50:02 AM
Hi all, How can I get the value stored from the selected item and subitems of a listview? Thanks in advance, George...more >>

Foreign Language Names
Posted by Dave at 4/3/2006 4:30:03 AM
Hi All, Don't know if anyone has ever come across this but was just wondering. Am programming something to be used in a number of countires and was asking regarding Fonts. I have a page to printout that has to be in "Helvetica" now if this program is installed in Russia for instance, I can't...more >>

Making a variable available to all forms..
Posted by rj at 4/3/2006 3:34:24 AM
Hi all, How do i make a variable that i can call in all my forms? I want to get a value when the user logs in, and carry that value throughout all the forms for queries etc. Thanks in advance.. ...more >>

Joining files
Posted by Hugh Janus at 4/3/2006 3:20:57 AM
Hi group, I have an app that streams files over the network. What I want to be able to do now is select a folder and stream the entire contents of that folder over the network. I could simply just loop through each file and transmit them one at a time but I would rather somehow stream all t...more >>

random graphics ...
Posted by Thanks at 4/3/2006 2:36:02 AM
During user registration in Internet, usually need to type also the graphics like http://ab.login.yahoo.com/img/FU753uVZCPEaVjx_RWkxo_H1VC8hjD4mpXmVlBfC8LGlP8t_9g--.jpg Do you know how to write such kind of program which generate a random graphics? Thanks a lot Calvin...more >>

Display issue when embedding forms into tab pages
Posted by Dominic via DotNetMonster.com at 4/3/2006 12:36:52 AM
With a little help from someone in this forum, I am currently creating forms and then embedding them into tabpages, so that I get a display similar to Lotus Notes. I have one container window, so I am using this approach as an alternative to a MDI container. My issue is that when I resize the ...more >>

Unique Machine Identifier
Posted by JJ at 4/3/2006 12:00:00 AM
Now I know this question has been asked many times, but I cannot seem to find a good site which summarises the methods possible in vb .net. I am after a way of producing a unique serial number for my app. The program would produce a unique identifier for the computer, then I would psovide the...more >>

Have you upgraded to VS 2005?
Posted by JJ at 4/3/2006 12:00:00 AM
Just wondered if you have found some distinct improvements that are worth mentioning. I have found that I have spent a lit of time recently coding things that I wonder may be improved in VS 2005 - I wonder if any of you have found that they are better in VS 2005? Oh and do can you produc...more >>

How do I fix this code?? any ideas?
Posted by RON at 4/3/2006 12:00:00 AM
Can anyone tell me how I would fix this code to do the following? I want the buttons to be 0 through 9 not 1 through 10 like they are now. == Inherits System.Windows.Forms.Form Public buttons(9) As Button Const ButtonWH As Integer = 30 'Width & height of buttons Private Sub Button_clic...more >>


DevelopmentNow Blog