Asking For Login Info On Opening Of Report?

Apr 16, 2011

I wrote this code to the load event of the form which contain the report viewer , i connected it to the dataset but it is asking for login info whenever i am opening the report..

View 2 Replies


ADVERTISEMENT

Remember Login Info In Login Form

Jun 10, 2011

I have a login form with username and password authentication . It works fine. But I want to give option to remember login info option in the form.

View 7 Replies

Auto Login - Check If The Login Was Succesfull And Report It With A Msgbox ?

Feb 27, 2009

I'm making an application for a website and it's going to be used by multiple people.The application will open up a site in webbrowser, use HTML ID to fill in textfields and then it will press "Logon"The problem is, in my application i need to tell the user if login was succesful or no.I couldn't do it with URL string because:

The login page is [url]....for example once they are logged on they will get [url]......But the ID for everyone will be diferent.How can I check if the login was succesfull and report it with a msgbox or in a log/listbox "login succesfull" or "login un-succesfull"

View 1 Replies

Take Opening Balance When Open A Report Between Date Parameter It Show The Opening Balance

Apr 21, 2011

I want to take opening balance when i open a report between date parameter it show the opening balance, actually i have three columns "description" "debit" "credit" in crystal report now i want to add 1 more field which come throuhd formula which is opening balance. i have a data of debit credit from 2006. but user choose to show the data from 2008 so i want that the balcne from sum of debit and credit side between 2006 to 2007 end come in the shape of opening balance in the report and then add the debit and credit side of report into opening balance. i put a following fromual bt not accept it sum ({vr_detail.debitT})-sum({vr_detail.creditT}) > {?strtdte}

View 1 Replies

VS 2010 VB 2010 With SQL 2008 Server Report - Pass Login Information And Selection Parameters To The Report

Apr 13, 2011

I just got into VB 2010 with SQL 2008 Server Report. I was able to create a report as my wish and it's vieable via direct url (URL). But I want to pass login Information and Selection parameters to the report. But I don't want to pass them thru URL, So I want to load them from the application (winform) and launch the report in iexplorer.

View 1 Replies

Getting Info From Database For Login?

Jun 7, 2012

i am trying to make a login screen that is connect to a database(NOT MS ACCESS).i keep geting an error when i try geting it to conect to the database

"Value of type MySqlData.mySqlClient.MySqlDataReader cannot be converted to System.data.OleDb.OleDbDataReader
At rdr = MyCommand.ExecuteReader()

dose anyone know whats going on

[Code]...

View 2 Replies

Use Own Windows For Getting The Login Info?

Oct 3, 2008

so I've started using the Webbrowser control, and I've got it doing most of what I want (a button takes them straight to the correct page on the correct site, it's filling in text boxes, will fill out more once I get to that step).However when I go to the particular secure site my users are supposed to login to, it brings up what I assume is a windows domain login prompt with a check box to save the userid/password.

Saving the password is not allowed for this secure site, and when I use system.webclient to get the first page so I can use my own windows for getting the login info, it doesn't carry over the authentication info to the webbrowser if I let it go back to using the web browser's default navigation methods, nor does it load the images or the page properly.I was thinking I needed to set the webbrowser's credentials, but I can't find anything exposed to make changes to or override if I try to inherit.

i'm behind a webproxy, and the site itself requires login. I've figured out in code how to pull back secure pages that require you to be logged in, but when I pass that html up to the webbrowser it doesn't know how to access or load the images or other things that the html instructs it to do.

View 5 Replies

Get ID When Login - Show Info About User?

Apr 4, 2010

I have a form in my application, and when I logIn, I make a query to SELECT the username, the password and the level of username.
"SELECT username, password, level FROM TLogin WHERE [username] = @username and [password] = @password and [level] = @level"
So, when I logIn, I go to a form called "Options", I would like to know how to only show the information about the user that I've loggedIn ?

View 4 Replies

Get User Login Info On The Server

Oct 20, 2009

In my vb.net windows app, which runs on windows server 2003, i will like to return all the users who are logged into the server. How to do that?

View 3 Replies

Login Form To Store Info?

May 13, 2009

I have just added a login form to my main form which just has a username textbox and a password textbox. What i basically want a user to be able to do is enter their username and password into these fields and then for the form to store the values there.

So if they enter their username and password, and then click OK on the login form, if they were to open up the login form their details would still be there?I want to be able to call on these values else where? How do i store the info in the username and password fields? And if they then closed the form and opened it up again would it still remember what username and password had been entered?

View 7 Replies

Storing Login Info In XML File?

May 10, 2012

Hi, I've created a login screen for my application and defined the username and password using the following code

If UsenameBox.Text = "username" and PasswordBox.Text = "password" Then
Me.Hide()
Main.Show()

It works great however, I need the user to be able to set their own password using a registration form with the details being stored in a xml file. There are no security concerns with the password being stored in a text file as it's a mock login screen.

View 23 Replies

VS 2008 Use Windows Login Info For Email?

Mar 26, 2010

I am trying to have my application use our email servers to send out an email when a certain action is taken. What I want it to do is use the username and login that the user is logged into the domain as for their email username and login. How can I get access to the users domain login and password? For instance, if I log into the computer, I want the application to use my windows login and password as the email username and password, since they are the same. This way I don't have to ask for it. I tried importing System.DirectoryServices and it once I type in Imports System. it does not have directoryservices as an option.

View 4 Replies

DB / Reporting - Using A Datareader To Retrieve The User Login Info

Jun 4, 2008

I need to convert a large VB6 app to vb.net which does a lot of database work and produces a Crystal Report. The initial form is simple a login form which validates the user. I am trying to use a datareader to retrieve the user's login info but it won't compile on the statement where I'm trying to get the Connection String from the app.config file. It complains that the ConfigurationManager is not declared on the dim statement. Where and how do I declare the ConfigurationManager? I thought it was just pointing to the app.config file but apparently that is not correct. [Code]

View 3 Replies

Inputting Login Info That Doesn't Exist In The Database?

Dec 4, 2009

In this code block, the datarow gets the row number of the username that was used to log into the system with, right? And in this code, if there is a username/password that was matched with in the database, it'd place it on the dbUsername/dbPassword variables and compare it with the ones that were inputted by the user.What if I wanted to know if there is none of that username (like, username doesn't exist from the database)? I tried inputting login info that doesn't exist in the database and it resulted into the following error:An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.data.dll

[Code]...

View 6 Replies

Change Logon Info Dynamically In Crystal Report And Ms Access?

Nov 23, 2010

I have my crystal reports file accessing data from msaccess database.now while loading report i need to pass the logon info of the msaccess database along with the database name from vb.net.

[Code]...

View 3 Replies

VS 2010 - Start Up Excel Spreadsheet Containing Crystal Report Info

May 28, 2012

I am exporting crystal reports information into an excel spreadsheet and now I am trying to open up excel so that the user can view the page but however I cannot SEE the excel file. in Task manager there is EXCEL.exe which shows that maybe excel opens up but the spreadsheet is not visible.

Imports CrystalDecisions.Shared
Imports Microsoft.Office.Interop.Excel
Imports Microsoft.Office.Interop
Private Sub btnPrintExcel_Click(sender As System.Object, e As System.EventArgs) Handles btnPrintExcel.Click
[Code] .....

View 4 Replies

Printing Doc File Without Opening Ms Word Program After Exporting From Crystal Report?

Jul 17, 2011

is there way /means to export from Crystal Report To Microsoft Word and print that document without opening Ms Word Program by vb net

View 7 Replies

DB/Reporting :: Login For Crystal Report?

Dec 20, 2011

I have an applciation in VB.NET but when I try to produce the reports a popup message appears requiring login information.

I have attache the print screen of the popup message.

View 2 Replies

Unable To Get Report , Asking Login Credentials?

Apr 21, 2011

i hve made a application in vs2005(frame work 2.0 which has crystal report in my system i have VS2005 software crytsal report whetver i needed i hve done it a design time ie added the fields needed during design time i had placed all the reports in folder knw as reports & had given the path accordingly when i first executed the app;lication & tried to view the report i got a msg something like " reports cann not be displayed , & needs to be in the bin folder of the application" so i pasted all the reports frm report folder in bin & now its working my application is working fine but when i try to view the reports it showed me a login dialog box which contained the servername, username & password though in config file i had specified clinet servername it took the server name of my system & asked for password?

code

Private Sub CrystalReportViewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
CrystalReportViewer1.Load

[code]....

View 14 Replies

Microsoft Report Viewer Login Failed?

Sep 1, 2011

I'm building an asp.net web application using Microsoft report viewer. It connects to a SQL database using integrated security. However when I first load the report page after it has been published to the server (everything works fine locally), I get this error:

An error has occurred during report processing. Exception has been thrown by the target of an invocation. Login failed for user 'SERVER NAME REMOVED'.

The weird thing is that when I click the refresh button on the report (not IE's refresh button), it loads just fine. I know that login will not work for the database server, but why is the report viewer not using the integrated security I set in the web.config?

View 1 Replies

VB2010 Crystal Report Login Details Required?

Oct 17, 2011

I am trying to grasp how to include a Crystal report in a program written in Visual Studio 2010.I have created a form in the program and included a Crystal Report Viewer on it. When I create a new Crystal report using the report wizard all seems well. However, when I debug/run the program I am asked to provide the database login ID and password. The database I am using was created with SQL Server 2008 R2, and was never created with login credentials.

I believe the problem is in the Crystal Report Viewer opening the report but have no clue about what steps to take to correct this. When I run the program with the Report Viewer minus a Report, the Report viewer runs successfully. But when I include a report it asks for the login ID and password.

View 3 Replies

VS Embedded Crystal Report Keeps Prompting Database Login?

Oct 21, 2009

I'm using visual studio 2005 to develop a form with a combobox passing a value into the parameter of an embedded crystal report. Why it keeps prompting me for a database login every single time you try to run the report with a different combobox selection.

Here is my code:
private Sub Form1_load...
Dim ConnName As String
Dim ServerName As String
Dim DBName As String
Dim user As String
Dim pass As String
[Code] .....
I looked at this previous posting [URL]. I couldn't find where a CMC was to disable the prompt.

View 1 Replies

Implement The IReportServerCredentials To Send The Login Information To Retrieve A Report Remotely

May 10, 2011

I took sample code to implement the IReportServerCredentials to send the login information to retrieve a report remotely but for some reason the implementation is error prone.

[Code]...

View 1 Replies

VS 2010 Crystal Report Database Login & Wrong Record Preview?

Feb 26, 2011

I recently download/Installed Crystal Report for Visual Studio 2010 to work with Visual Studio 2010 Prof. Database from SQL Sever 2008 Express. Now my problem is when I run Crystal Report Viewer - Windows form : 1st message Database Login request and otherwise WRONG RECORDS DISPLAYING which I have not in my database table.

do print reports for my new Windows Application.

View 2 Replies

Login Facility Reading In User Info From A Main User File?

Nov 9, 2011

I have been trying to solve this for 2 days now, every text book I own and google have been well and truely exhausted and I am still no closer to solving my problems.I have a login facility reading in user info from a main user file. This takes all info into a temp array and then splits usernames into a username file, passwords into a password file and a current score in a score file.

I have the login working fine and everything else in my program works as intended but touching up cosmetic aspects I want to add a Message box after login to say hello and display current score. This works great for the first name in the user file i.e - after login User1 welcome to the game. Your current score is 45 As intended.But the problem arises with any other users, my message comes out as

User2 welcome to the game. Your current score is 55 I do not understand where the random new lines are coming from. I have tried assigning the message as a variable and removing new line using

[Code]...

View 9 Replies

Cannot Open Database Requested In Login 'Database1' / Login Fails / Login Failed For User 'sa'

Mar 1, 2011

I got the above error when i deploy my web application into windows server 2003. How do i resolve it? [code]

View 3 Replies

Forms :: Enter Login Details Login Page Just Refreshes Itself And Login Wasn't Proceed?

Dec 13, 2010

I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?

View 14 Replies

Reference A Report Variable In The Report Properties Code Window Of A Local Report?

Apr 19, 2011

how I can reference a report variable in the Report Properties Code Window of a local report? I have tried Variables!Claimant.Value (for a variable called Claimant) but I get an error "Reference to a non-shared member requires an object reference." I have tried qualifying it with Report. and also with the report name in front of it but I get errors with this also.I have the variable CLaimant defined in the Variables section of the Report Properties.

View 3 Replies

Writing Info To And Getting Info From .text File Using A ListBox's Display

Jul 31, 2010

I am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]

View 18 Replies

Create Quick Info And/or Parameter Info For Own Code?

Jul 23, 2009

how to create Quick info and/or parameter info for own code?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved