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 > february 2007 > threads for wednesday february 14

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

string array differences
Posted by Morten71 at 2/14/2007 10:57:41 PM
I have a strange problem. I have a local string() var I populate this way: clmns() As String = {"InvoiceNo", "InvoiceDate"} When I call: Array.IndexOf(clmns,"InvoiceDate") I get 0 (zero) as expected. If I fetch the values from the web.config this way: clmns() As String = Configuration...more >>

A combo box as the Access compo box
Posted by giannis at 2/14/2007 9:40:00 PM
Is possible to make a combo box as the Access combo box ? I care about the autofill ability of this combo box . Can you give me some general instructions about how can make this ? Sorry for my english ... Thanx ! ...more >>

2005 Express OleDbConnection
Posted by Miro at 2/14/2007 8:19:51 PM
I think i have found my problem following an example ive searched for on the net. I am using vb.net 2005 express. What I am looking for is a drag drop from the toolbar that is an OleDbConnectionOleDbConnection and a OleDbDataAdapter so I can drag and drop these on the from, and Connect t...more >>

My.Application.CommandLineArgs
Posted by Anders B at 2/14/2007 6:59:34 PM
Hmm, can "My.Application.CommandLineArgs" only contain 6 items? I can't seem to get anything more out of it atleast....more >>

Datagridview Calendar Column
Posted by Arne Beruldsen at 2/14/2007 4:56:00 PM
I've downloaded some code relative to establishing a column on my DataGridView which allows me to use the DateTimePicker. So far so good. If I add a column using dim col as new CalendarColumn the grid works great. However...I need to assign an existing column ... from a database. How do ...more >>

Convert VarPtr(myObject) to VS2005
Posted by DaveS at 2/14/2007 4:42:43 PM
Hi, Is there an easy way to convert the following piece of VB6 code to VS2005? myBuffer = VarPtr(lana) TIA, Dave ...more >>

Clickonce Debugging
Posted by John Wright at 2/14/2007 3:35:50 PM
Does anyone know how to debug a clickonce deployed application. I am trying to write a module for all our applications that will check for updates and update the program asynchronously and notify user when the update is done and have them restart. However, when I debug it, I keep getting the...more >>

How to avoid late binding??
Posted by active at 2/14/2007 3:25:06 PM
Me is a combobox and the items are objects with a property "String1" The problem with the following construct is that one does not know if there is a typo until run time. Me.Items(LpCnt).string1 What is the best way to force early binding or at least get the compiler to check? ...more >>



Problem with connection strings being saved in the XSD files.
Posted by CodeMonkey at 2/14/2007 2:13:40 PM
We have quite a few datasets that have been designed through the IDE. In our application, we generate a connection string to the server based on what the user configures the application for. The problem is, our connection strings on the development machines are being saved into the XSD files...more >>

dataset and group by
Posted by giminera at 2/14/2007 12:10:14 PM
I've got a dataset on a datagridview: fileds are code,descr,price,vatcode. I have to calculate the total amount of vat. Example: first row = price 10$, vatcode 20 second row = price 50$, vatcode 10 third row = price 10$, vatcode 20 So, I have a SQL Table with vatcode and vat%, for example vat...more >>

Exception Thrown please check code
Posted by AZNewsh at 2/14/2007 12:08:05 PM
System.InvalidOperationException was caught Message="A from address must be specified." Public Shared Sub sendEmail(ByVal fromAddy As String, ByVal toAddy As String, ByVal subject As String, ByVal body As String) Try Dim fromAddress As New System.Net.Mail.MailAddress(fr...more >>

disappearing datagrid
Posted by wk6pack at 2/14/2007 11:56:32 AM
Hi, I have a datagrid that is populated from a query in SQL Server. The first time I run the form, it appears, I make changes or view it and it is fine. When I close the form and open it up again, the datagrid is not there to see. I'm running the same code to populate it. What is happeni...more >>

Dilemna on how to Code what I need to do
Posted by booker NO[at]SPAM mgt at 2/14/2007 11:29:15 AM
Ok, I inherited some code written in vb that is part of a web application. My overall objective is to be able to take multiple names from a "LastName" text box and use those names in my SQL query against my database. Currently the way it is coded, the text box will pass one name only to the ...more >>

how to suppress beep (beep sound)
Posted by Rich at 2/14/2007 10:53:20 AM
When I press the Enter key in a Textbox I get a beep sound. But when I press the Enter key in a combobox, I don't get the beep sound. Is there a way to suppress the beep? How to do this? Thanks...more >>

Is it possible to run VS2005 under .Net Framework 3.0
Posted by Iouri at 2/14/2007 10:33:34 AM
Is it possible to run VS2005 under .Net Framework 3.0? If yes how to assign the .Net Fremowork 2 or 3 to the VS 2005. ...more >>

Warning 1 Type of parameter 'e' is not CLS-compliant. ...
Posted by active at 2/14/2007 9:28:36 AM
I have this: Public NotInheritable Class StateChangedEventArgs Inherits EventArgs .... and in some subs this: Public Event SelectionChanged(ByVal sender As Object, ByVal e As StateChangedEventArgs) In on and only one sub I get the error: Warning 1 Type of parameter 'e' i...more >>

Reverse Bitwise Operations
Posted by James Arnold at 2/14/2007 9:27:59 AM
Say I have an enumeration of modifiers for a hotkey (which conveniently I do!): Private Enum HotkeyModifier None = 0 Alt = 1 Ctrl = 2 Shift = 4 Win = 8 End Enum Using this I can work out the modifier for Ctrl and Alt being pushed (1 + 2). However, if I was given a value (e....more >>

Naming standards/ conventions used in VS dotNet and VB dotNet
Posted by Ben at 2/14/2007 9:14:30 AM
Hi all, Can you share with me the naming standards for the following : VB.Net, ASP.Net Naming Standards Namespaces Assemblies Classes and Structs Collection classes Delegate classes Exception classes Attribute classes Interfaces Enumerations ....etc I am sure where to begin to s...more >>

VBScript to VB.NET
Posted by Larro91 NO[at]SPAM gmail.com at 2/14/2007 9:04:52 AM
I am working to convert a user creation script to VB.NET so I can add more functionality in. Most answers I've been able to find on the NET without too much trouble but one problem is stumping me. I need to add a user to a newly created mailbox with full mailbox access. I was able to do this i...more >>

Help in query
Posted by Anna at 2/14/2007 8:16:31 AM
Hi: Can any one please tell me what i do changes in the query so that the in clause will be shows with comma when i select multiple location as right now it is showing in clause like that: user_view.User_Office_Location in ('PASC|INSS|NYML|FLWP|') Required in clause user_view.User_Office_Loca...more >>

Partially Trusted Callers Exception
Posted by marcmc at 2/14/2007 8:12:03 AM
Hi, I've just deployed my application which I ported from VS.Net 2003 to VS.Net 2005 and also from SQLServer to Teradata. When I put the executable on the network it won't run. The error is as follows: System.InvalidOperationException {"An error occurred creating the form. See Exception....more >>

Global Constants
Posted by Fred at 2/14/2007 1:57:20 AM
Hi, I am working on converting a classic asp site to asp.net. The site has an include file full of constants that are used across the site. This file can be dynamically updated and any changes take effect instantly with no impact on the site (IE the site does not need to be restarted/recycle...more >>

Sanity check
Posted by Stephany Young at 2/14/2007 12:00:00 AM
We all know the various aliases that the the idiot uses. We do NOT need to be reminded in a response to each post the idiot makes. Each response to one of the idiot's posts, even if it is to remind us who the idiot is and that we should not 'feed the trolls', is doing nothing more that 'fe...more >>

DataGrid detect row changes
Posted by Doug Bell at 2/14/2007 12:00:00 AM
Hi I have a DataGrid that has a DataView as its DataSource. I need to detect when a New Row is added or when a Row is Deleted so that I change data in the underlying DataTable. I found that MyDataGrid_CurrentCellChanged doesn't fire on a deletion or on a New Row if there was no previous row...more >>

Completely OT: Text flower needed
Posted by John at 2/14/2007 12:00:00 AM
Hi Years ago when there weren't any display terminals and only typewriter terminals, people used to draw "pictures" using alphabets and symbols. I hope I am making sense. I need a rose designed in this way by alphabets and symbols that can be emailed across. If anyone knows such a thing the...more >>


DevelopmentNow Blog