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 > march 2006 > threads for thursday march 2

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

error "concurency violation"
Posted by Toufik at 3/2/2006 11:21:50 PM
Hi, I've the folowing error "Concurency violation, The update command affected 0 records", when I execute the save command "DA.Update(DS, "tblName")" DA is a dataadapter linked to a commandBuilder. How can I debug the error, know what is the error... what is the exact update command t...more >>


XML as an INI File
Posted by Kevin at 3/2/2006 11:18:33 PM
Am a developer,used to VB6 and trying to get to grips with VB.NET 2.0. Trying to read a simple XML file with the user settings. Have seen some sample code for .NET 1.1 and that crashes saying some widget or other is no longer used. I get a million error messages and do not have the skill set...more >>

Getting the date of the first Sunday in April in VB.net
Posted by Paulers at 3/2/2006 11:17:32 PM
Hello, How would I go about finding the date of the first Sunday of April in VB.net? ...more >>

Basic question
Posted by philip at 3/2/2006 10:50:53 PM
If the main window of my application is maximized, all the windows call by program (it is not a mdi application) open themselves maximized. The window called by the main window has this code for its Load event : Private Sub ShowOneImage_Load(ByVal sender As System.Object, ByVal e As System...more >>

How best create Windows form for dragging bigger/smaller?
Posted by Ronald S. Cook at 3/2/2006 10:48:03 PM
What is the best way to structure my Windows form so that when it is dragged bigger (i.e. maximized) or smaller, the controls will reorganize themselves "properly"? Assume I have 4 logical sections of controls. Do I create 4 panels and dock them a certain way? I'm just looking for the...more >>

File or Assembly name xxx or one of its dependencies not found
Posted by Ashish at 3/2/2006 9:42:27 PM
Hi I m facing the error : "File or Assembly name xyz or one of its dependencies not found" in an VB.NET application.I've checked the dependencies of file xyz & taken their refernece too but still getting an error. Can anyone suggest a plausible solution. -- Regards Ashish Narang AIM: ash...more >>

Run a DOS command
Posted by Michael Roebuck at 3/2/2006 7:46:26 PM
Hi all I'm very new to VB - I am trying to run a DOS command from within a VB2005 asp.net web site using a command button? The DOS command will take the form of the command followed by several switches! Any ideas examples gratefully accepted. P.S. If this is the wrong group please ac...more >>

Multiple File Conversions via Batch File
Posted by someone NO[at]SPAM somedomain.com.invalid at 3/2/2006 6:08:48 PM
Hello, I am attempting to convert multiple .wav files to the .flac format via a batch script. I know that this can be done with numerous software implementations automatically for me; however, i am interested to understand how to create a script to perform my purpose and since this function is usef...more >>



Pulling specific words from a string
Posted by akelly_image NO[at]SPAM yahoo.com at 3/2/2006 5:50:08 PM
Okay, if anyone could toss me some idea's here, please bare with my noobish questions, I just picked up VB2005 Pro about a week ago. ( no prior VB at all ) Here's my issue.. I'm pulling information out of a text file and need to pull specific words out of a string. For example, the text...more >>

textbox mask
Posted by Shannon at 3/2/2006 5:49:52 PM
I'm trying to figure out how to mask a text box.. i've looked at the masked text box.. but still can't get what I want i want to both display and be able to input a decimal value. if i want to allow 3 digits before the decimal and 2 after, if i do 333.33 it works fine.. but if i do 33.3 t...more >>

Radio Button Grouping in vb/VS 2005
Posted by Thomas Homan at 3/2/2006 5:00:08 PM
All, Is there an easy way to interate through a group of radio buttons (9 of 'em) contained within a group box in VS2005. I really don't want to have to evaluate each one... TIA! Tom ...more >>

VB 2005 express not saving data to sql express
Posted by all2neat at 3/2/2006 4:40:22 PM
hello. I can enter in data in the vb program itself and it will save data there but when i run my program and enter data it will not save the changes to the database. Any ideas on how to get my program to use to commit the data. I used the built in code generator to get a link to the database, i...more >>

making a SOAP connection persist
Posted by cj at 3/2/2006 4:25:36 PM
I've been trying all week to write a VB.net soap client. I've finally gotten a connection after figuring out I needed to change the name of a ..xml file I was given to .wsdl and add it as a web reference in my Windows app. When I click button2 to logout I get an error message and the fol...more >>

File test
Posted by Adrian at 3/2/2006 3:42:40 PM
Hi, Before I open a file to read it etc how can I test to ensure it not currently in use by another process? the scenario is that I'm watch for a file to be created once it is I read its contents and depending what they are I move it! however I'm getting error when I'm am reading the f...more >>

Web service question
Posted by Bryan Dickerson at 3/2/2006 2:33:30 PM
If I have a web service about which all I know is the URL, i.e. http:/server:portnum/methodname (no WSDL, no nothing else), can I reference and use a web service like this in a VB.Net program? And if I can, then how? Thanx! -- TFWBWY...A ...more >>

Property 'FlowBreak' accessible only at design mode ?
Posted by philip at 3/2/2006 2:07:25 PM
The FlowLayoutPanel is useful for HTML-like layout. But there is an important problem. 1. IN DESIGN MODE, all is normal. If you insert a Label control on a form, the FlowBreak proprety doe's not appear in property window of the Label. It's normal. If you drag this control on a FlowLayoutPan...more >>

Data Relation Update
Posted by Andrew Bassett at 3/2/2006 12:59:49 PM
I have a datarelation between two tables and I'm having trouble making this work. I call an addnew on the datarelation to create my new record. However, I'm having trouble updating my child table. I haven't found any reasonable examples to do this. Anyone have any suggestions?? ...more >>

Comparing Colors
Posted by fripper at 3/2/2006 12:33:49 PM
I have a simple VB 2005 app that has a bitmap image and at one point I want to look at a particular pixel and see if it has a color value equal to the value of a color variable, c. For example: dim c as color c = color.red If bitmap(x,y) = c then . . . For ...more >>

Enumerate members of Administrators Group (AD)
Posted by BH Jodo Kast at 3/2/2006 12:09:32 PM
Hi, I found this handy script and I'm trying to convert it to VB.NET. It pops up a list of members in the Administrators/Builtin group. Can't seem to get DirectorySearcher or DirectoryEntry working similar to this. Run this as a VBS script to see: Option Explicit Dim strUser, strMember,...more >>

Tip of the day / in-app help component?
Posted by Mitchell Vincent at 3/2/2006 11:50:46 AM
Many times there are controls that need to be explained in some of my software dynamically (IE, not require the user to open the help file). I'd like to use "tip of the day" style windows for that and wonder if there are any components out there that might make context sensitive help a bit e...more >>

MDI Tooltip Problem
Posted by Mitchell Vincent at 3/2/2006 11:49:14 AM
Using VB.NET 2003, I have a tooltip control on an MDI child window's control. When I hover over it when the application is running the tooltip appears behind the parent window (I can only tell because it is long and pokes out the side!). Also, is there a way to include line breaks for toolt...more >>

filter rows in a bound datagrid
Posted by phonl at 3/2/2006 11:16:19 AM
VB.Net 2005 I have a bound datagrid with a list of names. I want to add a button that will filter the names so that only the names that start with "H" will display. How would I do that? Thanks for help. ...more >>

Monitor resolution independence
Posted by Al Reid at 3/2/2006 11:09:23 AM
I have an application where a 3rd party viewer is displayed next to a VB2005 app. I was told that the viewer needs to occupy the left 2/3 of the screen and the app the right 1/3. Is there something built in that will allow me to dynamically scale the forms and all contained controls based on th...more >>

update more than only the email with asp.net membership
Posted by ibiza at 3/2/2006 11:03:18 AM
Hi all, I am currently developing in asp.net 2.0 and I was at first impressed with the numerous login and user controls they provided to ease the task of managing users. But I am starting to think it's an hassle for certain tasks...here's my problem : I have created some users and succes...more >>

Namespace Question ...
Posted by Joe HM at 3/2/2006 11:03:13 AM
Hello - I have a set of utilities that are structured as follows ... Namespace Utility Public Module Main Public TestA as cTestBase Public TestB as cDummyBase End Module End Namespace A VB file that uses them calls Imports Utility and then TestA.funct...more >>

Modules in 2005
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 3/2/2006 10:45:34 AM
Am I missing something? I don't have an option to add a module to my web application. Only classes... Where did the module go? ...more >>

problems with URL value in webbrowser app
Posted by Randall Arnold at 3/2/2006 10:32:09 AM
I'm creating a VB 2005 Express app that hosts the webbrowser control. = Everything works well except one area: the Navigating event. In that event, I need to evaluate the URL property of the webbrowser = object. The URL is set beforehand in the browser object. I'm using = Webbrowser1.URL.To...more >>

Change Report Connection at Runtime
Posted by pearsons_11114 at 3/2/2006 9:50:27 AM
Changing connection info at run time with Crystal does not seem to work as advertised. I've tried the code in the documentation and the code that's been posted in the crystal group numerous times by Shariq. Here are my particulars: ..NET 1.1, SP1 Crystal Dev. 10 SQL Server Report has one t...more >>

HTTPWebRequest
Posted by Tyler at 3/2/2006 8:53:28 AM
I want to be able to authenticate usernames and passwords in a web application without going to the login page. I have no control over this web application. I believe I can send the username and password in a url string to see if it authenticates. In other words, www.somewebpage.com?user=...more >>

Unable to recognize stored procedure param
Posted by Virgil at 3/2/2006 8:37:06 AM
Hello, I am attempting to create a small app that executes a stored procedure in SQLServer and have been unsuccessful in getting the procedure to execute from my application. The error received when issuing the ExecuteNonQuery is "Procedure 'TestProc' expects parameter '@IN', which was not s...more >>

Delimiter question
Posted by gn NO[at]SPAM dana.ucc.nau.edu at 3/2/2006 8:25:36 AM
I am trying to parse a txt file which looks something like example below: thisemail@email.com thatemail@email.com anotheremail@email.com This is the code I am using: filetoread = file1.Value filestream = File.OpenText(filetoread) readcontents = filestream.ReadToEnd() textdelimiter = "...more >>

Problem: Unwanted Paper feed after printing.
Posted by Sukh at 3/2/2006 8:07:38 AM
Hello anyone, I am printing a pre-printed continue paper on dot-matrix printer using vb.net winform. For printing I am creating custom size paper and selecting the same for printing. Everything is going fine on first page but after printing first page it feed some extra paper (3cm paper). So on...more >>

Excel Interface
Posted by Tony D at 3/2/2006 7:29:10 AM
I have a small system- a menu in VB .Net calling a VB .Net DLL that allows a user to access an ADO Database and extract data to a new/existing EXCEL file The user can extract multiple tables- the problem is when I exit the excel (this is all done behind the scenes so user does not see anythin...more >>

Detecting Terminal Server in VB.Net
Posted by Hitesh at 3/2/2006 7:25:55 AM
Hi, I need code in VB.Net to detect if the application is running on Terminal Server. I am using the following code. Please let me know if you see any issues in it or if you have some better code to achieve this functionality: Dim sTemp As String = Environment.GetEnvironmentVariable("SES...more >>

delete row from dataview
Posted by Sam at 3/2/2006 6:29:03 AM
Hi, As I loop through a dataview's records, I delete datarow based on a condition. However I don't want to commit those deletions until the loop ends. With a datatable, i would just set row.delete() and call AcceptChanges when the loop ends. But how can I do that with a dataview ? Thank yo...more >>

fonts at runtime
Posted by elwaly at 3/2/2006 5:41:01 AM
hi there any one to tell me how to change a textbox font at run time perminantlly so that the user can set the textbox's font one time and rerun the application without change in the font he set (the user set the textbox's font as his default font) assuming that the application uses the micros...more >>

Intermittent VS.Net Pauses during VB.NET code writing
Posted by genojoe at 3/2/2006 4:25:28 AM
IN VS.NET 2005, I have a form with over 20,000 lines of code. Frequently, both during debug or non-debug code editing, VS.NET freezes for up to 30 or 60 seconds to collect its thoughts. I think others may be experiencing this problem if they are editing a class with a large amount of code. ...more >>

Read a text file word by word
Posted by naiya at 3/2/2006 4:05:07 AM
i have to develop a VB application which reads the text from a .txt file, and i have to write the contents of the file to an Excel sheet. the format of the .txt file is name age company abc 23 xyz def 18 ...more >>

How to run a form in it's own thread in vb.net 2005
Posted by 1388-2/HB at 3/2/2006 1:46:43 AM
Public Sub ThreadStartPoint Application.Run(frmSomeForm) End Sub This 2003 code no longer works. What's the new model for accomplishing this task in vb.net 2005? ...more >>

Textbox control formatting
Posted by Seok Bee at 3/2/2006 12:35:28 AM
Dear Experts, I would like to find out whether can I retrieve a string from the database and retain the format in the string to be show in a textbox control or append into a message's body to be sent out through email. For example, the string is as follow: ---------------------------------...more >>

SELECT @@IDENTITY
Posted by nsikkandar NO[at]SPAM gmail.com at 3/2/2006 12:29:23 AM
Greetings, I am in need of getting "Auto Generated Number" of Primary Key from master table (I am, using Access) when I insert a row through ADO.NET from VB.NET. Based on this ID, I want to generate new rows in child tables. When I was looking on the net to get some Idea, I found there is a...more >>

Source and design in two windows
Posted by Reidar at 3/2/2006 12:00:00 AM
Is it possible to have the source in one window and the design in another window and perhaps the code in a third window? reidarT ...more >>

Convert double to string
Posted by Steven at 3/2/2006 12:00:00 AM
I have tried to use FormatNumber() to convert a very large double type number to String format, however, the result seems not correct, is there any limitation for using FormatNumber() function? For example, I write the code shown below: Dim DblA as double = 999999999999999.12 Dim VarA As St...more >>

.NET 2.0 Conversion Wizard Flags Me.Cursor?
Posted by Learnicus at 3/2/2006 12:00:00 AM
Hi As per subject when using the converter wizard in vs2005 to convert vb 1.1 to 2.0 code i get warnings (lots of them) about silly stuff like Me.Cursor.Current. It says Access of shared member, constant member, enum member or nested type through an instance; qualifying expression wil...more >>

How to write XML file from a variable structure?
Posted by Peter van der veen at 3/2/2006 12:00:00 AM
Hi From a webservice i got some data and i can use that in my application with the use of the WSDL file. So i got an variable in with are the rest of the data. lets say i got a structure like this in the var People People.Name.Firstname = "peter" people.Nama.lastname = "van der Veen" peop...more >>

ghj
Posted by gfhfghgf at 3/2/2006 12:00:00 AM
ghjgh...more >>


DevelopmentNow Blog