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 > august 2005 > threads for tuesday august 2

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

Problem in filter the Dataset value using wildcard like % ?
Posted by Anandan at 8/2/2005 11:39:14 PM
Hi, In our Project we use Dataset to load the Grid with Values. We have some criteria to filter the values to be shown in the Grid. For that we used the SELECT command to filter the Same Dataset. The SELECT Command we are using is as follows DS.Tables(0).Select("FieldName = '" & ...more >>


Highlight node in tree view
Posted by Boni at 8/2/2005 10:30:48 PM
Deat all, I need to select (highlight) a node in a tree view. For that I use: _Node.TreeView.SelectedNode = _Node. But when my program focuses other windows a highliting is removed from the node. What should I do to leave the node highlited? Thanks for your help, Boni ...more >>

'System.Data.SqlDbType' cannot be converted
Posted by patrick at 8/2/2005 8:01:02 PM
I have tried using 2 type systems to get this to compile but it still gets the same error: Public MustInherit Class _Applications Private _AppID As System.Decimal Private _AppPosition As System.Decimal Private _AppCompany As System.Decimal Private _AppWhen As System.DateTime Priva...more >>

Checkint the TypeOf as Type...
Posted by Zorpiedoman at 8/2/2005 6:35:02 PM
I'm pretty new (ok, REALLY new) to reflection stuff. It is really coming in handy right now in a project I'm working on. I've figured out how to disect a .dll file and get all the modules, then get all the types. Nice. Lots of types in system.windows.forms.dll!!!! So, here's what I can...more >>

What's wrong with this code?
Posted by **Developer** at 8/2/2005 5:41:47 PM
Dim tvn As TreeNode For Each tvn In rootNode.Nodes ....SNIP rootNode.Nodes.Remove(tvn) Next It does not remove all the nodes that it should remove. I think when a node is removed it messes up the loop logic. How can I fix it? Thanks ...more >>

VB.Net to C# conversion phenomenon
Posted by chris at 8/2/2005 4:32:01 PM
I had the following VB.Net code ds.Tables.Add(BindData(camp_id, grid_id, cbo.SelectedValue, "CAMP")) tbl = BindData(camp_id, grid_id, cbo.SelectedValue, "CHURN") ds.Tables(0).ImportRow(tbl.Rows(0)) For i = 1 To ds.Tables(0).Columns.Count - 1 If IsDBNull(tbl.Rows(0).Item(i)) Or camp...more >>

Property Grid Control - Update the SelectedControl???
Posted by Zorpiedoman at 8/2/2005 3:55:05 PM
I just discovered the PropertyGrid control. Nice. However, at runtime, it seems worthless... the properties of the underlying control don't seem to change. How to you "save" or "update" your changes? -- --Zorpie...more >>

Reference Usage
Posted by Dennis at 8/2/2005 3:46:29 PM
From the tests that I've run using references, it appears as if the below is true...is this the case: dim c as new myclass() dim b as Class b=c dim c as new myclass() When I then change properties in c, they are not reflected in b since b contains a reference to the first instance of th...more >>



Creating a new collection from an existing collection
Posted by marcus.wade NO[at]SPAM smart-rs.com at 8/2/2005 3:14:12 PM
Hi, I have a vb.net class collection which contains many instances of a country class. Each country class has properties such as name, id, currency etc. The collection has been created without any problem. What I want to do now is create a new subset of this collection (in a new collection)...more >>

Creating a new collection from an existing collection
Posted by marcus.wade NO[at]SPAM smart-rs.com at 8/2/2005 3:11:51 PM
Hi, I have a vb.net class collection which contains many instances of a country class. Each country class has properties such as name, id, currency etc. The collection has been created without any problem. What I want to do now is create a new subset of this collection (in a new collection)...more >>

SerialPort read VB.Net 2005 Beta 2
Posted by Tolgay Gül at 8/2/2005 12:08:27 PM
I need some codes that able to send and read data by serialport in VB.Net 2005 beta 2. I wrote some codes and It can send data via serialport but It cannot read what I send. I have looked up on internet and msdn and found some codes and samples but they are also can't read serial port. . It was s...more >>

Using BITS for file transfert
Posted by a at 8/2/2005 11:42:37 AM
Hi, anyone has a piece of code to use Backgroud Intelligent Transfert Service. I'want to write mass files synchronisation over the net. Sorry for my English ... and thank you Geo...more >>

Shot in the dark question
Posted by BrianDH at 8/2/2005 11:42:07 AM
Hey Anyone here have and code or know of any examples of using VB, Vb.Net or SQL to read and make use of Symantec WinFax Pro Logs? Please someone throw me a bone. Thanks ...more >>

Arrays in VB.NET
Posted by Viswanathan S at 8/2/2005 11:26:54 AM
What is the maximum limit of array size in declaration? how it differ from VB6 arrays? -- Thanks in Advance S. Viswanathan ...more >>

Calling a "Public Shared" VB.NET function from VB6?
Posted by David Sanschagrin at 8/2/2005 11:09:03 AM
(I previously posted this problem on vb.general.discussion but I've been told that this question is more related to VB.NET than VB6 and so that I should post that here.) I'm trying to call a "Public Shared" function in a dll built in VB.NET from a VB6 program. Whenever I try, I get an ...more >>

Problem CultureInfo
Posted by Giorgio at 8/2/2005 10:43:29 AM
I would to format the date in Italian ...(dd/mm/yyyy) I have set an another language in International setting(for test i have set Lettonia) The format date for this nation is yyyy.mm.dd ... I write this code for trasformation but not it works : Dim DtInfo As DateTimeFormatInfo = New Cult...more >>

saving an image from a byte array
Posted by JamesB at 8/2/2005 10:31:33 AM
I am saving image files from my website using the downloaddata on the web client. This gives me a byte array, which I am then saving to a file with the following code: ' Create the new, empty data file. If File.Exists(ImgDest) Then Console.WriteLine("{0} already exists!", ImgDest) ...more >>

Shell integration
Posted by Chris Dunaway at 8/2/2005 10:25:02 AM
When you double click on a .zip file in a default Windows XP installation, it opens a folder view of the .zip archive and it appears to be well integrated into the OS. In other words, it looks and behaves much like a standard folder. I would like to create this same sort of viewer for my file...more >>

Datagrid
Posted by Shane Story at 8/2/2005 10:18:31 AM
Is there a much better/easier to use Datagrid for VB.NET? Will the Whidbey version be a lot easier to use? Thanks, Shane ...more >>

Hide Datagrid columns
Posted by Shane Story at 8/2/2005 10:17:49 AM
I have a dataset with two tables. I make data view of each table, connect the parent table to one data grid and the child table to the other datagrid, with a row filter, that gets set when a user clicks a row in the parent. I have PK/FK in the tables to know what to display. I want to hid...more >>

Need to call C++ function from VB.NET
Posted by Marina at 8/2/2005 10:11:15 AM
The function is declared as : void WINAPI AIEncrypt( LPSTR sReadable, LPSTR sEncrypted ) What is the correct way to declare the function in VB.NET, and then what is the right way to call it? The function encrypts the first string, and stores the encrypted version in the second parameter. ...more >>

NotOverridable = still overloadable?
Posted by Rick Mogstad at 8/2/2005 9:41:10 AM
Is there any way to make a sub/function that you can neither override nor overload? I cant seem to find any information on blocking the ability to overload a function in a derived class.. Any help is appreciated, Rick ...more >>

Tool for converting C to VB.NET
Posted by Roy at 8/2/2005 6:16:02 AM
Hi all, Is there a tool to convert c language code to VB.NET code? Thanks, Roy...more >>

ref variables in a class
Posted by z f at 8/2/2005 12:00:00 AM
Hi, i use VB.NET and defined a class that should hold a ref member variables to a instance of the same class type. if i define the variable of the class type and then assigns a instance/value to this member, will it point to the instance i assigned it to or to a copy of the data? TIA,...more >>

Datagrid with XML input
Posted by at 8/2/2005 12:00:00 AM
Hi I had a XML data file which bind onto a datagrid. inside my XML i had a attribute named color and have value "green", "black"...etc. are there any way to define row color using this attribute? Thanks a lot. Windy ...more >>

Reporting Tool
Posted by S Shulman at 8/2/2005 12:00:00 AM
Hi I am looking for a reporting tool that has much of the functionality offerd by Microsoft Word. The features I need is tables, headers, footers, table of contents, and page orientation All these functions must be accessed only via API so it will be completely automated by the progra...more >>

How to get the Username of a running process??
Posted by Randy Myers at 8/2/2005 12:00:00 AM
Hi, I know how to get the processes runging on a PC and information about them, BUT: How do get the username of that process? The same username that shows in the Task manager list when you Cntrl+Alt+Del. I tried the File Info Object, but didn't see any thing there. I'm trying to che...more >>

Remembering printer dialog settings
Posted by Jack Russell at 8/2/2005 12:00:00 AM
Is there a way that when a user has changed settings using the printdialog I can save them without saving each individually? That way I can restore them next time he prints. Thanks...more >>

xml post slow
Posted by steven at 8/2/2005 12:00:00 AM
I'm posting an XML-string to a website. I'm using the function below. The problem is that it is extremely slow and I get many time-outs. Does anyone have any solutions ? Other solutions to post an XML to a website are also welcome. Many thanks, Steven Private Function postXMLTo...more >>

Special tree view
Posted by Boni at 8/2/2005 12:00:00 AM
Dear all, is there any link where I can get (or read how to do) following treeview: +--Item -SubItem SubitemsProperty -SubItem SubitemsProperty -SubItem SubitemsProperty And it would be perfect if both fields would be reach textboxes. Thank for an advic...more >>

Modal dialogs hang up my program
Posted by VBTricks.de.vu Webmaster at 8/2/2005 12:00:00 AM
Hello there, I've encountered some strange behaviour. I display modal dialogs (using ShowDialog) called from my mainform. This is how the mainform is displayed out of the main sub of a module: [vb] Public fMain As frmMain Public Sub Main() Try fMain = New frmMain System.Wi...more >>


DevelopmentNow Blog