|
As you mentioned using the value, I realized how complicated I was making this. Thanks for your direction.
I just added a single line of code in my submit click event and added the emails to the ddl as values and everything works great!
<br />
Dim Email As New System.Net.Mail.MailMessage( _<br />
"email@email.com", ddlLocation.SelectedValue)<br />
Thanks again!
|
|
|
|
|
Good afternoon Sir,
I need your help please to tell me how I can send and receive numerical data (not string data) from client to server and vice versa.
Note:
Using visual basic6 or VB.Net code if possible.
Where input values (N1, N2, N3) are numbers in client side not string and outputs (return values Max & Average)in server side.
Thank you so much
Akwanin.M
m.Ekwanin
|
|
|
|
|
Marwan Ekwanin wrote: I need your help please to tell me how I can send and receive numerical data (not string data) from client to server and vice versa.
You can't.
You have to convert the numeric values into strings before you send them, and convert them from strings when you have recieved them.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Friends.....
I have 4 project in one solution.I want to imports my project in the main project.
I try to import my project by the following code.
imports Company.ProName.Mysol
In here Mysol is my project name.
But i can't get Mysol after the ProName.
What is the reason? Tell me the clear idea.
Urgent Friends.......Plz Help Me............
|
|
|
|
|
You need to add a reference to the actual dll.
Hope that helps.
Ben
|
|
|
|
|
Wrong.
You add the reference to the Project - not the .dll. This will save you all kinds of headaches later on if you make changes to the referenced project.
|
|
|
|
|
You are right. I guess I missed the part of the Projects all being in the same solution. It does save a lot of headaches.
Ben
|
|
|
|
|
Add a reference to the project you want to import from, not the .DLL file.
|
|
|
|
|
I have 2 forms in my project.
Form1 has a Panel1 with 25 buttons in the Panel1.
Form2 has a Panel2 which is empty Panel2.
Now my qustion is:
Every time I click on any of these buttons (25 buttons within the Panel1) I want these buttons to be displayed within the Panel2.
E.g. If i click button1 i want this button1 to be displayed within the panel2 of form2.
Im new in VB .NET
If anyone can halp me on this it would be very greatful...
Kind Regards
Roni
-- modified at 11:19 Thursday 31st May, 2007
|
|
|
|
|
Easy enough. Remove it from the Controls collection of Panel1 and add it to the collection of Panel2.
Private Sub ButtonsClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ....
Dim btn As Button = DirectCast(sender, Button)
Panel1.Controls.Remove(btn)
Panel2.Controls.Add(btn)
End Sub
Warning! This code is not tested. You get what you pay for. It will NOT check to see if the control is actually a member of Panel1's Controls collection before attempting to remove it from the collection!
|
|
|
|
|
I want the regular expression to validate the following things in RegularExpressionValidator(REV)
1. Contain at least 6 alphanumeric characters.
2. NOT be all numeric
3. NOT allow the User ID to be House OR Guest
Can any one suggest on this.....Thanks in advance.
Kumar Santhosh.
|
|
|
|
|
Check out this site. http://www.ultrapico.com/Expresso.htm[^]It's a great utility you can use to test regular expressions. There is also a basic tutorial on regular expressions that will help you get started.
|
|
|
|
|
I have a project which displays data in a datagridview control. The first column is an image column that uses the image of a pencil to symbolize editing the record. Up until now that has worked fine, but now I need to hide the icon for selected records, based on a flag. How can I hide the icon in one row but not the others? I've tried looping through the grid and setting the visibility of just that cell to false, but it is a read only property. If I can't do it with an image column, what kind of work around should I look at? I would appreciate any advice and/or links to articles that deal with this issue. Thanks.
|
|
|
|
|
You can't change the visibility of the cell. You have to change the value of the cell based on your requirements. There is either going to be an image in that cell, or there isn't. See what I'm saying? Either that, or the other option is to change that picture that's in the cell. One with a pencil, the other blank.
|
|
|
|
|
Thanks! I guess I wasn't looking for cell value because previously my column was unbound. I'm able to accomplish my goal now by binding the column and setting the value to either the pencil image or the blank. Thank you very much for your help.
|
|
|
|
|
Hi Sir/Maam,
I have designed an assembler for 80x86 assembly language using VB6.
The app itself is working fine and im in the proccess of beatification.
What I want to do now is to COLORIZE the opcodes (Mneumonics/Commands) according to type.
Example:
MOV AL,AH -> Data Transfer Instruction -> Blue
MUL BL -> Arithmetic Instruction -> Red
SAL AL -> Bit Manipulation Instruction Orange
Comments -> Green
So, say the user type MOV, I want my program to color it BLUE. Just like a modern day compiler.
After much research, I've learned that I should have used a RTF box as opossed to an ordinary textbox.
Is there a way to procceed using a textbox? and can you please guide me to the right path.
Thank you great geniuses!
|
|
|
|
|
Ian Uy wrote: The app itself is working fine and im in the proccess of beatification.
You're getting your application blessed by the Pope? Click[^]
Ian Uy wrote: After much research, I've learned that I should have used a RTF box as opossed to an ordinary textbox.
Not quite. It's possible to do, but the colorization process gets slower and slower with the longer the text in the RTB. Do some research on the project first[^] before you waste your time on coding something that may disappoint you.
There is no way to do this using a TextBox. It only support a single color for the entire contents of the box.
|
|
|
|
|
Sorry Sir bout the spelling. Beautification. LOL.
Ok, I'll try to change it to RTB. Thanks.
|
|
|
|
|
How can I give a version to MSI install package and where can I see the version of MSI afterwards?
|
|
|
|
|
Hi,
I must split a string after the numbers of his letters(the size of the string).
i want to do something like this:
dim str as string<br />
<br />
If Len(str) > 4000 Then<br />
str = str.Split(. ..)
help please
regards.
|
|
|
|
|
use the SubString method instead.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hello dear,
u can use this
str = Microsoft.VisualBasic.Mid(str, 4000)
or use
str = str.Substring(4000)
love
shally
sdf
|
|
|
|
|
|
shally_79 wrote: str = Microsoft.VisualBasic.Mid(str, 4000)
or use
str = str.Substring(4000)
Note that these give different results, as indices are one based in Mid and zero based in Substring .
---
single minded; short sighted; long gone;
|
|
|
|
|
First time here, thanks in advance for any help. I am currently finishing up a project that does not use Buttons and I have been able to move around through 50 user input boxes via the TAB key. I have used _Validating so when I TAB out of the block of code, the code is activated automatically.
TextBox1_Validating..............Checkbox1_Validating............, its all good and it all works. I only need the Checkboxes under certain scenarios and I cannot program and infinite number of scenarios, so, to make my project completely Button and mouse free, I would like to move from a textbox to a checkbox the sits right next to it when needed by pushing the Enter Key.
I have done my homework and have not seen anything of the sort, I do not need the Enter key anywhere else in my code nor does it work even if I accidently bump it.
Duane in Japan
Sorry, I have VB Studio '05.
|
|
|
|