DB/Reporting :: Absolute Path Information Is Required
Feb 2, 2009
I get this error on one of our workstations when trying to use program's report. The strange thing is that this workstation was working properly some days ago but suddenly faced with this problem!
[code...]
View 1 Replies
ADVERTISEMENT
Mar 7, 2011
Say URL1: http:[url].....
RelativePath: ../../hello.htm
Hence absolute path is http:[url].....
Is there a function that do that?
View 3 Replies
Feb 7, 2010
How can I get the absolute path of program I'm running?
View 3 Replies
Jun 21, 2010
I created a survey in vb.net where results are stored in an Excel file. Locally I can access and update the data of the file, but if I put online can not correctly access the excel file. How can I determine the absolute url of the file so, when a user submits the answers they can be inserted correctly in the excel file?Currently I use this to determine the location of the file: Dim LocalizacaoFicheiro As String = String.Concat(Server.MapPath("."), "RespostasQuestionario.xlsx")
View 3 Replies
Sep 29, 2011
how can i check if the file exist in the absolute path. for example i have images in the absolute path from which i have to check if the image exits I can do it from FILE.EXIST(path)this method is not working for absolute path, even if the file exits its is showing the file doesnt exist.
View 3 Replies
Jan 13, 2011
How can I get the application's path in .NET in a console app?
I would like to find the absolute path from where my exe file is running.
i.e if i run my application/exe from c:my-appmyapp.exe then it should return c:my-app.
My target is to find my database location inside the db folder.
View 1 Replies
Oct 3, 2011
I am new to VB/VB.net and i will really need help in developing an application with VB.net and to be able to access the information via sms query.
[Code]...
View 3 Replies
Feb 24, 2008
I'm getting this error, Update error: No value given for one or more required parameters, which seems to indicate a variable is not making it to Access or is empty. My procedure is meant to update a product record in the database.
Code:
Private Sub btnChange_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChange.Click
Dim cmdOrderEntry As OleDb.OleDbCommand
Dim strSQL As String
[code].....
View 2 Replies
Mar 7, 2012
[Code]....
am getting error: End os statement required
View 5 Replies
Jul 25, 2008
when i try to write to a file I get the error:
Quote:
Access to the path "PATH HERE" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path "PATH HERE" is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.But when I add: <identity impersonate="true"/ to web.config I get the following error when my application trys to open a DB to read it:
Quote:
Unspecified error
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Unspecified errorLine 55: objConnection.Open()
View 1 Replies
Sep 28, 2010
am using visual basic 2010 express and i have managed to place the path to a file in a text box. how can i extract just 1 item from the path.ie my path is url.i wish to extract mine (nothing else) and put it into textbox2.
View 8 Replies
Apr 27, 2009
We are making a report (2005) of a certain time duration, for example one month. In the stored procedure we made, two parameters are given; start-date and end-date. In the report we want to place these two dates, but we can only put database fields in the report. Does someone has any idea how to put these static information into the report?
View 3 Replies
Jun 2, 2011
[Code]....
This code is for listing all folders including subfolders. but when i run this code i m getting error "Access to Path F:System Volume Information is Denied" How can i ignore this folder and continue scan.? is ther any solution for this error?
View 9 Replies
Feb 1, 2010
I have a form which is bound to a table that includes information about properties (real estate). Each property can have a number of inspections. These inspections are included in a separate table.
I want to use the form to show the property information and a data repeater to show all the inspections for that property.I can't seem to get the data repeater to bind to the inspection table and pull only those records related to the property information table. In fact, the data repeater shows nothing.
I can get a data repeater to show all the records in the inspection table when I put the control on its own form, for testing purposes.
View 1 Replies
Nov 25, 2009
I am creating a small admin reporting tool that gathers certain information on some PCs. Unfortuantly the user that is running the tool doesnt have access and I cant give access to those particular machines. What I have done is created a user on these machines that can get this information.I would like to then have the reporting tool run certain parts of the code as this user so the information can be obtained, without any intervention from the user running the tool. Can I hardcode this user into the code so that it runs the code as the user?
View 4 Replies
Mar 19, 2009
Trying to fill a crystal report we want to fill in calculated information. Can someone tell us how to put information in a text field in the report?
Or is there an other possibillity to place static information on the report?
View 2 Replies
Sep 24, 2010
I have an online database, and I have a program to insert information into database and to login using the information in the database, now I am wondering how to take something from a database and display it in a label, lets say if I log in with my username and password I want it to display my e-mail address from the database in a label, this is the code that I have for the register:
Imports MySql.Data.MySqlClient
Imports System.Data.SqlClient
Public Class Form2
[code]....
View 4 Replies
Jan 26, 2009
I want to export to XML file and have problem this is the code but is not work, error is "No value given for one or more required parameters."
Private Sub GetDataFromAcessFile1()
Dim aCon As OleDbConnection
Dim aCmd As OleDbCommand
[Code]......
View 1 Replies
Mar 31, 2011
I am creating a reporting app that pulls information off of a Sql database and populates the data in a datagridview control (DVG). I am using tab pages (Tabcontrol), and I have about 10 tabs with within the control. What I have done is created a dynamic control that will populate in each tab page once the tab is selected. I am using a split container and in my split container.panel 1 is where all my buttons and search functionality will be. In my split container.panel2 to is where the main DGV control will be. I have got this to function properly, however now I am unable to add anything to my split container.panel1. I would like to add diffrent labels and buttons in the panel1 one without putting another panel on top of the split container.panel1, and also if i do this when I resize my container the panel will just sit there. I am using the selected index changed event to get my split container to show in each of the diffrent tabs
Private Sub searchTab_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles searchTab.SelectedIndexChanged
searchTab.TabPages(searchTab.TabPages.IndexOf(searchTab.SelectedTab)).Controls.Add(splitContainer1)
[code]...
View 4 Replies
Feb 3, 2012
I'm trying to learn how to write a data layer class to read in information and populate combo boxes, etc.
View 1 Replies
Apr 8, 2011
I have a class set up to hold values on a registration form (VB.NET, MVC), and among the properties is a Password property:
[Code]...
View 3 Replies
Sep 1, 2009
How do you get the absolute value of a number in vb.net?
Is there a function built in? I know I can simply code a function myself, but I want to know if there is one already there first. It seems so simple, I could probably make it in three lines, so I would be surprised if there isnt one....
View 4 Replies
Dec 29, 2009
I have created a Crystal Report for my Visual Basic Web Application, developing with Visual Studio 2008. I have created a DataSet for my web project, giving it all the field names I need to fill in the report. I wrote code that obtains necessary data from a database and fills in an instance of this DataSet, then I push the dataset into the Crystal Report and display it. It displays fine, and the data is in place as expected. However, when I click on the "print" icon on the report page, and answer "yes" to the dialog box that asks me how many pages I want to print, it displays a page saying "The report you requested requires more information" and displaying four text fields, labelled ServerName, Database Name, UserName, and Password. It also displays the name of my dataset, as though it expects me to "log into" my dataset.
View 1 Replies
Feb 4, 2010
I'm trying to determine in vb if a URL is absolute or relative. I'm sure there has to be some library that can do this but I'm not sure which. Basically I need to be able to analyze a string such as 'relative/path' and
View 3 Replies
Jul 8, 2009
I am trying to convert a web application from using hard-coded deployment locations (ie, /base/path/index.aspx) to discovering them at runtime. If I use Response.Redirect(), I can express the path as '~/index.aspx' and, at runtime, ASP.NET will build the correct URL to send the redirect to based on where the web application is deployed.
There are places in the code where Javascript and/or HTML is generated dynamically and sent to the client as part of the response to force a new window. In these cases, I don't know how to get the actual URL that should be opened in the new window. Using ~ doesn't work in this case since the URL is being evaluated by the browser and not the server. Is there a class or method in ASP.NET that will give me the URL I am looking for? I'd look myself, but I don't even know how to properly phrase my question.
View 4 Replies
Mar 1, 2009
I have a book for VB 2005 and I am running VB 2008 and in VB 2005 they have a layout tab where you can turn off Absolute positioning and in VB 2008 there is no layout tab. So my question is how do you turn off absolute positioning in VB 2008?
View 1 Replies
Feb 12, 2012
How can I find the absolute coordinates in pixels of a certain cell?I am developing an Office 2010 addon (the Ribbon UI) and I add a new button to a new menu in the Ribbon and when the button is pressed, I want to get the screen position of that cell. The problem is that [code]only give the position relative to the A1 corner of the spreadsheet, while I want the position relative to 0,0 of the screen.I found this: How to get screen X and Y of an Excel 2003 cell in C# but it's for Office 2003,
View 2 Replies
Apr 3, 2008
How to retrieve the absolute coordinates of an HTML or CSS element from the webbrowser control using Visual Basic? I am using VB 2008 Express Edition. I would like to be able to display the control in my application and then using the HTML Document Object Model (I guess?!) get the X and Y coordinates (top, left, bottom, right) of a DIV or other HTML tag.
View 2 Replies
Apr 5, 2012
I have the following POST request:
[Code]...
Asked here in response to a request at 405 - Method Not Allowed HttpWebRequest
View 1 Replies
Aug 14, 2009
I am currently trying to read out my absolute cursor position on the screen. I read some threads in the "Legacy Visual Basic (VB 4/5/6)" Forums but this is as far as I get:
[Code]...
View 11 Replies