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

    controlling "repeat group header" option programatically

    I need to display reports in my asp.net page as one long continuous report. However, when printed, my boss would like the header to repeat. Is there a way to control this feature programatically (vb.net)?
  2. slwolf8

    datagrid sql statement help

    first off, i realize this is kind of an odd request, try and ignore that :). my boss wants me to implement a copy row feature in a datagrid. essentially, i need to gather all the info from the current row and do an insert into the sql database that has all that info. i know that i can grab...
  3. slwolf8

    protecting web.config

    is it possible to protect my web.config from other admins who have access to the IIS machine?
  4. slwolf8

    Loading User control

    I have a user control "header.ascx" that I would like to load into a place holder on some of my webpages. It will be functioning like a header. Can anyone offer me some guidance on how to do this (VB)? I gather that I will need to do something like the following: Dim ctlHeader as Proj.Header...
  5. slwolf8

    Delete Command for datagrid not working

    My delete command for my datagrid isn't working. I am using the following code: Dim strSubCatID As String = dgSubCat.DataKeys(e.Item.ItemIndex).ToString Dim dr As DataRow Dim i As Integer For i = 0 To DsBudget.Tables("SubCat").Rows.Count - 1...
  6. slwolf8

    index out of range error

    I am attempting to write some code to delete a row from a datagrid. My code is throwing the index out of range error right on the first line of code in my deletecommand event: Dim strSubCatID As Int32 = dgSubCat.DataKeys(e.Item.ItemIndex) Dim dr As DataRow Dim...
  7. slwolf8

    datagrid control need the functionality of 2 footers.....

    I have been using my footer as a sort of add new record feature. Today I discovered an article that shows you how to display a "total" field in the footer. Any ideas on how I could do both of these? My add new record feature works a little different than usual. There is an "add" button...
  8. slwolf8

    Dropdownlist in a datagrid - error

    I am trying to add a dropdownlist to a datagrid. I am using code that I got from the learnvisualstudio.net videos. I am getting the following error when I click the edit linkbutton: Object reference not set to an instance of an object. It points to...
  9. slwolf8

    Datareader for report?

    Is it possible to attach a datareader to a crystal report? I successfully attached a report to a dataset but can't figure this one out. Here is the code I tried (vb.net): Dim SqlConn As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("SqlConn")) Dim cmd1x1x61 As...
  10. slwolf8

    Dataset relationships

    I have 2 tables in a dataset. Vendors (vendorid, vendor) and Invoices (InvoiceID, InvoiceNo, VendorID). I created a relationship making vendors the parent table and invoices the child table (with vendorid the primary key in vendors and the foreign key in invoices). If I preview data on the...
  11. slwolf8

    Dataset for whole project?

    I want to load 5 tables into a dataset using the fillschema method on 5 data adapters. I want to use fillschema so that I can have all necessary tables in the dataset with relationships. I need multiple tables in there so that I can create dataviews to attach to the dataset (using data from...
  12. slwolf8

    Include values with no associated records?

    I have created a budgeting database for my boss. I have one table with purchasing information in it (invoice no, vendor, amt paid, etc) and in another table I have a list of categories (hardware, software, etc) and the alocated budget amount for that category. Some of the categories do not...
  13. slwolf8

    Difficult Registry Question

    I was just looking at the FAQ article on getting values from any location in the registry (using an API call). I need to adapt the code to check for the existence of a key in a specified location rather than the getting the value of a key. Specifically, I wish to check...
  14. slwolf8

    VBA - is it ok to read values from the registry?

    I would like to have my Word XP macro grab a value from the registry in order to determine if a certain network printer here at work is installed on their machine. Does reading registry values in VBA cause any sort of corruption? I had previously written a macro for use here at work that wrote...
  15. slwolf8

    Word XP - speedy code execution...

    I am trying to make the code in my macro as efficient as possible so that my macro will not take as long to run. Are there any general VBA guidelines for Word that you can suggest? A general overview of my macro is that the user inputs information into a userform and when completed, the user...
  16. slwolf8

    outlook macro - insert accented character?

    i am trying to write a macro in outlook that will insert an "e" with an accent. I tried to do it this way: Dim strE As String strE = Chr(233) Selection.typetext Text = (strE) i'm getting an error "object required" on the second line. I usually write macros in Word so Outlook macros are a...
  17. slwolf8

    Auto Macros

    I have heard of auto macros that you can use in VBA (AutoExec, AutoOpen, AutoNew, AutoClose, AutoExit). A consultant was hired to create a macro at my work. She wrote a procedure of Sub Auto(). What does Auto do when it is used by itself mean?
  18. slwolf8

    Collections in VBA

    I want to control the visibility of certain frames on a form (Word XP). I would like to create a collection of the affected frames. I know I have to create a variable and declare it as a collection and that I use the add method to add things to the collection. How can I add the frames to the...
  19. slwolf8

    My code is changing the default printer when it shouldn't be!

    This is a very obscure problem but I am hoping someone can help. I have the following module in a Word XP global template that is located in the startup folder of everyone's machine here at my work. My code checks to see if a printer is installed (called "DPFPrint") on a user's...
  20. slwolf8

    Can anyone confirm that it isn't possible in Word to...

    Can anyone confirm that it isn't possible in Word XP to control the enabled property (through code) of a single tabbed page in a multipage control? I have referenced a thread below where we tried to figure this out. It doesn't seem to be possible. thread707-769607

Part and Inventory Search

Back
Top