Start Learning/using Modules Instead Of Integrating The Code Directly Into The Program?
Jun 22, 2010
I want to start learning/using modules instead of integrating the code directly into the program. So, I tried to make an example. Basically, what I wanted the program to do, is I click button1 and it lists details about my computer. So, I added 7 labels to the form, and a button. Then, I added a module (Module1.vb)
[Code]...
View 8 Replies
ADVERTISEMENT
Jun 2, 2009
The only programming language I know is C++, and I would like to learn some others, specifically Visual Basic. So — what are some good beginners tutorials for VB, and what others languages would you suggest are good ideas to learn?
View 5 Replies
Mar 25, 2011
I have some very rusty C++ and lots of C experience, but have done little OO design or coding.I've started learning C++.NET as that seemed to be the best starting point.I've hit restrictions in Microsoft's provision with multiple inheritance and extensions, neither work in C++.Would I be better off starting again with C#, or am I better off using a mixed language approach. eg. extensions in C#, rest in C++?I'm still struggling with this->method or that.property and theother::staticthingy or whatever, and this probably is not an issue in C#. You'll see what I mean as that probably isn't the right way to desribe the difference between '->' '.' and '::'I'm getting to achieve what I want, but it's taking me 10 times longer than I think it should.
View 7 Replies
Oct 29, 2009
I realize that VB.NET and ASP.NET are the successors of their seemingly obsolete classic counterparts, but I have noticed that some job descriptions still list VB6 and classic ASP as requirements. This may be because they want people who can convert code from classic to .NET, but I'm not really sure.
View 8 Replies
Jun 22, 2010
how to start learning vb and where can i get free resorces and support
View 3 Replies
Feb 9, 2010
I am a RegEx virgin and have no idea where to start.
1. Where is the best place to start learning RegEx?
2. If i have an array list full of text, how can i search for a string which is in the list? For example, if i enter the search string "bob test" in this text: it will return a true. However, if there is only one match, it will also return a true.
3. thirdly, how can i search and pick out the link which is surrounded with the following tags?
View 7 Replies
Aug 27, 2010
I have been looking for a way to create QR Codes using VB.Net but I am going round in circles. I found some samples but they use C#. Also read about ZXing library but I have no idea about how to reference it (or what to reference). Can you suggest a tutorial (for complete beginners) as to how to go about finding an open source library and referencing it i
View 18 Replies
Jan 7, 2011
Yesterday I opened Visual Studio (2008 v 9.0.30729.1) and all the winform classes in my project display with class module icons with the little 'VB', instead of form module icons with the little form icon!
When I double click on a form module, the form designer doesn't open, just the code module.
When I run the project, it runs fine. There are no errors. The project builds fine.
I did Project --> show all files, and I can see the designer and resx files below the form module which doesn't look or act like a form module.
I can't open my forms to design them!
View 1 Replies
Mar 9, 2010
I am really interested in learning VB .net, but I don't really know where to start. Could anyone recommend a good book or website to start learning.
View 15 Replies
Apr 11, 2011
I have been brought onto a project where a large amount of code has been written. Most of the code is appearing in the MainWindow.xaml.vb file (yes, this is a wpf project but I think the question is appropriate for this forum). The folks who developed the previous versions in Visual Basic 6 told me that they organized their code by using Modules. I was not aware of this practice and I have actually never even used modules. Can I use modules in this way so that I can logically group different areas of functionality within the application? Or is there a more preferred method?
View 2 Replies
Sep 8, 2009
I am doing a VB.NET course, there is a question in one of my assignments - "How many modules can you have in one program?" This seems like something that should be easy to find, but I have not been able to find it anywhere.Can anyone direct me to a resource that would have this? My initial thought is unlimited, although in practical terms, if you have an excess number of modules, then you probably need to re-think your workflows.
View 3 Replies
Aug 18, 2010
I am not a program designer by any means but I would really like to start getting a better grasp of how to do it and a better understanding of the .NET languages in general (VB, C#). I was reading a book by Wrox - Professional Visual Basic 2008. In it I believed it mentioned that Modules are slowly going out of existence. I can see why most coding would go into a class object but I would assume modules would always be necessary to at least keep the code clean.
Also, I have been searching for a good source on software design but I can't seem to find any recent books published. I might be searching in the wrong places but I would really like to get my hands on one.
View 4 Replies
Apr 7, 2010
I have a contact manager program that I'd like to design for multiple network marketing companies. My desired structure would include a core program which covers basic contact management functions. After that one could purchase a module for their specific network marketing company. This module would contain a variety of controls that the original program would need to be able to manipulate. Here is an example of what it would have to have:A group box containing buttons that link to a genealogy view, and the option to import one's donwnline from the back office provided by a company.A panel which is displayed on the contact page allowing the user to input business information or which will be filled by importing a downline from the back office: ie business ID, qualification level, sponsor information etc.a panel displayed when one searches for contacts on the contact list page which allows the user to sort based on information such as when they joined, what their business id is and so forth.a panel which is displayed in a personal business overview page which presents to an individual how many people in their downline are at each qualification level and develop a mailing list for individuals of a certain qualification level.
I have the code developed to perform all these functions, I just wanted to give you an example of what needed to be done. I'm thinking that what I'm trying to create is a library that one can download and the program will recognize, but I'm not really sure where to go. What I'm really trying to do is figure out what kind of file I can make that will contain all this code and the GUI information that the program will recognize.
View 2 Replies
Nov 26, 2011
I have a program that uses a tabcontrol. Each tab represents a collection of common tasks and, as one would expect, has a bunch of controls on it.
In my original version of this app, I simply put all functions/subs/etc related to a specific tab right in the main form class; I just divided them with lines and a few extra blank CRLF so I could jump from section to section within the code (literally named Tab1 Code, Tab2 Code, and so forth).
I am re-working the program and thought I'd use modules for this instead. So, I built all the forms and grabbed the code from the previous version, created a new module, then pasted the code into the module. VB.Net 2010 has choked all over this with a zillion errors. The functions/subs are all public, but they cannot see any of the controls on the main form. Every control that is in existence on the main form comes up as being not declared in the module.
This is the first time I've tried to use a module without a full class, and the first time I've tried referencing back to controls on the main form in this fashion (I've always just used it for functions/subs that I pass data to). Am I trying to do something here that shouldn't be done or...? I basically just want to create files so I can segregate the code into a more logical design.
View 4 Replies
Mar 29, 2009
How can I make it so when a button is clicked it will make the program start on start-up but only if the checkbox is checked?
View 9 Replies
Feb 10, 2010
Instead of having 1 exe file running..everything. I'd like to split it up, and allow to have multiple things running.Now, to help fight piracy, etc. In this main program, will verify an account, etc. Then if they have the program installed, cool. Allow them to run it
View 2 Replies
Jun 2, 2011
I know that to start a program at startup, we should add this subkey
"C:Program Files<myprogram's path><nameoftheprog>.exe"
to
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun
Alright!
But the problem is when my program has to delete a certain file in C:/ at startup, it just can't because it's not ran as administrator!
View 1 Replies
Jun 12, 2010
I have a vb.net application and want it to start at Windows start up only if the user checks checkbox1 the procedures on how to do this and the code
View 1 Replies
Feb 11, 2010
While i Minimized the program and clossing the program , next times i start the program, it also minimized. how can i prevent this problem happen!! And i want to start the program at position which start minimized. how can i do it!!!
View 4 Replies
Dec 12, 2009
I'm trying to update some data fields in an existing data table, and want to access the data directly. I know it's possible, and I used to do it years ago in VBA, where you could do things like
[Code]...
View 6 Replies
Dec 17, 2010
We use a program, called CFPS (a flight planning program) and it creates different flights. I can export this file to a CRD-type. When I open it in Wordpad or something, it looks very familiar to a XML-file ("<item></item>...")...but I don't find a way to read it. What is the best way to handle this problem? It would be time saving if I can import these files directly in my program.
View 1 Replies
Mar 14, 2010
The current applications uses .net printdocument to create print jobs which it sends to a standard printer. We use the blackice tif print driver to capture the output and manage it from there. The problem is that some print jobs take 30 seconds to come out of the queue, and blackice will not allow you to change settings on the driver (like output filename) until the job is complete. This means the application has to wait 30 seconds until it can print the next job. Is there a better way? Can I create/print tif images directly from .Net without a 3rd party print driver?
View 2 Replies
Mar 10, 2010
I am writing a program and want to run the program from the cd drive rather than installing it. What I want to know is how can I work out someones cd drive path, and code it to the rest of the file location so that I wont get errors. Also where would I put this code. So my hard drive path is
C:Moonshine
Obviously users drive letters change, hence my problem.
View 7 Replies
Mar 25, 2011
how to use vb code to code the crystal report viewer in the vb to print directly instead of view first before print from specific NAME of printer? i also need to ask how to set the printer name through in the vb code ??
View 4 Replies
Jan 11, 2011
I've been having trouble converting the following fairly straight forward c# code into vb.net 4.0, which I understand has anonymous delegates. I just havn't been able to figure it out yet.
_combo.DataBound += (sender, args) =>
{
var item = _combo.FindItemByValue(values[0].ToString());
if (item != null)
[code]...
I have tried the following
_combo.DataBound += Function(sender, args)
Dim item = _combo.FindItemByValue(values(0).ToString())
If item IsNot Nothing Then
[code]...
But the compiler complains that DataBound can not be called directly, but has to be called with RaiseEvents
View 2 Replies
Jul 21, 2010
Is there any way to do the same in VB.NET?[code]...
View 1 Replies
Jun 19, 2009
I have a running program which is installed in the server side and this program is running 24hrs a day. Now I made some enhncements on this program and would like to publish it. I tried to publish first in my local disk but after publishing Im having some errors "Critical error: Required processing file is missing" after clicking the setup.exe file. Now Im thinking of publishing this directly to my server. If I publish it directly to my server would it disrupt the running program? is it safe to do that? or is there something that I need to do it first?
View 6 Replies
Aug 4, 2011
Can i use vb or c# in crystal reports? Or do I need visual studio + plugin? It seems crystal reports only has a math function window.
View 2 Replies
Feb 20, 2012
How do import all files whit the same extension (whit extension i mean all for example .exe files or .avi files) directly in an listbox as the program loads. [code]...
View 4 Replies
Feb 15, 2009
I have a program that runs some code when i click a button on a form when done running the application ends. I want to automaticaly run the code when the users clicks on the exe. I have put the code that i want to run in the startup forms load event but that doesn't start
View 2 Replies