Answer Questions
brrrr How does VB compare to C# part 2
I am sorry but my question was NOT answered at least not technically. But, what is clear is that there is a lot of strong feeling against VB's syntax that does not exist against C#. Several post indicated that they would not hire a VB programmer unless they programmed in C# syntax. I really find that disappointing. I thought the purpose of the framework having several syntaxes was to promote choice for the developer and make that choice s ...Show All
singam VB6 and VB2005 Express
Thanks to an incomplete download of Service Pack 2 , My Sony Vaio locked up during the "direct installation" (never again...downloads only!) and then was stuck in an endless loop from the Sony screen to the Windows screen), I lost my VB. I had copied my Product Key info to my hard drive (yes, the one I had to reformat), so (live and learn) I have no Product Key info. How can I find out my Product Key info so that I can reload VB6 ...Show All
vhmau drawing on forms
VB 5 had tools to draw lines and shapes on forms in design mode. I don't see those in Visual studio 2005. Am I missing something I know you can code them, but how do you draw them directly on the form I think they left those out, simply because it's now so incredibly easy to make that type of control yourself. Just have a look at how to paint with Graphics and you'll be hooked on drawing everything yourself, i ...Show All
E Ingram objects
Hi everybody! What I wanna do is to create objects during runtime, which will differ from each other by a number which should increment each time I create the object. What I'm doing is to get input from a file and then, based on the number of records that the file contains, to instantiate the corresponding number of bitmap objects. These objects should be something like myVar.i , where i is the incrementing number I mentioned above. ...Show All
Eagle Tsui include attachment in SMTPMail
Hi, I would like to ask how to attach a file as an attachment in the mail. i have try but it does not work. however, no error message was produced. this is my code: Dim message As New System.Web.Mail.MailMessage message.To = "li-ching.ooi@avagotech.com" message.From = txtMail1.Text message.Subject = txtsubject.Text message.Body = txtMsg.Text message.Attachments.Add(txtAttach.Text) 'Try ' SmtpM ...Show All
NeilDholakia Form Switching
Hello all, I know this is a real n00b question, but I was wondering if someone could advise me as to a better way of doing my form switching without creating a new instance of a form each time. I know usually you can just go Dim F as new Form2 F.Show But that creates a new instance of Form2. What I'm trying to do is to have a permanently open version of Form2 that I can access at any time. The reason I want to do this is so that I can k ...Show All
jeff______ Discussion - Preparing Customers for Dot Net V2.0 based products
This is an unusual issue but what little business I get is ‘grass roots’ in a way. It’s rarely with corporations. During negotiations, everything goes well in the proposal phase, and once I’ve attained the business, I say clearly what the deliverable is to be and that the implementation will be done in Visual Studio 2005 which requires the Dot Net V2005 framework. I explain that the deliverable will be in the form of a “One-Click solu ...Show All
Asim Zeeshan Background Image Transparency Issue
I am trying to use a background bmp image on my form to set transparency regions. (To make a custom shaped form) The bmp has regions that are completely black. I then set the transparancey key of the form to black, but the black regions just show up black, not transparent. However, if I set the form back color to black, the entire form become transparant, as it should. Why will this not work with a background image. Am I missing something or is ...Show All
knightmare Window size?!?!
I work on a 17" Widescreen LCD monitor with a resolution of 1920 x 1200. How will I know if the Windows application I develop will fit on a 15" screen with a resolution of 1024 x 768 In VB6 there used to be the "Form Layout Window", is there anything similar in .NET 2003 Thanks One thing you can do is (and I'm not trying to be a smart a-s-s here) is test the app on different types of monitors. If you're talki ...Show All
Anobe Switching focus between forms (SDI)
Hi all: This seems like a simple thing to me, but I just can't get it. I'm using VS2003 I have three forms. Forms B and C are instantiated on Form A load and hidden. Form A - Always open Form B - Visibility toggled by a checkbox on Form A; may be visible at same time as Form C is open. Form C - Visibility toggeled by a checkbox on Form A What I want to do is fill in information in boxes on Form C, click submit and return focus to Form B (I don't ...Show All
luke1234564759 Loading images from context menu link
Thank you for stopping to read this message. I'm using Visual Basic 05 Express Edition (Beta 2) to write an image conversion program. I have sucessfully achieved the basics - and after browsing your harddrive you can convert an image, BUT if i added a registery file which adds 'convert' to the context menu of BMP or JPG images, how could I load the location of the image automatically to a textbox Try checking ...Show All
gtsamoht C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax For the last couple of weeks I've seen all these statements about what VB doesn't do. What they have really amounted to, were statements from people who didn't know how to impliment something in vb. so, which does he say to choose I personally program in both, and I strongly reccomend that you ...Show All
topinambour Calling Fortran routines from Visual Basic
Hi there! I would like to know if there's some way to succesfully mix Fortran-Visual Basic codes. I've already followed some examples included in Fortran manual but had no results at all. I always get an error message that says: "cannot find insertion point in dll ". Can someone help me with this issue Thanks! A VB dll is not a common dll at all. It's entry points are available via .NET, and perhaps COM, if you create ...Show All
dgrigsby Save user data
I'm certain that my relative inexperience with .net will become apparent with this question, but here goes. 1. What is the best way to persist user data between instances of an application I am using vb for some simple hardware control and need some setup values to be retained between instances of the application, and between different users. From what I have found, my options are as follows - but each carries a disadvantage. a: ...Show All
Sir_K Visual Basic Large Projects/Solutions
I've got a 33 project solution, with many of the projects being decent size 30-40 forms I suppose. I had originally went with a single solution model, but the performance was very poor. So I switched everything around to use a single solution per project and replaced project references with references to a common build directory. However, this means that I sacrifice some of the benefits of being able to refactor. I'd like to be able to r ...Show All
