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 > november 2006 > threads for monday november 6

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

help reading numeric values is Excel via VB.NET
Posted by maverick7983 NO[at]SPAM gmail.com at 11/6/2006 11:33:28 PM
Hi, I am engineering student at Rutgers University, I need help in writting a VB.Net program which will read voltage values logged in Excel by a Data Acquisition Card and if the voltage value happens to be within a certain range, I need the program to call different sub routines. I know how...more >>


How to send email in .Net requiring server authentication
Posted by rdufour at 11/6/2006 8:29:13 PM
There's a code snippet to create and send an e-mail, but I need to send it via a hosted server at an ISP and the outbound mail server requires authentication (username and password). Whats the code to authenticate when using framework v.2 and the system.net.mail namespace? Any help greatly ...more >>

Window Combo box
Posted by nikila at 11/6/2006 6:53:12 PM
Hi, I am using windows combobox to populate the data from database. My requirement is - If user enters some characters matching the values in dropdownbox, I want to point to that location in combobox. I know we have findstring method, but it is searching from the beginning of the string ...more >>

FOR SALE : Apple iPod 60GB,--------------------$150
Posted by guarrantystore NO[at]SPAM hotmail-dot-com.no-spam.invalid at 11/6/2006 5:38:46 PM
We are legit company and we sell all kind of Electronis such a Mobil Phones,Ipods,xbo 360, Sidekicks,Nextels phone,Laptops for sell at cheap an affordable prices, they ranges from Nokia/Samsung/LG/Son Ericsson/Motorola/Alcatel/panasonic With Bluetooth, al Brands and Models of Nextel Phones, we...more >>

Windows Default Directories
Posted by Elmo Watson at 11/6/2006 5:01:50 PM
If I was pointing my app to a particular directory, I would just use: "C:\Whatever\" But - If I want my app to use one of the Windows default directories (Desktop, MyDocuments), since they can be different, depending on which operating system, so how can I define this in code (like - Desktop)?...more >>

Challenge? [De-]Serialise a class derived from DataTable.
Posted by Phill W. at 11/6/2006 4:33:52 PM
OK, I've asked nicely before; now I'm going to throw down the gauntlet to anyone brave enough to take it up. In VB'2005, can anyone write me a class that inherits from System.Data.DataTable, add it to a System.Data.DataSet (a /normal/ one, /not/ a subclass), serialise the whole lot to, say,...more >>

Getting an application to be on top of other applications
Posted by Jerry Spence1 at 11/6/2006 4:31:34 PM
I have an application with an icon that sits in the system tray. When I double click it the form is maximised, but I want it to sit at the front of all the other applications that are open. How do I do this? I suspect an API but maybe in VB2005 there's another way. -Jerry ...more >>

Drawing help
Posted by Steve Long at 11/6/2006 3:34:15 PM
Hello, there is probably something obvious here that I'm just not seeing but I am trying to draw an alternating colored line on a picturebox and I, for the life of me, cannot get the line to show up. I'm using VS 2003. The size of the picturebox is 320 x 24. I using the following code. For ...more >>



database selection in deployment
Posted by Leanne at 11/6/2006 3:04:57 PM
I created customized application to Microsoft POS system. I am now working on the installation package. Any one knows how to get the local sql database settings, and get user select database, so I can make necessary changes to the database ( create new tables, update some records etc.) to make m...more >>

Sorting a datagrigview
Posted by Stéphane_Miqueu at 11/6/2006 2:53:45 PM
Hi, I sort my datagridview with : dgWrk.Sort(dgWrk.Columns(3),... and it works perfect. Now, I want it sorted on 2 columns. How did I do that ? I've try dgWrk.Sort(dgWrk.Columns(3)+dgWrk.Columns(4)+ ... but I have an error in the code editor. Thanks -- Ami Calmant Stéphane ...more >>

Images (icons) from System
Posted by Elmo Watson at 11/6/2006 2:38:33 PM
I'm using a Treeview, which will list files in a directory. Naturally, I could buy them, or search the internet for them, and then create some sort of algorithm to apply them to each treeview node, but I thought I'd ask..... Is there a way to look at the system (reflection, perhaps) and apply ...more >>

Memory by user
Posted by ruca at 11/6/2006 2:34:19 PM
Hi, Can I have a way to calculate (+/-, of course) the space that each user, that access my webapplication, ocupies in ASPNET process? I want to know how much memory of ASPNET grows each time a user login in WebApplication. Can I know that? How? -- Programming ASP.NET with VB.NET...more >>

MDI gets FormClosing but non-Child forms also open do not.
Posted by Academic at 11/6/2006 1:53:29 PM
I have a MDI form, sometimes child forms and sometimes forms that are neither If I close the app the child forms closing and closed event happens followed by the Mdi form receiving the events.. But the regular forms that are also open do not receive that event. This is true whether the...more >>

DataGridView Edit row marker
Posted by Prashwee at 11/6/2006 1:49:34 PM
Hello All In my windows application I am using DataGridView as my grid control. I populated let's say 10 rows of data and modified 3 random rows. I need to put some sort of Edit Marker in the row header. This can be an image. Please any one share a code for this implementation. If i were...more >>

Attach handlers to ToolStripMenuItems. Got stacked, Please Help
Posted by pamelafluente NO[at]SPAM libero.it at 11/6/2006 1:42:18 PM
Hello. I have written the following code (this code is on a control): Sub InitSomething() mSet(me.FindForm) End Sub Sub mSet(ByVal f As Control) For Each t As Control In f.Controls If TypeOf t Is ToolStripMenuItem Then AddHandler t....more >>

Multithread Design Question
Posted by GarrettD78 at 11/6/2006 1:36:02 PM
I have a form that I am upload rows into an SQL server database. The form has a button that when it is clicked creates a Custom Business Object and then calls the actually upload method from that Business object. I set this up so that it would run on a seperate thread since it is something lik...more >>

Perform Dictation in VB.Net
Posted by Meena at 11/6/2006 1:33:24 PM
I have downloaded Speech Recognition engine. I am facing a problem with Microsoft Direct Speech Recognition component. I have added a reference of this component. During form_load, I have specified the grammar. (list of words that are to be recognised). This works fine for command mode. But n...more >>

Crystal Related Problem
Posted by Goofy at 11/6/2006 1:10:36 PM
Hi, I am OK with crsytal reports normally VS2003/CR 9.0 but I wanted to use a parameter to prevent specific columns appearing programmatically. I use a dropdownbox on the web form to select what parameter I want. Now if I run the report for the first time with DisplayTotalCost selected, I ...more >>

Change of Form Location Using System.Drawing.Point Ignored When Form Maximized
Posted by Marc the Demi-Programmer at 11/6/2006 12:22:31 PM
I am overriding WncProc to make sure my form's location stays within specified parameters. Basically, it has to stay at the top of the screen and not be off to either of the sides. All that works when the form is in its minimal size. However, when the form is maximized using the appropria...more >>

Treeview - relative position
Posted by Elmo Watson at 11/6/2006 12:15:27 PM
forgive me, but I'm fairly new to VB.Net - having only used VB6 in the past - - I can easily place a node on the treeview (tv1.nodes.add(key, text) BUT - in VB6, we'd add a child node (TV1.NOdes.add...), and in that string, we'd pick the parent/relative node, so that it would be placed under th...more >>

consuming a web service
Posted by Jay at 11/6/2006 10:44:02 AM
Hi, I am consuming a web service which is written in Java. I am currently testing it, works fine. To consume the web service i added web references giving it the url to access the web service. Now the code needs to go as a part of production. So my dilemma is how to add the wsdl file or the act...more >>

Query based on user input
Posted by nemo at 11/6/2006 9:00:09 AM
Try to explain this as simple as I can - User provides a list (names, ID's, or ....) into a text box on a GUI application... Based on which options they select I have to look up the corresponding values from our sql databases. For example: user provides: adamsj nimmow dandekp I n...more >>

Open files in associated editors.
Posted by Prashwee at 11/6/2006 8:46:31 AM
Hi All I have a simple Application and I need to open my documents files in assoicated applications given the path name and the file name and the extension. For example I got all my files stoted in C:\Documents and under that I got following files. mydoc.doc mypdf.pdf mytxt.txt myaut...more >>

How to return a proper "Successful" or "Failed" notice to SQL Server Jobs from a VB.NET application
Posted by BostonNole at 11/6/2006 8:29:02 AM
Under SQL Server 2000 Enterprise Manager, under Managment and under Jobs you can view a jobs history "View Job History..." by right clicking on any job. Each job lists either "Successful" or "Failed". I have a VB.NET application that is run by one of these jobs. Like a good programmer I handl...more >>

difference between MyBase.Closing and MyBase.FormClosing
Posted by Academic at 11/6/2006 8:19:18 AM
I read the Help and some of the many Google hits I got but can't find out the difference between MyBase.Closing and MyBase.FormClosing Can anyone tell me? Thanks ...more >>

C# help!!!
Posted by si_owen at 11/6/2006 8:12:14 AM
Hi folks, I am looking to convert some C# code for a calendar control into VB. I am unfamiliar with C# and have seen several free concersion addin tools to transform the code, how ever I can not get these applications (addins) to run successfully. And I was hoping that someone in this forum m...more >>

Progress Bar
Posted by awdigrigoli NO[at]SPAM gmail.com at 11/6/2006 7:04:46 AM
I am using: VB.NET 2003 Windows application SQL 2000 backend Active Reports.NET The problem I am having is that when report is being run the screen turns gray and freezes me out of the application during the time it takes for the report process to complete. I am having trouble with coding...more >>

Getting XML Version
Posted by Norman Chong at 11/6/2006 5:48:16 AM
Hi, I want to get my MSXML version from a vb.net program. I do it with the following piece of code, but I'm not very happy with that: Dim Version as String = "4.0" oXML = CreateObject("Msxml2.DOMDocument.4.0") 'Need version 4. If oXML Is Nothing Then 'Check the existing version oX...more >>

Database creation problems
Posted by Jerry Spence1 at 11/6/2006 5:01:47 AM
I am creating a database as so: Dim cat As New ADOX.Catalog() Dim CurDB as String Dim sCreateString As String CurDB = "MyDatabase.mdb" sCreateString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & CurDB cat.Create(sCreateString) cat = Nothing The problem is that I wish to del...more >>

LsaOpenPolicy : Attempted to read or write protected memory
Posted by Adrian Wallis at 11/6/2006 3:08:53 AM
Hello, I'm trying to call LsaOpenPolicy, but get the error 'System.AccessViolationException'. I originally tried a conversion from working VB6 code and I've compared the code with working C# code and cannot see where the problem lies - can anyone help to point out the problem please: ...more >>

Filling TreeView with Recursive Function ?
Posted by Luqman at 11/6/2006 2:41:46 AM
I am using VB.Net 2005 and I want to fill the Tree View with Oracle Scott/Tiger Table which contains Parent/Child keys in one table, how can I ? In VB-6, I used TreeView Key while in VB.Net 2005, there is no Key in TreeView, how can I fill the control ? Best Regards, Luqman ...more >>


DevelopmentNow Blog