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 2005

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

Get the internet connection status...
Posted by Raphaël Désalbres at 4/30/2005 10:31:40 PM
Hello, I would like to know how can I verify the internet connection status using VB.NET ? Thanks, everyone, Raphaël Désalbres ...more >>


Detect if an exteranl process has a modal form showing
Posted by Jeremy at 4/30/2005 9:55:46 PM
I apologize for the repost but I am frustrated and desperate for a solution. I need to detect if an external application is displaying a modal form. I.E. dialog box or error message. I found a number of promising examples but unfortunetly they are VB6 examples and just don't seem to be work...more >>

vb.net db how-to
Posted by NoneOfBusiness at 4/30/2005 9:51:44 PM
Does anyone know of any good tutorials that can show me how to 1) connect and retrieve data from an Acess and SQL Server DB 2) Update data in the db 3) Add new data to db I can actually query the northwind db and display the results in a datagrid already but i do not know if its the proper ...more >>

ParentColor
Posted by Alex at 4/30/2005 9:46:06 PM
Is there a VB equivalent to Delphi's ParentColor property? ...more >>

Get Domain Name from URL?
Posted by Jack at 4/30/2005 8:19:15 PM
Hello, I need to get: microsoft.com From these possible string: www.microsoft.com http://www.microsoft.com http://microsoft.com microsoft.com sql.microsoft.com htttp://sql.microsoft.com Thanks for any help, Jack ...more >>

credit card transactions
Posted by anna cypher at 4/30/2005 7:17:41 PM
I am considering taking on a project that requires the app to charge credit / debit cards. I have no idea how to do this... I'm sure buying the actual reader and getting it to work with an app would be easy enough, but what about performing the transactions themselves? Perhaps there's a library I...more >>

ADO DB Connection to SQL Server (ASP.Net)
Posted by kvrdev1 at 4/30/2005 5:38:15 PM
I'm attempting to connect to a SQL Server DB, using ADO, from my new ASP.NET web application. I can use the same connect string from within a VB.Net app (windows app) just fine, but I cannot do it from within my web app... Here is the error I am receiving: Login failed for user '(null)'. ...more >>

Return codes
Posted by Nikolay Petrov at 4/30/2005 9:03:51 AM
how to return code from my app? like in ol' dos progs i need to call my app from a batch file and do some things based on the return code tnx ...more >>



Class Browser Icon Legend
Posted by Jim in Arizona at 4/30/2005 8:24:40 AM
I can't seem to find a legend anywhere that explains what all the icons are in the object browser. I know what the Property, Method and Even icons look like (i.e.: the lightning bolt for the event), but there's several others that I don't know the meaning of. Anyone know where a legend for ...more >>

Get an objects value as a string
Posted by Ray Cassick (Home) at 4/30/2005 1:24:26 AM
I am looking for a generic way to see if an object supports the ToString method, then invoke that method to return the results of that generic objects ToString method. I have a generic exception class and one of the arguments I pass in is a generic object type. In this exception class I ...more >>

Does anybody have a listing of the MS constants such as WM_KEYDOWN and WM_SYSKEYDOWN
Posted by JohnR at 4/30/2005 12:00:00 AM
Couldn't find it in MSDN. Does anybody have a listing of the message constants that would be received in my application.addmessagefilter routine in VB.net? They are referred to all over MSDN but I can't locate the actual listing of the constants and their values. Thanks, John ...more >>

Sockets
Posted by Adam Honek at 4/30/2005 12:00:00 AM
Hello, Can someone pinpoint me to a reliable link relating to sockets and how they are implemented to allow client/server communication? I'm finding quite a few but very few actually explain it step by step and a lot of the source code examples I see is not commented or commented poorly. ...more >>

Touch Screen
Posted by scorpion53061 at 4/30/2005 12:00:00 AM
This is one topic I have never seen anything on in .NET. Has anyone seen a sample or white paper on the possibilities of this in ..NET? Or is it even possible? Kelly ...more >>

Is there a VB Express newsgroup?
Posted by Lloyd Sheen at 4/30/2005 12:00:00 AM
I was using a privatenews newsgroup but that seems to be gone. Any ideas? Lloyd Sheen ...more >>

Improve the Remoting to send a FileStream object
Posted by Ronchese at 4/30/2005 12:00:00 AM
Hi all. Is possible improve the Remoting performance to send a FileStream object? I transfer it as Byref object and I'm using a HTTP channel. Right now, I'm taking 3 seconds to transfer a 7MB file in a localhost connection. Thx for suggestions. Cesar ...more >>

GetManifestResourceStream("fullbuttonface.bmp") not working
Posted by Jonathan Crawford at 4/30/2005 12:00:00 AM
Hi I downloaded a sample from here http://64.78.52.104/FAQ/WinForms/default.asp#44 5.57 How do I display a column of buttons such as pushbuttons or combobox buttons? I can run the project ok and it works as intended but can't get the functionality to work with my project. I created ...more >>

Does an object know what it is called??
Posted by Just Me at 4/30/2005 12:00:00 AM
Just as I, an object of the class human, know my name I wonder if an object of some VB.Net class knows it's name. That is, if an object resides on a form and is called TextBox25, can the object get the string: TextBox25 Thanks ...more >>

Detect a Modal Dialog Box
Posted by Jeremy at 4/29/2005 10:38:28 PM
Hello, I'm thinking this may be an easy one but I am getting frustrated. How can I detect if a process is showing a modal dialog. Like "Are you sure you want to exit?", or an error message etc... I stumbled across the GetWindow API but am unsure how to work it properly. The only examples I ...more >>

Is there any way to for/each controls?
Posted by Terry Olsen at 4/29/2005 10:31:15 PM
Is there any way to run through all controls on a form using a For Each loop? Say I want to clear all textboxes on a form...what's the best way to do that? ...more >>

Limitation to drawing on a form
Posted by TBK at 4/29/2005 10:18:01 PM
There seems to be a limitation to drawing on a form that is set to 300x300. The problem is I can't seem to figure out how to expand that so eve if I make the form bigger the drawing only shows up on that 300x300 space. Is there any way to expand that?...more >>

Resolution
Posted by Tom McL. at 4/29/2005 9:14:25 PM
How can I ensure that a program on one computer will look the same on another computer with different screen resolution settings? TM ...more >>

Newsgroup Not Available???
Posted by GrandpaB at 4/29/2005 7:19:47 PM
When I attempt to view additional pages in this newsgroup I get a message that the newsgroup is not available. I don't have this problem with other newsgroups. Any clues would be appreciated. This message has been present for the last 2 or 3 days. While I'm whining, I get a message t...more >>

How do you bind a Arraylist to a dropdownlist?
Posted by Jack at 4/29/2005 6:41:55 PM
Hello, I want to bind an ArrayList to a Dropdownlist. How can I do this? Thanks for any help, Jack ...more >>

MS Access Reports
Posted by David at 4/29/2005 6:03:09 PM
Does anyone know how to run MS Access reports from VB.net. I'd like to keep the existing reports in the database if I can. Thanks David ...more >>

Problem converting byte() to string and then back to byte()
Posted by moondaddy at 4/29/2005 5:46:21 PM
I need to convert a byte array to a string and pass it as a parameter in a URL and then convert it back to the original byte array. However, its getting scrambled in the conversion. In short, here's the code: ====================================== Dim textConverter As New ASCIIEncoding Di...more >>

Problem crating file and executed other process
Posted by Juan Carlos S at 4/29/2005 3:02:03 PM
Hi I Am Juan Carlos I have a Text File, and convert the text File to Pdf File with GhostScript My question is Who knowing when to the file this totally created? I am open pdf file with acrobat reader but show error,beacuse, the file not that full created thanks for your help ...more >>

Help: Questions regarding Modal forms
Posted by Sarika at 4/29/2005 2:18:01 PM
I have some questions regarding Modal forms and would appreciate if someone could clarify my understanding. (a) I observed that the modal form's Form_Closing event is generated if I set the modal form's Visible property to False or call its Hide method. Is this true? or is it a result of so...more >>

Better timing??
Posted by jamie at 4/29/2005 1:53:00 PM
Hi all, I tried posting this Q in Csharp, but they seem to be down right now. (Anyone know why?) Here it goes... I am working on a school project, that includes the control of motors throught motion profiling, and velocity loops. The velocity loop function has to run every 10ms, and pre...more >>

Auto Resize Label Height to Accomodate Text
Posted by Wenlei Fang at 4/29/2005 1:40:17 PM
Anybody knows how to accomplish this? ...more >>

Lockout Security
Posted by TOM at 4/29/2005 12:03:11 PM
Hello, I am working on a class that will be called from multiple forms, which will start a timer count down 15 min. When there is mouse activity the timer is reset to 15 min. This way if a user leaves the program open and leaves there desk it will save and lock, making them reenter there ...more >>

Newbie: Delay function or method ?
Posted by steve at 4/29/2005 11:58:01 AM
Hi, What is the common way to have a wait( ) type of function in VB.net ? TIA -steve ...more >>

TCP Socket
Posted by Lou at 4/29/2005 11:52:49 AM
I have a VB6 client app that I send data using the winsock control. Buffer = "<xml>" & _ "<command>GetSomething</command>" & _ "</xml>" & vbCr Buffer = StrConv(Buffer, vbUnicode) 'Winsock 0 is the gateway socket If Winsock(0).state = sckConne...more >>

launching a msc file (Active directory users & computers)
Posted by dwilliamjoe at 4/29/2005 11:22:03 AM
How in the world can I launch a msc file from a visual basic application. I've tried Shell which is only for EXE files I've tried a process which should do it, but does not. Please help....more >>

Calculating age errir in VB 6.3
Posted by Tommy at 4/29/2005 10:44:14 AM
Hello! I'm trying to work on a database for someone and they're having a few troubles getting things working. They use to have this program on another older computer but they recently got new computers and just copied and pasted this database from their old computer to the new one. What...more >>

Microsoft Ink
Posted by André_Nobre at 4/29/2005 10:18:33 AM
Hi all.. i am responsible for coding a project that uses Microsoft.Ink namespace, but i don't have this namespace. Looking in google i found that this namespace comes with a microsoft tablet package. Where can I download this? Thanks, Andre...more >>

bytes to io.stream
Posted by John at 4/29/2005 10:16:03 AM
I have an array of bytes that contains a bitmap file. I want to convert the array into IO.Stream and load the image using MyPictureBox.Image.FromStream(MyStream). How can I do the conversion? Thanks....more >>

Screen scraping or better method
Posted by Steve Long at 4/29/2005 9:37:39 AM
Hello, I currently have an app that accesses a web page and I scrape the screen and parse the returned text to find the elements I want off of the page. My question, is this a good method of doing this or is there a better method of getting at particular elements of a web page? Is there a way to...more >>

can g.DrawString draw text on top of a label control? any control?
Posted by Rich at 4/29/2005 8:28:04 AM
Hello, I need to draw some text on a form. No problem .... e.Graphics.DrawString(drawString, drawFont, drawBrush, x, y, drawFormat) My problem is that I want to draw the text on top of some label controls. Is there a way to do this using the Graphics DrawString method? Is there a way ...more >>

mysterious-connection string "disappears" from source code (bug ??
Posted by HarryMangurian at 4/29/2005 8:08:02 AM
I am really confused ! - Form1 uses an openfiledialoag to get a public strfilename. - Forms 2 and 3 both connect to the database specified in the file name. The connection string is shown below. Intermittently, the connection string disappears from either Form2, Form3, or both. When I get...more >>

get dataset row count
Posted by Sam at 4/29/2005 6:56:52 AM
Hi, I've got a datagrid and a dataset used as the datasource. I'd like to do a test, if the index of the selected row in the grid is greater than the dataset.tables(0).rows.count. The problem is that if I edit the last row of the grid, a new row will be added below and to the dataset. Therefore...more >>

Moving a project over to another person?
Posted by Tmuld at 4/29/2005 6:34:37 AM
Hello, I have created a project on my computer (ASP.NET) which connectes to a remote database. All the code is local to my machine. I need to move this code to another developer, so they can continue the work. How would I do this? Zip up my directory in c:/inetput/wwwroot/<project n...more >>

sizeof? is there a .NET equivalent
Posted by stand__sure at 4/29/2005 4:39:43 AM
Having recently had a need to use ZeroMemory from the kernel32.dll, I "discovered" that there is apparently no .NET equivalent to the c/c++ sizeof operator -- one does exist in the Marshall namespace, but it fails when passed a managed type. I poked around the Reflection namespace, but found ...more >>

c++ to vb
Posted by Bolo at 4/29/2005 2:12:02 AM
hi what is the equivalent of "unsigned char*" of c+ in VB i know that unsigned char == byte in VB but what about unsigned char* == ???? thx -- -------------------------------------------- giving up is not an option...more >>

Application terminated when Sub Main finishes
Posted by schapopa at 4/29/2005 12:49:39 AM
I am working on upgrading my application from VB 6.0 to .net and I have module set as a startup. There is a warning that application will terminate when Sub Main finishes and recommendation to move code to Load event, but in module there is no such event. (I am not intending to terminate applica...more >>

BaseClass-DerivedClass Instance-Issue
Posted by Michael Maes at 4/29/2005 12:36:02 AM
Hi, I have a BaseClass-DerivedClass Instance-Issue. Classes: (Framework) Stegosoft.Settings.SerializationClass Stegosoft.Stegosuite.Common.UIStrings (Inherits Stegosoft.Settings.SerializationClass) Stegosoft.Windows.Forms.UIForm Stegosoft.Windows.Forms.UIFormWithCommandManager (Inherit...more >>

performance XML Webservice / Remoting?
Posted by DraguVaso at 4/29/2005 12:00:00 AM
Hi, I need to write a VB.NET-application (Windows Forms) that may have a part of it (re-)implemented as a Webpage for the customers. I think it can be usefull to create a business Layer with Remoting or a XML Webservice, and than write my Windows Forms application that uses it. and than may...more >>

Help - Problem Getting DataAdapter to update
Posted by Siv at 4/29/2005 12:00:00 AM
Hi, I seem to be having a problem with a DataAdapter against an Access database. My app deletes 3 records runs a da.update(dt) where dt is a data.Datatable. I then proceed to update a list to reflect that the 3 items have been deleted only to discover that the 3 items appear, however when I cli...more >>

office interop
Posted by John at 4/29/2005 12:00:00 AM
Hi I need to call methods from office apps from my vb.net app. Some of my clients are still on office 2000 so to maintain compatibility I can not use office 2003 PIA. Can I avoid the whole PIA route by using late binding? Could someone please give me an example of using late binding for cal...more >>

Form showing then vanishing?
Posted by Adam Honek at 4/29/2005 12:00:00 AM
Hello, I have an app that starts in sub main() I am making a new instance of a form so it can be displayed. It compiles fine but when the program is run the form shows up but then a split second later closes itself. Why is this? Code below: Public Sub main() Dim MyNewForm As New...more >>

automatically logging into a website
Posted by Brian Henry at 4/29/2005 12:00:00 AM
Is there a way I could enter a username and password in a windows form then take that and cause it to open a website up in IE and "post" the information to a site so i can cause that site to log in useing this information? ...more >>


DevelopmentNow Blog