Forum: ASP.NET Jan 7th, 2009 |
| Replies: 1 Views: 538 That's a good question. I wonder... given that it would run on different sessions how that would affect anything. |
Forum: C++ Jan 5th, 2009 |
| Replies: 11 Views: 836 I have a C++ bible laying around somewhere. Probably around 2000/3000 pages which explain everything you'd ever need to know with great ease and simple examples. I still use it as a reference. If you... |
Forum: C# Jan 5th, 2009 |
| Replies: 8 Views: 1,108 Have you considered creating a web service for this? You could create one in PHP and simply automate these steps in the web service. All you'd have to do in C# is submit any files or any other data... |
Forum: ASP.NET Jan 5th, 2009 |
| Replies: 2 Views: 1,467 The problem is exactly what the error says. The compiler cannot find Microsoft.Web.UI.WebControls in your project. I'm assuming this is the library for IE controls because i don't recognize it as... |
Forum: ASP.NET Jan 3rd, 2009 |
| Replies: 2 Views: 386 what problems are you having? |
Forum: C# Jan 3rd, 2009 |
| Replies: 5 Views: 687 Codding Horror is by far the most interesting blog for software developers :) Full of good info indeed. |
Forum: C# Jan 3rd, 2009 |
| Replies: 15 Views: 791 Have you done any normalization to your database? If so, this may be a way to make your process better structured. Instead of including Fileowner in your File table, create a 1:N (Many) relationship... |
Forum: ASP.NET Jan 3rd, 2009 |
| Replies: 3 Views: 411 Absolutely. If you can give the sky to your customers, then go for it :) |
Forum: C# Jan 3rd, 2009 |
| Replies: 15 Views: 791 That's a weird way you're using to designing an application heh. Here is how i would go about it if it's a fairly small project. First thing you need to do is layout your requirements. Write down... |
Forum: C# Jan 3rd, 2009 |
| Replies: 5 Views: 991 I don't understand your problem. You're trying to make your program 'sleep' without pausing the main thread? That's not really a sleep because sleep would be a blocking call. If what you need is a... |
Forum: C# Jan 2nd, 2009 |
| Replies: 5 Views: 687 It's a problem with the way ViewState is configured on the machine. Have a look at this: http://www.codinghorror.com/blog/archives/000132.html |
Forum: C# Jan 2nd, 2009 |
| Replies: 2 Views: 817 You're going to need a library of some sort to be able to parse a PDF file. Either that, or you'll have to look at the structure of a PDF and try to locate the content you're trying to read. I'd go... |
Forum: C# Jan 2nd, 2009 |
| Replies: 4 Views: 375 Simply put your current thread in sleep mode. Fairly easy to do with 1 line of code.
System.Threading.Thread.Sleep(int milliseconds); |
Forum: C Jan 2nd, 2009 |
| Replies: 10 Views: 3,344 These people end up getting jobs too. How scary... |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 1 Views: 393 What do you mean by 'table tools'? Are you referring to the table control of asp.net framework? |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 6 Views: 1,241 create your Excel and simply stream it through the browser as a download. |
Forum: C++ Jan 2nd, 2009 |
| Replies: 6 Views: 379 Initialize your character pointer.
char *ptr = new char[len + 1];
Note that +1 is used to accommodate for the terminating null.
Make sure you deallocate your pointer too.
And finally read... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 1 Views: 375 See the 'Header Files' group in your Solution Explorer? That's where the header files go. So, drag and drop your RXMatrix.hpp header file into that group. Also, use some sort of standards. Use either... |
Forum: C++ Jan 2nd, 2009 |
| Replies: 2 Views: 525 use char arrays instead of char pointers. |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 4 Views: 767 Alright, that cleans things up a bit. The proper way to do this would be to create a static method GetSessionInstance() to return an instance of ClassName from session cache. This behavior is not... |
Forum: C# Jan 1st, 2009 |
| Replies: 5 Views: 1,811 Draw the cube on a piece of paper. Determine x,y,z for each vertex and write them all down. Then using open GL create your viewing volume and using triangles or another primitive shape map your... |
Forum: ASP.NET Jan 1st, 2009 |
| Replies: 4 Views: 767 Check out 'class factory' design pattern. You might find it useful for this type of problem.
Also, what does GetSessionObject() do? Does it initialize a private instance of that session object in... |
Forum: C# Dec 30th, 2008 |
| Replies: 2 Views: 521 Have you considered using triggers? |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 2 Views: 699 A rule of thumb is, if you have an Access app that does anything beyond simple data entry - use SQL Server, Oracle or something similar.
Here is a couple of things you could do:
1. If both DBs... |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 2 Views: 712 Check this out:
This may be a security limitation in IE. |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 5 Views: 1,436 When you created each user did you approve their account? Make sure each user is in the 'approved' status, otherwise they won't validate. |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 8 Views: 1,073 Open your web.config. Look at the <authentication> tag and check the mode. Is it set to "Forms"? If so, change it to "Windows". This *should* work. Note, however, that anybody running that page will... |
Forum: ASP.NET Dec 28th, 2008 |
| Replies: 8 Views: 1,073 Okay, i just saw a reference to Update Panel in your page code, but your upload control is declared outside of it. Use breakpoints and run your page in debug mode. Set break points inside of the... |
Forum: C# Dec 28th, 2008 |
| Replies: 2 Views: 341 Well, you could create a 2D array to resemble the grid. When someone clicks on the mouse, you could take the mouse pointer (relative to the window not the screen) and convert it to the position in... |
Forum: ASP.NET Dec 28th, 2008 |
| Replies: 2 Views: 380 It converts an integer value in column 0 to a 32 bit integer and adds 1 to it. Then it converts it to a string in order to assign it to a text box. If column 0 doesn't have a value it assigns a 1 to... |
Forum: ASP.NET Dec 28th, 2008 |
| Replies: 8 Views: 1,073 FileUploader control does not work in the upload panel. In other words, it isn't Ajax compatible control. You need to do a regular postback through a trigger. It's a security constraint in the design... |
Forum: C# Dec 28th, 2008 |
| Replies: 14 Views: 963 I'm not even going to argue with you on this. Managed code comes with stability along with an overhead coming out of providing that stability. If you don't believe me, go back and look at your... |
Forum: C# Dec 26th, 2008 |
| Replies: 14 Views: 963 It's designed for a managed platform. That doesn't mean you can't write unmanaged code. You can still write your assembler and use pointers, but that isn't the aim of the .net platform.
As far as... |
Forum: C# Dec 25th, 2008 |
| Replies: 14 Views: 963 C# is the microsoft's version of Java and C++ mix. It's designed for a managed platform. It's more stable, better structured but slower. I think there is managed C++ nowdays, but i've never used it. |
Forum: C# Dec 25th, 2008 |
| Replies: 4 Views: 1,971 When you call BeginAccept() you're passing the master socket to it as the socket that will get the new connection request. You're essentially overwriting your master socket after the first... |
Forum: ASP.NET Dec 25th, 2008 |
| Replies: 1 Views: 716 Use System.Data.Common.DbCommand instead. |
Forum: ASP.NET Dec 25th, 2008 |
| Replies: 2 Views: 455 The easiest way is encapsulate all of the VB6 logic into DLLs and then load it up in the .NET project. The platform will migrate your VB6 code into the .NET platform using its built-in COM... |
Forum: ASP.NET Dec 24th, 2008 |
| Replies: 0 Views: 589 I just spent an hour trying to figure out why i cannot change the CssClass property of <asp:TextBox> Whatever i enter in the property defaults to class = "textbox" when i render the page. What's... |
Forum: IT Professionals' Lounge Jul 14th, 2008 |
| Replies: 12 Views: 2,435 It's the sum of the squares of a number. You do not need the second number. But yeah, the term module doesn't make sense.
nova2177, modular programming, at least in reference to the old VB, refers... |
Forum: IT Professionals' Lounge Jul 14th, 2008 |
| Replies: 22 Views: 2,110 'Nope' is your argument against what i said? Can you be more rude?
What exactly do you not agree with? At high level, all programming languages are similar to each other (not including Brain**** and... |