|
WE DO NOT DO YOUR HOMEWORK. This site is for people who want to learn for themselves. if you get stuck, or get unexpected results, you post your code and we help find where you went wrong.
I suggest that if you don't know where to start you need to change your major immediately.
I also suggest that if you write some code and get stuck you create a new account; starting off with your first post being a "please do my homework because I'm too lazy" is a really bad way to get off on the right foot.
|
|
|
|
|
leckey wrote: I also suggest that if you write some code and get stuck you create a new account; starting off with your first post being a "please do my homework because I'm too lazy" is a really bad way to get off on the right foot.
I wouldn't suggest it. It's just more stuff that bogs down the network.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
|
Wow - you're going to fail this subject. You may feel like everyone is blasting you, but if we did this for you, what would you do when you got your next assignment ? What would you do in an exam ? If you were to try to do your own homework and asked specific questions when stuck, we'd love to help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
can you put error text ?
Ashish Sehajpal
|
|
|
|
|
A quick Internet Search of 5.7.1 reveals
SMTP 550 5.7.1 Unable to relay error
Have you configured the domain for your email server and which domains are you trying to relay?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
The reason you get a big textbox and a little one, is that you can put a header in the little one, and you can post code and give error messages, etc, in the big box, so we are given something with which to try and help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
The message is as follows:
Could not send message:The SMTP server requires secure connection or the client was not authonticated.The Server Response was 5.7.1 Relaying not allowed:pallavikel@gmail.com(Receipent's email Id)
But the usr name and password is right
|
|
|
|
|
Relaying not allowed means that you are using a mail server that will not accept messages from your ip address, it generally means you can only use that mail server when logged into a specific ISP.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I'm working with VS2008 & Linq and I would like to insert a line into my table called ISAMEMBEROF. The problem is that the primary key (IMO_ID) must be generated automatically (varchar 36). Here is the code that I wrote :
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dim msg1 As Integer = USRDataGridView.CurrentCell.RowIndex
Dim msg2 As Integer = GROUPDataGridView.CurrentCell.RowIndex
' Create a new object.
Dim ord As New ISAMEMBEROF With _
{.USR_SID = USRDataGridView.Rows(msg1).Cells(0).Value, _
.GRP_GID = USRDataGridView.Rows(msg2).Cells(0).Value, _
.IMO_ID = ???}
' Add the new object to the collection.
Me.Db.ISAMEMBEROFs.InsertOnSubmit(ord)
' Submit the change to the database.
Try
Db.SubmitChanges()
Catch except As Exception
Console.WriteLine(except)
Db.SubmitChanges()
End Try
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The SQL equivalent would be :
insert into ISAMEMBEROF (IMO_ID, USR_SID, GRP_GID) values (default, ..........)
How to do to get this with VB.NET/Linq ?
TIA Smile
Etienne
|
|
|
|
|
LINQ forum is the better place to ask...
|
|
|
|
|
darkelv wrote: LINQ forum is the better place to ask...
Sorry, I didn't see that there's a forum about Linq ...How can I move the subject?
|
|
|
|
|
007jb wrote: How can I move the subject?
The following ways:
1) If there are no threads in the message, you can delete it and put it in the new location.
2) Since it has thread responses, leave a polite message that 'This thread is posted to Linq' so that future surfers would catch up to the new location.
3) Post a request to 'Suggestions and Bug Reports' forum and wait for an administrator to respond.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi friends,
In my application I am converting data from msflexgrid to rxcel by using the following code.
Clipboard.Clear 'Clear the Clipboard
With MSFlexGrid1 'Select Full Contents (You could also select partial content)
.Col = 0 'From first column
.Row = 0 'From first Row (header)
.ColSel = .Cols - 1 'Select all columns
.RowSel = .Rows - 1 'Select all rows
Clipboard.SetText .Clip 'Send to Clipboard
End With
With xlApp.ActiveWorkbook.ActiveSheet
.Range("C5").Select 'Select Cell A1 (will paste from here, to different cells)
.Paste 'Paste clipboard contents
End With ' This makes Excel visible
xlApp.Visible = True
But when the data is pasted in Excel sheet, there is some cells pasted wrongly it means some row is splited in two rows.
Totally i have 11 columns, and no of rows will depends. for some row the last 3 column values are pasted in the next row 2,3,4 columns.The next rows is proceeding at next line from that row.
Please can anyone help me out. Its very very urgent for me.
Expecting your help.
Thanks and Regards,
|
|
|
|
|
Hi,
I create application in VS 2003 to connect to SAP, but I have the error like this ERROR : Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx. THe user name and password is successfull to login SAP if I login through SAP.
Here is my code :
Me.SapLogon.Username = Me.txtName.Text
Me.SapLogon.Password = Me.txtPassword.Text
Me.SapLogon.Client = ConfigurationSettings.AppSettings("SAPClient")
Me.SapLogon.DestinationName = ConfigurationSettings.AppSettings("SAPDestName")
Dim myproxy As New PCNNPdll.Login
Dim myReturn As New PCNNPdll.BAPIRETURN
Dim myinfo As New PCNNPdll.ZHR_PCNNP_LOGIN
myproxy.Connection = New SAP.Connector.SAPConnection(Me.SapLogon)
myproxy.Zhr_Pcnnp_Login("", myinfo, myReturn)
myproxy.Connection.Close()
Thx
|
|
|
|
|
I want to use DateTimePicker. when i click on its, i want only show Month and Year not show day. After i select Month and Year DateTimePicker will show "04/2008"
Can we do it ? if can so how ?
VB.Net
modified on Thursday, April 24, 2008 11:24 PM
|
|
|
|
|
I don't know why u want to do it??
Anyways u can try this
Set the CustomFormat Property to "MM\yyyy"
n then Format Property to CustomFormat
then it will show only month and year not day
Hope it will help u if not then feel free n ask again
The Great Pleasure In Doing That Things That Other People Say U Can't By Doing This U Can Shut Their Mouth
|
|
|
|
|
Yes i done it ready ? but it just show in DateTimePicker. i want when we click on DateTimePicker no need to show the day.
VB.Net
|
|
|
|
|
Do you want to show it in a Textbox or anywhere else?
Then the code can be: Textbox1.Text=Format(DateTimePicker1.Value,"MM/yyyy")
I hope it will be fine.
|
|
|
|
|
i've problem when i try to start the server application, my application getting freeze until iconnect the client application.. why this happen? and how to solve it.. here is my code for start server button..
Dim port As String
Try
MyUpdateTextBox = New UpdateTextBox(AddressOf UpdateTextBoxDelegate)
Dim tcpserver As New TcpListener(TextPort.Text.ToString)
tcpserver.Start()
port = TextPort.Text
Dim tcpClient As TcpClient
tcpClient = tcpserver.AcceptTcpClient
MessageBox.Show("connected")
networkStream = tcpClient.GetStream()
networkStream.BeginRead(buffer, 0, buffer.Length, New AsyncCallback(AddressOf MyReadCallback), buffer)
Synchronizer = Me.ReceiveBox
Catch ex As Exception
MsgBox("Cannot connect to the specified address or port")
End Try
|
|
|
|
|
tcpserver.Start()
If you ask me, that starts a server, and does not connect to one. A TcpListener waits for incoming connections and accepts them. You should make a server application that listens, and a client that connects to the server. Try using the ip "127.0.01" to test locally.
Good Luck!
--Zaegra--
|
|
|
|
|
i've make a client application that try to connect to server.. and i've been test it to connect to other server applcation, and its work..
and now, i want to make a server application(because the server application that i used to try to check my client application is the application that i buy from someone, so, no code).. so i think tcpserver.start() has nothing wrong is it? if i remove that code it will be no connection.. maybe other web reference that u can tell me could be help me coz i've been google to search the best code that can help me but all dont satisfy me....
|
|
|
|
|
Before i tear my thinning hair out, is it possible to launch an app by having a splash screen and then login form show, and if the login is correct then close this down and launch the main app as MdiParent with Children forms as user input, I am presuming this will allow me to catch if a path to the database is ok before launching the main app. (At the moment i am opening the MdiParent and hiding it, then displaying the splash and then logon. It doesn't look pretty.)
|
|
|
|
|
If the main app is a seperate exe, what stops people bypassing your login ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|