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

HTTP protocol, HELP
Posted by Mat at 10/31/2003 10:40:30 PM
I would like to write a client-server application which will communicate through HTTP PROTOCOL . essentially, client will send and received xml files. is it possible?? I want to use http protocol to avoid firewall problems. ...more >>


TO LEARN PROGRAMMING
Posted by GUSTAVO V. P. at 10/31/2003 10:29:13 PM
Hello, my name is Gustavo and I want to know: What one needs to be a good programmer of computers? Which your advice are to be a good programmer? How is the logic acquired? Is it true that people that are good in mathematics are made easier the programming of Computers, for the logic? Is it V...more >>

wrong return value: connection state "open" when it is actually "broken"
Posted by ITP at 10/31/2003 9:42:40 PM
Hello, I'm seeing this with the ADO.NET SQLClient provider: When I check the connection's open status after it has been opened AND has been broken (I simulate this by disconnecting the cable or by stopping SQL Server), the status returned is "true" or that it is open. The connection s...more >>

Startup Optimization
Posted by John at 10/31/2003 9:16:06 PM
Hi Is there a way to see what time each code segment takes during app start-up? Thanks Regards ...more >>

can 2 projects share 1 file?
Posted by William Meitzen at 10/31/2003 7:54:48 PM
Does someone know how I can get two projects to share a common class? Something like this: solution WholeShmeer project1 code1 CommonClass project2 code2 CommonClass .... where CommonClass is a class I created and resides in the same file? I'm writing a rather large...more >>

GUI app for a windows service
Posted by Harry Hudini at 10/31/2003 7:01:28 PM
Hi, I was wondering if anyone could let me know of a good site or other source of info for learning how to create a GUI that will "talk" to a service. I have created a service for a task at work, and at the moment it takes all its config info from an .ini file and writes events to a log file. ...more >>

Sending E-Mail through application
Posted by Ivan Weiss at 10/31/2003 6:44:04 PM
I get the error: 'Send' is ambiguous across the inherited interfaces '...frmNewCustomerForm.vb' with the following code: Dim objOutlook As New Outlook.Application() Dim objMail as MailItem = objOutlook.CreateItem(OlItemType.OlMailItem) With objMail .To = "June.Weiss@elitefse.com" .Su...more >>

Closing database in VB .Net
Posted by Vegar Hansen at 10/31/2003 6:43:47 PM
Hello everone. Can somebody help me? When I run my code I can read, write to and delete from database, but when I have done one of these things and try to copy the databasefile from my folder to an other folder with Windows Explorer the system "hangs up" for a couple of minutes. It seems like...more >>



Crystal Report with SubReport, SubReport prints on separate page
Posted by tim_frawley NO[at]SPAM fishgame.state.ak.us at 10/31/2003 5:40:19 PM
I have created a Crystal Report with five subreports to represent datagrids on our dataentry application. The largest datagrid is the last item on the report. When empty this last subreport will print on page one of the report about halfway down the page. The problem is when this subreport h...more >>

DataGrid Question
Posted by Bob Day at 10/31/2003 4:52:16 PM
Using vs 2003, vb.net, sql msde... 1) A datagrid with Parent and Child bound tables. Everything works fine. In Datagrid, with only the ParentTable displayed , it is easy to UPDATE the parent columns with standard ADO.NET commands (i.e. ParentTable.Column1 = New Value). In same Datagrid, ...more >>

printing multiple pages, is there a better way to do this?
Posted by ray well at 10/31/2003 4:31:04 PM
hi, i need to print multiple pages on a printer. this is what i'm using now Sub Print() Dim PrintDoc As New PrintDocument AddHandler PrintDoc.PrintPage, AddressOf Me.PrintText Do While bPrintingNotDone PrintDoc.Print() Loop End Sub Sub PrintText(ByVal sender A...more >>

Thread Name
Posted by Bob Day at 10/31/2003 4:23:41 PM
Using vs2003, vb.net I start a thread, giving it a name before start. Code snippet: 'give each thread a unique name (for later identification) Trunk_Thread.Name = "Trunk_0_Thread" ' allow only 1 thread per line Trunk_Thread.ApartmentState = ApartmentState.STA ' sta...more >>

String HELP!!!
Posted by Matthew Prieto at 10/31/2003 3:16:21 PM
Here is what I am trying to accomplish. I've created a program that will determine what boxes are checked then based on those checkboxes input it associated line into a batch file. Below is the script I am working with. Private Sub cmdGo_Click(ByVal sender As System.Object, ByV...more >>

timestamp
Posted by Crirus at 10/31/2003 3:05:03 PM
How to get a timestamp for curent time? ...more >>

Datagrid and ComboBox from id in row
Posted by Marius Traelnes at 10/31/2003 2:58:33 PM
Hello! I want to fill a datatable with an unique id and show a combobox based on that id, like this: id combobox 1 value1;value3;value4 2 value5;value6;value7 It's no problem to add a combobox to the datagrid but the problem is binding different values from row to...more >>

SMTP mail without IIS
Posted by kjvt at 10/31/2003 2:31:25 PM
Is there any way to install and access the System.Web.SMTPMail class without installing IIS? The System.Web namespace does not normally install on a XP-Pro machine without IIS. If we install IIS in the development environment so that we can code with System.Web, can this application be dist...more >>

Text colors under buttons
Posted by Darin at 10/31/2003 2:25:46 PM
I have a form with a panel. On the panel, I have dynamically created labels with the backcolor of control.lightlight, with a width of 200 pixels. I then dynamically create buttons next to the labels, but at about pixel position 75, so some of the label is under the button. My problem is the butt...more >>

Collection in a custom class
Posted by Rick Palmer at 10/31/2003 1:35:37 PM
The code below is a class I am creating in order to help facilitate a generic "data layer" assembly. Anyway, as you see the RecordCriteria class contains three hashtables, and a structure called RecordCriteriaItem. I want to be able to use a for each loop to loop through the values in the hash...more >>

beginner question about a progress bar
Posted by Samantha at 10/31/2003 1:33:39 PM
Hi. hi have a custom created smooth progress bar (Pbar) control and i wanted to know how i can reset the bar to 0 after the bar has run to completion. The pbar uses a timer control to function The code that i have been given in an example is: 'this is added to the tick event for the ti...more >>

Text Data Parse (re: Tom)
Posted by Ken Barz at 10/31/2003 1:22:04 PM
Responding to Tom: Basically it's saved as .csv but in reality it is colon delimited text. 5320:4.30:4.25:99:4.13:96:-3 5101:1.87:1.68:89:1.81:96:8 5318:2.43:2.57:106:2.32:96:-10 This is also row dependent: i.e. 5320 indicates one type of measurement and the following numbers repre...more >>

VB.Net Installation
Posted by Sesha at 10/31/2003 1:19:45 PM
We had developed a vb.net application using .Net 2003 installed in windows 2000 professional. The application is working well on windows 2000. When the application is running on windows 98, when ever a form is closed (me.close()) the system stops responding and it has to be rebooted. Than...more >>

ADO.NET infomessage event not firing when connection is broken
Posted by itp NO[at]SPAM techie.com at 10/31/2003 1:05:26 PM
Hello, I have looked at several ADO.NET resources and they all say to use the infomessage event handler. I have added the code to my form but when I disconnect the network cable, it does not fire. I have also read that infomessage is for server error messages below 10. I have tested t...more >>

Formatting
Posted by RR SPSCC at 10/31/2003 11:43:43 AM
I have a textbox bound to a dataview field. How can I format the value to display as currency? Thanks in advance. ...more >>

How to disable a Tabpage ?
Posted by Stan Sainte-Rose at 10/31/2003 11:34:53 AM
Hi, I've a Tabcontrol and I 'd like to disable a tabpage I try to use the hide and visible property but it doesn't work. Thx Stan ...more >>

First item disappears in datalist and data repeater
Posted by Simon Cheng at 10/31/2003 11:13:10 AM
When I tried to display data in datalist and repeater, the first data item always disappears in all datalist and repeaters in my web forms. The code I use for the html page is: <TD id="tdDepartment" runat="server"><asp:datalist id="dlstDept" runat="server" HorizontalAlign="Left" CellPadding...more >>

Exchange / Outlook Public Folder access in vb.net
Posted by Chris Thunell at 10/31/2003 11:08:52 AM
Help! We keep all our contacts in a public folder called "Company Contacts", I am writing a windows forms vb.net application, where i would like to find a contact from that public folder, and get some information from it like, "Full Name", "Business Fax" etc etc. Right now i have an Outlook...more >>

Need Help With Creating An OLE Link
Posted by Gordon at 10/31/2003 11:01:01 AM
Hello again, Sorry to repost this request, but I'm under a bit of pressure to find a quick solution. All I basically want is an automatically updating link (OLE, not DDE) between a control in my application and a cell in an Excel spreadsheet. My control has to automatically receive updates ...more >>

Need some implementation ideea
Posted by Crirus at 10/31/2003 10:59:01 AM
Hi there! This is the problem: I have a server that accept connections. Each request span a thread that handle it. I need a way to store the client IP's. If the requests made from a single IP pass a number, say 10, I want to drop that request without processing. All that request have a time...more >>

application communication
Posted by zurg at 10/31/2003 10:31:31 AM
Hi! Is there any easy way to send a command(or a number/whatever) to a running application? That's the situasion: I wrote a windows service and installed it on the computer. And I wrote a normal program that starts this service and send some commands to it (by ServiceCommandManager) and the se...more >>

C# and VB.NET
Posted by yuen at 10/31/2003 10:22:24 AM
How can I call a C# function into VB.NET? ...more >>

print the panel control
Posted by Kevin at 10/31/2003 10:10:12 AM
I would like to print the panel control. The panel controls contains images and lables. If i can capture as image i can use it for other purposes like Zooming etcc.. Any body have any idea ,,, ?...more >>

deploying MDAC_typ.exe and dotnetfx.exe with an app
Posted by ray well at 10/31/2003 9:58:21 AM
hi, i need to deploy MDAC_typ.exe and dotnetfx.exe with an app. i do NOT want the user to have to exit the app's setup and have to run these 2 programs on their own. i would like to have my deployment (using the deployment package that comes with net 2003) to figure out during its normal...more >>

Clipboard and STAThreadAttribute
Posted by Roy Gunnarsson at 10/31/2003 9:50:49 AM
Hello all, I have a VERY simple windows application that decrypts data files we receive from a partner. The decryption is handled by a COM component our partner provided us with (thus we have no control over its functionality). That, however, works fine. To make it a little easier for our end ...more >>

mdac version ?
Posted by ray well at 10/31/2003 9:26:42 AM
hi, i need to distribute mdac 2.6 or later with an app. does mdac_type.exe that comes in the 'prerequisites' cd of .net 2003, match that? when right click that mdac_type.exe and look under properties/version i see file version as 27.1.9030.9., but there is no info about the mdac version...more >>

Remove VB.NET Standard to install Enterprise
Posted by Mark Overton at 10/31/2003 9:25:14 AM
I'm having no luck in removing my VB.NET standard edition thru control panel remove on my laptop running advanced server. I want to install Enterprise edition. Any help would be appreciated....more >>

Socket Blocked on Socket.Receive
Posted by qindong_zhang NO[at]SPAM hotmail.com at 10/31/2003 9:20:22 AM
My socket application blocked at socket.receiver() after received all information from sender. Should socket.Receive() return 0 after no more data available? Note: My socket object was not close on both client/server side. My cached for further use. While bytesReceived > 0 byteBuffer = Ne...more >>

Text Data Parse
Posted by Ken Barz at 10/31/2003 9:01:44 AM
I would like to create a program that parses data in either a text or csv file and then sends it to a database. I've always used SAS for something like this, but I like the control that VB gives me over the whole process. Does VB have any tools for doing this kind of work, and is there a...more >>

VB Class
Posted by André Almeida Maldonado at 10/31/2003 8:58:10 AM
Hy Guys.. I'm Trying to write a class (clasliga.vb), but I'M receiving this message from compiler: vbc: error BC30420: 'Sub Main' was not found in 'ClasLiga' Please tell me what is wrong... This is my code: Public Class Ligacoes Private sLigaAten as String Private sLigaDest as Str...more >>

binaryseach of an arraylist
Posted by Bernie Yaeger at 10/31/2003 8:38:54 AM
I'm having difficulty searching an arraylist for certain values that are in another arraylist. Essentially, I want to load the second arraylist with only one of each of the possible elements in the first arraylist. Thus if singlearraylist contains "ww", "l2", "s1", "ww", "cc", "s1" I only want ...more >>

Retreiving Column names from Dataset / dataAdapter
Posted by rmarshal NO[at]SPAM wfubmc.edu at 10/31/2003 7:06:07 AM
Need help finding simple way to retrieve a fields (or columns) collection from a Dataset without filling it first....more >>

Properties Window in VB
Posted by gum at 10/31/2003 6:55:32 AM
Hi very new to VB since only used to program in VBA..... is there a way to set a default font when displaying the properties window so i dont have to keep changing it to the font it want when adding new buttons etc etc..... ta. gum...more >>

Process Address in String Variable
Posted by Slonocode at 10/31/2003 4:35:13 AM
Hello I am trying to display a USA address properly in a multiline textbox. Unfortunately the address I must process is contained in a string variable and the format is not uniform. Examples: John Smith, 12345 Main Street, Anytown, NY 98776 John Smith, 12345 Main Street, Anytown, NY, 98876 ...more >>

Another Little Tip!
Posted by todonnell NO[at]SPAM plls.co.uk at 10/31/2003 4:08:59 AM
Most of you hardcore developers may already know this, but I don't think everyone does so here goes... When debugging code we all used to placing our mouse over an object or variable to reveal the assigned value at runtime. If we do this in VB.NET to a statement that is comprised of several ob...more >>

Interrupting a data load
Posted by Frank at 10/31/2003 3:29:11 AM
I have made an application that loads data through an OleDbDatareader. I would like the user to be able to interupt the load. Now, I could of course include an interrupt button in the form. However, once the load starts program excution will be in the object of my dataload class. And so I...more >>

Updating counter during data load
Posted by Frank at 10/31/2003 3:19:40 AM
I am loading data through a OleDbDatareader. The load is started from a form by the user, but the actual load is done in a separate class, which is accessed from my form. Now, I want the user to see how the load is progressing, so I have a counter textbox, which I have passed to the load ...more >>

Re: OT dns component
Posted by John Doe at 10/31/2003 1:41:18 AM
Might help if i furnish the addr: http://dev.myplaceinspace.com/nettools/ "John Doe" <postmaster@127.0.0.1> wrote in message news:... > I recently developed a dns querying class and would greatly appreciate it if > some of you running around here might check it with a couple of unique > ...more >>

OT dns component
Posted by John Doe at 10/31/2003 1:39:48 AM
I recently developed a dns querying class and would greatly appreciate it if some of you running around here might check it with a couple of unique domains and see if it breaks. Should you get a error message that was not expected please reply with the error and how to reproduce it here. Than...more >>

Newbie Q about DIM statement....
Posted by Gary at 10/30/2003 8:47:45 PM
Hi, Just downloaded some sample code, a registry write/delete sample , works alright no problems, but I thought I would have a go and start making the same code myself and then I get an error "type registrykey is not defined". Dim regKey As RegistryKey I have tracked down the error, whe...more >>

Circular Class Library Dependency
Posted by Rafael Pivato at 10/30/2003 8:33:27 PM
Hi, How can I make two libraries with referencing each other ? --------- Thanks, Rafael Pivato ...more >>

Putting a Button in a datagrid.
Posted by Ken Dopierala Jr. at 10/30/2003 8:21:22 PM
Hi, I have a datagrid that I fill with a dataset. I would like to add a column that includes a button (and maybe in the future other controls like CheckBoxes). I can do this with the ASP Datagrid fairly easily. But I don't know how to do this with a Windows Forms Datagrid in VB. Thanks f...more >>


DevelopmentNow Blog