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

Form.Showdialog question
Posted by Jm at 1/3/2005 10:46:39 PM
Hi all Im not sure of the best way to be displaying my forms and just want a bit of clarification. Being only recently moved to vb.net im still used to the old vb6 form.show method, now under vb.net that doesnt seem to do alot most of the time so far as i can tell. So im using form.showdialog ...more >>


OT: Let's get some t-shirt ideas for .NET and/or Agile
Posted by Nick Malik [Microsoft] at 1/3/2005 10:41:52 PM
Kinda off topic... I went online today looking for T-shirts to reward an IT team that used Agile development on a .Net project to build a workflow system using XML... yada, yada, yada Anyway, 90% of the t-shirts were geared towards Linux or gaming. Personally, I'm not much for wearing a pen...more >>

code behind in a web user control
Posted by hansiman at 1/3/2005 10:07:32 PM
I'm puzzled! In a web user control (ascx) I embed some server controls. I drop the web user control onto an aspx page. In the web user control's code behind I would like to manipulate the user control's properties every time the page is loaded. All this is fine. The ascx code behind runs ev...more >>

MsiGetUserInfo Implementation
Posted by yenpei NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/3/2005 9:54:49 PM
Hi, I am trying to retrieve Product ID from the registry using the code below: <DllImport("msi.dll", EntryPoint:="MsiGetUserInfo", SetLastError:=True, CharSet:=CharSet.Auto)> _ Public Function GetUserInfo( _ ByVal ProductCode As String, _ ...more >>

Control of Priinter Port and Status Port
Posted by sympatico at 1/3/2005 9:30:05 PM
I have the need to read the printer port as well as write to it. In the old days, you would use peek and poke. Is there a simple way to make this happen? Thank you ...more >>

how to get Excel version in VB.NET
Posted by DavidB at 1/3/2005 9:14:41 PM
how do I get Excel version in VB.NET??...more >>

Select a file in Explorer
Posted by Sergey Poberezovskiy at 1/3/2005 8:44:29 PM
Hi, As part of my Windows application, I need to open a folder containing a file (fileName is specified in txtFile). I have no problem opening the folder: Dim directoryName As String = New FileInfo (txtFile.Text).DirectoryName Dim startInfo As System.Diagnostics.ProcessStartInfo = New S...more >>

In VB.Net How do you use the "ScrollWindowEx" function?
Posted by Scott Gunn at 1/3/2005 8:44:00 PM
I have looked all over the net for an example on how to use this function but got no joy, lots of jargon explaining the function but no examples. In VB.Net the hwnd has gone there was one in vb6 - I tried using Handle but nothing happens Can anyone shed some light on how to use this function...more >>



My Brain Hurts - Help
Posted by Siv at 1/3/2005 8:33:25 PM
Hi, If I run the following: strSQL =3D "Select * FROM Clients;" da =3D New OleDb.OleDbDataAdapter(strSQL, Conn) 'Create data = adapter cb =3D New OleDb.OleDbCommandBuilder(da) 'Create = command builder using the datadapter dt =3D New Data.DataTable d...more >>

Problem with Rowfilter of Dataview
Posted by catullus NO[at]SPAM telenet-dot-be.no-spam.invalid at 1/3/2005 7:55:01 PM
Hi everyone, I'm a n00b on VB.net programming and now I stumbled upon a problem I can't solve, even after browsing the net for hours.. I have a dataview witg 4 columns; 2 string columns and 2 integer columns I want to use the RowFilter to get the 'records' where one of the integer columns ho...more >>

Toolbar in a MDI Application
Posted by Ellis Yu at 1/3/2005 6:43:48 PM
Dear all, I want to have a toolbar in the main (central) form of an MDI application. All child forms have 5 common buttons for specific jobs like SAVE, NEW etc. So when the user is in the child form1 and press the toolbar button SAVE in the toolbar of main form, then the program will save ...more >>

Need to dock to a form in an another application
Posted by Erik Edlund at 1/3/2005 5:55:42 PM
I use VB Express and I need to dock my form closely to an another application's form. I don't have access to that applications code, only to it's database. My application is doing calculations based on the database and I need to make the user visually aware of which data they are manipul...more >>

Structure with array unblittable? (C++ > VB.NET porting)
Posted by Jonathan Amend at 1/3/2005 5:50:38 PM
I'm trying to port some C++ code to VB.NET but I have hit a snag. I need to add the pointer of a structure which includes an array to an array and then pass it to an API. Here are the two code snippets: long inbuf[2]; // Array that gets passed to the API struct cmbuf { short cmds[2]...more >>

Dynamic DataGrid Column Color
Posted by RitaK at 1/3/2005 4:33:02 PM
Hi, I have a dynamic datagrid linking to an SQL Table which works fine. I now want the user to be able to click on a column header to selct the column(s) and at the same highlight the selected columns background color as in Excel. Have tried everything but just can't seem to get it right. ...more >>

how to bind a radio button to a SQL bit field or what data type to use for gender of a person in an SQL table
Posted by Neo at 1/3/2005 4:06:42 PM
I put a similar post for CheckBoxes, but i want to use a Radio button & not a CheckBox I have a field named "Male" & this is of SQL BIT data type (SQL Server). How can i bind this field to a check box? I noticed that this field can be NULL, 0 or 1. But i'm having trouble binding this field ...more >>

how to bind a checkbox to a SQL bit field or what data type to use for gender of a person in an SQL table
Posted by Neo at 1/3/2005 4:01:17 PM
I have a field named "Male" & this is of SQL BIT data type (SQL Server). How can i bind this field to a check box? I noticed that this field can be NULL, 0 or 1. But i'm having trouble binding this field to my check box. i get an error when i try the following, 'oDataTable is the Data Tab...more >>

msgbox doesn't display prompt text
Posted by z at 1/3/2005 2:33:43 PM
I just installed Visual Studio .Net with Framework 1.1. I already had VB6 SP6 installed. I wanted to do a quick "hello world" example in VB.Net. The code is here: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim s ...more >>

How to get incremental search in combobox
Posted by Kirk_Kelly at 1/3/2005 1:47:02 PM
Anybody know how to get the combobox to do a incremental search in vb.net window forms?...more >>

HelpProvider
Posted by Yoshitha at 1/3/2005 12:12:33 PM
I want help from u regarding providing information about form and controls which are presented on the form. when ever user presses f1 if the form has focus then it has to provide information about the form( eg.what it does etc) When the control has focus , if the user presses f1 key then it has ...more >>

about listview control
Posted by gaffar at 1/3/2005 12:11:51 PM
i want the code for i have a listview with 2 columns.if i selected the item of the listview and clicking on a button the selected item must be displayed on the another listview control. ...more >>

0xC0000005: Access violation reading location
Posted by Fred at 1/3/2005 12:01:03 PM
I receive this message under certain conditions: 1. "Unmanaged Code Debugging" is checked in Property Pages. 2. Certain routines are "stressed." The error does not appear unless loops are repeated many times. I'm using Net Framework 1.1. I found a confirmed bug in Online Technical Suppo...more >>

Windows Service help (VB.Net)
Posted by Andrew at 1/3/2005 11:46:15 AM
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason (other than the service being stopped) it would restart it. I have written the service to do just this,...more >>

DotNet Web Client UserControl Events
Posted by DonR at 1/3/2005 11:29:03 AM
History: In VB6 I could create an OCX that had the ability to accept paramenters from a web page <object> tag, do some work, then fire an event back to VBScript or JavaScript on the web page where addition work may have been done. This web page usercontol interaction was easy in VB6. Using...more >>

Out of Range Exception
Posted by Brad at 1/3/2005 11:22:12 AM
Now I am encountering my second very strange problem. I will describe = the first one later. But my current problem lies with trying to bind to = a combobox: Try If clubID <> "" And txtYear.Text <> "" Then DsEvents1.Clear() daEventInfo.SelectCommand.Parameters(0).Value =...more >>

System.Diagnostics.Process.Start
Posted by Jm at 1/3/2005 11:07:10 AM
Hi All Im using a windows service program written in vb.net using the system.diagnostics.process.start to open exe files but im getting few strange problems that seem to be caused by the fact they are being started under a network service account instead of the logged on users account. Is th...more >>

a question about DllImportAttribute
Posted by dgk at 1/3/2005 10:45:49 AM
I'm not sure what the difference is between using the attribute and just declaring a function in a dll. For that matter, what this code is doing is also a question (from one of the 101 examples from Microsoft): ' Specifying Unicode Public Declare Unicode Function UnicodeBeep Lib "kern...more >>

copy protection
Posted by DavidB at 1/3/2005 9:15:28 AM
What are people using to protect their VB.NET software ???? ...more >>

Problems with Combobox
Posted by mollyf NO[at]SPAM hotmail.com at 1/3/2005 8:58:59 AM
Hello everyone-- I've tried many of the things I've found searching the newsgroups in trying to store 2 fields to a combobox and use displaymember and valuemember but nothing is working. Here is my code: Dim strSQL As String Dim dataAdapt As New OleDbDataAdapter Dim cmd As New OleDbComman...more >>

How to diagnose why an Add-in in VS 2005 fails to load
Posted by Joginder at 1/3/2005 7:57:03 AM
I have developed an Add-In for VS2005 in Basic. It works fine on a couple of machines but fails witht the following error on one: ----Start of Message There was a problem loading the Add-in file 'C:\Documents and Settings\Bob\Application Data\Microsoft\MSEnvShared\Addins\VSNETcodePrint200...more >>

Microsoft Script Control doesn't work in .net like it did in vb6
Posted by Joe Ciaramitaro at 1/3/2005 7:43:03 AM
I have an application that I was trying to convert to vb.net which contains the msscript object to call custom perl scripts which msscript does great. After converting to .net the control doesn't seem to work the same, some of the perl language such as opening and reading files doesn't work a...more >>

Showing Line numbers in code
Posted by genojoe at 1/3/2005 4:11:02 AM
The following shows me the last line number executed. It requires an error. 7811: Try Err.Raise(60000) Catch ex As Exception MsgBox("Error 60000 at " & Err.Erl()) End Try Is there a way to show a line number without creating an error. For examp...more >>

Check if instance of program is already running
Posted by Henry at 1/3/2005 4:05:03 AM
oHi, I want to check for a Windows form program if an instance of the prgram is already running: if yes the program's window should be activated and no second program instance should be started. How can I perform this task in VB.Net? Thanks in advance. -- Best regards Henry...more >>

Localization fails with exe.config file
Posted by Henry at 1/3/2005 4:01:01 AM
Hi, in a Windows form VB.Net project I use localization for all texts. In App.Config I added: <appSettings> <add key="locale" value="de"/> </appSettings> In the project I have ressource files strings.resx (English text) and strings.de.resx for the German texts. In the Main Module I us...more >>

Nov ctp after beta 1
Posted by John at 1/3/2005 2:27:12 AM
Hi I have vs 2005 beta1 installed at the moment. Do I need to do anything special before installing nov ctp? Thanks Regards ...more >>

populate 1 listbox with another listbox and vice versa
Posted by Dave at 1/3/2005 1:06:24 AM
Hi All, I have a windows form that contains 2 listboxes and 2 buttons. The listbox on the right is populated by a database routine (This is the easy part). The listbox on the left is populated by 1 or more selected items from the listbox on the right after clicking an Add button. Clicking a...more >>

Accessing the ManualResetEvent of a thread
Posted by Brian Mitchell at 1/3/2005 12:44:00 AM
I am sure this is pretty basic but I have never worked with ResetEvents before, but how do I signal a ManualResetEvent of a module that is spun off into several threads? For instance, if I have 5 threads of the same Sub and they are all unsignaled, how would I signal them (or one of them)? ...more >>

Duplicates in Arraylist
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/3/2005 12:40:10 AM
How do I remove duplicates from an arraylist?...more >>


DevelopmentNow Blog