microsoft.public.dotnet.languages.vb Archive - March 2003
Post a message to this list
Messages
Page: 123
BrowseForFolder (9 replies)
microsoft.public.dotnet.languages.vb
Does anyone have a working sample of how to call the SHBrowseForFolder API call from VB.Net? thanks Rudolf
Form focus and Refresh (4 replies)
microsoft.public.dotnet.languages.vb
I have written a WinApp that reads a large textfile and updates textboxes with the data. Each of the textboxes use the .refresh to update the screen. If I click on another window (i.e. explorer) then go back to my WinApp the screen is frozen until it has completed reading the text file. Are there any solutions to repainting the form once focus has left?
Looking for a good explaination (6 replies)
microsoft.public.dotnet.languages.vb
I have yet to find a good explaination for the following behavior. VB.NET anc C# handle the folloing code much differently. Here is the code VB.NET label1.Text 1 / 0 C# label1.Text 1 / 0; In VB the code compiles and the label text is 'infinity' but C# raises a compile error for the division by zero. I would like to know what it is VB is doing in this situation that makes it so much differenct than...
storing data in SQL 2000 in encrypted way? (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I want to store user passwords in a SQL 2000 table. My VB.net app needs to be able encrypt and decrypt the values to validate them. Is there an easy way to do this ? Thanks
index of tabpages controls property question (2 replies)
microsoft.public.dotnet.languages.vb
I placed a few controls on some tabs each tab has a textbox, and the following line does not retrieve the value in the textbox, because the textbox is not always Controls(0) it might be (1) or (2) Is there a way to rewrite this line so that it always gets the value? Or is there a way to set the index so it is always the same number? tabDiagnosesDescription.TabPages(0).Controls(0).Text tia, dk
Clear an array (3 replies)
microsoft.public.dotnet.languages.vb
Suppose I have an array like that: Dim strValues() as String {"one", "two", "three"} I wanted to clear the values of the elements when I have finished to work with them, so I tried the strValues.Clear method. I can't understand why I have to pass the name of the array, index and length, if I am calling the method directly from an array! Am I missing something? In VB6 is recommended to erase the ar...
Drag an item of Listview to another position of the same ListView (3 replies)
microsoft.public.dotnet.languages.vb
Hello, I move the selected item in listview through lsv.ItemDrag and and then get it by handling lsv.DragDrop. e.g. ' Private Sub lsvImageFile DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles lsvImageFile.DragDrop Dim item As MyListViewItem item e.Data.GetData(GetType(MyListViewItem)) lsvImageFile.Items.Remove(item) lsvImageFile.Items.Add(item) End Sub ' It c...
List of computers in domain (4 replies)
microsoft.public.dotnet.languages.vb
How do I display a list of all the computers in my domain? Thanks.
Getting Application Instance (3 replies)
microsoft.public.dotnet.languages.vb
Hi all, How to get 'hInstance' in VB.NET ( that we have in Win32 Sdk) Actually I am using ExtractIcon but it requires 'hInstance' of the application Please help, Thanks in advance, Regards, Indrajeet.
MS Guys, Please Help (4 replies)
microsoft.public.dotnet.languages.vb
Hi, My system doesn't have SOAP formatter so i can't serialize my objects into an XML file. Attached image shows the problem. Is something wrong with my system? Does your VS.NET have same problem ? Any help would be appreciated. Ali
right-click-menu (3 replies)
microsoft.public.dotnet.languages.vb
How can I realize a right click menu, i.e. including: cut copy paste etc.? Thank you Daniel
Where can I find argument string to URL? (2 replies)
microsoft.public.dotnet.languages.vb
I want to load an aspx page with arguments attached to its url, such as the following hyperlink: a href "http://localhost/my project/main.aspx?do job1" tell main.aspx to do job1 /a Now, in the page load () function in main.aspx.vb, there are 2 parameters: Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load I know the string "do job1" is contained i...
Readline only read first character in line (2 replies)
microsoft.public.dotnet.languages.vb
All, I an writing my first .NET app and seem to be running into an issue with a filestream reader. The code is inserted below. My problem is when the class reads from an existing file in the Sub New, the readline is only returning the first character in the first line of the log file it reads from. It does this for every character in the first line and then exits the loop. As you can see in the co...
ComboBox Item Font (2 replies)
microsoft.public.dotnet.languages.vb
How do I go about changing the font style of specific items in a ComboBox list? In this case I am specifically concerned with Bold type. Brian Crowe
Web Services not bringing any data (2 replies)
microsoft.public.dotnet.languages.vb
I try to setup VB.NET application to use WebService created by my business partner. It contains propietary info, so, unfortunately, I can't provide an URL to try. I can access it via browser and it returns all the data it supposed to in the DataSet. When I set the WebReference in my project and run it, it returns an empty DataSet. I tried all of the methods available thru WebService with the same ...
Order of ArrayList members (2 replies)
microsoft.public.dotnet.languages.vb
If n elements are added to an ArrayList, when enumerated will they maintain the same ordinal relationship to one another ? ... i.e., if a is added first and b is added second, will they always come out in the sequence a, b when enumerated ? TIA
Which event to use (Label) (4 replies)
microsoft.public.dotnet.languages.vb
I'm creating an inherrited UserControl based on the standard Label class (in this case). I would like for this label to ask it's parent (form) for the value of Text property based on the value of it's TAG property. The form will then relay this to a it's parent, wich will determine, based on a language code and value of the TAG, what should be set in the Text property of the label. This should of ...
WebRequest doesn't always return all of the data (4 replies)
microsoft.public.dotnet.languages.vb
Hi! The HttpWebReqest doesn't always return the whole page I'm requesting. Sometimes it returns just a few hundered characters of a page that's really 24000 chars long. Then I try again, and it returns perhaps 16000 characters, or maybe just 2000 characters. My code can be found in a different post I did the other day, with the subject "WebRequests keep timing out". Anyone knows why this is happen...
Right Click on Treeview (3 replies)
microsoft.public.dotnet.languages.vb
I have a context menu attached to a treeview. The menu item text is dependent on the node you are on, for example, right clicking a root node would change menu item one to "Add Customer" and right clicking the roots child node would make the menu item text be "Add Address". The problem is that the treeview doesn't seem to register a right click and you have to left click the node first in order fo...
Clipboard Problem (7 replies)
microsoft.public.dotnet.languages.vb
I have a simple problem, I want to simulate the cut,copy paste. I use the clipboard object. I store up the data into the clipboard but when retriving back i got nothing. I push the collection object into the clipboard. Mycode is the ojActivityCollection consists of various objects, Clipboard.SetDataObject(objActivityCollection) When retriving back i use Clipboard.GetDataObject.GetData(objActivityC...
Data Access Problem... (3 replies)
microsoft.public.dotnet.languages.vb
Guys, I'm creating an object hierarchy using inherited DataTables and DataRows. My problem is this: In my hierarchy, I have a collection (a typed DataTable) of Groups with each element of the collection (a typed DataRow) a Group. Now, each Group can also have a collection of Groups. But when I try to do an Add (Using the Me.Rows.Add method for my inherited collection) in a sub Group, it adds it, b...
Internet Connection State using wininet.dll and InternetGetConnectedStateEx (3 replies)
microsoft.public.dotnet.languages.vb
Hi there, I've look around the newsgroups and can find the solution to my problem in c# but there doesn't seem to be much info for vb. Basically I'm trying to import the wininet.dll and declare InternetGetConnectedStateEx to test if an internet connection exists. The code compiles and runs but unfortunately I'm not returning 1 to indicate a connection, rather 1099511627776 instead. Not sure what I...
Circular Button (3 replies)
microsoft.public.dotnet.languages.vb
Hello everyone. Is it possible to make buttons having circle shape? Thanks!!!
look if a nt service is runnning (window 2000 server), in vb net (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I search a way to look, using vb net, if a NT service still running on my window server system. The Vb code to look if the service is still on, will be running on the same server. I mean dont need to look it over the network... Its a little like this :http://www.codeproject.com/dotnet/netdiagnostics3.asp but this is writen in C NET. any have idea ? thanks
TabControl question (4 replies)
microsoft.public.dotnet.languages.vb
I want to selectively display tab pages in a TabControl depending on another value. The Hide() and Show() methods for the TapPage objects seem to be inoperative. Roughly the code is this: If nOption 1 then TabPage1.Show() TabPage2.Show() TabControl.SelectedTab TabPage1 TabPage3.Hide() TabPage4.Hide() Else TabPage3.Show() TabPage4.Show() TabControl.SelectedTab TabPage3 TabPage1.Hide() TabPage2.Hide...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com