microsoft.public.dotnet.languages.vb Archive - July 2002
Post a message to this list
Messages
Page: 12345678910111213
Running compiled (VB.NET) exe on Rotor (Linux, etc)? (9 replies)
microsoft.public.dotnet.languages.vb
To my knowledge the Rotor (port of .NET framework for other operating systems than Windows) allows you to compile C# source codes into yourname.exe files on the system and then execute them using the CLR. Does this mean that I could for example write a .NET application using VB.NET in Windows, copy the compiled exe to linux/unix/whatever and it runs just like that?
.NET Listbox Scrollbar problem. (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I have a problem on an ASP.NET project. Basically i have two listboxes on a page, with two buttons. The buttons move items between the two listboxes. This is done server side. The problem i have is this. One of the listboxes is, by default, empty. As i add items to it, it builds up its items collection. The problem occurs when the length of the list exceeds the height of the box. It should dra...
Including .dll files in a VsaEnigne (2 replies)
microsoft.public.dotnet.languages.vb
I've been struggling to figure out how to use the Microsoft.VisualBasic.Vsa.VsaEngine and IVsaSite interfaces, and I think I've gotten a reasonable understanding of them, but there's one thing I haven't been able to determine. As I understand it, the VsaEngine accepts VsaReferenceItems with Name properties equal to Assembly, Module, or Class full names for the same effect as Imports statements hav...
treating a second form as a messagebox (4 replies)
microsoft.public.dotnet.languages.vb
I want a second form (an about box) to act like a message box in that I want the second form to always return control back to the originating form. Also I do not want the originating form to be available until I close the second form. Is there a setting on the form for this to happen? Or, if not then what code should I put where to make this happen? Thanx and God Bless, Andy
Still having problem with NULLs with Combobox. (2 replies)
microsoft.public.dotnet.languages.vb
Sorry for the repeat question, but I've never been able to resolve this. I have a data bound combo box (bound to a dataset filled by dataadapter) that causes an error when I attempt to display a record where has the boolean field it corresponds as a null. We have to have null boolean fields, sometimes we do NOT want to default to yes or no, but to no answer yet. I'm previously a Delphi programmer....
discover overridden methods from Reflection (2 replies)
microsoft.public.dotnet.languages.vb
Can anyone tell me how to get information about Overridden methods in a class when getting member information from Reflection (GetMethods()) Thanks
Toolbar (3 replies)
microsoft.public.dotnet.languages.vb
Is there any chance to deal with the toolbar buttons with their name instead of the index ? bye Fabio
Controlling MS Access from a vb.net program (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I was wondering if there is a way to create a new MS Access application from a vb.net program, open an already existing database and get the database to import a text file into a table in that database. In other words, i want to mimic the action of opening an MS Access application, selecting a database to work on, and then clicking File\Get External Data\Import (import a given txt file) using ...
listbox selectedindex problem (4 replies)
microsoft.public.dotnet.languages.vb
I have problem with listbox. When I try to get the value of selectedindex, each time I have 0. every time, the selectediem is the first of the list. and I don't reload my list. just one time at the page load. Do you have any idea?
How to handle events that are defined in classes (5 replies)
microsoft.public.dotnet.languages.vb
Hi, Let's say I have a class "Class1" And in that class I defined Event Progress(ByVal Bytes As Integer) And somwhere in the code of the class RaiseEvent Progress(46566) Now I have an application which uses that class Dim x As Class1 '... bla bla bla how can I react to the event raised by X ? Thnx TP.
Accessing File Summary Attributes via VB.NET (2 replies)
microsoft.public.dotnet.languages.vb
Does anyone know how to access the Advanced File Summary Attributes via VB.Net? These are the fields that most Digital Cameras fill in with some very useful information. Any assistance will be appreciated. Thanks, Tim
Drawing a dot (2 replies)
microsoft.public.dotnet.languages.vb
I would like to draw 1 pixel dots, but couldn't find how to achieve this. I used g.FillEllipse(Brushes.Black, x, y, 1, 2) which does it, but that's kind of an overkill ...
VB Event Handling (3 replies)
microsoft.public.dotnet.languages.vb
Hi I'm trying to convert some C# codes to VB and I'm very poor at C#. Can someone help me to convert the following event handling codes from C# to VB? Thks a lot: C# public delegate void MyChangedEventHandler(Object sender, MyChangedEventArgs e); public event MyChangedEventHandler Changed; private void OnChanged(MyChangedEventArgs e) { if (Changed ! null) Changed(this, e); } Also, is it right for ...
Declaring a dateTime constant (3 replies)
microsoft.public.dotnet.languages.vb
How you declare a datetime constant? Because it don't work Public Const DEFAULT DATE as DateTime "2000/01/01"
Nothing, Null, IDisposable (2 replies)
microsoft.public.dotnet.languages.vb
What is the difference between nothing and null ? When you implement a IDisposable Interface, is it used when you set the object reference to nothing or are you supposed to call the method yourself before setting the reference. If so , is it possible to do the 'setting' to nothing part in the method itself ? Thx in Advance, Tom Deseyn
A better solution please (System.IO.Stream related) (5 replies)
microsoft.public.dotnet.languages.vb
Hi, I want to download a file, To do this I have the following code. The code works, but isn't really good. 1 I can't find the size of the file I'm about to download (Seek is not allowed it says) 2 I don't know when the download is finished, so I have a poor test to see if the download is completed What do I need to change in the following code ? Thnx in Advance. TP. Private Sub frmMain Load(ByVal...
STILL having problem with binding to null boolean field, even with ThreeState set to True. (3 replies)
microsoft.public.dotnet.languages.vb
I'm at a deadend with my project if I cannot solve this. With ThreeState set to True or False, when I try to bind a checkbox to a field that contains a null value via: Me.cbxDisplayUser.DataBindings.Add("Checked", dstRecord, "MyTableName.CheckBoxField") I get the following error message: An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll Additional information: O...
STRANGE CONSTRUCTOR (3 replies)
microsoft.public.dotnet.languages.vb
Dim l() As System.Windows.Forms.Control New System.Windows.Forms.Control() {Me.txtMessage, Me.txtNumber, Me.Button1} This is an oquard constructor but it works, so I was wondering if anyone could give me a link to information about this kind of contrucors ? Thx in Advance, Tom Deseyn
WebBrowser Control question (3 replies)
microsoft.public.dotnet.languages.vb
According to the MSDN, the WebBrowser control ignores properties such as: StatusBar MenuBar AddressBar You mean you can't use these basic browser tools w/ the WebBrowser Control? What gives? And how do I implement these basic components in a Browser hosted on a VB.NET winform? Thanks!
Drag Drop Question (5 replies)
microsoft.public.dotnet.languages.vb
Plan to allow users to drag items from list box and place them in different areas in the panel control. I guess I need to create a label on the fly under the panel dragdrop event. But I had problems getting the position of the mouse under the dragdrop event. Is there any other ways to achieve this? Thanks.
DataTable not compatible with Option Strict On? (9 replies)
microsoft.public.dotnet.languages.vb
I'm finding that the code below generates a compiler error when I enable Option Strict On. Dim ItemRow As Data.DataRow Return CStr(ItemRow.Item("ItemValue").Value) [Option Strict On disallows late binding.] But I try whenever possible to keep Option Strict On. I won't be able to use Option Strict On if I'm processing a DataTable? Please tell me how to do this in a manner which will allow me to kee...
Problem with combobox databinding (5 replies)
microsoft.public.dotnet.languages.vb
Hi! I have a very common problem. I searched the groups, found many people with the same problem but couldn't find an answer! When I bind my combobox SelectedValue (or text) property, "System.Data.DataRowView" shows up instead of selecting the right value. What am I doing wrong? I am binding directly in VS.NET (ie: not hand coded). Thanks! Carl
Multiple handles and sender objects (3 replies)
microsoft.public.dotnet.languages.vb
Hi! I am using a procedure that has multiple handles, of course to do the same function. However, how do I work with the sender object? I know it is a reference to the object... Here's my problem: I have several textboxes, and when the user clicks them, I want them to selectAll(). However, the following code does not work: Private Sub textsSelectAll Enter(ByVal sender As Object, ByVal e As System....
ListView & Cursor (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I can't seems to change the cursor of a ListView control. Is this a bug? Thanks Tony
User logon/logoff event detection (2 replies)
microsoft.public.dotnet.languages.vb
Hi! Using VB.Net, I would like to write a Windows Service app that will be notified when an interactive user logs on/off the local computer. This would be used to implement, for example, a 60 minutes computer usage limit per day. Then after some time limit, this service could send warnings to the user 5 minutes before logoff and stop the user session at the end of the autorized time. What faciliti...
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