The simple website I am trying to build is a list of banks with their corresponding website. I also wanted the ability to add banks/website with the use of some text boxes and a button click event.[code]...
am a build engineer of some VB6 and MSVS VB applications. Inotice the directory path (the location of source code, e.g. c:uild_viewsv70r3 ....)information is stored in the generated dll, exe.This gives us a lot trouble, because I can't use another path to build the dlls, otherwise the binary compare tool will say the dlls are different, due to embeded path info is different.We have parallel development, and the code has to be built in different machines, different paths. Is there a way to resolve this
OK, to make a long story short, programmatically generated data is taken back to the original page and the goal is to have this information cause checkboxes (hard coded into the aspx page) become checked.
Using feedback, the exclamation below confirms that I want the found control ctl to be checked:Dim ctl As Control For Each ctl In form1.Controls
[code]....
I'm not sure what to put for XXX and my gut feeling is this is really easy. ading my question. I went through pages of search results on "VB Programmatically check checkbox" and found pages that should have had an answer that worked
I need to change something that is hard coded into my application - Souds simple i know - however.....In essence what i need is a single word that will be interchangable and will be available straight away and the next time the application starts up.So need to change the word that is already hard coded into the loading of the form.Like an internal password system?
ps. i was thinking of something on the lines of a sub that finds and replaces line 'x' in the load sub. unless that is uber complex - so open to any and all suggestions but please keep in mind i'm not the greatest at code - only been teaching myself for 9 months (and learning from people here for 1 month)
I'm designing a .NET-Type at runtime by using the Reflection.Emit-Namespace. Currently, I'm about to generate a method which invokes an already existing method in the generating class:
Below is an snippet from my project template. I have some classes I want to link to in the project.One of my developers created the template and I copied it to my PC.It seems to work on his, but when I create a new project, instead of keeping the hard coded path the "my documents" gets replaced.I know this is a little cryptic, but I was hoping to flesh the question out with your questions.[code]
how would i implement a way that i would not hard code the email message that the application send to email recipients? how will i also include email message formatting (text in bold, italic, etc.)?
I want to create program in vb2008 express with ms access database. Can somebody help me so i can learn how to program using classes hard coded. I have learned vb6 before but it has a big difference on vb2008.
I have a database named "DATABASE" in ms access 2003 and the details are: Table :
All the CAPITALIZED name are Table and all items inside the parenthesis are fieldnames. I don't know where to start on working on this RECORDS. I was able to understand visual basic 6 a bit, and i am trying to apply the coding to VB 2008 but all i get is errors. I am hopeless now and i need help to be able to start my programs. If someone can give me a sample code, i think i would be able to trace the line of code to be able to understand it. I am currently an inventory manager on the small company i was working with and i like to organize my record by using database.
Can anyone explain with program how to extract the serial number or unique ID of the hard disk. i need a clear explained program. i m using some tools but i couldn't really understand how they do it.
PHP Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia") For Each wmi_HD As ManagementObject In searcher.Get() MessageBox.Show(wmi_HD("SerialNumber")) Next I am using this code for getting hard drive serial number its works ok with me but not working on my friends system and return an empty string.
My Dad made an application which had a feature that i want, basically his programme reads the users hard drive serial number and then multiplies it by say 12 and then divides it by 7 for example. This number is then shown as a 'Authorisation Code' which the user has to email to him and then his breaks it back down to the original hard drive serial number which he sends back which is the application serial number to activate it. I want to know how to read the actual hard drive serial number or a number that every computer has so i can do the same but i have searched everywhere and cannot find any examples for VB 2008 apart from one which didn't work
I am writing a tabbed webbrower program and i am trying to close the program when all tabs have been closed using ctrl+w. So far i have used the following code but it has errors as tabcount is readonly:If TabControl1.TabCount.Equals(0) then Me.Close() End If
Starting to design an application and wondering if its ok to have only one form as the application which could hold up to 15 gridviews separated in tabs etc. with a navbar as navigation on the left. Is this too much or ok? Is it better to have one gridview per form? What is the norm?
I was wondering if there was a solution to replacing the tab control's tabs with custom tabs made in Photoshop. I know there are plenty of super expensive programs that can do it, but I was wondering if there was a way to do it programmatically. I was thinking that maybe it could linked in some way with a .DLL?
My code is basically a file parser/editor and it handles most files fine as they hold a handful of records concerning family members. However there are a few files that crash when trying to deal with them. Here is the problem.Each family member record creates 3 tabs that hold an average of 3 group boxes each. Each group box holds an average of 3 text boxes.So each member record creates 3x3x3 = 27 text boxes and some files get up to 289 family members which = 7803 text boxes.
The problem is the rare file with 400+ member records = 10,800 text boxes which causes a crash due to using up all the window handles. Each member has a separate tab page (with 3 subpages) but really only a dozen or so member pages are visible in the GUI with scroll arrows to move through them so I was thinking of somehow making the GUI a scrollable window so the tabs get built, displayed and disposed as the user scrolls left and right through the member tabs.
The files are parsed into a 3d list DataList(x,y,z) where x is the page number, y is the group box number and z is the text box number. So all the data is available. The code then traverses MyList and builds GuiList(x,y) where x is the page number and y is the groupbox number with all the textbox.text linked to MyList(x,y,z) locations so all text changes are reflected in the MyList.
I already have a memberCount variable and I am thinking of building, say, the first 30 member tabs with the middle 10 being visible in the GUI. If the selected tab > 20, then dispose of the first 10 tabs and create tabs 30-40.I am thinking I will keep all the member tab pages so I don't have to deal with inserts and indexing problems but just dispose all the group boxes and text boxes for tab pages out of view. I already have a deep clone sub that clones members when the user wants to add a new family member and I am thinking I will have to add something similar when a tabpage is passed in for disposal, it traverses and disposes each text box, then disposes the group box for each group box on the tab page.Additionally, another routine will rebuild the group boxes from the data held in MyList(x,y,z) when a tabpage(x) is passed in.
how can I improve coding structure, when there are a number of subs, functions using the same number of lines each time to make,open and close a connection to an Access database?
Can the lines of code to make and add a connection to the Access database be enclosed in one function and then called through function x () each time it needs to be used?
I want to convert the code at Webcam using DirectShow.NET to C#. It works perfectly in vb.net. I tried converting using an online converter, however I got about 30 errors
Dim txtloginname As New TextBox txtloginname.Location = New Point(100, 100) txtloginname.Size = New Size(200, 60) Me.Controls.Add(txtloginname)
[code]....
I have created a login form which only allows access the valid users. However when I am trying to validate the username and password enetered when the user clicks the Login button (btnLogin). However I am unable to pass through the username and password in the Select statement, entered by the user beccause it gives me an error that 'txtloginname' and 'txtpassword' is not declared in the LoginProcess Private Sub. How do I declare the texboxes i coded into the LoginProcess Private sub for it to work?
Is there any real point to learn VB besides as an introductory to grasping the concepts of programming? You never (at least myself) hear of any apps like, Winamp, Windows, Firefox, etc. that used VB.
I need to create code to send an e-mail within a coded ui test and cannot get anything to work. I seem to be having trouble getting the correct Import. We use Outlook.