473,574 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

27
413
thread by: Craig Buchanan | last post Nov 20 '05 by: Charles Law
Which vb.net object is the best match for the vb6 collection class? Specifically, I would like to be able to access the Item property with an index or a key string. I wrote my own class that inherits from the collectionbase and uses an arraylist to hold values, but i'm missing the Item(string) property. I suppose I could iterate thru the...
27
2,588
thread by: Alex Levi | last post Nov 20 '05 by: Alex Levi
When I'm changing a forms name in the project and this form is a startup form (set in the project properties), I get an error that the function "sub main" is not found. The visual basic should automaticly change it's name in the project properties as it changes it automaticly in the code window. Is there any fixes for it? (I'm using Visual...
27
2,195
thread by: Bernard Bourée | last post Nov 21 '05 by: Bernard Bourée
Is there a way to overpass the impossibility of VN.NET to accept the multi heritage, that is to allow a class to inherit from TWO mother classes ? -- Bernard Bourée bernard@bouree.net
27
1,748
thread by: Marc Reinig | last post Nov 21 '05 by: Peter Huang
I have a program written in Visual Studio 2003 Visual Basic. I would like to move it to Visual C++. Is there an automated or relatively automated way of doing that, or do I need to recreate all the windows by hand? Thanks in advance, Marco ------------------------------------------------- Marc Reinig
27
4,690
thread by: Chris, Master of All Things Insignificant | last post Nov 21 '05 by: Cor Ligthert
I have come to greatly respect both Herfried & Cor's reponses and since the two conflicted, I wanted to get some clarification. My orginal post: Herfried, maybe your example here can get you to answer a question I've wondered about for a while. With Me.Label1 .Text = ... .Refresh()
27
1,838
thread by: Just Me | last post Nov 21 '05 by: Jay B. Harlow [MVP - Outlook]
I made a Usercontrol that must have AutoScroll set to true when it is used. So I set it to True in the Load event. However the property still shows in the properties window when the control is placed on a form. That's confusing. How can I make that property not show in the properties window?
27
17,078
thread by: DraguVaso | last post Nov 21 '05 by: Aaron Smith
Hi, The Multi column comboBox is a well spoken control, that a lot of people desire, and a lot of people buildtheir own. I tested a lot of them, but none really was what i wanted to have. But does anybody knows where I can find the best Multi column combobox? One that supports a lot of columns, possiblities to get the values in each column...
27
2,698
thread by: thomasp | last post Nov 21 '05 by: Scott M.
Variables that I would like to make available to all forms and modules in my program, where should I declare them? At the momment I just created a module and have them all declared public there. What is the normal way to do this? Thanks, Thomas --
27
2,069
thread by: cj | last post Feb 3 '06 by: CMM
I run this program and to exit click the X in the upper right corner. But apparently it isn't really ending the program. If I return to VB and make changes then try to rebuild the app it says the exe is still in use--I find it is still a process in Task Manager. What do I need to do to make clicking that X actually end the program? ...
27
1,823
thread by: HKSHK | last post Aug 28 '06 by: Scott M.
Hello, I have this problem: I wrote some DLLs with VB.Net 2003 which I use with my programs. But I want to avoid that I have to go down to "DLL hell" and to copy all used dlls into each program directory. Does anyone have an idea how I can avoid that? Thanks in advance!
27
3,770
thread by: max | last post Dec 28 '06 by: Max
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB updates the same data in all other four tables in the right places. I know it would be possible by using the ForeignKeyConstraint object. I have created...
27
1,634
thread by: Tosco | last post Jan 22 '07 by: Tosco
I'm new to VB.net and I want to upgrade an application from VB6 to VB2005. The VB6 application uses an invisible WebBrowser control to access some pages and parse the content. Is there a better way with VB2005? Nothing wrong with the WebBrowser (besides the memory leaks), but since I don't need to show any web page content I was wondering if...
27
3,106
thread by: Terry | last post Jan 15 '07 by: Stephany Young
I am getting the following warning for the below function. I understand what it means but how do I handle a null reference? Then how do I pass the resulting value? Regards Warning 1 Function 'Dec2hms' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
27
1,303
thread by: susiedba | last post Feb 15 '07 by: aaron.kempf
when you guys have a solution for _ALL_ of those scenarios is when I stop VB 2005 doesn't support code reuse or portability I want to know what I am supposed to do.. am I really still supposed to cart around _TWO_ ide so that I can write VB6 scripts and test them; and then rewrite them into VbScript? and then I can take my VbScript...
27
13,989
thread by: Phil | last post Sep 5 '07 by: Linda Liu [MSFT]
I thought it would be nice to display some animated GIFs on some of my forms. I put a PictureBox control on a form, and loaded my GIF file in. It animates, but not properly. It seems very jerky and dwells on some frames longer than it should. Searching for this problem, I have found several people who have stated that animated GIFs don't work...
27
2,107
thread by: cmdolcet69 | last post Oct 30 '08 by: Mark S. Milley
Can anyone tell me if its possible to do multiple event args in vb.net?
26
6,054
thread by: Bob Day | last post Nov 20 '05 by: Mark Pearce
VS 2003, vb.net, sql native (MSDE)... I have railed against the inconsistency of the Nothing key word. The documentation says is will assign a default value for any datatype...well, not exactly. Here are 2 more examples: Example 1) dim x as string = nothing, the value of x is nothing (instead of string.empty). When you add a row to...
26
4,830
thread by: I_AM_DON_AND_YOU? | last post Nov 20 '05 by: Fergus Cooney
This is the scenario: I have a VB.Net project comprising of a few Forms. On Form1 I have more than 20 buttons. There is a very lenghty code written in click event of each and every button. Right now I haven't used any sub procedure. I mean to say I am writing the code directly in the click event. So it's become very lengthy and therefore to...
26
2,622
thread by: Bernie Yaeger | last post Nov 20 '05 by: Bernie Yaeger
I'd like to develop scrolling text in an 'about' box, similar to the kind of thing you see in lots of apps (eg photoshop). I could use flash to do this, and I know how to, but I would like to know if I can do this in vb .net only. Thanks for any help. Bernie Yaeger
26
1,770
thread by: Massimo Zaccarin | last post Nov 20 '05 by: Peter Huang
ok, I know that I have to use the System.Web.Mail.SmtpMail class, but I've read from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebmailsmtpmailclasstopic.asp: Requirements Namespace: System.Web.Mail Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly:...
26
870
thread by: andrew_webby at hotmail | last post Nov 20 '05 by: Willy Denoyette [MVP]
Hi Am having a problem with an app I wrote to test patch delivery. I contact a remote PC, and get it to run a patch which is installed on a server. It works fine if I use psexec for example and I know it's not NTFS/share-level security at fault - it's readable to everyone which is usually enough for scheduler or any other...
26
1,606
Hmm
thread by: CJ Taylor | last post Nov 20 '05 by: Klaus Löffelmann
9,223,372,036,854,775,808 How would one pronounce that... I can get to the trillion, but then I start making up numbers like I was when I was three like "gagillion" It is nice though that Microsoft .NET is U.S. Deficit Compliant.
26
1,003
Hmm
thread by: CJ Taylor | last post Nov 20 '05 by: Klaus Löffelmann
9,223,372,036,854,775,808 How would one pronounce that... I can get to the trillion, but then I start making up numbers like I was when I was three like "gagillion" It is nice though that Microsoft .NET is U.S. Deficit Compliant.
26
2,802
thread by: Simon Jefferies | last post Nov 20 '05 by: Simon Jefferies
Hello, I am trying to add an item to a checked list box, like: clbList.Items.add("Hello",true) I get an error back: Run-time exception thrown: System.ArgumentOutOfRangeException - Specified argument was out of the range of valid values. Parameter name: '-1' is not a
26
1,934
thread by: Paul Mars | last post Nov 20 '05 by: Paul Mars
FormParent load opens FormChildA. FormChildA btn click opens FormChildB. (FormChildA and FormChildB are both children of FormParent) (FormChildA and FormChildB are different forms) Problem: FormChildA btn click can only open one instance for FormChildB. I need multiple instances of FormChildB. Any suggestions or ideas please.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.