Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all 14169 articles
Browse latest View live

Database (SQL) data displayed on a website

$
0
0

Hello;

I don't know what forum to ask this question, or know how to proceed. I am running SQL Server 2008 that houses all of my company's sales/inventory/etc. data. I want to incorporate one table from SQL into my website, so that salesman, using a login code, can access our website and look up pricing and inventory levels. I have no idea how to proceed or if this is possible and I need it to be 100% secure.

Any ideas? Can someone point me in a direction?

Thanks,

Todd


Todd Lerew


import excel data to data set using asp.net C#

$
0
0

Hi,

How to import highly formatted excel data to data set.

for example

  10 column each one have sub columns. heading columns etc

How can we import to dataset

Resetting domain password in AD using VB in ASP.NET

$
0
0

Dear,

How can i reset domain password in AD using VB in ASP.NET

Thanks,

Tanu Girdhar

no response when I click the ASP.NET button at the second time

$
0
0

There is an ASP.NET button which calls the following code.

Response.ClearHeaders();
                    Response.ClearContent();
                    Response.Clear();
                    Response.Charset = "big5";
                    Response.ContentEncoding = System.Text.Encoding.Default;
                    Response.AddHeader("content-disposition", "attachment; filename=excel.xls");

                    //Response.AddHeader("content-length", file.Length.ToString());
                    Response.ContentType = "application/ms-excel";

                    byte[] myExcel = System.IO.File.ReadAllBytes("excel.xls");
                    Response.OutputStream.Write(myExcel, 0, myExcel.Length);
                    Response.Flush();

When the button is first click, there is response and have excel download prompt, but there is no response when I click the button again.

why there is no response when I click the ASP.NET button at the second time? any resolution to it?

Opening e-mail attachments for Windows 10

$
0
0

I think I inadvertently selected PDF format as the default format for all attachments to incoming my e-mails (Windows 10).

My problem is that now all incoming attachments can only be opened if they're in the PDF format, so how do I restore the default to enable me select which format I wish to open an attachment ?

Ta, (I'm going nuts) Mike aka Billy

language pack does not work

$
0
0
I added French language and itstalled its language pack, but it does not check the spelling neither in gmail nor wordpad. Is this normal? I run windows 10. I don't have office

gerhard


Clear username caching by windows authentication dialogue box

$
0
0

I have an ASP.Net web application that uses windows authentication. When I access the application it prompts a windows dialog box to input the credentials and a check box "Remember my credentials" to save the user credentials. I have the following requirement for the application to ensure security,

The application should clear the "UserName" and "Password" fields on windows authentication dialog box every time he access the application, even though if he selects the  "Remember my credentials" check box during in previous login.

I tried creating a registry key "DisablePasswordCaching", but this clears only the password field but not the username. And this fix should be done in all the client machines which is not a valid option. 

Could you please suggest me an approach to clear the username and password cache on windows authentication dialog window every time the user access the application??

 

security

$
0
0

Re =directed here from community forum. We have a small business and our computer administrator has left and hasn't disclosed the admin password. We cannot satisfy Microsoft Questions to obtain an answer as most are irrelevant. How do we resolve>

Jim


Microsoft is Growing Rapidly

$
0
0

From XP to Vista to 7 to 8 and 8.1 and now finally Windows 10. I have seen Microsoft tweak their OS's every day and not all MS operating systems are great. In fact I found myself in a mess with Vista, but that's to the past now and we move forward in life to our newer operating systems which are more fast, efficient and friendlier. Hence the day our old beloved PC's die and we have to move on to newer computers that will most probably won't support older operating systems. Say for example that the Toshiba Satellite L50D-B that comes pre-loaded with Windows 8.1 OEM will not let you install Windows 7. I have tried testing methods like disabling secure boot and setting boot to CSM only to find that after the installation it'll freeze at the boot logo. Even after setting it to UEFI there was no avail, also I was very lucky to have 8.1 on a Pen Drive so I re-install it and restored the computer to a clean functioning state. 

Now on to Windows 8 and 8.1 I kind of liked this operating system in fact it's not half bad. I found myself navigating much faster than I was with Windows 7 and the load times on applications was much faster, but not that much, yet still it made me a whole lot happier. I will be happy at least for now...

At last it comes to this Windows 10 which I call the best operating system ever! All of it is polished and detailed to perfection. I think I should thank Satya Nadella for the wonderful work he has done to this operating system. I'm currently sitting on 10547 at the moment and waiting for 10550 to drop this week. I hope.

R.I.P XP we will miss you forever! I'll have you down in my history book and so will Windows 10 too!

Disable | Enable control buttons

$
0
0

I am confused as to why I am able to get the code for the close button to work however none of the other buttons work.

public bool MenuCloseButton
        {
            set
            {
                if (value)
                {
                    //WinAPI.DeleteMenu(WinAPI.GetSystemMenu(pointer, false), WinAPI.SC_CLOSE, WinAPI.MF_BYCOMMAND); // get rid of x button; prevents application from being shut down...
                    WinAPI.EnableMenuItem(WinAPI.GetSystemMenu(pointer, false), WinAPI.SC_CLOSE, 0);
                }
                else
                {
                    WinAPI.EnableMenuItem(WinAPI.GetSystemMenu(pointer, false), WinAPI.SC_CLOSE, 1);
                }
            }
        }

        public bool MenuRestoreButton //needs more work
        {
            set
            {
                if (value)
                {
                    WinAPI.EnableMenuItem(WinAPI.GetSystemMenu(pointer, false), WinAPI.SC_RESTORE, 0);
                }
                else
                {
                    WinAPI.EnableMenuItem(WinAPI.GetSystemMenu(pointer, false), WinAPI.SC_RESTORE, 1);
                }
            }
        }


Dim Blondedude092 as SkypeUser

In ASP.NET, any method to detect whether the printer is available and return any status code (such as, ONLINE, OFFLINE, etc.)?

$
0
0
In ASP.NET, any method to detect whether the printer is available and return any status code (such as, ONLINE, OFFLINE, etc.)?

recurring cd ejection

$
0
0
WMP 12 in windows 10 ejects my audio CD and states: insert a blank disc. The disc is blank. it happens every time I create a list of songs in my music library and click on START BURN.

Sharepoint OpenDocument Class Add-On

$
0
0

Hi, 

We've Share Point server 2013 in our environment and we try to open and save a document in IE 11 it is asking for username and password. Office 2010 SP2 Sharepoint OpenDocuments class add-on is already installed on all Windows 7 machines. Do we need to upgrade ADD-on version also to 2013? If so can we get only add-on package to install on all windows 7 clients? Or any change in sharepoint server side will resolve the issue?

XNA Help collisions

$
0
0

I'm working on a pong game, but my code for the collisions just stopped working when I added in gameStates.

here's my code

        protected override void Update(GameTime gameTime)
        {
            //keyboard
            previousKeyboardState = currentKeyboardState;
            currentKeyboardState = Keyboard.GetState();

            //gameStates
            if (gameState == GameStates.Start)
            {
                if (currentKeyboardState.IsKeyDown(Keys.Space) && previousKeyboardState.IsKeyUp(Keys.Space))
                    gameState = GameStates.Play;
            }

            if (gameState == GameStates.Play)
            {
                int paddleMaxY = screen.Y - playerOne.Height;
                int ballMaxY = screen.Y - ball.Height;

                //Score
                if (ballPos.X >= screen.X && playerOneLives > 0)
                {
                    playerOneLives --;
                }

                if (ballPos.X <= 0 && playerTwoLives < 0)
                {
                    playerTwoLives --;
                }

                //Movement
                if (currentKeyboardState.IsKeyDown(Keys.W) && playerOnePos.Y > 0)
                {
                    playerOnePos.Y -= 5;
                }
                else if (currentKeyboardState.IsKeyDown(Keys.S) && playerOnePos.Y < paddleMaxY)
                {
                    playerOnePos.Y += 5;
                }

                if (currentKeyboardState.IsKeyDown(Keys.Up) && playerTwoPos.Y > 0)
                {
                    playerTwoPos.Y -= 5;
                }
                else if (currentKeyboardState.IsKeyDown(Keys.Down) && playerTwoPos.Y < paddleMaxY)
                {
                    playerTwoPos.Y += 5;
                }

                ballPos.X += (int)XSpeed;
                ballPos.Y += (int)YSpeed;

                //Collision
                if (ballPos.Y < 0 || ballPos.Y > ballMaxY)
                    YSpeed = -YSpeed;

                if (ballPos.X == (playerOnePos.X + playerOne.Width) && ballPos.Y >= playerOnePos.Y && ballPos.Y <= (playerOnePos.Y + playerOne.Height))
                    XSpeed = -XSpeed;

                if ((ballPos.X + (ball.Width * 2)) == playerTwoPos.X && ballPos.Y >= playerTwoPos.Y && ballPos.Y >= (playerTwoPos.Y + playerTwo.Height))
                    XSpeed = -XSpeed;

                //Reset ball
                if (ballPos.X < 0 || ballPos.X > screen.X)
                    ballPos = new Vector2((screen.X / 2), (screen.Y / 2));
            }
can someone tell me why it doesn't work?


Migrate from XNA to what?

$
0
0
What should I migrate my VS 2010 projects running XNA to in the new technologies?

HOW to enable VT-x in windows 8.1

$
0
0

i searched online but everywhere it said that go to advanced options to find uefi firmware.

i only had 5 options instead of 6 in 'advanced options' ,i.e  uefi firmware was not there.

Could somone please help.

Encrypting Connection Strings in .config files

$
0
0

For a deployment on a customer site, we are looking into encrypting connection strings in the applications .config file. Reading the following article: msdn.microsoft.com/en-us/library/ms998283.aspx#paght000006_webfarmscenarios using aspnet_regiis.exe looks like its probably the way to achieve this.

Concerns have been raised that this is for ASP.NET 2.0.  Can you confirm that this is still the current way to encrypt connection strings in the latest version (4.6) of .NET.

If it is still the best way to encrypt the connection strings, are there any changes that we should be aware of between version 2.0 and 4.6.

Thanks

Aero Glass for win 10

$
0
0
Where can I find Aero glass for windows 10

how to set Decimal Fraction more than 2 digits(C# to SQL).

$
0
0

Hi All,

When I tried to insert decimal value(0.9232) into SQL Table inserting only 2 digits(0.92). Please help me on this.

FYI

input : {"Currency":"USD","ShipmentNumber":"xyz","CompanyCode":"HYW","BuyRate":0.9232,"BaseSellRate":0,"SellRate":0.903,"QuoteNumber":""}

Data model :  public decimal? BuyRate { get; set; }

Inserted  in DB like : BuyRate  = 0.920000000  and SellRate : 0.900000000  

 INPUT  JSON:

DB INSERTED Value :

Thanks in advance.


-- From Krish Kannaa


Reading Urdu Language Data From PDF document into a RichTextBox

$
0
0

Hi I am trying to fetch just text data from PDF document using iTextSharp.

For ENGLISH language everything just works fine. When I try to read Urdu Data and put it in Rich Text Box on Windows Forms, data is corrupted I mean not in proper shape, words are broken, empty spaces etc. 

Here is my piece of code.

  private void btnForPDF_Click(object sender, EventArgs e)
        {
            string data = "";
            using (PdfReader reader = new PdfReader(@"C:\Users\Zubair\Documents\totest.pdf"))
            {
                int count = reader.NumberOfPages;
                for (int i = 1; i <= count; i++)
		{

                    data = PdfTextExtractor.GetTextFromPage(reader, i);
		}
            }
            textToDispaly.Text = data;
        }
textToDisplay is name of RichTextBox. This forum doesn't allow me for images. Sorry

Viewing all 14169 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>