jamello 158 Posting Whiz in Training

Hello to you
I'll just give you a sumary of what I did in a very similar scenario.

Dim oMsg As New CDO.Message
        Dim iConfig As CDO.IConfiguration
        Dim oFields As ADODB.Fields
        Dim oField As ADODB.Field


        Dim strEmailAddress As String = "jobstar@yahoo.co.uk"
        Dim strSubject As String = "Request  for missions"
        Dim msgMail As String = "Pls Find below the details. Thank You."

        iConfig = oMsg.Configuration
        oFields = iConfig.Fields
        ' Set configuration.
        'using the local smtp server
        oField = oFields("http://schemas.microsoft.com/cdo/configuration/sendusing")
        oField.Value = 1
        oFields.Update()

        Try

            'message()
            oMsg.TextBody = msgMail
            oMsg.Subject = strSubject

            oMsg.From = "terrastar@comstar.net"
            oMsg.To = strEmailAddress
            oMsg.Send()

        Catch x As Exception
        Finally

        End Try

Then on the server uncheck the 'allow all computers which successfully authenticate to relay regardless of the list above'

This should work. It worked for me. If any problems please get back to me.

Hello!

I had problem sending mails through asp.net, even after writing the code.
But after providing the IP address of my pc in the relay option in IIS, the problem finally got solved.


But now the problem is that the same code when I tried to run on a pc which was a local server, I still face the problem.

I write the follwing code
dim mm as new mailmessage
mm.to="rasvinder.soodan@gmail.com"
mm.from="rasvinder.soodan@gmail.com"
mm.subject="hello"
mm.body="hello"
mm.priority=priority.high
smtpmail.smtpserver="theip addrss of the local machine"
smtpmail.send(mm)


The above code runs succesfully on one pc, …

jamello 158 Posting Whiz in Training

hi there guys!
I have a scenario that is presently giving me sleepless nights. I need to call an asp method from an "onclick" html event but the method is being called too early.

Public Sub CheckForSomeErrors()
            If Session("FliteDate") = "" Then
                Response.Redirect("../Errorpage.aspx?ErrorDetails='Flight Date' cannot be blank!! Click 'Previous' to re-Enter value")

            End If
            If Session("ReturnDate") = "" Then
                Response.Redirect("../Errorpage.aspx?ErrorDetails='Probable return Date' cannot be blank!! Click 'Previous' to re-Enter value")

            End If
            If Session("PreferedAirline") = "" Then
                Response.Redirect("../Errorpage.aspx?ErrorDetails=Please indicate your preferred Airline! Click 'Previous' to re-Enter value")

            End If

            If Session("GsmNo") = "" Then
                Response.Redirect("../Errorpage.aspx?ErrorDetails=Please your valid GSM No is of extreme importance! Click 'Previous' to re-Enter value")
            End If
    End Sub

this is the code in the asp form module we can call formx.

<table borderColor="green" height="150" cellSpacing="0" cellPadding="0" width="1020" border="0">
						<tr>
							<TD vAlign="top"><IMG id="navigationbuttons" height="150" alt="" src="../img/navigationbuttons.jpg" width="1005"
									useMap="#m_navigationbuttons" border="0" name="navigationbuttons"><map id="m_navigationbuttons" name="m_navigationbuttons">
									<area shape="RECT" alt="" coords="689,50,950,110" href="../default.aspx">
									<area onclick="<%CheckForSomeErrors()%>"  shape=RECT  alt="" coords="364,40,654,110" href="prePassger2.aspx">
									<AREA shape="RECT" alt="" coords="30,40,314,110" href="javascript:history.back();">
								</map>
							</TD>
						</tr>
					</table>

This is the html code calling the asp function from the onclick event of the html hyperlink.
So in effect the 'checkforsomeerrors' function should be called as the 'hotspot' or indicated area is clicked before the call to 'prePassger2.aspx' is evaluated. But in practice, the 'checkforsomeerrors' function is called each time formx is loaded which is not desirable. I had tried to trap which event is responsible for this (like 'onload' or 'onclick') but is yet to see it.

So in effect, …

jamello 158 Posting Whiz in Training

please pay little attention to Ramy! It seems he is just out to have fun!(apologies if i'm wrong).
What you should do is to include some comments to your code. Your code is quite lengthy. Put comments near where you are having the error. Let's take it from there.
NB: Indenting your code might also help.

jamello 158 Posting Whiz in Training

If you know a bit of vbasic, why don't you write and compile a dll in vbasic? It is really easy. Instead of opening an activeX exe project you can open an activeX dll project instead and start implementing your solution.

You could also write your dll in C++ and call it from vb. That is the power and convenience of ActiveX or COM technologies

Hello,
Anyone can help me to build a C dll for vbasic ?
I know how to write and compile a dll with C/C++ compiler but only
for simple function.

Thank's

jamello 158 Posting Whiz in Training

This answer depends on the type of OS you are using.
All that is needed is to change the regional settings of all the computers concerned to English Language - either British or American.

Your program should pick up from there.
If you are using Windows XP:
Go to control panel->Regional and Language Options-->Language Options--> English(United Kingdom)

hi everyone

I need to change the system clock and date's language to English. My program is going to show the date automatically in english in every computer that is installed in.. I tried to change the names of the months in to english but it did not work.. do u have any idea how can I do that?

thank you..

jamello 158 Posting Whiz in Training

You have to indicate what type of command you are using. This could be got from the commandtype.property. Indicate that it is text and not a storedproc or others. It should work.

Get back if it doesn't
:)

jamello 158 Posting Whiz in Training
purchase = if price <= money Then

This is wrong.

if price <= money Then

is right. Try it and it should work

jamello 158 Posting Whiz in Training

^holly styles, good guy, sometimes arguementative but good guy!:cool:

hollystyles commented: Argumentative !! the cheek! hee hee +5
jamello 158 Posting Whiz in Training

Can you use server.execute instead of respnse.redirect.
If the result is the same, send the details of your code and we take it from there.

jamello 158 Posting Whiz in Training

Can the user successfully upload his files?
New folders can be created. Confirm and get back to me

jamello 158 Posting Whiz in Training

If the intention is only to make the textbox accept only numeric values, just very simply use the Isnumeric function.

that is

if not Isnumeric(textbox.text) then
 'do stuff like forcing retyping of content
end if

Hope this helps.

jamello 158 Posting Whiz in Training

i wish my daughter would come up with that... so if that happened, i would even let him sleep with my wife... :D

Haba!!:icon_wink:

jamello 158 Posting Whiz in Training

I saw this somewhere and decided to share it here. Enjoy!

An 18 year-old girl tells her Mom that she has missed
her period for two months. Very worried, the mother
goes to the drugstore and buys a pregnancy kit. The
test result shows that the girl is pregnant!

Shouting, cursing and crying, the mother says, "Who
was the pig that did this to you? I want to know!" The
girl picks up the phone and makes a call.

Half an hour later a Ferrari stops in front of their
house; a mature and distinguished man with gray hair,
and impeccably dressed in a very expensive suit steps
out of the Ferrari and enters the house.

He sits in the living room with the father, the mother
and the girl, and tells them:

"Good morning, your daughter has informed me of the
problem. However, I can't marry her because of my
personal family situation but I will take charge. I
will pay all costs and provide for your daughter for
the rest of her life. Additionally, If a girl is born
I will bequeath her 2 retail stores, a townhouse, a
beachfront villa and a $1,000,000 bank account. If a
boy is born, my legacy will be a couple of factories
and a $2,000,000 bank account. If it is twins, a
factory and $2,000,000 each. However, if there is a

jamello 158 Posting Whiz in Training

>>is it just us, or is every programmer this way? is it a programmer stereotype?

depends on how a programmer takes it. Well im a developer and i used to work 15 to 18 hours a day. Now im getting a little sick of it. :( . I just can't wait to get home and sleep.

My dear,
some of the times this is true. You work 15 to 18 hours every day, and most of the times the pay is not commensurate. But the bottom line is whether you really love what you are doing.

If you are doing it because it pays your bills then it might become grueling.You'll have to 'endure' it instead of 'enjoying' yourself.

I believe software/web developer/designer make the industries and government 'breathe' and hence they should be paid the highest remunerations possible (i still stand to be corrected) compensating for the long hours and all the attendant geeks stuff. But you know that we are still far from uhuru:(

I, for one, am a software developer and a website /developer designer. I am also a certified accountant. But my love is with the computer codes. I have a small outfit which i manage and try to enjoy myself. I have been going on for more than 12 years now.

Like I said earlier, you cannot be paid commensurately for all the stuff you know you must hence find your balance and know or do what you really enjoy …

arjunsasidharan commented: Well said :). I do love my job. But i tend to get irritated sometimes. +4
jamello 158 Posting Whiz in Training

Disorder in the Court...
These are from a book called Disorder in the American Courts, and are
things people actually said in court, word for word, taken down and now
published by court reporters who had the torment of staying calm while
these exchanges were actually taking place.

This is vintage Aia! You made me laugh!

jamello 158 Posting Whiz in Training

Disclaimer: For those of you, still using a slow CPU, like the Pentium II, between your ears. I do not
exist. Any similarities to actual names or places have been purely coincidental. The name of Al Gore
is a work of fiction.

Aia? Work of art!:icon_razz:

jamello 158 Posting Whiz in Training

Happy Birthday all you July babies :) I'm February, but my 45 wedding anniversery is today 17 July.

Happy anniversary!

45th anniversary!? WoW:) 45 "gbosas" (canon-gun salutes to the ancient - 'really ancient' dragon's family).
God bless you!

jamello 158 Posting Whiz in Training

I read and read and read and read - novels, news papers, magazines (e-zines and others) and/or watch television (Cartoons Comedy and sports).

jamello 158 Posting Whiz in Training

I love geek jokes SOOOOOOOO much because they make me feel so much more special than all the other people.

Only I can understand them, and the jokes remind me of how awesome I am. The puny-minded nincompoops who don't understand the jokes are wasteful idiots who should be shot.

HEREZ MY FAVORITE GEEK JOKE:

Why was six afraid of twenty?

Because twenty ate four hundred ninety-six!

HAHAHAHHAHAHAHAHAHAHAHAHAHHA!

People who don't understand that joke are pricks for living in the same universe as me.

Your joke is straight forward and not complicated at all but Oh! Rash!!
Why are you this way?:$ :X

jamello 158 Posting Whiz in Training

December here... :)

I'm a Christmas baby.

Thanks christine! What's your exact date? Is it dec 24 or 25 on the dot? 'would sure like to remember!:icon_lol:

jamello 158 Posting Whiz in Training

Happy Birthday :icon_cheesygrin:

I'm an October child :)

thanks, a whole lot

jamello 158 Posting Whiz in Training

July 12th here :icon_wink: Happy B-day! :icon_biggrin:

Happy birthday to you too!:icon_cheesygrin:

jamello 158 Posting Whiz in Training

Hey guys!, Its my birthday (15th July). Had a swell time. How many of you guys are "july people"?

christina>you commented: Happy Birthday! +21
jamello 158 Posting Whiz in Training

I believe it is a world wide problem. There seems to one word which can be used to describe polititians anywhere they can be found - "Corruption!":$. Look at Ancient dragon and Nichito for instance, they are describing politicians on different continents and if you don't look closely you'll think they share the same county:sad:. Same here in Africa. My younger sibling wrote me from UK and told me that he thought that british legislators are above the insipient corruption that oozes out of our own "hallowed" chambers. He found out much to his disappointment that he was unfortunately wrong.

It is a human thing. There is always the dark side of man trying to come out when the circumstance and conditions are right. In so much that democracies world over vote large budget to maintain people with fat "behinds" and fat chairs, it would always attract well dressed crooks who are hell bent in having their "fair" share of the national cake.

My opinion has always been to make these legistlator(s) chairs a partime job having minimal budgets just to put them offices together.

"Hallowed Chambers", world over, breed "Hallowed crooks":angry:

jamello 158 Posting Whiz in Training

Folks!
I used expressions to sum some dataitems from a table and plugged it to a datagrid.
The summations work for all the data on the table. But unfortunately still reports the same aggregate results even after some relevant dataview filters had been applied.

Here's the code:

Dim dv As DataView
'create a dataview
dv = objBookings.browseBookings.DefaultView
 
'add required filter(s)
dv.RowFilter = "dEntryDate > #5/1/2007# AND dEntryDate < #5/30/2007#"
 
reportTab = dv.Table
Dim r As DataRow
r = reportTab.NewRow
r.Item("dFlightNo") = "Total Sales"
r.Item("dFare") = reportTab.Compute("Sum(dFare)", "")
r.Item("dAirlineCd") = reportTab.Compute("Count(dAirlineCd)", "")
r.Item("dFlightDate") = CDate("01/01/2007")
r.Item("dPassengerName") = ""
r.Item("dFromCity") = ""
r.Item("dToCity") = ""
r.Item("dBookingCd") = ""
r.Item("dSeatNo") = ""
r.Item("dEntryDate") = CDate("5/04/2007")
reportTab.Rows.Add(r)
dgDailySales.DataSource = reportTab
dgDailySales.DataBind()

I'll like the aggragation on the viewed data and not on the whole table.
Help would be appreciated.
I could easily do a spocs and effectively construct my 'where' clause but would not want to pursue that.

jamello 158 Posting Whiz in Training

you can call them DEVIGNERS! (developers / designers)

I am a DEVIGNER too.

web development and design.

jamello 158 Posting Whiz in Training

Hi

Anyone know how to correct a currupted database using vb code? Please help me out to solve........

Have you tried doing this manually?

jamello 158 Posting Whiz in Training

I have to display two db columns within a single combo box.

You'll have to give more details for us to know where to start the helping from.

Give a sample listing of your attempt and we take it from there. ok?

jamello 158 Posting Whiz in Training

Sorry, I was out for a few days.
Thanks for the enlightenment from you guys. Like I observed which was also emphasized by davey, cultures and language come into play when these words are used. It is also an agreement between people of certain language and culture that such and such is bad and unacceptable.

For example because english language is the medium of expression among english speaking people the expression "Bu*lSh*t" qualifies as a swear/curse word. What does it really mean. It means literally "COW DUNG!".
But when I am upset and angry and I start grimacing and shouting "COW DUNG!, COW DUNG!!, COW DUNG!!!":icon_redface: . I am sure that you guys and even the filter on this forum would not think it as offensive. Hence my interest in having a list of these words so that I would not sound inappropriate when I do not really mean to.
Thanks y'all
Peace:icon_biggrin:

jamello 158 Posting Whiz in Training

It is another British one, and is a shortening of 'sodomize' so can be put alongside that other low quality swear over here of 'bugger off.'

wow:$ .

jamello 158 Posting Whiz in Training

America!
I am glad for all you folks out there! Your country is a beacon of light to a world desperately in need of it. I thank God for those early founding fathers. What would the world be like if they did not heed the call or faltered on their resolve to challenge tyranny and found a land where "Give me liberty or Give me death!" is more of a commitment than a shout.

God bless America!('cos through them He is blessing the World!)
peace:*

joshSCH commented: :) +15
christina>you commented: aww :) +19
Ancient Dragon commented: Thanks for the kind words +17
jamello 158 Posting Whiz in Training

Your personality type:
Friendly, adaptable, action-oriented. 'Doers' who are focused on immediate results. Living in the here-and-now, they're risk-takers who live fast-paced lifestyles. Impatient with long explanations. Extremely loyal to their peers, but not usually respectful of laws and rules if they get in the way of getting things done. Great people skills.
Careers that could fit you includes:
Sales representatives, marketers, police, detectives, paramedics, medical technicians, computer technicians, computer technical support, entrepreneurs, comedians, agents, race car drivers, firefighters, military, loan sharks, con men, auditors, carpenters, craft workers, farmers, laborers, service workers, transportation operatives.

Wow, Wow:-O . That is quite accurate and impressive!
Is 'con men' or fraudster a profession. :ooh: ;)

jamello 158 Posting Whiz in Training

What do I mean if I exclaim "sod you!" what is the root word:?:

jamello 158 Posting Whiz in Training

This you can use. I registered with this outfit and I could buy smses and send sms to any phone through my website. The following code shows the format. It's really simple. Any company you register with will give you the dlls to install on your machines giving you access to their gateways. Best of luck. Get back to me for further questions

hi jamello
how much this bulk gateway costs.bcoz i need it for my project.approximately we can send 200 a year.so it s not affordable.
then where do we get those service providers?

Why don't you try the link I gave in the original post. The pricing and costs are explicit on the web site (www.intellisoft.co.uk).
Successful? get back to me. Peace:cool:

jamello 158 Posting Whiz in Training

Does 'blimey!' constitute a curse/swear word? If not what does it mean. I think I hear it amongst the british guys.

jamello 158 Posting Whiz in Training

How does a person ascertain his position on the total reps list?

jamello 158 Posting Whiz in Training

I am sorry Mr. Ancient Dragon that you got dragged into it. I was joking when I wrote the edit part. I never edit it. It was part of it from the beginning. Sorry very much.

You must be kidding me.. hahahaa!:icon_cheesygrin:

jamello 158 Posting Whiz in Training

Upon reflection I have concluded that the secret to an effective insult
lays at combinations. Yes, you read correctly: "combinations".
I shall demostrate. But first, for those with sensitive wording syndrome; caution is advised.
Let's take for example:
@#!%

A four character expression. Ordinary these days, almost, to the point that you could hear it out of the mouth of a first grader at school.
Let's consider now,
$&*%>

A more provocative one, but also very mundane. Join them together with the conjunctive,
<!>

and what do we get?.
@#!%<!>$&*%>

Oh, my..., :icon_redface: I feel a little shameful of myself. I think I have gone too far.

[Edit] This exercise was conducted with insulting purposes only. If a
moderator feels the need to censure it. I certainly will understand.

Good one Aia!
Insulting purposes indeed!

jamello 158 Posting Whiz in Training

>josh:I for one, do not care one bit.. however, I know there are some who would take offense.

I noticed!;) . Infact you had me worried. Since I knew the mods will come at you, I was taken aback when you were spared:D
I used to think as I said earlier that "what the "HELL"" was profanity.

People can you kindly stop writing these words in abreviations. Let the words be typed in full for the purpose of this thread.
I don't seem to get them when they are inter laced with suggestive letters. Let it be literal. Mods please allow.:$

I had for instance had somebody, actually an american lady shout "RATS!!!" at something pretty disgusting to her. Would this word constitute a curse word.

what is b---- for instance?

jamello 158 Posting Whiz in Training

'been thinking lately, what really are curse words. When i say 'curse words' I don't mean those ones witches purportedly place on people.

Some of the language used sometimes on this forum falls into what I think/thought constitutes curse words and therefore inappropriate.

Over here in africa, we have words that are more or less 'gutter language' too but of course they are not english language. What some of our youth do is to emulate and practise what they see and hear on the television.
For instance, I used to think the word or the exclamation - 'Shit!' could be used without batting an eyelid anywhere and anytime. But the inappropriateness was only brought to my notice only recently.
I thought 'shit' is not like 'F-you know what-k. :$How wrong I was.

So could you guys help out.
And you know what? It seems to be an american phenomena(i.e made popular amongst english speaking countries of the world) - personal opinion. I stand to be corrected.:?:
peace

jamello 158 Posting Whiz in Training

I looked up the barcode thing, there is indeed on every barcode a double line at the start, middle and end.

but double line doesn't equal 6.

Aah! Like I said to midimagic, look more closely. Midimagic rightly pointed out that the bars displayed depict the numbers as shown exactly. Take your time because it might get quite being accustomed to. Check for bars that contains normal "sixes" if you check the bars depicting six you will find that they are just like these special ones I pointed to only that they are shorter.

The main characteristic of these bars are that they are drawn with 2 lines of varying thickness. So you'll find a consistent pattern. All sixes (the bars) look alike all the time!

Those are parts of the sync pattern. They perform the same function as the lower case "u" we used to have to type repeatedly to get the autobaud feature to identify the correct baud rate.

And you can't say it looks like a 6, because they purposely made it not match a number. It mnight look like a six shifted one bar left or one bar right. Also remember that the number codes to the right of the center sync area are complemented. So what looks like a 6 on the left dies not look like what looks like a 6 on the right

Bear in mind Midimagic, that things of these nature are bound to have technical explanations! That's why secular man …

jamello 158 Posting Whiz in Training

I will be traveling to Chicago tomorrow morning for the FBLA (Future Business Leaders of America) conference to take my Computer Applications test. I won 1st place for the state but I'm extremely nervous about this because I think the national test is a bit harder. I hope I do good. :)

I'll be back in 6 days. Wish me luck! -- I'm gonna need it.

Bright Girl!
You have my prayers and best wishes!:)

jamello 158 Posting Whiz in Training

i like books about lawyers, specially when they talk about specific laws and stuff, and it's weird cause I'd never want to be a lawyer.

Then I suspect you are a fan of john grisham.
I am one too! boy do I love court room brawls!

jamello 158 Posting Whiz in Training

I think that might just be the standard of your country as our barcodes here look nothing like what you described.

I am specifically talking about UPC barcodes.

@midimagic
Look more closely at those bars. Three of them always stands out. one at the begining and at the end and one in the middle.

They look similar to those that depict a 'six' but only longer.
Yes the bars represent exactly the numbers shown, yes i know but this three special bars are not numbered for all to see!

jamello 158 Posting Whiz in Training

Conjecture?! decidedly yes!
The number of the beast has always been said to be related to computing. The dominance of man and the domination of 'his' planet or world through computers. Rightly or wrongly pointers to this fact are rife.

I'll give one example someone pointed out to me. On every bar code image printed on products shown to me, it was pointed out that these series of bars signifying numbers (sales prices, batch numbers and the like) is always preceeded and ended by a longer bar which is a 'six' and then a bar of same lenght right in the middle! Scary aint' it?

We all know how the bar codes work. I checked up myself and this seemed to be correct. The three longer bars in the series of bars are of the same size(in width and thickness) with any of the bar(s) depicting a six. Coincidence? I don't think so!

I believe that the machinery and the tech. to be used by the antichrist and his government is already with us!

@josh
Check up on this!
Peace

jamello 158 Posting Whiz in Training

They're not. Rowling has admitted in interviews that she's done a great deal of research into historical beliefs about magic, and that a fair portion of that has ended up in her works. I think the minimum estimate was something like a third of the stuff in the books was believed to be real at some point...and how do we know it isn't?

so you see, if it isn't all fiction wouldn't the children be exposed to satanism and mind control? and Alas! some people on this forum would have no qualms exposing their children to satanism/occult and/or mind control. They call it crap! Pity indeed!!

Rashakil Fol commented: Your first post was not the derailing post, but now you're not talking about books anymore. -1
christina>you commented: Equalizer. +18
jamello 158 Posting Whiz in Training

http://www.youtube.com/watch?v=vt4X7zFfv4k

What do you TROURE (arsnal player) was shouting? I think it is
"YE!, my leg, leg":)

jamello 158 Posting Whiz in Training

384

jamello 158 Posting Whiz in Training

Here is a Picture of the Childrens version of the book

I have serious reservations about harry potters' books. One could read it but for the depth of incantations and voodoo/magic involved.
Yes, Yes it is fiction, but one wonders whether those things written about in such detail are sincerely the figment of the writers imagination!

To my mind, the writer does know in reality what is being written about. Definitely not recommended for children:S

John grisham books are heluva! That guy is real tight!:icon_cool:
check out :
The Last Juror
The runaway jury
The Pelican Brief

jamello 158 Posting Whiz in Training