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 2004 > threads for thursday march 11

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

HLP: Updating a Column in a DataGrid Globally
Posted by Mr. B at 3/11/2004 11:43:41 PM
I've asked this before (several weeks ago)... but no replies (other than one not giving much hope). So I'd like to try again as I 'think' this can be done. And if so, some pointing in the right direction would be appreciated. So here goes... My application opens an MS Access db... I get th...more >>


Passing a .Net Class as a parameter through 1 or 2 levels of COM objects
Posted by Brian at 3/11/2004 11:08:17 PM
This question is the same issue as my last post, but has been simplified somewhat as the question was unclear. If I had a .NET program that was equivalent to a VB6 ActiveX DLL with 2 Class Module's, is it possible to pass one of these classes as a parameter to an early bound COM object and...more >>

Disk Is Full - Which Exception To Catch
Posted by google NO[at]SPAM intermension.com at 3/11/2004 10:58:58 PM
Hi there, I want to catch a "disk is full" exception on an attempted write. Ive got the code to check available disk space etc but it's in a highly iterative loop and i'd rather just catch the exception than poll the hard drive. It wouldn't be OutOfMemory 'cause thats RAM and nothing in Sys...more >>

REALLY dumb question!
Posted by Michael Hesse at 3/11/2004 10:19:00 PM
Hi, I have managed to mess up the arrangement of windows in IDE. I can't seem to get the Properties Window and Class View to show up at the same time. Is there a simple way to restore the default arrangement of windows in the IDE Thanks ...more >>

Opening a Web Address in IE
Posted by Ed Rauscher at 3/11/2004 8:34:07 PM
I basically have 2 questions. If anyone can help, that would be great. 1. How I can open a URL web address in IE using VB? 2. How to I save a webpage as a .txt file using VB? I am attempting to write a program that inputs a web address in IE, and then saves the content as a .txt file. T...more >>

What happened to string$() in VB.NET?
Posted by Tosch at 3/11/2004 7:51:55 PM
What is the equivalent to VB6's string$() in VB.NET? tosch...more >>

Nightmare with socket object
Posted by johntear NO[at]SPAM hotmail.com at 3/11/2004 7:45:09 PM
Hi I am currently trying to get the remote IP address of a client connection using VB.Net: This is in my class Private mobjSocket As Socket ' initialize with a raw socket Public Sub New(ByVal s As Socket) mobjSocket = s RaiseEvent Connected(Me) mo...more >>

Last Number
Posted by Craig Brunton at 3/11/2004 7:12:35 PM
Hi all, I have a text box in which the user will enter a 4 digit number. What I want to do is look at the last digit to see if it is a zero. Is this possible? Thanks in advance Craig Brunton ...more >>



How to get the value of a cell in the DataGrid
Posted by Tor Inge Rislaa at 3/11/2004 7:11:26 PM
How to get the value of a cell in the DataGrid Is it possible to get the data from a specific cell in a DataGrid whitout going into the data in the dataset.. Something like MyVar = ...Cell(4,5).Value.ToString TIRislaa ...more >>

Checking a list
Posted by bob NO[at]SPAM yahoo-dot-com.no-spam.invalid at 3/11/2004 6:40:36 PM
I dont want to go into too much detail about my problem so to put it simply- I need my program to check a list of values to see if a given value is on the list. Its needs to be able to do this quickly without slowing the computer down and do so many times succesively. Any help would be greatl...more >>

accessing server database
Posted by Smith at 3/11/2004 5:45:49 PM
i want to build an application..my database is situated at webserver.... can i acces data using vb.net windows form which architecture is best ( I want to use all the vb.net windows forms features for this) can u tell me how to connect a database situated at http://www.mydomian.com using...more >>

Text Box
Posted by MadCrazyNewbie at 3/11/2004 5:10:40 PM
Hey Group, How would i make a text box with multiple lines available so i can use it as a notes box? Regards MCN ...more >>

PaintEventArgs what do i use for e in this code?
Posted by David at 3/11/2004 4:18:59 PM
This Button1_Click will call the DrawarcFloat sub what do I use for arguments for the call? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click call DrawArcFloat(What goes here?) End Sub Public Sub DrawArcFloat(ByVal e As P...more >>

Multiple DataAdapter Update Problems
Posted by Matthew Hood at 3/11/2004 4:17:16 PM
I am having difficulties getting my DataAdapter to update records to my Access database using OleDB I have a form with: 1 Connection 3 DataAdapters (CompanyInfo, CompanyAddresses, CompanyPhoneNumbers) 1 Typed Dataset (Using those 3 tables and "1-2-Many" relationships between Compan...more >>

Semi-OT classic ASP question
Posted by MattB at 3/11/2004 4:08:28 PM
Hi. I've posted this elsewhere and I just want to be sure I've got the right answer. I have a asp.net application (vb.net) that consumes data sets passed as strings from a C++ dll. I'm trying to help a client do the same thing, but they are insistent on using classic ASP, which I'm less familiar ...more >>

Pointer in VB.net
Posted by Daryl Davis at 3/11/2004 3:56:28 PM
Can someone tell me (or point me) on how to use pointers in VB.net Passing a Varible by ref to a new form. Now I want to change that varible in that form. thank you Daryl ...more >>

Active Directory (Application Mode)
Posted by Aussie Rules at 3/11/2004 3:49:53 PM
Hi, Anybody know any good places to get info on how to use VB.net and Active Directory(in application mode). Like to see some code examples on how to do this ...more >>

Checking for key down while clicking menu item?
Posted by Brian Mitchell at 3/11/2004 3:46:00 PM
How do I check to see if the shift key is being held down when a menu item is being clicked? Thanks! ...more >>

Can a VB6 app, use a DLL created in VB.net ?
Posted by Aussie Rules at 3/11/2004 3:45:16 PM
Hi, We have a VB6 App, and now have a DLL that was developed using vb.net. Can the VB6 app, call the DLL ? ...more >>

Tools Question
Posted by Brad Markisohn at 3/11/2004 3:30:18 PM
I have a PC application (OS is Win XP Pro) that controls complex hardware via the PCI bus. We've written the app using VB.Net; but, recently the client has asked for remote access to data and remote control of the hardware config. parameters via web pages. This will include bi-directional tra...more >>

Querying for possible SQL server databases
Posted by Simon Jefferies at 3/11/2004 3:16:48 PM
Hello, How do I query for available SQL server databases on the network? I'm looking to do a combobox with a list of available databases that are available that can be connected to? TIA Simon Jefferies Tools Programmer, Headfirst Productions ...more >>

Retrieving command line arguments
Posted by Mike Hildner at 3/11/2004 2:16:59 PM
Is there an easy way to get the command line arguments when some might have embedded spaces surrounded by quotes? For example, the Split function, using a space as the delimiter, doesn't do what I want when the command line looks something like: MyApp.exe arg1 arg2 "argument number three" T...more >>

Parsing the Exception.StackTrace to get line number etc.
Posted by Nithi Gurusamy at 3/11/2004 1:54:58 PM
Hello All: I want to parse the string Exception.StackTrace after an exception so that I can get the line numbers and file names etc. Is it possible to get these values by someother way without looking at the StackTrace member of Exception object. Thanks Nithi Gurusamy ...more >>

logonuser api returns 127
Posted by Brent Burkart at 3/11/2004 1:53:12 PM
I have an impersonation procedure which was working before, but not any more. It is returning a 127. Any help is appreciated. Here is the code. 'First the call to the routine If Impersonate.impersonateValidUser("xxx", "xxx", "xxx") Then undoImpersonation() Else End If 'The...more >>

Javascript
Posted by LM at 3/11/2004 12:15:42 PM
I'm trying to run javascript which detect the clients screen size and store the value into session to use in different pages. How can I assign the value from javascript into VB variables? I found out many examples of opposite case, but I couldn't find out from javascript to vb. Does a...more >>

Pulling value from datagrid
Posted by Bill Blancett at 3/11/2004 11:06:08 AM
Pardon me, I am new to the .NET environment but I am stuck with a problem here. Hopefully there is a simple solution. I have a datagrid control with 9 fields that it pulls from the database. It pulls these fields correctly. But I added a 10th field, a template column to the datagrid. Inside this ...more >>

What do I need for Oracle db?
Posted by EMW at 3/11/2004 11:05:46 AM
Hi, I'm currently developing a program and I was using SQL server, but I need to convert it to Oracle. This itself is not difficult, but how can I then test my program as I don't have an Oracle database server on my home PC. The software will be used at the office where they do have Oracle. ...more >>

Querying servers for Service Patches???
Posted by Mike Lambert at 3/11/2004 10:22:30 AM
Can anyone tell me, or at least give me some direction, on how/if one would be able to query multiple Win2k servers to see if they had certain service packs(ie. KB828026) or recommend updates (ieQ322001) installed? Thanks, Mike ...more >>

Loading files from a Class Library
Posted by Nathan at 3/11/2004 10:03:08 AM
Just starting .Net and already run into problems. Within a Dll in VB6 I could access App.Path and load files directly from the dll e.g. ini file, now in a .Net Windows application I can use Application.StartupPath but in a ClassLibrary application isn't available, so what can I use to get the ...more >>

Icon problem
Posted by Bryan Dickerson at 3/11/2004 10:01:22 AM
I have a set of icons that I used in a VB6 version of a program that I'm now beginning to re-write in VB.Net (notice I said rewrite, not convert: I really want to do it right this time...). Anywho, some of my icons are 8color, some are 16color and some are true color. VB.Net doesn't seem to li...more >>

Error - Cannot modify the items collection...
Posted by amber at 3/11/2004 10:01:09 AM
Hello I already posted this question, but received no response I'll try to word it better : I have a form with a lisbox (LBox1), a button, that when pressed populates LBox1, and a tab control with 2 pages On the 2nd tab page is another listbox (LBox2), whose values are based on what is selected...more >>

Repeat a pattern in a RegExp without coding it all over??
Posted by Eidolon at 3/11/2004 9:57:11 AM
I have a regular expression essentially like the following: (myPattern)(;myPattern)* Is there a way to store the regexp in myPattern and then refer to it again later by a short name? the actual expression of myPattern is a bit long, and i was hoping i might be able to get around having to h...more >>

Creating a Login Screen
Posted by MadCrazyNewbie at 3/11/2004 9:52:32 AM
Hey Group, Has anybody got any links for creating a Logon & Password form, looking at details from a DataBase? Details would simple be User & Password. Many Thanks MCN ...more >>

Running Flash Files in VB.NET Windows Application
Posted by Mr Utkal Ranjan at 3/11/2004 9:50:23 AM
Hi I want to run a macomedia FLASH animation file/movie in my VB.NET Windows application. How can I do this ??? And if it is possible then the user should not be able to reight click on the movie also. Thanx ...more >>

Round Button Control
Posted by Mr Utkal Ranjan at 3/11/2004 9:47:32 AM
Hi I want a rounded button control for my vb.net windows appliaction. Can anyone help me ???? Thanx ...more >>

Transparent Background for LISTVIEW Control
Posted by Mr Utkal Ranjan at 3/11/2004 9:45:53 AM
Hi I want to use a trasparent ListView control in my windows form. But the .NET ListView control does not support trasparent background. How can I achieve this ???? Thanx. ...more >>

No Drag/Drop events for a RichTextBox
Posted by SamSpade at 3/11/2004 9:31:14 AM
I have a usercontrol with a RichTextBox (RichTextBox1) on it. RichTextBox1 does not have the 4 Drag/Drop events in the Dropdown box in the code window. I added a TextBox and it does have the events. I added another RTB and it does not. I set AllowDrop to true that does not fix it. ...more >>

combo box
Posted by Robert Batt at 3/11/2004 9:31:06 AM
Hello How does one prevent the user from overtyping in a combo box thank you in advanc Robert ...more >>

Screen painting problem
Posted by Bryan Dickerson at 3/11/2004 9:20:26 AM
I have an MDI form that I just added an icon to an existing imagelist and a corresponding button on a toolbar. I also changed the color depth from 8color to 16color and now the images on the buttons don't show up when I run the program. What gives? TIA! ...more >>

Circular references not possible?
Posted by raghuraman NO[at]SPAM infosys.com at 3/11/2004 9:06:28 AM
Hi, Isnt there anything like forward declarations to allow me to break circular references? Situation is as follows: Project1: ClassFactory.vb -- as I need to create employees and DBWrapper objects, I need to reference Employee project and DBWrapper project Public class classfactory ...more >>

FTP file Verification
Posted by Michael Wheeler at 3/11/2004 8:51:05 AM
I am looking for code to connect to a ftp server, check to see if a file is there and send out an email if it is not I have read the other posts regarding ftp and have come away empty handed. Can someone supply me a sample piece of code directly (not through a link)? I do not need a UI, as i want ...more >>

GDI+ and Oversized forms.
Posted by ozrelatedmaniac NO[at]SPAM optusnet.com-dot-au.no-spam.invalid at 3/11/2004 8:41:08 AM
Hey, I'm currently working on a project where I draw a rectangle on a form and move it around. The form seems to be bigger than I make it because when I move my image down or right it will go right off the screen before the 'buffer' code I implemented kicks in. The current code I have now i...more >>

Event Question
Posted by Tim Gallivan at 3/11/2004 7:00:06 AM
Hello, I have a question: There is a form (Form1) with a text box, which is used for logging/display purposes. When the project starts up, Form1 starts Class A on it's own thread. When a timer in Class A elapses, it creates an instance of Class B, which, in turn will create several instances o...more >>

Datagrid
Posted by Tom at 3/11/2004 5:59:53 AM
Hello, I have following data, which I want to show in DataGird in Windows Form. Name|Add|Amount|Status ABC|XYZ|1000|1 LMN|PQR|2000|2 STR|BOP|2000|1 What I want to achieve is When the amount is greater then 1000 I want to show it in red. When the user click on a cell I want to show t...more >>

VB.NET Windows application crash on exit
Posted by Chris Podmore at 3/11/2004 5:46:09 AM
I have a VB.NET Windows application that is getting the following error when it terminates, any ideas The instruction at “0x275ae936” referenced memory at “0x0e7d1e90”. The memory could not be “read” Click on OK to terminate the progra The application consists of a Windows Applica...more >>

Pocket PC Database Apps
Posted by James Proctor at 3/11/2004 5:16:08 AM
Hi there, im looking at developing an add on for a current application that im writting that would allow me to use the data on the SQL on my server and run a similar kind of database application on the pocket PC. The idea would be that the pocket PC could search the data and return results. I would ...more >>

Form1 open Form2, Form2 how to change text in Form1.label ?
Posted by Tee at 3/11/2004 3:21:32 AM
Hi, I have 2 form, Form1 and Form2. in Form1: dim Form2 as new Form2 Form2.show in Form2, I have a button there, and it should change the text in Form1, but to do it ? now the situation is Form1 can change text in Form2, but Form2 do nothing to Form1. Thanks, Tee ...more >>

Scroll Bars
Posted by WStoreyII at 3/11/2004 2:22:47 AM
I cant figure out how to use the scroll bars does any one have any suggestions or know of a good tutorial WStoreyII ...more >>

Can someone be kind to help me. C# to VB. Urgent. Thank You
Posted by Miguel Dias Moura at 3/11/2004 12:34:23 AM
Hello, i am working on this for some days and i can't figure out what i am doing wrong. I have an ASP.net C# page which populates an ASP.net Calendar Control with events from an Access Database. IT WORKS! Now i created the same page in VB. I am not being able to make it work. I get an erro...more >>


DevelopmentNow Blog