Forms :: Visual Basic Code To Find SMTP Address?
Jan 12, 2011
Is there a way i can write this into a command button?
In a CMD Prompt if you type:
nslookup
set type=mx
set timeout=30
emailaddressdomain.com
it will give you the outgoing mail server address is there a way i can write that into a command button and display the results into a textbox?
View 5 Replies
ADVERTISEMENT
Aug 13, 2009
I have a Vista O.S., but I want my program to change the Ip address on mutiple O.S. with one click of a button or possibly on a timer to switch ip addresses every few minutes. How would I do this in VB 2008?
View 4 Replies
Jan 24, 2011
How do you extract source code from a VB.NET .EXE file?
View 3 Replies
Jan 31, 2010
I have visual studio 2008 installed and was using C#. I am now trying to find Visual Basic. I can't find it. Is there a way to download it or should it be somewhere in my visual studio program? I don't want to use vbexpress, just regular VB 2008.
View 1 Replies
Dec 16, 2010
An assignment in my computing class is to find if any numbers from a set of 5 add up to 15, if they do award a point. I cannot figure out how to find if multiple specific numbers can be made from adding up a random set of 5 numbers. Are they any algorithms specific to this? Also it has to be written in visual basic.
View 2 Replies
Nov 4, 2011
im using 5.0 in school and i want to be able to work at home too, where can i get this software?
View 1 Replies
Mar 19, 2012
I cant find any documentation on making an API for a visual basic application. Does anyone have any ideas where I could start?
View 12 Replies
Jul 4, 2009
I am trying to write a simple Visual Basic 2008 installer that copies word macro templates to Word's startup directory. On Vista and 7, that directory is the user's AppDataRoamingMicrosoftWordSTARTUP directory. Is there a way that I can programmatically find this directory? I.e. is it safe to say that this directory will almost always be in this location such that I can simply get the user's home directory and then add AppDataetc.... or is there a registry or something else that I can access to get Word's current standard startup directory?
View 1 Replies
Jul 31, 2011
Were can i find instructions on the use of the IDE? My problem is that after writing code, in a botton for examle, I can't return to my Form.
View 2 Replies
May 30, 2012
I'm a having hard time finding Microsoft Windows CE Toolkit for Visual Basic 6.0 for download. I have a msdn subscription but it's not available. The Toolkit for Vb6 is too old to be still part of the MSDN subscriptions I guess.
View 10 Replies
Jul 24, 2008
Where can i find all the icons Visual Basic 2008 Express Edition uses?
View 22 Replies
Jul 14, 2010
This is well documented and easy to accomplish in Access, but how does one accomplish this in Visual Basic 2010 on a form designed in Visual Studio that is bound to a SQL Server database?
The idea is to create a combobox that holds 2 columns - a primary key value and a unique value such as a [Company Name] or a [Student Name]. The user would then find the appropriate record within the combobox and the code behind the combobox control would then perform a .findfirst method that would NOT filter out all other records, but would rather use selectedvalue primary key column value to move to the selected record.
I am currently getting into VS 2010 & revisiting VB having been programing in ACCESS & VBA for years. In the Access/VBA environment it is very common to have to find a given record on a given form using this method, but it would appear to be poorly documented if in fact not commonly used in the VB.NET/VS community.
View 2 Replies
Jul 14, 2010
This is well documented and easy to accomplish in Access, but how does one accomplish this in Visual Basic 2010 on a form designed in Visual Studio that is bound to a SQL Server database?
The idea is to create a combobox that holds 2 columns - a primary key value and a unique value such as a [Company Name] or a [Student Name]. The user would then find the appropriate record within the combobox and the code behind the combobox control would then perform a .findfirst method that would NOT filter out all other records, but would rather use selectedvalue primary key column value to move to the selected record.
View 6 Replies
Aug 10, 2011
Do visual basic forms each run in separate memory and if not is there a way that I can force them to do so. I want them to be in separate memory so that if one form freezes the entire program won't.
View 2 Replies
Jun 2, 2010
I am designing a yahtzee game in Visual Basic. I am wanting to save the form’s background color and the picture boxes dice so they can be set the next time the form is loaded. The user can change the background color of the form and choose between several sets of dice. I want the last color the form’s background color was and the picture of the last set of dice used placed back in the picture boxes of the dice the next time the user opens the Yahtzee game. I am trying to do this in a module,
View 21 Replies
Sep 24, 2010
I am using code to send email through SMTP that is given manually. I wish that user does not have to give the SMTP. My application should get SMTP automatically and use that. Can I know what is the SMTP of the current ISP, with which my client is
View 7 Replies
Jul 6, 2011
I'm building an c# app that is designed to replicate and enhance the functionality of an VB6 app developed many years ago. My problem is that one module in the old app does some realy complicated things and trying to replicate this starting from specs would be a big pain for me. Even if this sounds like the best idea.
My question is : is there a way i could keep the old VB module and integrate it into the c# app, so that i wouldn't have to rewrite everything ?
View 6 Replies
Mar 26, 2009
Launch a Quadratic Equation Mathematics Machine.The machine is to take input from the user in respect tovalues for a, b and c
View 2 Replies
Jan 6, 2012
however there is a portion in this code that can be simplified more (the if orelse statements). I know it has something to do with a collections class or an array, but I'm stumped on how to change it.
Function GetLastName(ByVal accountName As String) As String
Dim lastName As
Dim stringArray As Array = accountName.Split(" ")
[code].....
View 1 Replies
Jan 18, 2012
Say I want to distribute my Visual BASIC program, but I don't want people who download it to be able to look at the Visual BASIC code. How would
View 3 Replies
Aug 15, 2011
im making a friend adder for teenspot and this is what i have. basically you click a button and it adds the person selected on the list, then you have to click it again to add the next one. the thing is i need to know how to loops this so it just keeps moving down the list adding people automatically
[Code]...
ive tried multiple times with do...loop and for..next and all that kinda stuff, but i still havent figured it out. what it does is, it only runs through the add me pages and never clicks confirm which is the second part. im kinda new to vb
View 1 Replies
Dec 8, 2011
I really wanted aqua skin (Mac OS X) for my forms at Visual Basic 2010.I found a site called SkinSoft which offers an installation for a componentfor them that skins over the form to make it Mac OS Xish.Now, they say that - Visual Basic/ C# Express users will have to manuallyadd the item into their toolboxes - "Choose items", and from the list choosethe AquaSkin component or whatever name it is, but I couldn't find it in mine.
View 2 Replies
Apr 15, 2010
Wow, didn't know that it takes a Master in Computer Science to figure out a simple Checkbox databind to a Boolean column. But anyway, I have spent two days trying to fion how I can properly display and update a Boolean type field in a Checkbox
View 6 Replies
Jan 5, 2010
trying to save the settings in a settings form but every time m setting the settings (when the form is running) then exiting it and then reopening itare the settings that i setted not there Ex : I open form2 by clicking on a button thought form1 and change the settings for example i uncheck a checkbox then do i close form2 and then open it again. And the settings should be saved so the unchecked checkbox should still be unchecked.BUT when i close form1 should the settings be unsaved and go back to normal :)
View 3 Replies
Mar 31, 2012
I've been working on this project for two weeks now and I'm drained from all the hiccups I've come across. Now I've hit a brick wall.I'm making a "simple" order form in Visual Basic 2010 that calculates the amount due for an order and then from the total determines what the shipping will be. I've been able to accomplish the following tasks:accept customer data (name, address, city, state abbreviation, zipcode)calculate total with shipping costs (accurately, for the most part)clear the order form and exitBut the way I have it right now, a customer can only put in 1 order form.
Problem: I have to figure out a way to allow a customer to place an order form for multiple items. (I'll assume that a customer will not place an order for more than 20 items). So what would be the best way to go about saving the information for multiple items then calculating the cost at the end?If it's multiple form creation, how is that done? Is the keyword "Container" the way to go, and how
Snippet Code:
Private Sub total_mouseleave(ByVal sender As Object, ByVal e As EventArgs) Handles total.MouseLeave
[code].....
View 2 Replies
Jun 24, 2009
i had 13 years old and i need to know how to compile my programs to p-code in visual basic 2005.net,
View 2 Replies
May 4, 2009
I�ve tried a verity of different things but I can�t seem to find something that works so I thought I would Ask here, if This is the wrong place then Sorry If you could point me to the correct place the I would Post there. Now I have this JavaScript code that I want to get working in a VB.Net Client side application?
function send_request() {
if (window.XMLHttpRequest) { // Mozilla, Safari, ...
http_request = new XMLHttpRequest();
[code]....
View 1 Replies
Mar 2, 2012
Try
Dim sr As New IO.StreamReader(Mapfile & ".txt")
'Dim intValue As String = ""
[code].....
View 2 Replies
Oct 20, 2009
some idea to how to run VB project using Java.
View 3 Replies
Aug 12, 2010
I recently downloaded Visual Basic Web Developer, Visual C# 2010 Express, and Visual C++ 2010 Express asI intend to learn ASP.NET, C#, and C++ after I have learned more about VB.NET (wish me luck, haha.)I am creating a text file with all of my registration codes, but I did not keep my registration code for Visual Basic (neither in records norn email.) I have tried re-clicking the 'Register Product' button, but I just get a message saying that I havealready obtained a key. Is there someplace I can go within the program to view my code?
View 5 Replies