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

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

Aborting Socket BeginAccept Async Call
Posted by Chris Morse at 12/31/2003 10:35:46 PM
WARNING: Verbosity: skip to the very bottom paragraph for succinct version of my question.) Hi- I can't seem to find an answer to this. I am playing around with a variation of the ".NET Framework Developer's Guide" (in the MSDN docs) "Using an Asynchronous Server Socket" sample. As ...more >>

How to get data from the dataset???
Posted by Gene at 12/31/2003 9:59:09 PM
if i have already fill the dataset, but how can i get the data from it??? for example, I want to get the specific column and the specific data, what should i do??? THX!!! ...more >>

Functions in DLL File?
Posted by Don at 12/31/2003 7:27:34 PM
I created a module to work with INI files and compiled it to a DLL file. Then when I try using one of the functions, it tells me that the function is not defined. I even put it inside a namespace so that I could import it. I was hoping to write my functions so that they'd be available the same...more >>

USB Connectivity
Posted by One Handed Man [ OHM# ] at 12/31/2003 4:37:22 PM
Has anyone done any coding in this area ?, I dont want to be pointed in = the direction of a link unless it has specific examples of what I am = trying to do.=20 Basically, I have decided to connect to a serial device plugged into one = of my USB ports. But I dont know where to start really an...more >>

Curious problem with casting
Posted by Greg Martin at 12/31/2003 4:36:19 PM
A couple snippets for you: Module ETSPSAttrMod1 Public LDAPAttribs As Scripting.Dictionary = New Scripting.Dictionary Sub Main() '<snip> * LDAPAttribs = GetLDAPAttribList() PopulateAttrs() End Sub Function GetLDAPAttribList() As Scripting.Dictionary() ...more >>

Releasing mouses grip on forms sizeable edge?
Posted by What-a-Tool at 12/31/2003 4:35:40 PM
I have an mdichild form whose minimum size I want to limit (can't be dragged below a certain size) Even though I am running .NET 1.1 where the minimum size property supposedly works, it's not working for my child forms. Herfried K. Wagner directed me to a code sample which he wrote as a work ...more >>

NAT SDK
Posted by RF at 12/31/2003 3:54:48 PM
Hi, I've read on the PlatformSDK site there a NAT Transversal API SDK available for download. It's able to detect if a NAT is present.Get the external IP of the NAT, etc... However, I don't wnt to download the complete CORE SDK. I just need this particular SDK. Can someone point me towar...more >>

How do I preview a CrystalReport?
Posted by Geri Reshef at 12/31/2003 3:36:31 PM
To print a CrystalReport I do (for example): Dim CR As New CrystalReport1 CR.PrintToPrinter(1, True, 1, 100) How do I preview it on the screen? ...more >>



Newbie asking for help Populating listview Control ??
Posted by Norman Fritag at 12/31/2003 3:19:04 PM
Hi there I like to populate a Listview with data. all the Program does is adding the data to the first column. There are five columns and I like to get the data into the appropriate columns, not just into the first?? Where am I going wrong?? Here is the code snipple: listviewdisplay is set ...more >>

Button Onclick event
Posted by Roger Cantillo at 12/31/2003 1:06:19 PM
Hi, In a webform, is it possible to change the OnClick event of a button at runtime? -- Axiom Software, Ltd. 400 Columbus Ave Valhalla, NY 10595 (914) 769-8800 ...more >>

NoNullAllowedException
Posted by Solva at 12/31/2003 12:59:26 PM
I using VB.NEt to connect to a Access Database. When I try to add a record to the customer table. It gives me this error. An unhandled exception of type 'System.Data.NoNullAllowedException' occurred in system.data.dll Additional information: Column 'WorkPhone' does not allow nulls. ...more >>

code
Posted by IAmIronMan at 12/31/2003 12:51:32 PM
I am looking for code that will go through all files on a machine and look for pics and change the file extension to another type. Your help is appreciated....more >>

Addressing specific type of control on a form
Posted by John Suru at 12/31/2003 12:30:02 PM
How do I cycle through all controls on a form singling out just textboxes and comboboxes and clearing their text property? I think I need to address the controls collection and only clear the text property if the control is a textbox or a combobox. How do I do this? Thanks, John Suru...more >>

Synclock Questions
Posted by Bob Day at 12/31/2003 12:19:00 PM
Using vs 2003, vb.net sql msde.. Consider the following code snippets. See **** for questions. All are shared and accessed by multiple threads simultaneiously. ' Instantiate per for this shared class Private Shared gcCDsd As New Class_Component_Designer Private Shared Sub tblMETHOD...more >>

What event in a Tab Control
Posted by Sean at 12/31/2003 11:53:43 AM
....will let me handle a particular tab becoming the active tab. Basically I have one tab that needs to pull data from the other tabs when selected. Thansk....more >>

What to use instead of SQLDataAdapter?
Posted by coleenholley at 12/31/2003 11:29:56 AM
We don't use a connection to a SQL Server, and therefore when I try paging, the simple way to do it using a SQL DataAdapter does not work. Is there an alternative for this, such as for an ODBCDatatAdapter? I looked through the available Objects and could not find anything similar for and ODBC Conn...more >>

What to use instead of SQLDataAdapter?
Posted by coleenholley at 12/31/2003 11:27:13 AM
We don't use a connection to a SQL Server, and therefore when I try paging, the simple way to do it using a SQL DataAdapter does not work. Is there an alternative for this, such as for an ODBCDatatAdapter? I looked through the available Objects and could not find anything similar for and ODBC Conn...more >>

Array and Delimiters
Posted by Peace at 12/31/2003 11:07:48 AM
I am having trouble writing code to turn an array into a delimited string. Dim splitout As String splitout = Join(DataArray(rows, columns), " ") rows and columns are integers representing rows and columns quanitity of datasets. Could someone help show what I am doing wrong? When ever I w...more >>

Modular Application - urgent
Posted by Peter Kubicsek at 12/31/2003 10:45:44 AM
Hi I need help. I'm trying to write modular APP which have only basic interfaces to work with database, and etc. All specific code will be in modules (dll's), which can be loaded/unloaded from main app. I know how to write this modules with IDTExtensibility2 interface, but don't know how to w...more >>

VB.Net & Sms Texting
Posted by Newbie! at 12/31/2003 10:11:13 AM
Hey Group, I was wondering if someone could possibly pointy me in the right direction on this one. I would like to have a SMS option in my program to send SMS text Messages. My Idea was to have something like a Nokia 6210i/6310i connected to my PC via the Serial Port. Does or has anybody...more >>

<System.ComponentModel.Browsable(False)> almost does what I need
Posted by active at 12/31/2003 9:53:26 AM
I have the following in a usercontrol. When I site the control on another usercontrol the designer adds Me.RichEditControl1.TxtSelectedText = Nothing which causes an error in the Property. Is there anything I can do to convince the Designer to either set it to "" or better still ignore ...more >>

To set the zoom level of a PrintPreviewDialog
Posted by yulyos NO[at]SPAM yahoo.com at 12/31/2003 8:48:31 AM
Hi, To set the zoom level of a PrintPreviewDialog: Dim YPreview As New PrintPreviewDialog() YPreview.Document = PrintDocument YPreview.WindowState = FormWindowState.Maximized YPreview.PrintPreviewControl.Zoom = 1.0 ' 0.75 = 75 % ' 1.0 = 100 % ' 1.5 = 150 % Have a nice day you ...more >>

Debugging. Is this as it should be?
Posted by Woody Splawn at 12/31/2003 8:40:37 AM
When debugging and I click the step-over icon the line that I am on does not get stepped over. Am I missing something? That is, lets say I have code like this: MsgBox("Hello 1") MsgBox("Hello 2") MsgBox("Hello 3") Lets say the yellow arrow on the left of the screen points to the first l...more >>

ComboBox keyboard recognition?
Posted by Strahimir Antoljak at 12/31/2003 8:33:11 AM
Could anyone help me with the following: Is there a quick, or at least known way to force a ComboBox, having DropDownStyle= DropDownList, to recognize keyboard input and perform Item selection based on that. To be more specific: I have a list of 150 items (all 7-digit numeric values) repre...more >>

Toolbar button property
Posted by JES at 12/31/2003 8:22:40 AM
Hello, I'm trying to work through "Teach Yourself More Visual Basic .NET in 21 Days" and have come across something that I can't figure out. An example in the book for creating toolbars and setting toolbar button properties shows that the toolbar button has a "itemdata" property. This proper...more >>

Opening a child form from another child form
Posted by John at 12/31/2003 7:47:10 AM
Hi I have this sub in a main form; Sub OpenForm(ByVal x As String) Select Case x Case "1" form1 = New frmClients form1.TopLevel = False Me.FormsPanel.Controls.Add(form1) form1.Show() form1.BringToFront() Case "2" fo...more >>

Using other programs within frame
Posted by atif_butt82 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/31/2003 7:42:54 AM
How to use microsoft word, acrobat reader, paint etc from within our frame i-e they should be shown within our frame ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= 19 Eas...more >>

Accesing parent form's sub
Posted by John at 12/31/2003 7:24:40 AM
Hi I have a main form which has a panel which contains a child form using the code; mainform.myPanel.Controls.Add(childform) So hierarchy is like this; MainForm->Panel->ChildForm. My question is how can I access a sub in the main form, from the child form? Thanks Regards ...more >>

Apology to scorpion53061 and Others
Posted by IAmIronMan at 12/31/2003 7:16:47 AM
I apologize for being rude and not considerate of others here. Scorpion53061 please reply to let me know you forgive me. You claim to be a Christian so you should be willing to forgive me. ...more >>

OT: Happy New Year
Posted by Ken Tucker [MVP] at 12/31/2003 6:42:58 AM
Happy New Year To All Ken ----------------...more >>

Which form?
Posted by John at 12/31/2003 2:16:34 AM
Hi I am using a variable f (of type form) which would either refer to form1 or form2 depending on which form is on top. How can I now using f as handle call a procedure which exists in both form1 & form2? The reason for using f is so procedure is automatically called for the form which is on ...more >>

Diff. between C# and VB.net
Posted by Abc at 12/31/2003 2:01:31 AM
Does anyone know a document which list syntactic difference between C# and VB.Net? If Yes, please help me out. Thanks...more >>

Create ActiveX COM control using VB.Net
Posted by Michael Fitzpatrick at 12/31/2003 1:54:03 AM
How do I create an ActiveX COM control using VB.Net. I want to create a control to use in Office 2000 VBA. ...more >>

Database access
Posted by atif_butt82 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 12/31/2003 1:12:36 AM
i need help on how to create database connectivity, insert, delete, search n update commands, using both sql n microsoft access, n i 'll b greatly thankful if u guyz can tell me how to use lookup tables as used in Delphi thanx. ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure U...more >>

need help in vb.net :(
Posted by svprajesh NO[at]SPAM yahoo-dot-com.no-spam.invalid at 12/31/2003 12:27:20 AM
hi all i want to compare two files,one is a xml file which has some certain rules,and the other one is a "c" file. i want to check each and every line of the "c" file which should satisfy the rules written in xml file,if any error occurs,it should display an error message in a new window(Or msg...more >>

UniCode
Posted by Seshadri at 12/30/2003 11:33:35 PM
How to save Unicode / retrieve Unicode values in SQL Server 2000 DB. When we saved a Hindi text in SQL Server, it saves it in hindi font and not in unicodes. How to save the data in SQL Server as Unicode and retrieve the same and display in a VB.NET Form? Thanks, Seshadri ...more >>

change coordinates of form
Posted by K.N.Ranjit at 12/30/2003 11:22:49 PM
Hi to all friends out there, I'm facing this problem for atleast 2 days but still have'nt yet solved my problem.I send the mail few days back (ie) in VB.net how to shift my form coordinates (ie) by default (0,0) is in the top-left corner of the form but right now I ne...more >>

VB.NET puzzle
Posted by bill salkin at 12/30/2003 11:12:37 PM
I have two arrays, say inp1(0) = "Cat" inp2(0) = 3 inp1(1) = "Dog" inp2(1) = 4 I want to use them to create a new variable with part of the string name coming from inp1 and the corresponding value coming from inp2. For example, here are the VB.NET string variables I want...more >>

Err 91 : Object variable or With block variable not set
Posted by nelsonchang NO[at]SPAM tristateww.com at 12/30/2003 11:03:16 PM
Dear all, I wrote the VB code in a "button press event" as below in which is retrieve data from SQL server and insert the data into Excel. After that, I would call Excel "subtotal" API to build a subtotal figures. For first time, it is working fine. But in the second time, I try to execute...more >>

Copy folder problem
Posted by Simon Abolnar at 12/30/2003 9:12:20 PM
I am working on problem of coping folder. I am using Windows XP/VB.Net 2003 I know how to do it with FileSystemObject, but I would like to have copy dialog between operation like it is in windows explorer. Is it possible to do this with System.IO (framework)? I tried to use SHFileOperatio...more >>

Times - add + subtract + the SUM of many
Posted by Russ Green at 12/30/2003 8:55:50 PM
I'm trying to perform several manipulations to time values (all will be stored in a access database). I need to find the elapsed time between a start time and a finish time and I also need to be able to find the SUM of multiple time values. I know how to do this first part of the using the fol...more >>

running a called exe before returning to the calling app
Posted by Bernie Yaeger at 12/30/2003 8:45:52 PM
I'd like to run an external exe before returning to the calling app. For example: System.Diagnostics.Process.Start("f:\imcapps\xbuild\xbuild.exe") When I call this, the code beneath immediately runs, but I don't want it to begin running until xbuild.exe does its stuff. Any way I can do this,...more >>

Combining text from different text boxes
Posted by the nitewolf at 12/30/2003 8:43:11 PM
Not having much luck with this one.... I have multiple textboxes that I want to concntenate, but with a "Tab" so things are equally spaced. I have an app with two tabs, one is an input form with multiple textboxes, the other is a preview with a richtext box to show how it will look before...more >>

Form position
Posted by John at 12/30/2003 8:19:28 PM
Hi I have a panel to which I have added several forms as follows; form1 = New frmone form1.TopLevel = False Me.MyPanel.Controls.Add(form1) form1.BringToFront() form2 = New frmtwo form2.TopLevel = False Me.MyPanel.Controls.Add(form2) form2.BringToFront() Is there a way to know which...more >>

Form control resizing
Posted by Shane at 12/30/2003 8:14:35 PM
I have this code that resizes a form control. i want to be about to do something like that in .net. the other version is in vb 6... here is the code Dim hgt As Single hgt = ScaleHeight - wbrURL.Top If hgt < 120 Then hgt = 120 wbrURL.Move(0, wbrURL.Top, ScaleWidth, hgt) the ScaleHeight i...more >>

Help me clean up this code
Posted by Bob Graham at 12/30/2003 7:31:24 PM
'create object array Dim jobnums(1000) Omitted: code that retrieves job numbers (integers) from sql server to = put in a combobox I have a combobox (cbJob) that I want to put these values into. If I = read them in from a SqlDataReader it takes an eternity, about 7 seconds to accomp...more >>

Reading from a NetworkStream
Posted by Webster at 12/30/2003 6:52:56 PM
Hello, Can someone give me an example of how to use the asynchronous BeginRead method and the EndRead methods of a NetworkStream class?? My googling have given me no good examples of this. I am having trouble cause mine is looping for some strange reason which throws an exception when I tr...more >>

Parent/child table problems
Posted by Bob Day at 12/30/2003 6:43:41 PM
Using VS 2003, VB.NET, SQL MSDE.. I am stumped. I have a datagrid with a parent/child relationship between two tables. If I add 200 rows from code in the same win form to the child table with only the parent table displayed, it works fine, and then you can display the child table and all da...more >>

Distribution of App w/ referenced .DLL
Posted by Pepi Tonas at 12/30/2003 6:37:33 PM
Hi All, I am using a DLL in an application. To start using it in my project, I added it as a reference by right clicking on the reference folder and adding the dll file. Now, when I distribute my application: (1) Must I include the DLL file? (2) If so, won't it loose its reference as ...more >>

vb.net question
Posted by Eddie at 12/30/2003 6:08:59 PM
Hi, Is it possible to detect where (which directory) your vb.net program is running out of within the program? Thanks in advance. Eddie...more >>


DevelopmentNow Blog