Forum: ASP.NET Jan 7th, 2009 |
| Replies: 1 Views: 543 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: 841 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,118 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,480 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: 387 what problems are you having? |
Forum: C# Jan 3rd, 2009 |
| Replies: 5 Views: 695 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: 794 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: 412 Absolutely. If you can give the sky to your customers, then go for it :) |
Forum: C# Jan 3rd, 2009 |
| Replies: 15 Views: 794 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: 996 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: 695 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: 822 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: 376 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,381 These people end up getting jobs too. How scary... |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 1 Views: 394 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,247 create your Excel and simply stream it through the browser as a download. |
Forum: C++ Jan 2nd, 2009 |
| Replies: 6 Views: 380 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: 376 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: 529 use char arrays instead of char pointers. |
Forum: ASP.NET Jan 2nd, 2009 |
| Replies: 4 Views: 777 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,829 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: 777 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: 523 Have you considered using triggers? |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 2 Views: 705 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: 714 Check this out:
This may be a security limitation in IE. |
Forum: ASP.NET Dec 29th, 2008 |
| Replies: 5 Views: 1,446 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,083 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,083 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: 344 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: 383 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,083 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: 966 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: 966 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: 966 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,979 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: 725 Use System.Data.Common.DbCommand instead. |
Forum: ASP.NET Dec 25th, 2008 |
| Replies: 2 Views: 456 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: 591 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,456 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,112 '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... |