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 bkrike 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: Blitz
  • Content: Threads
  • Order by date
  1. Blitz

    Does Field Clipping only work in preview?

    I have a report that when the data is too large it shows #### in preview but when I export it to PDF or view it in my .net program it clips the numbers instead of showing the ####. Is this feature only there for the preview pane?
  2. Blitz

    How to simulate a click in a datagrid

    There is an example here http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q855q that is supposed to simulate a click in the upper lefthand corner of a datagrid in order to make the grid show no current cell. Unfortunatly the example appears to be incomplete because the function "send...
  3. Blitz

    How can I detect a shift + tab vs just a tab in my datagrid?

    here is what i currently have in my derived datagrid that detects when tab is pressed and selects the next control. Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean If msg.WParam.ToInt32() =...
  4. Blitz

    DataSet.HasErrors() - What kind of errors?

    Im wondering what kind of errors "DataSet.HasErrors()" would be detecting? ie why should I include a has errors check in my code. Thanks for any info.
  5. Blitz

    Need help with DocumentBeforeSave

    Private Sub beforesave(ByVal sender As System.Object, ByVal e As Word.????????) Handles wordApp.DocumentBeforeSave End Sub It says the method cannot handle the event because they do not have the same signature, the problem is I dont know what e need to be to be able to handle the event...
  6. Blitz

    Crystal Reports master/detail report?

    I am trying to make a report that shows the information from the parent record then shows all the child record and continues for all records similar to this Entry 1 information Detail information Detail information Detail information Entry 2 information Detail information...
  7. Blitz

    Can i use 2 different fonts on the same button?

    I would like to use a wingding symbol followed by a word in times new roman. Is there any way to do this?
  8. Blitz

    How can I get the return code from a sql stored proceedure?

    I have a stored proceedure that returns 1,2,3 or 4 depending on what happened in the proceedure. How can i get that return code back to vb.net? I only know how to get the number of rows affected, i woudl appreciate any help. This is a little snip of the code i have: cmdParms.Connection =...
  9. Blitz

    Why am i getting this syntax error?

    I have this code in a stored proceedure, the error i get is "Error 156: Incorrect syntax near the keyword 'END'.". Its probably something simple as I dont yet have a firm grasp of SQL. Thanks for any help. BEGIN Select @returnval = 0 BEGIN TRANSACTION AddEditJournalEntry IF...
  10. Blitz

    forms keydown does not fire when datagrid cell is active

    What do i need to do so that when a datagrid cell is active and F8 is pressed it will fire the keydown event of my form? Also why is it that a custom columnstyle (similar to a combobox column) does fire the forms keydown event but a standard textboxcolumn does not?
  11. Blitz

    Datagrid row values not saved to dataset until row changes?

    Is there any way to save a datagrid row without having the current row change? Currently i can change the value of a column of a row in a datagrid, the new value is not reflected in the dataset until the current cell is a different row. I need a method to save the current row which i assume will...
  12. Blitz

    How can i put an arrow on a button?

    I would like to put an arrow on a button (similar to a go to first record button &quot; |< &quot;) i can create this as a bmp and add it but when the color of the button changes the background of the bmp does not change. Is there some other(better) way to add an arrow? If not then is it possible...
  13. Blitz

    how can i make a column in a datagrid not be a tabstop?

    I made an unbound column in my datagrid using the example at http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q787q the problem is that even though it cant be edited or selected the grid still tries to tab to it so that the column before it has to be tabbed out of twice. (the example...
  14. Blitz

    How can i show a child relation in a datagrid

    I have a strongly typed dataset where each row from table 1 has many records in table 2. I have all the fields from table 1 bound to textboxes on my form. How can I have a datagrid on my form only display the records from table 2 that are related to the current row(current position of the...
  15. Blitz

    Why cant I use &quot;$&quot; in a column formated to &quot;$0.00&quot;

    I have a column of my datagrid with the format set to &quot;$0.00&quot; so it displays as currency. The problem is if a user types $1.00 in the column it reverts back to the value it was previously. If they type 1.00 without the &quot;$&quot; then it works fine and will automatically add the...
  16. Blitz

    Is there any way to cancel a panels mousewheel event?

    here is my code Private Sub pnlGlGrid_MouseWheel(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles pnlGlGrid.MouseWheel If Me.blnGlCodeScroll = True Then 'cancel scroll End If End Sub what i want to do is if...
  17. Blitz

    Tab Index problem with custom controls

    Im not sure how to explain this so im gonna describe what ive done and the tab problem that is occouring. First I created a custom control(control1) that has a textbox on it and a label under the textbox. The label is not a tabstop the textbox is. Now if i use this control(control1) on a form...
  18. Blitz

    How can i set the position of the caret in a textbox?

    Currently when i select all the text in a textbox (me.textbox1.selectall ) the caret ends up at the very end of the text. I would like the caret to end up at the beginning of the selected text but i cant find anyway to set the caret position. Thanks for any help.
  19. Blitz

    How can i cancel a mouse click?

    Private Sub TextBox1_MouseDown(ByVal sender As System.Object, ByVal e As MouseEventArgs) Handles TextBox1.MouseDown Select Case e.Button Case MouseButtons.Left Me.TextBox1.SelectAll() End Select End Sub What i would like to do is cancel the...
  20. Blitz

    Down key into datagrid when it does not have focus?

    What i want to do is whenever the downarrow is pressed, whether the datagrid has focus or not, the datagrid reacts as if the downarrow was pressed while it has focus. How would i go about doing this? I know how to use the forms keydown to react to the downarrow but i dont know how to then pass...

Part and Inventory Search

Back
Top