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 Wanet Telecoms Ltd 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: *

  1. stillinlife101

    Automatically Assigning a Primary Key to a New Record from C#

    I have a form that was more or less automatically generated by C# Express 2005 by dragging the "details" view of a SQL table onto a form. I have a bunch of textboxes connected to a dataset and the corresponding toolbar. I don't want the user to play around with the primary key, so I have the...
  2. stillinlife101

    Files protected for no reason

    I get the error: "The process cannot access the file 'cust.001' because it is being used by another process." When I run the following code: DirectoryInfo di = new DirectoryInfo(Path + "\\customers\\"); FileInfo[] fi = di.GetFiles("cust.*"); int[] b; foreach (FileInfo f in fi) f.Delete()...
  3. stillinlife101

    File manipulation locks files

    const string Dellstring = "MarkedForDeletion"; private void RefreshFiles(string Path, Customer[] Cust) { DirectoryInfo di = new DirectoryInfo(Path); FileInfo[] fi = di.GetFiles("cust"); DObject doFilenames = new DObject(); foreach (FileInfo f in fi) if (new...
  4. stillinlife101

    Multiple drop-down options with total

    I would like to put a page on my website wherein there are many drop-down boxes with options in them. These options would have different prices associated with them, and there would be a total at the bottom. It would look basically like any custom-computer screen. Radio-buttons would also be...
  5. stillinlife101

    Converting to PDF

    I have a web page that I need to print as a brochure. The problem is that when I convert it to a PDF (via CutePDF), the file either isn't complete if background images are turned off, or it's too complex to open if they're turned on. However, the web page itself will print just fine... with...
  6. stillinlife101

    HOW TO: Generate Summary

    Worksheet A Columns: Quantity, Part #, Description Line 1, Description Line 2, Unit Price, Total Price The "part #" column is already filled in with part numbers, and the unit price already has the prices. The total price calculates itself as Quantity * Unit Price. The quantities are all set...
  7. stillinlife101

    Excel Auto-Form

    I currently have an excel spreadsheet with one page on which you enter information, and another page that is a quote-form and fills itself in based on the information from the first page. I also have a number of other pages in the workbook with products, costs, prices, and descriptions. What I...
  8. stillinlife101

    Refer to row as variable in Excel

    How might I refer to the row in which a cell is? If I want to reference the F column in row 43 from C43, how could I use the fact that C is in row 43 to get F43? The application would be equations that could be reused in inventory-type spreadsheets. Thanks, Dan
  9. stillinlife101

    Automatically calculate subtotals in Excel

    I'm sure this has been asked before, but I couldn't find the post. I was the have three columns (Item#, Price, Quantity) inputted and then have the fourth column automatically multiply price by quanity to get a subtotal. Then I'll be able to easily add all the subtotals. Is there any way to...
  10. stillinlife101

    Help w/ Namespaces/Classes

    I want to write a series of namespaces and classes that look something like this: namespace a { class a { public int DoSomething() { } } namespace b { class b:a { public int DoSomethingAlso() { } } } } and then be able to declare something...
  11. stillinlife101

    Starting w/ DirectX

    I'd like to do some stuff with DirectX in C#. I have Microsoft Visual Studio 2003; how do I reference DirectX or whatever I have to do to use it? After I know that I can just find a tutorial and fiddle around, but if you know a good tutorial a link would be appreciated. Dan
  12. stillinlife101

    "with" equivalent in C#

    In VB the keyword "With" is used as such: with TextBox1 .Text = "hi" or something like that (it's been a while). Is there an equivalent in c#? Dan
  13. stillinlife101

    Calling form functions from Class

    I have the function public void FormLine(Point pt1, Point pt2) {} that is declared in my main form. I want to call the function (i.e. in another class type frmMain.FormLine(params)) from another class, but it doesn't show up. How do I access those functions without making another instance of...

Part and Inventory Search

Back
Top