Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dpdoug
  • Content: Threads
  • Order by date
  1. dpdoug

    Send a web page as an attachment

    Does anyone know how to programatically send a web page as an attachment with an email? I have a report that is dynamically created and populates a webform page. I'd like to have it so that after the user runs the report and likes the results, he/she can click a button or a link and send it as...
  2. dpdoug

    MS Access Reports on the web?

    Is it possible to run MS Access Reports on the web from a web form? that is, without converting it into HTML (which leaves out all the formatting of the report). And I need to be able to pass parameters to the report to run it according to the user's input -- it has to be dynamic, I know this...
  3. dpdoug

    Returning the contents of row when DataGrid is clicked

    I have a DataGrid on a Winform and I need to get the cell contents from a certain row when it is clicked. The only event that I get when I double click the datagrid in design view is DataGrid1_Navigate, which doesn't do what I want, I don't think. So how do I return the cell contents of a...
  4. dpdoug

    TableStyle won't set in DataGrid

    My DataGridTableStyle will absolutely not set the styles whether I set them with the Properties page or in code. Whether I set the TableStyles or not it displays the same way -- all the columns are aligned to the left and they are all the same width -- no matter how or where I set them...
  5. dpdoug

    DataGrid: HeaderText instead of the MappingName

    I am creating a DataGrid in a win form for the first time -- I've done many on a webform, but this is much different. I want to make the headerText different than the column name, but when I test it the headerText always turns out the same as the mapping Name. HeaderText = "PO" MappingName =...
  6. dpdoug

    How do I get the Index of the cell clicked?

    I know that e.Item.Cells(0).Text will return the contents of the first cell in the row of a DataGrid, but my question is what if I don't know what cell they clicked on? If I could get the index of the cell the user clicked on, I could do this: Dim intCellIndexClicked As Integer...
  7. dpdoug

    Sending data through an RS232 port

    I have some code I downloaded written in VB.NET that was written to send data throught the Serial Port (RS232). I have been experimenting with it and it does send data -- 2 characters at a time, no matter how many characters I try to send all at once in a string. So I assume that it can only...
  8. dpdoug

    Communication with RS232 form asp.net?

    I have some code that I downloaded that is for communicating with a RS232 port from a .net windows app. I'm tweeking it and in an attempt to get it to work in my asp.net app. What I've noticed is there is an event called moRS232_CommEvent, which I looks like its a part of System.Windows.Forms...
  9. dpdoug

    Drag and drop functionality

    All I need to do is: In a javascript function I need to select the text in the control on the onclick event. The reason I want to do this is that I can take advantage of the windows defualt drag and drop functionality. The user will left-click and hold down the desired data item which will...
  10. dpdoug

    Get the contents of a given cell in Datagrid

    How do you get the contents of a given cell when it is clicked on? Dim dg As DataGridItem dg = e.Item dg.Attributes.Add("onclick", "getCellData('" & [???] & "')") ...... function getCellData(s){ alert(s) } What do I substitute for the [???] in the example above?
  11. dpdoug

    Getting redirected back to login page

    I've got the login working and some of the other code written and I'm still testing it. I need some help with this since I am a newby at this kind of programming. What it should do next after loggin in is post the PO Number and return the existing line items that correspond to it. But what it...
  12. dpdoug

    The remote server returned an error: (403) Forbidden

    I'm trying to login to a certain site using the HttpWebRequest, but right from the beginning of my code (in testing) I'm getting the following error: The remote server returned an error: (403) Forbidden. Description: An unhandled exception occurred during the execution of the current web...
  13. dpdoug

    Imports Namespace cannot be found

    I have a class file named HttpBaseClass.vb where I define a Namespace: Namespace BaseClassNameSpace.Web.BaseServices .... End Namespace and I want to Import it to a different class file, HttpRequestResponse.vb, wouldn't I declare it like this?: Imports System Imports...
  14. dpdoug

    Mouse click events and the clipboard

    I need to do things in javascript: 1) Capture a left mouse click 2) Store contents of text box in clipboard (on left mouse click) 3) Capture a right mouse click 4) Paste contents of clipboard to a text box (on right mouse click) Is this possible? If so, does anyone have an example of how todo it?
  15. dpdoug

    How to store numbers as text?

    I have a column in Excel that has a mixture of cells that are text and numbers. I want all the values of the cells in the to be stored as text and NOT stored as numbers. In otherwords, I need the cells that contain numbers to have the little green triangle in the upper left corner that says...
  16. dpdoug

    DataSet skips numbers in column

    I have an app that uploads an excel spreadsheet reads it into a dataset and then uploads the dataset to a sql server table. It works perfect except for one thing. One column in the spreadsheet has 'Item Numbers' that are all alphnumeric and numeric mixed. Even though the row is formatted as...
  17. dpdoug

    Procedure has too many arguments

    I have a stored procedure that has an insert query with exactly 14 parameters and exactly 14 fields. (counted them several times) In a function I have exactly 14 Sqlparameters (counted them several times also) with an ExecuteNonQuery method. The parameters and the method are inside a loop...
  18. dpdoug

    Open page in new window thru javascript

    I want to open a page in a new window from javascript. I've tried document.location.href = page But that opens the page in the same window.
  19. dpdoug

    Login Failed for user

    I'm trying to connect to a database on my local machine, but I keep getting the error: Login failed for user 'DEV6\IUSR_DEV6'. This is the connection string I am using: "Data Source=(local);initial catalog=favorites;Trusted_Connection=yes;Integrated Security=SSPI" I have the following...
  20. dpdoug

    Populating a remote web form

    I have Site A with a source of data -- the origin, the site I am building. Site B has a web form for entering data -- the destination, it is not built by me. Site A has a DataGrid with rows of data with fields that correspond to text boxes in the web form in site B. With the web form of site...

Part and Inventory Search

Back
Top