microsoft.public.dotnet.languages.vb Archive - December 2001
Post a message to this list
Messages
Page: 123456789
dynamically creating menu each time application run? (3 replies)
microsoft.public.dotnet.languages.vb
hi guy I have probelm in creating menu and it's menu item each time application runs. I am getting menu names and it's menu item from xml file. My application should create the menu and menu items according to content of xml content. Will you please help me how i can create menu and menu item without menu editor? with regards vinayak
treeview and deleting Nodes (7 replies)
microsoft.public.dotnet.languages.vb
Hi, I have quick question. If I have a selectedNode, and I want to delete all of its children, how would I do that? I can't seem to get it straight in my code....Either I delete all children below that node, or I get errors.... Any help would be greatly appreciated. Thanks, Cade
Controlling a Datagrid from Code behind? (3 replies)
microsoft.public.dotnet.languages.vb
Is it possible to get the Edit, Update, Cancel events to fire to a code behind based function? I would really like to keep my Core logic separate from my UI if possible.
DataGrids: handling KeyDown and changing column widths (2 replies)
microsoft.public.dotnet.languages.vb
I need to be able to handle KeyDown events in DataGrid (Windows Forms) cells. I am using DataGridTextBoxColumns. I can intercept the KeyDown event when the focus is on the gray areas around the grid, but not in the grid cells themselves. Also, I cannot seem to get the column widths to change. I have tried changing the DataGridColumnStyle and DataGridTableStyle width properties at design and runtim...
Accidentally overriding a function? (10 replies)
microsoft.public.dotnet.languages.vb
I am reading the article Visual Studio Enables the Programmable Web (http://msdn.microsoft.com/vstudio/nextgen/technology/language.asp). When describing Overrides, the article states "In order to reduce programming errors, Visual Basic prevents you from accidentally overriding a function". I am wondering how one can possibly accidentally override anything? I believe the most of us are coding with ...
System.Text.Encoding Problems (4 replies)
microsoft.public.dotnet.languages.vb
I need a .Net way to convert the way System.Text.Encoding.(blah).GetBytes does. If I use .ASCII, it doesn't return bytes over 127, and that's not good. None of the other (blah) options work because they're all 2 byte characters, and I'm working with 1 byte stuff. Conversion to 2 byte is not an option. Is there something I'm missing, or will I have to write this myself? I guess I'm looking for Syst...
Selecting collection type (3 replies)
microsoft.public.dotnet.languages.vb
I have installed RC1 today and discovered that the Collection class is not inheritable any longer. I can not find a replacement that fulfills my needs. For most of my collections I want to be able to: 1. Add and retrieve items using a key 2. for...each through the collection, or use an enumerator, and get the items in the same order as they were added. 3. Retrieving items using an Index. I have tr...
Double Buffering (2 replies)
microsoft.public.dotnet.languages.vb
Hi All, I would like to create a compatible bitmap for one of my usercontrols. And then use the a graphics class to access then new bitmap. How would I create or get a graphics class to wrap around my bitmap. My goal is to reduce the flicker by doing offscreen painting and bitbliting or simular to the usercontrol canvis. can this be done. Thanks in advance, Mark Dykun i.e Protected overrides sub O...
System.web.mail.smtpmail question (5 replies)
microsoft.public.dotnet.languages.vb
I am trying to use this object but am having some problems. Mainly, I can't set the smtp server and then send mail. I can send mail through the local mail server but not another. my code is as follow (The ip's have been changed to protect the innocent.) System.Web.Mail.SmtpMail.SmtpServer "10.1.1.1" System.Web.Mail.SmtpMail.Send(mail) The error I get is Error loading type library/DLL. Anyone got a...
Can I use ADO.net with Access 2000 (4 replies)
microsoft.public.dotnet.languages.vb
I have been looking through the documentation trying to find a way to access an Access 2000 database using ADO.net. The documentation seems to only talk about accessing SQL Server. ADO works but is slower then the VB6 version of the application. I also wanted to work with Datasets. If possible please provide an example of the connection string to use.
Output Parameters in VB? (6 replies, VIP)
microsoft.public.dotnet.languages.vb
How can I call a method that defines an "out" parameter from VB? Jeff.
Inheritance and Project Organization (5 replies)
microsoft.public.dotnet.languages.vb
..NET RC1 Folks, I am a bit confused on how to organize/derive projects. Hopefully, some one will set me straight. Here goes: Step 1. I wish to create a Solution/Project #1 with a "Base Class" called "Person" (no problem here) Step 2. I now wish to create a Solution/Project #2 and sub class from the "Person" Base Class. How do I point to the "Person Base" Class from within this new project to Inhe...
VB.NET vs Windows API ... (10 replies)
microsoft.public.dotnet.languages.vb
I am not using VB.NET yet so I may be asking trivial questions. I assume the Windows API is not changing to accommodate VB.NET and that we still have incompatabilities to contend with such as the VB True/False vs windows TRUE/FALSE and some structures that can not be generated in VB. True? If C# uses a .h file is it the same as the one C uses? Did subclassing get harder or easier? Is VB True still...
Eval function? (5 replies, VIP)
microsoft.public.dotnet.languages.vb
I thought there was a function or method named Eval in VB.NET, but when I need it I can't find it. At run time I want to get the values of certain properties of an object. For instance: a Eval(myObject, "Name") b Eval(myObject, "AnotherProperty") Anyone know where Eval is? I need something similar in functionality to the DataBinder.Eval method. Darrell Davis
ASCII encoding and character sets... (3 replies)
microsoft.public.dotnet.languages.vb
I'm also having problems with special characters on an ASCII files. I create the StreamReader that reads the file this way: StreamReader stream new StreamReader(fileName, new ASCIIEncoding()); The number of characters read is correct but every time a letter has some kind of accentuation, it shows a question mark or some wierd sentence. Is it possible to set the ASCII character set on the StreamRea...
Serial Port Communication/Interaction (5 replies)
microsoft.public.dotnet.languages.vb
Hey, I have an infra red eye connected to my COM1 Serial port. How can I use the .NET Framework to interact with it ? i.e. check the data it receives from my remote and display it. (I'd prefer a Visual Basic Console application.) What classes do I need to use ? Thnx TP.
where is the incontrol in .net (2 replies, VIP)
microsoft.public.dotnet.languages.vb
where is the inet control in vb.net or the equivelent of it i cant find it anywhere . here is some sysinfo Visual Studio.net Beta 2 Visual j # Beta 1 Windows xp Pro build 2600 Retail i dont ant to have to install visual studio 6 just to use the inet control someone please help
Has anyone noticed this? (2 replies)
microsoft.public.dotnet.languages.vb
Hi, This problem has been driving me up the wall! If you have a bunch of labels, one right below the other (making a column of labels), the text in the labels does not line up properly. This occurs if the labels have different text in them. For example, I have two labels: lblMktSeg and lblCommCode. Their font properties are Tahoma, 8.25p, bold. Their TextAlign is MiddleRight. lblMktSeg location: 2...
System.Text.RegularExpressions (2 replies, VIP)
microsoft.public.dotnet.languages.vb
All, Is this reference not available in the Release Candidate version of Visual Studio .NET? I downloaded a sample VB.NET application and System.Text.RegularExpressions has a yellow bang for an icon. I tried to add a reference to it, but it does not appear in my .NET tab on the Add Reference Dialog box. Any help here would be greatly appreciated. Thanks, Patrick Reilly MCSD, MCSE I
Button - Flatstyle question (3 replies)
microsoft.public.dotnet.languages.vb
When you set the flatstyle to popup for a button it still has a faint dark gray line around it... Does anyone know how to turn that off, so it blends in with the form? David Wier http://mp3.com/davidwier http://davidwier.com
help please with databinding and textbox (2 replies)
microsoft.public.dotnet.languages.vb
If someone could please shed some light on this, I'd greatly appreciate it. I can bind data to a text box with no problem. The problem occurs when I want to move the data in the text box to the next field. It works fine on the second move, but after that it doesn't move any further. My code consists of a text box (which is bound to the data) and a button called "Next". I have declared pointer as i...
Number of lines in a text file? (3 replies)
microsoft.public.dotnet.languages.vb
Does anyone know how to get the number of lines that are in a text file??? Thanks in advance, Jeremy
How do I get info from one Form to another Form ? (9 replies)
microsoft.public.dotnet.languages.vb
An example would be: I need to copy data from FormA that includes information from FormB. In VB6, I could write FormA.Show FormB.Show ' user enters stuff on FormB ' user gets to FormA and clicks cmdCopyHomeAddressl which has code like txtShipToAddress1.text FormB.txtHomeAddress1.text txtShipToCity.text.text FormB.txtHomeCity.text when I try this in VB.Net I get the initial values of the TextBox no...
Printing help please (2 replies)
microsoft.public.dotnet.languages.vb
I'm trying to print to a dot matrix printer with continuous forms. The problem I'm running into is that it's cutting off half the last line of the first page. Then on the consecutive pages the bottom of the page is printing way too soon. I've tried to adjust page size, page margins, and nothing seems to change. Is there any other way to print with vb.net than to have to use the OnPrintPage method?...
Shared data point question (6 replies)
microsoft.public.dotnet.languages.vb
Let's assume I have the same dotNet dll installed twice on a particular server, in support of two separate applications. (We can do this now. In fact this feature is advertised as the solution to dll hell.) Let's assume that both applications are running, so that the same class is simultaneously loaded from both dll's. If I update a shared data point in a class created out of one dll, will classes...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification