Groups | Blog | Home


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 > june 2005 > threads for friday june 3

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

Parallel Port Programming
Posted by Panu's at 6/3/2005 11:10:01 PM
Hi, I want to measure the battery voltage through PC in my college project. How can I do so. I mean the interface and programming. Everything welcome....more >>

How to execute sql command just like "Drop DATABASE " and "Restore DATABASE "?
Posted by Risen at 6/3/2005 9:13:51 PM
Hi,all, I want to execute SQL command " DROP DATABASE mydb" and "Restore DATABASE ....." in vb.net 2003. But it always shows error. If any body can tell me how to execute sql command as above? Thanks a lot. Best regard. Risen ---- see my code below: Dim conn As New SqlCli...more >>

Windows Service
Posted by Stanley at 6/3/2005 8:55:41 PM
Hi everyone! I can create Windows Service in VB .Net 2003 professional. The problem is that when I try to show up a form in Service Start up event, the form always show up and become stop responsible! Any idea? Regards, Stanley ...more >>

[ANN] Firebird ADO.NET Data Provider 1.7 Released
Posted by Carlos G.A. at 6/3/2005 7:37:00 PM
Hello: The Firebird ADO.NET Data Provider 1.7 is available for download. * Download information can be found here: http://firebird.sourceforge.net/index.php?op=files&id=netprovider * Release notes can be found here: http://sourceforge.net/project/shownotes.php?release_id=332260 -...more >>

passing parameters between forms
Posted by Jan Warning at 6/3/2005 6:11:41 PM
How do I pass an argument from one form to another? I do the following: FormA: dim strFilename as string ="Filename" dim frmLayout1 as New frmLayout(strFilename) frmLayout1.Show() frmLayout: Private strFilename as string .. .. Sub New(Filename as string) .. ..strFilename = Filename .....more >>

How to copy an address into a pointer
Posted by Just Me at 6/3/2005 5:06:51 PM
I know (or at least think) the following is not correct. The comment says what I want to do, but I think the code will copy the data not the address. Is this one of the things that can't be done with VB? Any suggestions? Thanks Public Declare Auto Sub CopyMemory1 Lib "KERNEL...more >>

Howto create new object, of type of other object?
Posted by Qwert at 6/3/2005 4:25:31 PM
Hello, question regarding the following code: Public Class MyCol Inherits System.Collections.SortedList .... Public Sub MyFunction( objMyClass As MyClass ) End Sub .... End Class How is it possible to create a NEW instance of the object MyClass inside MyFunction (without addin...more >>

Get file listing from web address
Posted by Marty at 6/3/2005 3:53:08 PM
Hi, How can i retrieve the list of files within a specific URL? ex: www.myAddr.com/download Do I have to use a ftp connection to download those files or I can copy them directly to my local folder with my VB.NET code? Thanks, Marty...more >>



Open url from button
Posted by ReidarT at 6/3/2005 3:43:46 PM
How can I open an url in a new window from an imagebutton in a webform? reidarT ...more >>

Question about generating HTML
Posted by Connor T at 6/3/2005 3:31:01 PM
Hi, I wish to generate some relatively simple html reports from my ODBC database. I'm quite happy to write out raw html to a file, but before I do that I just wondered if there is any better solution for creating these reports? I was initially trying to get mailmerged word files working (...more >>

Operator precedance
Posted by Boni at 6/3/2005 3:24:18 PM
Dear All, I am wondering that followind produces an exception if Startline is Nothzing. In C++ is first operation is true it would be enougth for the or statement to be true. If elem.StartLine Is Nothing Or elem.StartLine.ParentLine Is Nothing Then .... Is there some setting to el...more >>

crystal report
Posted by Jason at 6/3/2005 2:22:57 PM
hi, anyone know how to create report from a text file using crystal report? I tried several time and it's always pop-up a dialog windows to ask me user id an password? Any suggestions or sample code? Thanks in advance....more >>

Strange Excel importing problem
Posted by Rob T at 6/3/2005 2:21:59 PM
I have a routine that imports a list of part numbers into a dataview: strExcel = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & boxFile.Text & ";Extended Properties=""Excel 8.0;HDR=NO""" cnnExcel = New OleDbConnection(strExcel) da = New OleDbDataAdapter("Select * from [ODRJYUFI...more >>

Create a Share
Posted by Nijazi Halimaji at 6/3/2005 2:19:31 PM
Hi How can I create a share of a folder with .net? Thanks alot! Nijazi Halimaji ...more >>

Using array without knowing its size
Posted by Morten Snedker at 6/3/2005 2:18:31 PM
When using an array - and you initially don't know many "records" it is to hold - how is the proper way of dimensioning it? In my previous thread I'm looping folders. Let's say these are to be put into an array. Initially I don't know the number of folders being returned, so how would i dimens...more >>

Make class return more than one result (class enumerating folders)
Posted by Morten Snedker at 6/3/2005 1:59:55 PM
I've made myself a class for enumerating folders. But I'm a bit confused how to use it. It looks like this: '--Class begin Imports System.IO Public Class ListFolders Private _folder As String Private _listSubFolders As Boolean Sub New(ByVal Folder As String, ByVal ListSubDir...more >>

Does Property return a reference to the classes object?
Posted by nate axtell at 6/3/2005 1:57:43 PM
I have a custom class with a Private DataTable member and a Public Property that returns this DataTable in its Get call. Is the DataTable that is returned from the Property's Get a reference to the class's Datatable? I'm binding a DataGrid in my form as follows, but adding a row with the bo....more >>

Deleting a used DLL file
Posted by Amjad at 6/3/2005 12:58:06 PM
Hi, My application uses a DLL file that I created. I want to be able to delete this file at some point when the application is not using it and replace it with another DLL file. Of course if I use: File.Delete("myFile.DLL") I will get an exception saying that the access to this file is...more >>

Shortcut to a button
Posted by ReidarT at 6/3/2005 12:38:16 PM
How do I make an Access key to an image in a Windows-form , like I do on a webform? regards reidarT ...more >>

Guid questions
Posted by Dean Slindee at 6/3/2005 12:22:09 PM
I would like to use a Guid as a record identifier for to prevent update collisions (not as the key, but as a substitute for a timestamp field). What is the proper way to define storage for a guid in VB? What is the proper way to define storage for a guid in SQL Server? Thanks, Dean ...more >>

Is there a way to refer to the Function/Sub name?
Posted by Dean Slindee at 6/3/2005 12:21:19 PM
Is there a way to refer to the name of the function the code is currently within? I would like to identifiy on a MessageBox the function or sub containing the message box without hardcoding it in a string, something like this: MessageBox.Show("The message to the user." & ControlChars.NewLine ...more >>

My application works fine in debug mode but does not work in release mode.
Posted by Ariel at 6/3/2005 11:57:36 AM
I have an application that works correctly in debug mode but it does not work in release. I am not using anything of the class system.diagnostics. I tried to disable the optimization code, but this did not work please I need a solution quickly!!. Thanks....more >>

Dataenvironment for .Net
Posted by Allcomp at 6/3/2005 11:49:08 AM
Hello, I am trying to learn how to work in Visual Studio .Net 2005 and after searching for a lot, I don't see any answer. Actually, In VB6 I use the dataenvironment. For my application, I have more than 1500 stored procedures / Functions so I have put them all in a Dataenvironment so when I...more >>

Border style on activeX-component
Posted by ReidarT at 6/3/2005 11:04:21 AM
I have a windows project with an activeX web-browser. This works fine, but I can't get rid of the borderline on the activeX component. regards reidarT ...more >>

For structures: VB.Len or Marshal.SizeOf
Posted by Just Me at 6/3/2005 9:33:20 AM
I have some code converted from VB6 that contains VB.Len for structures. VB.Len(lDevMode) Seems to me that I can always change that to Marshal.SizeOf Since sometimes Marshal.SizeOf works better and VB.Len is never better. Is that correct or are there cases when VB.Len is the corre...more >>

Using events with controls created in code.
Posted by Shawn at 6/3/2005 9:26:47 AM
Hello All, I am trying to raise enter events for a combobox control that I am building dynamically at run time. A user enters a number in a textbox and that many comboboxes are created. I then need to populate them with a database query, but can seem to find a way to get any more than the last...more >>

How to change the system default printer to Landscape system wide
Posted by Just Me at 6/3/2005 9:24:42 AM
I want to programmatically change the paper orientation of the systems default printer in such a way that the new orientation shows for the printer under: Start/Printer and Faxes Can anyone tell me how to do that? I have some unmanaged code that no longer works for some unknown reason...more >>

FileSystemWatcher and Windows 2003
Posted by Chris Rendall at 6/3/2005 9:21:03 AM
I have a program I created that watches a folder on a Windows 2000 Powered Server. I've since replaced the server with a Windows 2003 Server, running Services for UNIX 3.5. My program uses FileSystemWatcher to watch for files created from our UNIX server. It no longer fires the event when n...more >>

There has to be a better way
Posted by Thomas Beyerlein at 6/3/2005 9:08:53 AM
When you load a form from a combo box selected item. How do you pass the value back after clearing the bindings, and still have all the values still in it. I am using the selectedindex number right now, with the selectedchangedcommitted, but this doesn’t work the way I want it to. If anyone ha...more >>

Why do my Label.Text values disappear?
Posted by Darrell Wesley at 6/3/2005 8:40:03 AM
I have a form with several labels on it that ae filled in through code but for some reason the contents disappear. Does anyone have a guess as to what might be happening? Here is the part of the code where the problem occurs: lblRunItem.Text = Item txtCoilS...more >>

Using a WebService (Java) from VB.Net
Posted by JLlamas at 6/3/2005 7:55:29 AM
Hello, Hope somebody can help me... Im trying to use a webservice from a client, they give me the WSDL Addresss: http://lgec.dnsalias.com:7001/WsFacade/common/InitFacade.jws?WSDL They develop their webservice in Java, and we have to access them through Vb.Net, we can register the wsdl ...more >>

UserControl - Leave Event not being raised when press [ENTER] key
Posted by Simon Verona at 6/3/2005 7:31:28 AM
I have a usercontrol with code in the "leave" event which updates the final data back into a database. This works fine except if I have a default "accept" button on a form and invoke it by pressing the ENTER key on the keyboard. In this case, it would appear that whilst the code on the bu...more >>

how to use a string store in a variable as command in runtime
Posted by sean_connerywang NO[at]SPAM yahoo.com.tw at 6/3/2005 2:50:19 AM
Hi everyone : Is there anybody know how to use a string store in a variable as command ? Like : str1='test...' str2='...test' str3='left(str1, 5) & Right((str2,3 ) ' How do we get 'test.est' from str3 in runtime. In short , will it be possible to use a string as command or statement in ...more >>

Fill textbox on another aplication
Posted by Nikolay Petrov at 6/3/2005 1:46:51 AM
I need to fill a textbox on another application. Any ideas how to achieve this? tnx ...more >>

Sql Help. Compare and update records in 2 identical tables in diff server
Posted by sleepyant at 6/3/2005 12:00:00 AM
Hi, I have 2 identical tables in each server that I need to compare and update/insert accordingly using SQL. For example, server A as a source and Server B as destination which both have Table1. I need to compare records in Server A with those in Server B and insert the records in Server B if ...more >>


DevelopmentNow Blog