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 > april 2004 > threads for friday april 23

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

Deployment Problem
Posted by toon_army1962 NO[at]SPAM yahoo.co.uk at 4/23/2004 11:16:29 PM
Hi, I am trying to create a simple install for an application I have built using the standard version of VB.NET. What I want to do here is have the install add a desktop shortcut to the 'enduser's' desktop. As there is no wizard with the standard edition, I am struggling to do this (I am v...more >>


Center Text in Web Form Textbox
Posted by fripper at 4/23/2004 11:05:02 PM
How specifically can I center the text in a text box on a web form? I see in VB .Net Help that a textbox has a horizontal align property but I don't know how to access it. Thanks ... ...more >>

Dataset question.
Posted by john at 4/23/2004 11:01:10 PM
I am trying to provide the capability to search an xml document based on different options. I am reading the xml document into a dataset and I would like to loop through the dataset deleting records that don't meet the criteria. Is there another way to do this? an example is below for m...more >>

no accessible 'GetBytes' can be called with these arguments
Posted by les at 4/23/2004 10:53:33 PM
I'm trying to http post xml data to a remote server and I get this error: BC30518: Overload resolution failed because no accessible 'GetBytes' can be called with these arguments: Line 20: Dim d As Byte() = System.Text.Encoding.ASCII.GetBytes(readStream) The aspx page is shown below. Can ...more >>

Saving a PictureBox bitmap with changes drawn...
Posted by nobody at 4/23/2004 10:16:25 PM
How do I save a PictureBox bitmap with changes drawn on the bitmap? This doesn't do it: PictureBox1.Image.Save("key30.bmp") ...more >>

Web Services and SQL Server
Posted by crose01 at 4/23/2004 10:06:02 PM
I've written a very basic web service that is used by my PocketPC to add two numbers together. It works fine. So next I'm writing a WebService which accesses my SQL Server and returns rows appertaining to a specific OrderId. I have written a stored procedure called spGetConfirmedOrder to whic...more >>

Appending Input to TextBox
Posted by Richard Grene at 4/23/2004 9:25:50 PM
I am setting a textbox to a value (ex: ABC). I then setfocus to the textbox and I want my input to start after the ABC. So if I then enter DEF, my textbox will show ABCDEF. I need this to occur one character at a time as it is being entered, not at validating time because I have to examine the...more >>

Capturing text from a window
Posted by Paul Bromley at 4/23/2004 9:10:06 PM
Can anyone tell me if there is an easy way to capture the text from a window that is running? Best wishes Paul Bromley ...more >>



How can I start and stop the service?
Posted by Husam at 4/23/2004 7:21:04 PM
Hi EveryBody In VB.Net how can I make windows application project that can start and stop the service manually Any help will be appreciated Husa ...more >>

Fonts
Posted by Bill English at 4/23/2004 7:06:05 PM
What code should I use for three font toolbar buttons? Similiar to the ones in MS Word, Bold, Italic, and Underline. I'm having problems applying the font styles....more >>

Use VB.net to manage a serial port for a VB6 application...
Posted by Matthew Ryan via .NET 247 at 4/23/2004 6:31:39 PM
I have a fairly large heritage VB 6 application that controls= about 5 serial port devices with a fairly complicated but linear= timer scheme to service all of them (a work around of the single= thread aspect)=2E I am trying to upgrade incrementally, and want= to write a VB=2Enet stand alon...more >>

BUG on BindingContext in framework V1.1
Posted by ABC - Sébastien Beaugrand at 4/23/2004 5:10:52 PM
Hi, I've been trying to get an answer from french newsgroup but I did'nt succeed in this, so I'll try on this group and sorry for my poor english. The description of the bug : The CurrentChanged event from the BindinManager on a Winform never occurs with framework V1.1. and it is not pos...more >>

Progress bar while waiting
Posted by Brett Sinclair at 4/23/2004 5:04:32 PM
Hello everybody Does anybody knows how to display a progress bar in the status bar while waiting for a process to finish ? Any help appreciated. Thank you ...more >>

Form Password
Posted by MadCrazyNewbie at 4/23/2004 4:39:20 PM
Hey Group, I would like to Password a form but i would like to have some sort of maths function to work out the password, nothing to difficult, but something like, Date + 10 so for example todays date = 23 + 10 = so the password would be 33? Is this easy to do? Any links or help would be...more >>

System.Diagnostics.Process
Posted by solex at 4/23/2004 4:23:44 PM
Hello All, Hopefully someone has run into this error. I have written a class(source below) that launches a thread to monitor the StandardOutput of a System.Diagnostics.Process, in particular I am executing the find.exe program. The application works perfectly in the development environment...more >>

how to insert record from another table to dataset?
Posted by jaYPee at 4/23/2004 4:00:56 PM
as of now i am using a stored procedure from my sql server 2000 to insert record from another table. what i need now is on how can i insert record by not using the stored procedure and insert it using dataset. here is my code in stored procedure.. CREATE PROCEDURE AddRegularLoad @SchYrS...more >>

vb.net compiling
Posted by Tim Shelton at 4/23/2004 3:45:50 PM
Anybody familiar with writing programs in VB.net and them trying to install them on other machines? I get an error that the target machine isn't .net enabled? How do I get around this? Can I complie VB.net code on any platform other than .net? I couldn't find that option. ...more >>

SelectedIndexChanged event and the list view control.
Posted by Robin Tucker at 4/23/2004 2:56:59 PM
When volume testing my application I have noticed a big problem with listview controls populated with large numbers of items (ok, when I say large, I mean 3 or 4 hundred items, so in the grand scheme of things, quick small!). The problem is that I am using a multiple selection list view and if...more >>

Combo box question
Posted by Rich at 4/23/2004 2:55:03 PM
Hi, I want to create a combo box that shows one value such as NEWCASTLE, but when you select the item the combo selected item would be another value such as NEW. I know that you could do this very easily in MS Access but can't find anyway in VB. Does anyone know how? Many thanks Richard ...more >>

Please Help - Encryption Problems
Posted by Jamie Sutherland at 4/23/2004 2:45:38 PM
Hi, I have a problem in that I have 2 applications writing to the same Database. One App is web based and the other is windows/forms based. Both have the same job in that they can reset a users password in the database. Both are using SHA1 encryption however they both ghive different results wh...more >>

Using StreamReader.Peek()
Posted by Shawn at 4/23/2004 2:30:22 PM
Hi. I'm using this code to loop through all the lines in a text field: While myStreamReader.Peek() > -1 myStreamReader.ReadLine() i = i + 1 End While Now, what I need to do is to loop through all the lines one more time and do the work that I'm supposed to do. The reason for this is th...more >>

How does Validation Work in WinForms?
Posted by Charles Law at 4/23/2004 2:11:31 PM
Could someone please explain to me, in words of one syllable or less, how I get the Validating event to fire for a form. I have a form with one text box, and two buttons: OK and Cancel. I have the OK button set as the AcceptButton and the Cancel button as the .... well, you've guessed it. ...more >>

dynamically loading unmanaged dll
Posted by maciek/P at 4/23/2004 2:09:33 PM
Hi, How to load dynamically (dllpath) function from old (unmanaged) dll library in vb.net. This function has several parameters and I can't use LoadLibrary/GetProcAddress/CreateThread method. Is any API function which call function by its handle (pointer)? thanx ...more >>

Listbox help
Posted by Art DeBuigny at 4/23/2004 1:51:02 PM
Hi all I have tried several methods to do as follows I have a form with two listboxes and a few buttons. The listbox on the left is databound to a table, the other is loaded based on what items from the left table are tied to records in another table I want to be able to select items in the t...more >>

A rather dumb question...
Posted by Derek Martin at 4/23/2004 1:41:51 PM
Not like I haven't asked dumb ones before, but I want to take my API that I designed and create a DLL out of it, instead of it sitting inside my main form. In VS2K3, how do I go about doing that??? Is that a seperate project and if so, what kind, Class Library Project, or something else? Tha...more >>

Can MDI be motified when child closes
Posted by SamSpade at 4/23/2004 1:25:37 PM
I need a MDI form to be notified when one of it's child closes. I could define an event in each child and raise it when it closes. But if there is some WinProc message that occurs when a child closes I would rather use it and automate the process. Second question. When a form Closed even...more >>

Loading image from file
Posted by Simon Jefferies at 4/23/2004 12:59:13 PM
Hello, I am trying to load an image from a file and put the image into a picturebox with the following code: Dim ImgThumbnail As System.Drawing.Image = picImage.Image.FromFile(Filename).GetThumbnailImage(picImage.Width, picImage.Height, Nothing, Nothing) picImage.Image = ImgThumbnail.Cl...more >>

Application Launch Key
Posted by AWatkins at 4/23/2004 12:41:08 PM
I need to set a key (ex. F1 Key) to launch pword.exe when pressed. I was doing this with a RegisterHotKey command, but this only works when my application is running. I think I need to set a Registry Key instead, as this Key needs to launch pword.exe all the time, not just when my app is running. ...more >>

Windows Service keeps process open.
Posted by gb at 4/23/2004 12:41:03 PM
I have a Windows Service that watches a directory using the FileSystemWatcher. When an Excel spreadsheet gets added to that directory, the Windows Service calls a routine that opens the Excel spreadsheet and does some processing (on a seperate thread). After processing is done on the spreadsheet, ...more >>

SQL
Posted by Paul Mars at 4/23/2004 12:38:38 PM
I think it is my SQL code that is causing the failure here. I receive "An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll" on the second to last line below. What's wrong? conUserInfo.Open() Dim cmdAdd As OleDb.OleDbCommand = New OleDb.OleDbCommand ...more >>

Can .Net talk to regular C Dll's
Posted by btpanek09 NO[at]SPAM yahoo.com at 4/23/2004 11:42:10 AM
I have tried finding some information on this by searching the News groups however I have not found anything yet, so I thank you in advance for your information on these questions. 1. Can VB.Net or VC# or VC++.Net communicate with regular C Dll's created in Visual C++ 6.0? I know I can call t...more >>

about insertCommand and updateCommand for Employees
Posted by rEdMiddLe at 4/23/2004 11:20:54 AM
I use insertCommand insert a record into Employees and use updateCommand update the record at now.but happend exception because the employid's column of employess is identity.so can you help me? ...more >>

convert english format to urdu
Posted by naeem at 4/23/2004 11:08:32 AM
i want a program in which when user input through the keyboard will convert in urdu language format the keyboard can be any kind plz reply me soon i m in a tension due to this problem i ll be very thankful to u...more >>

Set Date variable to Nothing
Posted by Andre Beier at 4/23/2004 11:01:13 AM
Hi, I have a date variable that initially contains any date. However, depending on user actions I want to set the value of the date var to Nothing. I tried the following: myDate = Nothing --- deletes the date but I always have 12:00:00 AM in there myDate = "" --- compiler error myDate ...more >>

how to execute a function from another class in vb.net
Posted by JC via .NET 247 at 4/23/2004 10:52:56 AM
Hi all, I want to execute a function in class 2 from class 1 by clicking a button . Both classes have forms created using design. Anyone can help?? -------------------------------- From: Joseph Cheng ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>NH...more >>

basic serialization question
Posted by Bob at 4/23/2004 10:17:27 AM
Or maybe it's not so basic, I don't know. If I have some serialized object data, then say I remove one property and add another, is there a way I can build into the deserialization process a tolerance for such changes? As in, the deserialilzer fills the fields it can, and ignores the extras? T...more >>

How do I access frameproperties in vb.net?
Posted by Bengt-Erik Eliasson at 4/23/2004 10:09:59 AM
Hello! In my mainpage i have two frames (MENU and MAIN). In the MAIN I load another page with frames (Sub_Frame.htm). It contains TOP and BOTTOM frame. In BOTTOM frame I have a page with a button (Result.aspx). What I want to do is from that button, change the SRC in a frameset two levels up (SR...more >>

Global.asax
Posted by ruca at 4/23/2004 9:53:27 AM
Hi, How can I Redirect my web application to a page when a session ends? (I've set a timeout) I have this in my Global.asax in Session_End Event: Context.Response.Redirect("login.aspx") but it doesn't work -- Programming ASP.NET with VB.NET Thank's (if you try to help me) Hope this...more >>

PC to PC communication using web cams and audio
Posted by zordiac NO[at]SPAM hotmail.com at 4/23/2004 9:42:31 AM
Anyone have any idea how to write an app that will allow two PCs to communicate using web cams and audio?...more >>

Transfers duplicating
Posted by Reavil at 4/23/2004 9:39:58 AM
I have two accounts in which the statements are downloaded from my bank Transfers are made between the accounts, but when I enter the category as a transfer it duplicates the entry in the other account is there anyway of matching the downloaded transfer records Thanks ...more >>

Fixed it myself
Posted by Lars Netzel at 4/23/2004 9:31:37 AM
On the MyBase.Enter Event I put this Dim RefForm As frmBase RefForm = Me.ParentForm RefForm.mnuItem_SaveProject.Enabled = false /Lars ...more >>

Enabled and Disabled "Save" option in menu?
Posted by Lars Netzel at 4/23/2004 9:17:35 AM
I have an application with MDIchildren... you have have several windows open at the same time and when I choose "Save" from the Parent Window (MDIContainer) I save the ActiveMDIChild. BUt.. I also have other windows that are MDI Children, like Settings and Administration forms.. and when they...more >>

MDI Child Window Closing event not raised
Posted by grimsbyarchers NO[at]SPAM lycos.com at 4/23/2004 9:04:49 AM
MDIChild Window Closing event not raised when MDI Parent is in a class library! Intructions to recreate problem: 1. Create a ClassLibrary project 2. Add an MDIParent form and a form that will be an MDIChild form 3. In the Closing event of both forms add debug code so that you can see when th...more >>

Dispose() Question
Posted by jmitchatwork NO[at]SPAM yahoo.com at 4/23/2004 8:18:24 AM
I was looking through some sample code that Microsoft provided for data access and I noticed that when they call the Dispose() method on the Connection object they cast it to IDisposable first. CType(connection, IDisposable).Dispose() Is there any reason that you couldn't just do: connecti...more >>

.NET Framework for XP
Posted by Matt at 4/23/2004 8:16:03 AM
Is there a good place to download the .NET Framework for Windows XP? I want to be able to run my .NET applications on my PC but don't seem to be able to without the Framework I appreciate any help...more >>

"Old" COM compatibility - Permission to beat me if this is a bad question is granted
Posted by Rich Wallace at 4/23/2004 7:56:51 AM
Hi all, Please forgive me if this has been answered already, I looked around the group and I couldn't find anything that jumped out at me. We utilize Informatica in our environment as an ETL tool for a Data Warehouse solution. I currently develop most of our custom solutions in VB.NET that...more >>

printing from PictureBox and Managed DirectX9.0
Posted by castilla1712 NO[at]SPAM hotmail.com at 4/23/2004 7:56:31 AM
Ok, i already have my directx image on a picture box, but now i want to print it and i don't find how to do this... can somebody help me? thnks.... Antonio O....more >>

Build EXE
Posted by Matt at 4/23/2004 6:56:07 AM
I know this is a very elementary question but here goes Inside Visual Studio, how do you create an EXE once you have all your forms made and working the way you want?...more >>

to stop a sub in the middle waiting for a button_click
Posted by andreas at 4/23/2004 5:44:53 AM
Hi, Is it possible to stop a sub in the middle waiting for a button clic to go further ? F.e. dim blnToStop as boolean private sub test ....... ....... if blnTostop then ........? ' ( a button to click ) end if .......... ....... end sub Thanks for any response ...more >>

Needed quality freeware library for manipulating strings...
Posted by Aeryn at 4/23/2004 5:41:05 AM
Can any one recommend a good VB.NET freeware library that offers lots of string related functions that aren't present in the standard .NET framework?...more >>

hello just testing :)
Posted by Jens Blom at 4/23/2004 4:44:02 AM

Nice looking GUI, Windows Form
Posted by Maurice Mertens at 4/23/2004 4:28:25 AM
Hi, just started with designing a neat GUI for my Windows Forms. I thought this would be relatively simple but it isn't. I was wondering what you all are using to create a nice looking GUI. Does anyone have some URLs available where I can find some information about this topic? I wou...more >>

Regarding Block level Scope & Variable Life Time
Posted by ElanKathir .S.N at 4/23/2004 2:29:46 AM
Hi all ! VB.NET adds the ability to create variables that are visible only within a block. A block is any section of code that ends with one of the words End , Loop , or Next . This means that For...Next and If...End If blocks can have their own variables. So, While y>6 Dim x as in...more >>

control dial up connection
Posted by news dur Wanadoo at 4/23/2004 12:47:51 AM
Dear all, I need to writte a VB application that establish a dial up connection to the internet, upload and file on a ftp, then close the connection. what's the easiest way to do it ? Thanks for help, Loïc ...more >>


DevelopmentNow Blog