Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Re: VB.net 2003/2005- Can't figure out how to test for working internet connection
Robert - 14 Oct 2006 10:55 PM - 2 messages
Look into Ping [link](VS.80).aspx just ping a known ip address and see if it is reachable. ================================================ ========================================== From: gene kelley <o***@by.me> I ran across this article the other day which you may find useful: ...
Score picking off each digit of an integer
Candace - 14 Oct 2006 8:56 PM - 9 messages
I am using the following code to pick off each digit of a number, from right to left. The number I am working with is 84357. So for the first iteration it should return the number 7 and for the second iteration it should return the ...
Score Re: What .NET classes are SLOW vs. API?
teslar91 - 14 Oct 2006 8:02 PM - 6 messages
Update and clarification: ..GetFiles appears to retrieve *only* the names, and stores them in the ..FileInfo array it returns.  Each call to .FileInfo to get size/dates/attribs appears to result in a *separate* and time-consuming call down to the API to get this information. ...
Score Place of web.config
reidarT - 14 Oct 2006 7:12 PM - 3 messages
I have a web application conected to a sql database. When I publish this site I get one file in the bin directory, the web.config file and the aspx.files in the application folder. As I understand it: My web is at [link] and ...
Score Need help updating my dataset with changes made on the Source? Getchanges Merge?
mike11d11 - 14 Oct 2006 6:08 PM - 7 messages
I'm trying to create an application that will have multiple users working off a table on a SQL server.  Since multi users will be updating different records at any given moment, how can i get those changes and merge them into my current Dataset.  I've been playing ...
Score vb.net database programming
sandy - 14 Oct 2006 1:17 PM - 4 messages
hi friends... i am new to VB.NET.i was trying to read some data from the database using code, and display that in 2 textboxes.i was able to get only the first row. i used ExecuteReader() function of SqlCommand class and read() ...
Score Code Snippet Manager
Newish - 14 Oct 2006 9:58 AM - 4 messages
Hi I can't see code snippet manager in Tools menu. Can someone please tell me how to access it. Thanks Newish ...
Score Crystal Reports - Average of two fields
amit - 14 Oct 2006 9:37 AM - 2 messages
Hi guys I am using access database with Crystal Reports in VS2003 I am working on "Hospital Database" The fields are - Name - Date - ConsultingCharge - TotalFees i.e. Total Fees include fees for medicine issued by hospital In the report I want to display the Average of  ConsultingCharge and ...
Score Problem bei der Installation eines VB.net Programms
Nicolas Nickisch - 14 Oct 2006 8:54 AM - 7 messages
Hallo newsgroup, ich habe unter VB.net ein Programm entwickelt und nach einigem Hin und her sogar ein passendes setup Projekt hin bekommen. VisualStudio hat also eine setup.exe und ein .msi-File erstellt. Auf dem Quellrechner lässt sich dieses Paket auch problemlos installieren. ...
Score odbc
GS - 14 Oct 2006 6:45 AM - 7 messages
I would like to connect to a third part database. I know the datasourcename and even know the location of the dll that can serve the database, . what is the best way for an vb.net ( 2005 express wit .net2) application to ...
Score Visual Studio 2005
Yasseri - 14 Oct 2006 5:46 AM - 2 messages
Hi, I've previously installed Visual Studio 2005 on my computer, but when I reinstalled a new version of Windows XP on another drive and began to reinstall it, it was terminated unexcitedly. Also, when I tried to uninstall my the copy from my computer, and run the setup CD, it was terminated ...
Score Looking for VB.NET sample code: radio button list, check boxes
dogrady - 14 Oct 2006 5:14 AM - 3 messages
<newb alert on> Having no luck figuring out how to make a radio button list work on a web form (working against a SQL server).  If someone could point me to some sample code I would really appreciate it. ...
Score DataGrid Customers vs NHibernate.
Javier - 13 Oct 2006 11:37 PM - 2 messages
Hello, I need develop a DataGrid control on winform in vb.net languajes. This controls is connected to NHibernate data source, but I need too, that the control show only two columns of the table. Thank Javier. ...
Score HTTP 403.9 - Access Forbidden: Too many users are connected
Christina - 13 Oct 2006 11:20 PM - 6 messages
Hello, I am using IIS 5.1 on XP Pro. I have a page with many links on it (say 'Main Page'). Clicking on any of the links in Main Page, leads to say 'Page1. My Scenario (modified to make it simple): ...
Score Find Files and folders
frogman7 - 13 Oct 2006 9:14 PM - 12 messages
what i am trying to do is something similar to the search that windows does to find files and folders.  I am putting a start directory and want to find all the file (including the files in the sub folders) so i ...
Score executable don't start at a computer
Thomas Wegener - 13 Oct 2006 8:15 PM - 3 messages
I convert a VB6.0 project to VB .Net 2.0. It works fine. I copied the executabel on several machines and it runs, except one machine. Other C# 2.0 executables runs on this machine. Anybody has an idea what I can do, to find out the reason? ...
Score printing a zero
Candace - 13 Oct 2006 8:09 PM - 4 messages
I have a program that performs calculations and displays a four digit number. Sometimes the calculation results in a number like 0854, but my program displays it as 854. How can I force the program to display the leading zero, ...
Score Export a DataTable to Excel
Daniel - 13 Oct 2006 7:47 PM - 2 messages
I have a DataSet that consists of two Tables (made from TableAdapter Queries). I want to export each of these to an Excel spreadsheet programmatically after the Fill method completes. How do I do this? Using VB 2005 Express. Thanks! ...
Score reversing the Mod operator
Candace - 13 Oct 2006 7:44 PM - 6 messages
I am writing an encryption program that takes a digit and yields its modulus. For example, 7 Mod 4 yields 3. How can I reverse this procedure and get the original digit back in order to write a decryption program? ...
Score .net framework 1.1.4322
Mark Brown - 13 Oct 2006 6:25 PM - 3 messages
Where can I find the installation file for .net framework1.1.4322?  I'm trying to install my vb.net (vs 2003) application and it says it needs this version of framework installed.  I thought the setup program was supposed to ...
Score CopyMemory(buffer, newBuffer, nBytes)?
vb newbie - 13 Oct 2006 5:49 PM - 4 messages
I need to copy the contents of one byte array to another one.  I was hoping to do it quickly uisng the CopyMemory api call.  However, I'm getting: FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the ...
Score Datagridview and arraylist
Dwight - 13 Oct 2006 5:33 PM - 3 messages
You can attach an arraylist to  a datgridview by dgv.datasource = arraylist. If the arraylist elements are a class, is there a way to databind this class to particular columns in grid? Thanks ...
Score Minimizing the Console Window
Abelard - 13 Oct 2006 5:29 PM - 8 messages
How do I programmatically minimize the console window in a VB .NET console application? ...
Score How To Redistribute Office 2003 DLLS
Dylan Copeland - 13 Oct 2006 4:12 PM - 7 messages
Hello newgroup. In my application I'm calling on the Microsoft Word Object Library to run a spell checker. How would I redistribute this object library? Thanks. --------------- -Dylan Copeland [link] [link] ...
Score Prevent form minimize
M O J O - 13 Oct 2006 3:57 PM - 12 messages
Hi, I'm creating my own Sidebar (like in Vista). In my XP's quick menu, I have a button called "Show Desktop". When I click it all forms are minimized. Since I don't want my SideBar to be minimized, how do I prevent this? ...
Score dialog to choose folder in vb .net 2005
spamsink42 - 13 Oct 2006 3:45 PM - 4 messages
hello how do i create a dialog to allow the user to choose a folder? i tried FolderBrowserDialog but encountered a couple of problems: - when you specify the starting location (property RootFolder) you have to supply a constant such as MyComputer, you're not allowed to supply a ...
Score Threading a ShowDialog? - progress form.
Miro - 13 Oct 2006 2:56 PM - 6 messages
I will try my best to ask this question correctly.  I think in the end the code will make more sence of what I am trying to accomplish.  I am just not sure of what to search for on the net. ...
Score Data binding a text box
si_owen - 13 Oct 2006 2:48 PM - 2 messages
can anyone tell me how to data bind a list box to display data in a text box upon a click event, i have set the list box to auto post back. any ideas much appreceiated. simon ...
Score is there any way to find the position of mouse click on a form
sagar - 13 Oct 2006 2:28 PM - 6 messages
is there any way to find the position of mouse click on a form actually the problem is i m having more than one controls on a form i want to find which control is selected using mouse down any help is fine for me ...
Score Command Prompt or Windows
TBoon - 13 Oct 2006 2:12 PM - 4 messages
Hi there, A console application (.exe) can be executed at Command Prompt or Windows (double-click). Is there a way to detect  whether if it is executed at CP or Windows? regards, Boon ...
Score text area's
si_owen - 13 Oct 2006 1:00 PM - 2 messages
is it possible to add a data control to a text area??? ...
Score OPEN A FILE FOR READ ONLY
Morten Fagermoen - 13 Oct 2006 12:17 PM - 4 messages
I want to open the current IIS log file in read-only mode. This file is held by IIS but I still can open it in Notepad, but I have not been able (so far) to read from it using my VB.NET program. ...
Score SQL datasources
si_owen - 13 Oct 2006 11:59 AM - 3 messages
Hi all, I am looking to add a data control to a text area but without success, can anynow help me or suggest an alternative to a text area control. But i need a control that can hold a lot of txt and a txt box is ...
Score SQL datasources
si_owen - 13 Oct 2006 11:16 AM - 5 messages
Hi all, Im relatively new to the .net framework and i was wandering if any one could help me with a problem. I have created two tables using sql. I have linked one table to a drop down list, and require the second table's contents to be displayed in a ...
Score How to programatically check if an application has hang ?
Woo Mun Foong - 13 Oct 2006 10:13 AM - 3 messages
Hi, I need to write a monitoring program to check a series of application residing in a server. The monitoring program should be able to :- 1) Determine whether the applications it is looking at has hangup. 2) If it hangs restart the specific app. ...
Score Setup problem VB.net 2005
steve - 13 Oct 2006 10:07 AM - 2 messages
Hi All I have an application with a setup project which has worked faultlessly for months Today I added some graphs to the Report viewer in VB.net 2005 and when I build the setup project and try to install on a PC I get the error message ...
Score Why return false?
yxq - 13 Oct 2006 7:29 AM - 5 messages
In VB2005. Dim a() As Object = {10, 4} Dim b() As Byte = {10, 4} MessageBox.Show(a.Equals(b)) Why return False, but not Ture? Thank you ...
Score Type ... is not defined, WHY??
Søren M. Olesen - 13 Oct 2006 5:51 AM - 2 messages
Hi In my website I have a module, placed under App_Code with a number of utility functions. For one of these functions I'm trying to pass a usercontrol as an argument, however I keep getting 'Type myControl is not ...
Score Help with Merge and INSERT/UPDATE commands
John Cosmas - 13 Oct 2006 3:22 AM - 4 messages
I have a DATATABLE which I have populated in my application, and I need it written out to a particular table I specify in my ACCESS database.  My code works to the point of the MERGE and UPDATE, but it creates exactly the ...
Score Fail to connect SQL2005
Agnes - 13 Oct 2006 2:34 AM - 3 messages
my Two vb.net application run very well. Suddnely, todaymorning,  When user want to run One application There is an error (When I open the database connection) "An error has occurred while establishing a connection t the server.When ...
Score where can I get prerequisites for VS .NET?
דורון חסידים - 13 Oct 2006 2:32 AM - 2 messages
Does enyone know where I can download prerequisites for Visual Stodio .Net? Please Help. I cant install it without it. Thanks ...
Score Problem passing Collection from VB.Net to VB6
holysmokes99 - 13 Oct 2006 1:16 AM - 2 messages
I have run the VB.Net upgrade wizard to get a vb6 project up to VB.Net 1.1. This is a class library that is referenced by another VB6 app. I have exposed it to for COM access. The problem is that the collection ...
Score Using code to add controls
David Pick - 13 Oct 2006 12:31 AM - 5 messages
I am currently switching from vb6 to vb.net. I know in vb6 in order to add a control to a form such as a label you would use code like me.controls.add("Forms.Label.1"). Could someone please tell me the ...
Score Sort on two columns in ListView?
vb newbie - 12 Oct 2006 11:56 PM - 2 messages
Does anybody have suggestions on how to programatically sort a ListView on TWO subitem columns? Here's the code I'm using to sort on one subitem: Public Function Compare(ByVal x As Object, ByVal y As _         Object) As Integer Implements _ ...
Score Fill DataTable Progress
processoriented - 12 Oct 2006 11:21 PM - 13 messages
Hi,  I'm something of a noob at this, but here it is... I have an app that fills a dataset from a SQL database, and then writes the dataset to an xml file.  Everything is a SELECT query... I am basically just ...
Score Iterating through a ListBox in VB.NET VS 2005
Henry Jones - 12 Oct 2006 11:09 PM - 7 messages
I have a listbox on a Windows form and it is bound using the following code: objListBox.DataSource = tbl objListBox.DisplayMember = "ContactName" objListBox.ValueMember = "ContactID" ------------------------------------ On my form, I have a multi-select listbox and I would like to select a few ...
Score CreateObject fails AND works
dlasusa - 12 Oct 2006 10:38 PM - 8 messages
Sorry if this is the wrong group...I THINK I got to the right place...(oh...and I'm a newbie programmer...so please be gentle) Anyway I have a program that works fine when I run it from within ...
Score date criteria in VB Express query
Daniel - 12 Oct 2006 9:46 PM - 11 messages
In Microsoft Access I can write a query that includes the criteria: Between Date()-7 And Date() to retrieve the records from a table that fall within the last week. I'm trying to write a procedure to do this in VB.NET (2005 Express ...
Score DataGrid - Howdo I remove the bottom "Null" Line?
Stephen Plotnick - 12 Oct 2006 9:17 PM - 3 messages
I'm getting a bottom line with Null values andit causes a problem; how do I get rid of it? ...
Score Resursive Folders - Exclude Folders
Gabe Matteson - 12 Oct 2006 8:22 PM - 4 messages
How would I go about excluding a list of specific directories in a listbox from being queried using the following code? Any ideas? Thank you. Private Sub rAllStats(ByVal sDir As String) Try Dim objFolder As New System.IO.DirectoryInfo(sDir) ...
Score Converting Hex Fraction to Dec
Jeff Dillon - 12 Oct 2006 8:16 PM - 6 messages
How might I convert a string like 10.A (in hex) to it's decimal equivalent? Basically I have an input string like ((1F.A + 3A.D) - 1F.E) and need to calculate the result. Using Reflection and dynamic compilation, I was able ...
Score Copying cells to successive rows in Excel
bruxerjk - 12 Oct 2006 8:03 PM - 6 messages
I need to do the following. I want to copy cells from a number of Excel files, say "1.xls", "2.xls", "3.xls", etc, into successive rows of "All.xls".  That is, I'd open "1.xls", copy cells and paste them into row 1 of "All.xls", then ...
Score Property Grid
Lespaul36 - 12 Oct 2006 7:25 PM - 3 messages
I have a control that I have made that uses a custom class for storage of some of the information.  I want it to display in the VS.Net 2003 property grid in the IDE like the Font property does, so a use can expand it and set ...
Score Newbie Add Row Question
phenderson - 12 Oct 2006 7:11 PM - 2 messages
Hi, I'm fairly new to vb/ado.net and am having a hard time adding a row to a table.  The following code executes without any exceptions, but the rows do not appear in the database.  Also, I've stepped through the ...
Score VS 2005 nightmares
Doug - 12 Oct 2006 7:06 PM - 4 messages
In VB.NET 2003 I was doing the following(in codebehind)  and it worked great. In 2005 "WebMain"  in no where in scope.  How do I make "WebMain" visible to all Code-Behind classes?  Note:  these classes are codebehinds of web pages. ...
Score How to show a html page in a form ?
Dominique - 12 Oct 2006 6:27 PM - 2 messages
Hi, I'd like to show an html page in a form but without use the webform control because I can't create my own context menu detecting the link right click, and so on ... Does any one have an idea or some sample source code ? ...
Score Oracle throwing an exception, "ORA-01036: illegal variable name/nu
vvenk - 12 Oct 2006 6:27 PM - 3 messages
Hello: I wrote a small program to insert a row into an Oracle Table: CREATE TABLE case_list     (case_list_name_c               VARCHAR2(100) NOT NULL,     expiry_dt                      DATE NOT NULL, ...
Score ASP web app
Kevin M - 12 Oct 2006 6:04 PM - 5 messages
I am new to ASP. However, I'm am somewhat familiar with HTML. I recently built a simple application using VB 2005 which works great. It is basically a web application which allows one to book an appointment. I currently have ...
Score Adding a control programmatically...
johnb41 - 12 Oct 2006 5:54 PM - 3 messages
I want to create a textbox programmatically and add the SAME textbox to to different panels.  This code does not work: Dim tb As New TextBox tb.text = "xyz" Panel1.Controls.Add(tb) Panel2.Controls.Add(tb) The textbox gets added to Panel2, but not Panel1.  How can i get the ...
Score "Optional" reference?
Steve - 12 Oct 2006 5:48 PM - 3 messages
Kind of a strange question...  I have a VB.NET 2.0 solution containing a main project (my EXE) and a number of other projects (class DLLs) that are "plug-ins" to the main app.  These plugins get installed ...
Score Favorite Code Generator for VB.NET
Plinkerton - 12 Oct 2006 4:36 PM - 3 messages
Does anyone have any favorites for Code Generators for VB? It looks like there are quite a few.... [link] ...
Score Convert C# "writer.Write(@" to VB ?
bh - 12 Oct 2006 3:40 PM - 6 messages
I'm trying to convert the following statement to VB.NET:     writer.Write(@"<some html here>"); I tried simply removing the semicolon, but VB chokes on the @-sign. Unfortunately, when searching online, I can't find any information on what ...
Score vb.2003 Formatting Text Boxes
Peter Newman - 12 Oct 2006 2:38 PM - 3 messages
Firstly i would like to tank the helpful posts in the past regarding formatting... the scenario is that i ahve a form created by the data wizard.  I have created a private sub to handle the validating for TextBoxes ,, and it works ...
Score Multi-panel dock
blue_nirvana - 12 Oct 2006 2:38 PM - 2 messages
I have four panels on a form and I want them to be docked in a certain order. No matter if I do it in code or the designer, it does not dock them like I want.  For example, I set Panel1 dock to Top so that it is docked to the top ...
Score some general mouse events should be there
sagar - 12 Oct 2006 2:04 PM - 11 messages
hi everyone, i m having a problem with mouse events. any help related is apreciated. i m having a form in which i m having 2 buttons. and i m moving(draging) these buttons on run time using mousemove event handler ...
Score VB.net 2003/2005- Can't figure out how to test for working internet connection
adalton - 12 Oct 2006 1:58 PM - 5 messages
I've been trying to figure out how to test for a valid internet connection. I am able to connect to a valid internet connection, but when it drops, or if it is not there when my program starts, I get an exception. ...
Score newbie question
wasted wanderer - 12 Oct 2006 1:43 PM - 9 messages
I am just starting to learn to program in VB.Net and have a question. Can a program designed in VB.Net be used by computers that do not have VB.Net? If yes, how is it done? I'm not concerned with Mac's just PC's. ...
Score Memory leaks?
T Clancey - 12 Oct 2006 9:34 AM - 5 messages
Hi, I have an app which connects to an Access database on a server, there are around 10 clients.  It's a fairly heavy data intensive app, but most of the traffic is look up data. While the system appears to run completely error free around every 6 weeks ...
Score Get EXIF data from picture
dennemandergal - 12 Oct 2006 8:19 AM - 2 messages
Hi How do I get the EXIF data from a JPEG file using vb.net. Best regards Lars Harpøth ...
Score Passing 2-D Array from one function to another
hotpars - 12 Oct 2006 7:58 AM - 2 messages
Hello, I am getting info. from database and storing into 2-D array. And another function getting this array and do process. But problem I am getting is. 1. How can I return 2-D array from first function. 2. How can I pass 2-D array from first function to second function. ...
Score Make application sleep
Morten Snedker - 12 Oct 2006 7:33 AM - 13 messages
I open a file for input. Each line is handled individually. Every time a line has been handled I wish to wait for ½ second before reading the next. Am I doing it right or wrong ? (I think it's wrong): ...
Score file transfer help?
Bonzol - 12 Oct 2006 6:48 AM - 3 messages
vb.net 2003 Windows application We have a Client/Server system set up by communicating through a TCPClient object. The server loops continuously using a tcplistener device and each time a client object attempts a connection, a new instance of a Client object is created (in the server's clients ...
Score anyway to unload the dll
Amy - 12 Oct 2006 6:15 AM - 4 messages
Hi, I'm using vb.net vs2005 to development an mobile device application. I need to call a dll in the program but i discovery that the resource of the dll is not free after using it. Is there any way to free the dll? ...
Score Design View when using an ASP:Panel to show/hide groups of <tr>'s
Nathan Sokalski - 12 Oct 2006 1:46 AM - 3 messages
I have an HTML table in which I am using ASP:Panel controls to group together <tr>'s so that I can more easily show/hide them (by setting the ASP:Panel's Visible property). This works fine, but Visual Studio .NET ...
Score Calculator
Jeff Dillon - 11 Oct 2006 11:50 PM - 2 messages
Granted this question is for a take-home pre-screening interview question. No rules against using the newsgroups! I need to take an input string like (4 * (5 + 6.7) - 81 /  9) and calculate the result. I was thinking of using reflection or similar to actually let VB do the ...
Score mp3 synchronised lyrics
Wolfgang Hüll - 11 Oct 2006 9:57 PM - 7 messages
Hi All. Is there anybody out there who could possibly give me a hint on how to add synchronised lyrics (lyrics3) to a mp3 song so that the good old mediaplayer can display them? I have been searching the net for days now and could not ...
Score Programmatically Find All Registry Entries
eSolTec, Inc. 501(c)(3) - 11 Oct 2006 9:49 PM - 4 messages
Thank you in advance for any and all assistance, it is GREATLY appreciated. I'm wondering if there is a way to duplicate a function in regedit of find and find next for keywords programmatically, then to list them in a treeview ...
Score Bitmap to JPEG with compression settings
Smokey Grindel - 11 Oct 2006 8:32 PM - 2 messages
I have a bitmap object I want to return as a JPEG image with a compression set at 90% and progressive passes enabled, how can I do this in .NET 2.0? Progressive passes are not necessary but the compression ratio is.. thanks! ...
Score Check for .NET Installed
eSolTec, Inc. 501(c)(3) - 11 Oct 2006 7:15 PM - 2 messages
Thank you in advance for any and all assistance. It is greatly appreciated. Is there a way to programmatically check for .NET Framework versions installed on the computer? ...
Score Check for .NET Installed
eSolTec, Inc. 501(c)(3) - 11 Oct 2006 7:15 PM - 12 messages
Thank you in advance for any and all assistance. It is greatly appreciated. Is there a way to programmatically check for .NET Framework versions installed on the computer? ...
Score Check for .NET Framework
eSolTec, Inc. 501(c)(3) - 11 Oct 2006 7:13 PM - 2 messages
Thank you in advance for any and all assistance. It is greatly appreciated. Is there a simple way to check and see if .NET Framework versions are installed programmatically? ...
Score What .NET classes are SLOW vs. API?
teslar91 - 11 Oct 2006 6:36 PM - 4 messages
As a fairly new .NET coder, I would greatly appreciate some comments on any .NET classes that are known to be notoriously slow by comparison to direct API calls. I've already had a bad experience with System.IO.DirectoryInfo.  My ...
Score ToolStripMenuItem Possible bug in VS2005
genojoe - 11 Oct 2006 6:36 PM - 3 messages
I begin a new form.  I add a MenuStrip.  I then  right click it and select "Insert Standard Items".  This results in a loaded MenuStrip that contains File>>New among others. I then add a button and give it the following code. ...
Score Trouble executing a stored procedure
vvenk - 11 Oct 2006 6:15 PM - 3 messages
Hello: I wrote a test procedure on Oracle that returns a string and a value. CREATE OR REPLACE PROCEDURE EBMS.p_CSV_Upload     (         P_ERROR                   OUT VARCHAR2, ...
Score PLEASE HELP! CANT INSTALL .NET
דורון חסידים - 11 Oct 2006 4:03 PM - 4 messages
Hellow, I am a teacher, and trying to install a copy of visual studio .net that received from my school. I insert CD1, klick setup, klick the only option available ''siprerequites'', and than there is a message telling that there ...
Score Play avi file
phonl - 11 Oct 2006 1:18 PM - 4 messages
Moving from VB6, what is the .net component for playing an avi file?  In VB6, it was the annimaiton control that was part of the Microsoft Common Controls.  I want to play a simple avi file like the "filecopy.avi". ...
Score Strange Issue / DB Error / Not Showing Error Message
Ivan Weiss - 11 Oct 2006 12:11 PM - 14 messages
Good morning all, I am trying to access an access database to authenticate users upon logging into my application. Something is throwing an excecption.  My error handling code should display this message in a msgbox.  However, the messagebox is always ...
Score VB.NET equivalent of C# Operator '??'
Philipp Brune - 11 Oct 2006 11:24 AM - 12 messages
Hello Newsgroup, in c# there exists the '??' operator. It is used like this  : string s1 = null; string s2 = s1 ?? "(undefined)" And does the following (simplified) : if(s1 == null)    s2 = "(undefined)" else    s2 = s1 Is there an equivalent operator in Visual Basic.Net, and if so, how is ...
Score Graphing in MS Report viewer
steve - 11 Oct 2006 10:35 AM - 2 messages
Hi All Can anybody point me to some info on creating a graph in VB.net 2005 report viewer I can't seem to find any on the web I want to show sales totals by week in a vertical bar graph ...
Score Using For Each in a Custom collection class with hashtables
Erick - 11 Oct 2006 7:00 AM - 7 messages
I've created a class called Procs and a collection class called Processes which uses a hastable object to store the Procs. Now i want to enumerate with the "For each" to extract all the Procs in my Processes class.  As far as i can tell i need to implement an ...
Score Sql server express 2005 connections open
steve - 11 Oct 2006 5:28 AM - 5 messages
Hi All I have a VB.net 2005 application which uses Sql server express 2005 When I read or write data to sql server I always close the connection immediately after finishing using... --------------------------------------------------- If Not IsNothing(con) Then con.Dispose() ...
Score Is there any way to Mount Virtual CD's from VB?
Terry Olsen - 11 Oct 2006 2:39 AM - 4 messages
My 5 year old has lots of games that require the CD be in the drive. I would like to come up with a program that will mount the .iso image to a virtual cd-rom drive and then run the game executable. Is there any way to do this ...
Score When "As New" or not when instantiating?
Ronald S. Cook - 11 Oct 2006 12:20 AM - 5 messages
So most of the time I need to write the following to instantiate an object: Dim cnn As New SqlConnection() But sometimes Intellisense tells me not to include the "new": Dim dst As DataSet When do I use "As New" and when don't I?  Intellisense is good at letting me ...
Score back at the same point in a web page !!! ??? please help...
Ros_Au - 11 Oct 2006 12:09 AM - 2 messages
I have a very long page then with a button_click event I need to make some calculation and fill a table shown in the page, the problem is that when my page postback I start at the top of the page and I need to ...
Score Compiling for .NET Framework 1.x in VS 2005
jtertin - 11 Oct 2006 12:03 AM - 13 messages
Can you force VS 2005 to compile a program to be compatible with version 1.x of the .NET Framework?  HOW!? ...
Score Search for Directories/files/Folders
eSolTec, Inc. 501(c)(3) - 10 Oct 2006 10:55 PM - 6 messages
Thank you in advance for any and all assistance. I'm looking for a way to programmatically scan all installed drives for programs that are installed. Can someone point me to code to look for say, "keywords" on the installed ...
Score DataTable - Date Difference
Dennis - 10 Oct 2006 9:58 PM - 5 messages
I am trying to set up an Expression column in a DataTable for display in a DataGrid that subtract the column ("BirthDay") from todays date.  I can't seem to get it right...is this possible? ...
Score "using statments"
Shooter4Life8 - 10 Oct 2006 9:07 PM - 6 messages
for some reason when i try to use a "using" statment i get an error saying. "Name 'Using' is not declared." does that mean that i need to inheirit or import from  a class? Im trying to use it to read from a file. The file format is as follows. ...
Score How to open a .CSV file ?
fniles - 10 Oct 2006 9:04 PM - 21 messages
I have a .CSV file (comma delimited) that I want to open using OLEDB, but I get the error "External table is not in the expected format." If I save the .CSV file to an .XLS file, I can open the connection with no ...
Score WinForms DataGrid formatting question
stoned99 - 10 Oct 2006 8:25 PM - 3 messages
Dear .NET experts: Hi, I have a table bound to a grid with a column that can contain either SSN or TAX-ID. Based upon the content of the cell I want to apply either the mask 00-00000 or 000-00-0000. I can only figure out ...
Next » 2 3 4 5 6 7 8 9 10