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 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

Process locks app until finished?
Posted by John Rugo at 4/2/2004 10:27:39 PM
Hi All, I have an app the runs something, for instance copies a file. During this time my app is locked up. I have tried throwing a bunch of DoEvents in but nothing happens to allow me to work on other parts of the program. Is there something that can help here, or do I need to look at multi-...more >>

Jump Menu (DropDown Menu) in ASP.net. Can someone help me out?
Posted by Miguel Dias Moura at 4/2/2004 10:12:21 PM
Hello, i have a drop down menu in ASP.net with 5 options. I want to redirect to a certain page when a certain option is selected. I want to be redirected without having to click a button. Does anyone knows how to make this? Thank You, Miguel ...more >>

load form
Posted by yxq at 4/2/2004 8:24:26 PM
Hi, My form will execute lots of codes when loaded, result in the form shown slowly, how to execute the codes after the form already shown? Thanks ...more >>

PictureBox
Posted by Sueffel at 4/2/2004 6:26:00 PM
This should be simple, when I use the code: PictureBox1.Image = Image.FromFile("MyPic.jpg") how do I "unload" it so I can move or delete it? Thanks yet agian, Sueffel ...more >>

Error Using Webbrowser Control on Form
Posted by Selden McCabe at 4/2/2004 5:18:58 PM
I'm trying to display some HTML on a form in a VB.Net project. I've referenced the COM WebBrowser control, and put an instance of it on my form. But during the Form_Load, I'm getting the following error: The code generator inserted the following line of code in the form (wbReport is the na...more >>

Setup Project - Banner Size
Posted by Neil Robbins at 4/2/2004 5:16:36 PM
I have created a setup project using the setup wizard and am now editing the properties of this project. I want to replace the default banner with one of my own. Could someone tell me what the dimensions of the banner should be (in pixels preferably). I can do a rough match, but I'd rather things...more >>

Shutdown / Restart
Posted by Fabio at 4/2/2004 4:53:31 PM
How Can I ShutDown and Restart the system with VB.net Anyone have a example??? Thanks in advance, Fabio ...more >>

forms Control collections
Posted by VJ at 4/2/2004 3:53:17 PM
I have a bunch of controls in my Form. Is there a way to locate a control by using its name? , something like in ASP where they use Controls.FindControl(string name). I know using ForEach to loop through and locate a control is a option, but that seems to be slow when I have like 40 controls on ...more >>



Regular Expressions
Posted by masoodadnan NO[at]SPAM hotmail.com at 4/2/2004 3:24:44 PM
Hi, I have several regular expressions that I need to run against documents. Is it possible to combine several expressions in one expression in Regex object. So that it is faster, or will I have to use all the expressions seperately? Here are my regular expressions that check for valid em...more >>

GET MENU ITEM VALUE
Posted by MARLON LA ROSE at 4/2/2004 1:40:43 PM
CAN ANYONE TELL ME HOW I GET THE ACTUAL OBJECT [NOT THE INDEX] OF A MENU = ITEM. IS THERE A FILTER OR SOMETHING THAT I CAN USE. I HAVE BEEN = FIGHTING WITH THIS FOR ABOUT 4 HOURS NOW AND I END UP GETTING THE SAME = RESULTS THIS IS WHAT I AM DOING .... Dim XmlDocument As New System.Xml.XmlDocu...more >>

Quick question about Hashtable.....
Posted by Robin Tucker at 4/2/2004 1:19:34 PM
When I create a hashtable hashing on Object-->Item, can I mix "string" and "integer" as the key types? I have a single thumbnail cache for a database with (hashed on key) and a file view (hashed on string). So, for example, when I want to know if the file "xyz.abc" is in the cache, I can write ...more >>

How to quit an excel object?
Posted by Norton at 4/2/2004 12:56:06 PM
I type the following code to open/close an excel appz Dim oExcel As Excel.Application oExcel = new Excel.Application .... .... ... If Not oExcel Is Nothing Then oExcel.Quit() If Not oExcel Is Nothing Then oExcel = Nothing It returns no error message and the application was shut down, h...more >>

Threading and ArrayList access
Posted by michaelloll NO[at]SPAM hotmail.com at 4/2/2004 12:55:01 PM
I had a question about threading and access to private class variables. I am developing a windows service which has a class inside of it which will receive various asynchronous calls to it via delegates. Inside one method of the class (which is a private variable in my windows service), an A...more >>

System.Diagnostics.Debug
Posted by Mike at 4/2/2004 11:58:20 AM
In my Smart Device Project, I'm trying to show a message only when debugging. We used to be able to do this with Debug.Print in VB 6. I've tried System.Diagnostics.Debug.WriteLine and this doesn't seem to do anything - I can't see it writing anywhere. I also tried Debug.Assert and Debug.Fail...more >>

Saving ANSI Character into SQL Server's varchar field
Posted by Norton at 4/2/2004 11:46:54 AM
I am trying to type some chinese character into a datagrid then update them into SQL server using SQLDataAdapter, however it always store??? in the database. As my data type in SQL'server is in Varchar format (i cannot change it into nvarchar format), what should i do ? Thx a lot ...more >>

Simple Datagrid question
Posted by Rich at 4/2/2004 11:45:07 AM
Hi This may be really simple, but I'm just learning! I have a windows form with a datagrid. Can anyone tell me how I can change the datagrid to stop a user adding new rows to it (ie. so they can only edit existing rows)? Thanks Richard ...more >>

How to load an object's property which is an array list?
Posted by Derek Martin at 4/2/2004 11:37:33 AM
I have an object which I set up like this: Public Class Person .... Protected m_timelists as ArrayList .... Property timelists() as ArrayList Get timelists = m_timelists End Get Set (ByVal Value as ArrayList) m_timelists = Value End Set End Property Is ...more >>

Microsoft.VisualBasic.Collection replacement?
Posted by Craig Buchanan at 4/2/2004 11:31:50 AM
Which vb.net object is the best match for the vb6 collection class? Specifically, I would like to be able to access the Item property with an index or a key string. I wrote my own class that inherits from the collectionbase and uses an arraylist to hold values, but i'm missing the Item(string)...more >>

Passing a DLL vs. Reinstantiating it
Posted by Tom at 4/2/2004 11:18:50 AM
I have a main VB.NET program which instantiates a number of other VB.NET DLLs. This DLLs all use routines from a 'base' DLL (which contains a number of common routines); so currently I reinstantiate that 'base' DLL in every one of my called DLLs. The question is: Would it be better if I insta...more >>

VB.NET Executable Fails to in Task Scheduler Without a Console SessionRun
Posted by microsoft.private.windows.netserver.setup at 4/2/2004 11:14:42 AM
Hello, I was wondering if someone can help. I have built a VB.NET application that is just a simple .exe which calls Excel and inputs some data. But when run in a Task Scheduler setting, the application will only run if a console session is logged in, ie: logged into the computer. If I logout...more >>

Print
Posted by Will at 4/2/2004 10:41:09 AM
Hey guys, i have 2 PC (called PC1, PC2). The printer is connected to PC1 and i want to be able to print from PC2 since the printer is shared. I've tried PrintDocument1.PrinterSettings.PrinterName = "\\PC1\iDP3210" .. but did not work .. any suggestions NEED CODE PLEAS THANX IN ADVANC ...more >>

Is there a better tool for automated creation of database objects?
Posted by Rob Richardson at 4/2/2004 10:11:03 AM
Greetings! It seems to me that there is room for a lot of improvement in automatic generation of database objects. If I create a data adapter from a table shown in the Server Explorer, I get Select, Insert, Update, and Delete commands, not all of which may be necessary. I don't have any cont...more >>

Getting Information From the Browser...
Posted by Kris Rockwell at 4/2/2004 9:59:56 AM
Hello, I have been searching for a few items with little success. I am hoping somebody here can answer my questions... 1. Is it possible to get the title (<title> </title>) of a web page through the axwebbrowser control? Essentially I would like my application to grab the title and save it ...more >>

VB.Net Output
Posted by erios at 4/2/2004 9:50:50 AM
I have seen discussions about outputting from VB.NET in different formats. My question, is it possible to output say a report in .pdf format and if so, how do I go about it. Thanks.....more >>

math.round problem
Posted by Test User at 4/2/2004 9:30:32 AM
Hi all, I have learnt that if I want to round 0.5 to an integer the result should be 1, This is also the case if I do it in SQL server 2000, but if I do it in VB.NET the result will be 0. Other rounding results: 1.5 = 2 in SQL and 2 in VB.NET which I believe is corrrect 2.5 = 3 in SQL and ...more >>

How to select columns in DataGrid?
Posted by Terry Olsen at 4/2/2004 8:52:44 AM
I've got my datgrid loaded (finally). I can select rows & delete them. But I can't select columns to delete them. When I click on a column header, all that happens is the grid is resorted by that column. How can I change it so I can select the column to delete it? Thanks! *** Sent via ...more >>

listview and label display
Posted by amber at 4/2/2004 8:46:09 AM
Hello I have a listview that displays a list of choices When the mouse moves over each item, I would like text (the name of the item that is being hovered over) to show u in a seperate label or textbox How do I set this Thanks Ambe ...more >>

Listbox problem
Posted by amber at 4/2/2004 8:36:09 AM
Hello I'm not sure if I should give up trying to find an answer here...or just keep posting my problem.. I'm having problems with a listbox.. I have a listbox that is populated when a user presses a button (retrieve). There is a textbox on the form, and if the textbox is left blank, and the user...more >>

SAP RFC
Posted by digitalanalogue9 NO[at]SPAM hotmail.com at 4/2/2004 8:25:41 AM
Hi, I'm trying to call an RFC from a vb web service. I have created the proxy object with no worries but the return table always returns an error even when I get success running the RFC inside SAP. I login to the GUI under my own username but all the rfcs go through one rfc user. Before I...more >>

NetworkStream .Write() method not completing
Posted by jeremyh NO[at]SPAM bdssc.com at 4/2/2004 8:02:38 AM
I'm trying to create a simple, synchronous TCP client program to receive requests and return data. My code very closely resembles the example code provided in the Help files, but I find that the .Write method - when run at full speed - only seems to successfully write data the first time it is ...more >>

Is there an HTML web form component?
Posted by Don Nablo at 4/2/2004 7:32:11 AM
I am looking for a component in VB6 or vb.net that would take simple HTML web form formating strings and populate an space on a windows form. The addtional requirement of this is that when the user clicks on a link on the created form my program can intercept and the URL and posted data, without ...more >>

Remoting examples
Posted by Sasidhar at 4/2/2004 7:31:12 AM
Hi All Am trying to develope a vb.net application for window My problem is that I need to develope a windows servic which will activate a Dll upon request from client and updat a database The reason i need it call the windows service is that only the user with permisssions to run the service ...more >>

how to use vb to access the "IE history folder in XP"?
Posted by nick cheng at 4/2/2004 6:43:47 AM
i want use vb to write a program. it is used to record the "IE history", i am using WinXP,when i try to access the history directory use this path "C:\Documents and Settings\Nick\Local Settings\History", and then errors occur. how to solve this problem? if i want to write a program get the a...more >>

dataset disappears from designer
Posted by Suzi at 4/2/2004 6:36:10 AM
I am creating a windows app and I use the data adapter wizard to generate a SQL query. Once the data adapter is created, I generate a dataset from it and my dataset appears in the designer. Then I create another data adapter from the wizard and when that is complete I try to generate the existing ...more >>

How do you get working directory
Posted by Jim Butler at 4/2/2004 6:01:05 AM
Hello How do you get the working directory? and do you delete a temp file one you are done with it thank Jim...more >>

How to print a .rtf File (contains text & graphic)
Posted by Kelly Dykstra at 4/2/2004 6:01:02 AM
Hi I am looking for sample code for printing a .rtf file which contian bot text and graphics Thanks so muc Kelly...more >>

MS SQL Server 2000 Reporting Services
Posted by Woody Splawn at 4/2/2004 4:58:46 AM
I am asking this question here because I asked this question in the Reporting Services Newsgroup and did not get an answer. Does anyone know if Reporting Services is intended to work in a client/Server or Local machine environment? Based on what I have seen my guess is yes but that is a guess. ...more >>

dim as Vs. dim as new
Posted by Sameh Ahmed at 4/2/2004 4:54:13 AM
Hello there what's the difference between dim as and dim as new? Thanks in advance Regards Sameh ...more >>

Get filenames
Posted by Niels at 4/2/2004 3:05:45 AM
Hello, i want to read out the file names of a directory. The previous time, i got this piece of code from someone, but this code counts the number of files in a directory. My intentions are to get the filenames (without extension) in a combobox.... ~~~~~~~~~~ Code ~~~~~~~~~~ Imports Syst...more >>

.NET Sockets Help
Posted by b.m. at 4/2/2004 2:00:57 AM
Hi, I'm a beginner to VB.NET ... I ve been trying to learn .net System.Net.Sockets but i cant seem to figure out a few things... Being that I am an ex-VB6 developer, I am pretty used to Winsock programming. So far, I have figured out how to accept multiple connections to a single port a...more >>

Windows Generated Code
Posted by Joshi at 4/2/2004 12:48:06 AM
Does anyone on the group know how to generate Windows Code for User Control. What I am suppose to do is to generate VB.NET Code for custom user control. Does anyone know how does the VB.NET is generated when a Controls are placed on the Form? Awaiting replies ...more >>

About how to play song question !!
Posted by MingChih Tsai at 4/2/2004 12:35:17 AM
Dear All, How should I do if I want to play and stop .mp3 and .wav files in vb.net. Thanks !! -- Paul ...more >>

Sql Query
Posted by pproost NO[at]SPAM hotmail.com at 4/2/2004 12:10:03 AM
Hello I don't know if anyone in this group can help me but I've got a very difficult sql query question. I've got a table with 2 fields: A field called field and one called value it loos like this FIELD VALUE X00 0 X01 1000 X02 2000 X10 0 X11 1000 X12 2000 Y...more >>

Sql Query
Posted by pproost NO[at]SPAM hotmail.com at 4/2/2004 12:07:29 AM
Hello I don't know if anyone in this group can help me but I've got a very difficult sql query question. I've got a table with 2 fields: A field called field and one called value it loos like this FIELD VALUE X00 0 X01 1000 X02 2000 X10 0 X11 1000 X12 2000 Y...more >>


DevelopmentNow Blog