Showing posts with label stupid. Show all posts
Showing posts with label stupid. Show all posts

Friday, March 30, 2012

please help me i am retarded

ok, I admit this might be a stupid question, but I can't help it...I really don't know the answer to this:

I have a VBScript script that receives a floating point number from a form. I'm using a stored procedure to save this information to my SQL database.
My DB table field is set to "float" and my stored procedure variable is "float" but my vbscript variable is a double...and this combination doesn't work.

I need to know what variable types to use so this combination works and I can successfully store my decimal number in the database. Does anybody know this??

thanks!
~hJ~err,... I'm pretty sure vbscript does do types (as such) everything is a variant. What exactly is the problem you are having? You say "this combination doesn't work" but what do you mean by that?|||First off, the stored procedure fails...doesn't write anything. The other incompatibility I noticed is the decimal part is truncated...like when you go from float to int.

I guess I just need someone to tell me: " use this variable type in vbscript. use this variable type in the stored procedure and use this field type in the db and your decimal number will make it (including decimal) to the db"|||well the script should be treating it as a string so unless you are explicitly converting it into something inside your script you should have any truncation problems...

have you tried using a Decimal instead of a double?

Monday, March 26, 2012

please help

this stupid msg comes up everytime i go to buy something
online or i enter a site its annoyong can anyone help
The page cannot be displayed
The page you are looking for is currently unavailable. The
Web site might be experiencing technical difficulties, or
you may need to adjust your browser settings.
---
--
Please try the following:
Click the Refresh button, or try again later.
If you typed the page address in the Address bar, make
sure that it is spelled correctly.
To check your connection settings, click the Tools menu,
and then click Internet Options. On the Connections tab,
click Settings. The settings should match those provided
by your local area network (LAN) administrator or Internet
service provider (ISP).
If your Network Administrator has enabled it, Microsoft
Windows can examine your network and automatically
discover network connection settings.
If you would like Windows to try and discover them,
click Detect Network Settings
Some sites require 128-bit connection security. Click the
Help menu and then click About Internet Explorer to
determine what strength security you have installed.
If you are trying to reach a secure site, make sure your
Security settings can support it. Click the Tools menu,
and then click Internet Options. On the Advanced tab,
scroll to the Security section and check settings for SSL
2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Click the Back button to try another link.
Cannot find server or DNS Error
Internet ExplorerThis is a SQL Server security newsgroup, not a general security newsgroup,
so I doubt you'll get a lot of help here. You could try asking in one of the
internet explorer newsgroups. Try starting at
http://communities2.microsoft.com/c...us/default.aspx
and clicking down through English/United States/Windows/Windows/Internet
Explorer.
Good luck,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"haidie=may" <mini_spanky02@.yahoo.com.au> wrote in message
news:d91201c3efb4$4302baf0$a001280a@.phx.gbl...
> this stupid msg comes up everytime i go to buy something
> online or i enter a site its annoyong can anyone help
> The page cannot be displayed
> The page you are looking for is currently unavailable. The
> Web site might be experiencing technical difficulties, or
> you may need to adjust your browser settings.
> ---
> --
> Please try the following:
> Click the Refresh button, or try again later.
> If you typed the page address in the Address bar, make
> sure that it is spelled correctly.
> To check your connection settings, click the Tools menu,
> and then click Internet Options. On the Connections tab,
> click Settings. The settings should match those provided
> by your local area network (LAN) administrator or Internet
> service provider (ISP).
> If your Network Administrator has enabled it, Microsoft
> Windows can examine your network and automatically
> discover network connection settings.
> If you would like Windows to try and discover them,
> click Detect Network Settings
> Some sites require 128-bit connection security. Click the
> Help menu and then click About Internet Explorer to
> determine what strength security you have installed.
> If you are trying to reach a secure site, make sure your
> Security settings can support it. Click the Tools menu,
> and then click Internet Options. On the Advanced tab,
> scroll to the Security section and check settings for SSL
> 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
> Click the Back button to try another link.
>
> Cannot find server or DNS Error
> Internet Explorer
>