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 > february 2006 > threads for sunday february 12

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

Local Machine policy exceptions
Posted by Michael at 2/12/2006 11:18:28 PM
I am running an application that requires "Full Trust" which is declared in the assembly. How do I trap for the System.Security.Policy.PolicyException that is raised by a local machines CAS if its current policy will not allow "Full Trust", ie its running in the Intranet Zone. I am tryin...more >>


Usual Databinding Question - UNusual Requirements
Posted by Neo Geshel at 2/12/2006 10:21:11 PM
Greetings! I have a rather unusual request about a rather basic need. I need to be=20 able to bind data to a page, but WITHOUT using a Repeater, DataGrid or=20 DataList. Why? Well, I have some formatting and JavaScript issues that require each and = every form element's ID to remain un...more >>

visual studio 2003 and crystal reports 8.5
Posted by peter.thericgroup NO[at]SPAM gmail.com at 2/12/2006 10:03:41 PM
People, I am using Visual Studio 2003 v7.1, with framework 1.1 SP1. I also use crystal reports 8.5 to write a lot of my clients reports, and recently upgraded my crystal 8.5 to 9. this however in hindsight was not the best move. i realised afterwards some software i write requires me to be on ...more >>

Convert Event from C# to VB.Net
Posted by Husam at 2/12/2006 9:26:26 PM
Hi EveryBody: I have the following event written by C# And I want some body help me or advise me in how can I write it in Vb.Net, also if there is any refreance that I have to add please tell me : public event EventHandler ReadyStateComplete { add { Events.Add...more >>

Best way to display 4 rows / 4 columns
Posted by matthewtec at 2/12/2006 9:15:58 PM
This may turn out to be an obvious answer of "DataGrid", but I haven't used that control much and so I wanted to get some thoughts. If I want to display essentially a grid that could be a spread-sheet type display, of 4 rows by 4 columns, or anything along those lines [integers], I'm wonder...more >>

byref and byvalue
Posted by ari at 2/12/2006 8:21:26 PM
hey all, i have the following 2 classes: Public Class DataAccessLayer .... .... Public Sub GetRecords(ByRef ds As DataSet1) ds = New DataSet1 Me.SqlDataAdapter1.Fill(ds) End Sub End Class Here's the class that uses the above class: Public Class Class1 ...more >>

Must I change the property in 26 projects or is there a soultion level way of doing it
Posted by academic at 2/12/2006 8:12:14 PM
After a Debug run I notice some Exceptions listed in the Output window. I'd like to cause the app to break on any warning so I can see where it occurs. The best I can find if a property at the project level but I have 26 projects. Must I change the property in 26 projects or is there a ...more >>

Application_End called everytimg I do a file IO
Posted by Rykie at 2/12/2006 7:53:17 PM
Hi, I am hoping someone can shed some light on my problem here. I have a .net2 web app, and the app has a logfile that sits under the App_GlobalResources folder. The file is called log.txt. I use this file to write events to, such as errors etc. My problem is that everytime I write to it, i...more >>



Object ref not set to instance of an object...
Posted by Russ Green at 2/12/2006 6:46:13 PM
I'm trying to build a simple COM addin for Outlook using VB.NET 2003. I've downloaded this example as a start point... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp But the onConnect method fails with Object reference to set to an ins...more >>

pass to background thread
Posted by ari at 2/12/2006 6:01:27 PM
hey all, i have a shared sub called WriteToErrorLog(msg as String) for obvious purposes. How do i send that to a background thread? i'm stuck on the part where thread.start executes a subroutine that doesn't accept parms (or can it?) how do i get the message parm into the background sub? ...more >>

Q: RejectChanges problem
Posted by Geoff at 2/12/2006 5:48:24 PM
Hi Can anybody suggest how to get round the following problem? I have a form (form A for the sake of argument) which accepts data to be put into a DataTable. If the cancel button is pressed, I call RejectChanges to prevent the inputted data being passed to the DataTable. However, I also ...more >>

TCP/IP Socket communication from multiple clients
Posted by Rotzooi at 2/12/2006 5:32:31 PM
Hi, In the past I created a VB6 application that was capable of accepting multiple client connections for status logging over the internet using simple non-Windows clients (GSM/GPRS). There is one management console/monitor that receives messages and keeps track of keep-alive polling. The...more >>

Open a text file and into an array ??
Posted by Jason at 2/12/2006 5:09:54 PM
Can someoneillustrate how I would open a text file that looks something similar to this: namea,8888,1234.99 nameb,8887,1242.50 and then after opening that file read each one of the values into an array...namea and 8888 and 1234.99 would be three arrays thanks ...more >>

Late binding; call could fail at run time.
Posted by tm at 2/12/2006 3:15:52 PM
I have created a collection as follows: Public pPrintMonthColl As Collection = New Collection pPrintMonthColl.Add(checkBox1) pPrintMonthColl.Add(checkBox2) pPrintMonthColl.Add(checkBox2) Now when I try to access a control in the collection as follows: pPrintMonthColl(2).Checked = True ...more >>

HREF QUESTION (cross)
Posted by Savas Ates at 2/12/2006 3:05:06 PM
I saw an url like this <a href="{nocache:426d6de96f848e23f89ef8d2a557145f#0}&p=http://www.isbuluyorum. com>CLICK</a> What is the purpose of using href="{nocache:1321sdsa Does anyone have idea about it ? ...more >>

I don't have any .Design.vb files
Posted by academic at 2/12/2006 2:19:14 PM
I converted from vs2003 to vs2005 and noticed it now places Designer generated code in a designer.vb file. I would like to convert my solution to that format. That is, I'd like the designer to place its code into a Designer.vb file Is the a way? Thanks ...more >>

VB.NET or C#.NET ???
Posted by Milan at 2/12/2006 12:23:16 PM
Hello, I would like to ask you this question. I am experienced in programming in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I hesitate whether to aim to VB or C#. Since I am familiar with VBA I would like to choose VB but I heart from my colleagues that VB is a "dead" l...more >>

Moving a project from 2003 to 2005
Posted by John Dann at 2/12/2006 11:47:39 AM
Just getting started with VB2005 and unsure how best to move active VB2003 projects into the VB2005 environment. Nornally I've versioned my VB2003 projects at specific development points by starting a new (blank) project and using Add Existing Item to import all the files from the previous pro...more >>

reading text files
Posted by ari at 2/12/2006 11:36:10 AM
hey all, is there a way to search an entire text file for a string and if it finds it, read the entire line it was found on? thanks, ari...more >>

Is there a difference between passing "" and passing Nothing to a Windows API ?
Posted by academic at 2/12/2006 9:44:13 AM
When I declare a reference variable I initialize it to Nothing. Now I'm wondering if that best for String variables - is "" better? With Nothing I assume no memory is set aside nor GC'ed But with "" it is - correct? The system seems to handle a null the same as "". For example: s=A...more >>

Help to Italy
Posted by Luca at 2/12/2006 9:02:33 AM
Hello from Naples Italy, I need help to develop an application that fill fields automatically in a WEB page and then submit the request. I really need it for getting automatically rates from low cost airline but I am testing it with Google. I am writing the following code in VB.net AxWebBrows...more >>

new Microsoft report in vs2005 and Barcode control?
Posted by mtczx232 NO[at]SPAM yahoo.com at 2/12/2006 2:07:02 AM
in vs2005 we get new reporting tool Microsoft Report that can be work either with local or with sql reporting. can I add custom control for this Tool? actual i need to print Barcode ...more >>

Time?
Posted by Dean at 2/12/2006 1:51:05 AM
Hi, I am using Vb.net and I want to know how to put the Time, Date which ticks?? Please reply as soon as possible Dean PS: Please make the answer simple because I am only 11 Yrs old and New to VB ...more >>


DevelopmentNow Blog