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 > march 2006 > threads for monday march 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 31

How to disable the checkbox in the listview
Posted by Li Pang at 3/6/2006 11:45:12 PM
Hi, I use checkbox in the listview, sometime, I want to disable these checkboxes, any body knows how to do so? Thanks advance...more >>


Help!! about the webBrowser!
Posted by zhangyl at 3/6/2006 11:28:26 PM
I am running a instance of microsoft excel, and then I use the webBrowser to open an excel file in my owner application, but now, the existed instance of microsoft excel can't run, but I can run a new instance of excel. How is it? ...more >>

Launching VS2005 debugger from vb.net cgi
Posted by dethonlegs NO[at]SPAM gmail.com at 3/6/2006 5:17:23 PM
Hi, I have a small vb.net app that runs as a cgi under IIS6. When compiled under VS.NET 2003 (framework 1.1) I can launch the dubugger from IIS by adding the line "System.Diagnostics.Debugger.Launch" in my code. However under VS.NET 2005 (framework 2.0) the same application ignores any atte...more >>

Screen Resolution Changes
Posted by Dennis at 3/6/2006 5:15:27 PM
Is there any way my application can be notified if the user changes the screen resolution while running the application (VB.Net 2003). Thanks. -- Dennis in Houston...more >>

Click once property in setup project
Posted by HIK at 3/6/2006 4:22:38 PM
Click once can be set up to pole the setup url if there is a newer version or not. I have a project which can only be deployed using a setup project. How can I create the same feature in my setup project, so the client will automatically check if there is a newer version or not? haim...more >>

conditional breakpoints
Posted by Brian Henry at 3/6/2006 4:10:24 PM
How do you do conditional break points in .net? say i want to only break if a value changes or if its equal a certain state or value... any examples of this? thanks! ...more >>

Error Starting to debug
Posted by Roberto Hernández at 3/6/2006 4:09:06 PM
When I start to debug my application the following error stop me: "the operation could not be completed. The process cannot access the file because it is being used by another process" Some times killing a process named "appname.vshost.exe" the application continue working but other times I ha...more >>

Reading the application folder..
Posted by Pete Smith at 3/6/2006 3:47:53 PM
I have written an ASP.Net application which reads the data from MS Access file. Here is the connection string value. "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDB.mdb;User Id=admin;Password=;" What should be the database path name If I keep the .mdb file in the appli...more >>



parsing an xml string into fields
Posted by cj at 3/6/2006 3:27:18 PM
I'm getting a small xml file as on big string and need to parse it into it's fields for use. Can anyone point me to a nifty way to do this in .net?...more >>

VSTO 2k5 Question
Posted by rmacias at 3/6/2006 2:30:04 PM
I had a question regarding VSTO at: http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.vsnet.vstools.office&mid=e68b04bb-6255-438c-92c3-df4d29901633 but apparently, none of the moderators over there don't seem to answer with 48 hours to MSDN subscribers. Can someone help ...more >>

Convert Script code to VB.Net
Posted by Allen at 3/6/2006 1:13:18 PM
Given a script like the following is there a recipe I could use to convert it to VB.net code.'myServer = "."'The following moniker identifies the root\cimv2 namespace on the myServer computer. An SWbemServices object is returned.'objWMIService = GetObject("winmgmts:\\" & myServer & "\root\ci...more >>

formatting time and date
Posted by cj at 3/6/2006 12:00:09 PM
Is this the .net way? Dim msgDate As Date = Now TextBox1.Text = Format(msgDate, "yyMMdd") 'I want year month day 060306 TextBox2.Text = Format(msgDate, "HHmmss") 'I want 13:23:58 I didn't think .net encourages functions like format(var, string) any more but I'm not sure what takes it's pla...more >>

Simple question: How to find Elapsed time (in seconds)
Posted by Bill Nguyen at 3/6/2006 11:13:17 AM
I need to display elapsed time for a process in VB.NET in secods. What's the routine to do this? Thanks Bill ...more >>

Using the backgroundworker to populate a treeview
Posted by john wright at 3/6/2006 10:32:03 AM
I have my code done to populate a treeview, but when I move it to the backgroundworker I get an error "Action being performed on this control is being called from the wrong thread. Marshal to the correct thread using Control.Invoke or Control.BeginInvoke to perform this action (code to foll...more >>

Write to the registry
Posted by Jonathan Smith at 3/6/2006 8:57:21 AM
I need to be able to change the WordPad PageMargins in my program. I have found the registry key where the values are stored, but it is stored in binary. How do i write the binary value to the registry?...more >>

Copy DataGrid Rows to Clipboard
Posted by Devlei at 3/6/2006 7:08:35 AM
How do I copy the contents of selected rows in a DataGrid (that is bound to a Dataset via a DataView) to the Clipboard for pasting into other applications - such as Excel? Doing the same from a TextBox is easy via the TextBox.SelectedText property, but I can't find the DataGrid property to do th...more >>

Call a button
Posted by kkontur NO[at]SPAM deloitte.com at 3/6/2006 6:51:13 AM
Hi, I'm writing VBA code that is copying data from one file to another. The destination file has 2 buttons (linked to macros) that I need to select with my code. I cannot see the macro code for these 2 buttons, and I think both buttons are using one macro. I think the macro decides what to ...more >>

writing custom event for minimise, restore and close buttons
Posted by smarty at 3/6/2006 6:29:03 AM
I have an example of code that allows and application to minise to the notification tray but how can I override the minimise and close buttons to ensure they always go back to the notify tray instead of closing the application or minimising the the taskbar? I am sure this must be simple I j...more >>

OOP / 3-Tier development questions
Posted by iTISTIC at 3/6/2006 6:14:19 AM
Developing a new app and am trying to make this my first truly OOP/3-Tier app. I understand the principles of the presentation, business, and data layers. I do, however, have some questions on where certain functionality should be placed and how some things should be implemented. Let's use a ...more >>

VB.NET 2005 & XML
Posted by rzaleski NO[at]SPAM gmail.com at 3/6/2006 5:40:05 AM
I want to create an application that reads an xml diagram. Due to the heirachical nature of xml, when I read the file into a dataset, I get two tables. Is there a way I can flatten the tables, so I go from this: Table1: NAME Ryan Jake Table2: JOB DATE Paper March Homework Apri...more >>

VSTO 2005 - Read Range from excel
Posted by Philip Wagenaar at 3/6/2006 5:34:55 AM
What is the easiest way to loop through a set of rows in excel and add the contents to a text file?...more >>

How to create a Service to Log Application Names
Posted by gerard.mears NO[at]SPAM gmail.com at 3/6/2006 2:20:23 AM
Hi, I'm a total newbie at VB.NET so please bare with me. I would like to create a simple service that will log all exe and com files that are executed but I don't know where to start. I'm pretty sure I know how to create a Windows Service using VB.NET 2003. However, I am stuck on the next...more >>

Create application to extract data from excel sheet
Posted by Philip Wagenaar at 3/6/2006 12:07:26 AM
I have an excel sheet that has several lines. Each line is an order. Example: 1 Paper 10 2 Pencils 20 etc... When the excel sheet is filled out I want the user to press a button and then the data from orderlines is extracted and placed in a seperate file. This se...more >>

Sum UP datagrid 's content fail in 2005
Posted by Agnes at 3/6/2006 12:00:00 AM
my datagrid is for user to input the debit, credit . after input the amount , I will call an Method CalTotalDebitCredit() and it will sum up the debit/ credit and then place to the Total textBox. Everything works fine in 2003, BUT now, as I switch to 2005, it didn't works. Private Sub dtGL...more >>


DevelopmentNow Blog