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...
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()...
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...
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...
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...
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...
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...
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
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...
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.