2,071 Posted Topics
Re: So for starters, make sure the spelling of your filenames are all correct. I mean, you're going back and forth between "lgoin" and "login". That's bound to lead to confusion. I just made a brand new ASPX page and the first line looked like this: [code]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" … | |
Re: Dude that's kind of insulting. That is straight up a homework assignment. I hate to sound rude, but please. You could Google the answers for this stuff. :( | |
Re: [QUOTE=spycee]I have done the same but I'm having problems with Access not working as its saying I'm out of Memory. All the other office programs run under XP Pro, but not Access and I don't no why?[/QUOTE] More than likely because of some security configuration. Database programs are usually pretty … | |
Re: Would it perhaps be possible to modify your SQL query to do the work for you? You could do the initial query, then do a UNION ALL using the query that does the calculations. That way, you would have one single result set, and the last row should be the … | |
Re: Unfortunately, you can't do that. IE 7 was set up so it HAS to prompt the user to confirm file downloads. .. | |
Re: [QUOTE=_r0ckbaer]Or just put that code into a try/catch block and output the error message or a custom message[/QUOTE] That's what I would do. If you're converting a [b]string[/b] to a number type, the Convert.ToInt32() method (or any of the other methods in the Convert class) will throw an exception if … | |
Re: Are you sure that the Cells directly contain the values in them, and they're not contained in a label within the Cell? | |
Re: Also, Visual Studio has Deployment project, too. MSDN has some excellent documentation that will allow you to build a pretty decent Setup.exe program. | |
Re: Well... you're still within the .NET framework if you take this approach-- you're just customizing the HTML you're putting on the page. That's a pretty standard thing to do... | |
Re: did you check out this article? [url]http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.getnextcontrol.aspx[/url] It looks like it should return a control, but I don't see what is supposed to happen when you've iterated through all the controls... This Method isn't very well documented... | |
Re: [QUOTE=tayspen]Or try system restore in recovery console. [url]http://toughadmin.com/article.php?article=System[/url] -T[/QUOTE] This [i]might[/i] work, but I'd advise against it. It's more trouble than it's worth, really. Having been in a position to see System Restores do nothing for you on a nearly daily basis, I'm of the same mind as Christian (kc0arf). … | |
Re: For one thing, your link appears to be bogged down, or just plain down. Secondly, we give homework help for those who show effort. Why not post the assignment here, post what you've done, and what you're stuck on. That's the only way you'll get help from us here. | |
Re: [QUOTE=Catweazle] XP Home will NOT speed things up. It's the same OS as XP Home, but with some extra features added.[/QUOTE] This statement brought to you by the Department of Redundancy Department. ;) Mean to say XP [b]Pro[/b] won't be any faster than Home, perhaps? | |
Re: [QUOTE=kurraphani;488787]how to create a calender control by using a imahe button in the html control by using java script[/QUOTE] How to create a new thread for a question that is unrelated to the question the original poster is asking. | |
Re: if you run a debugger on your code, what does the actual sqlcmd's CommandText look like when you run the code? That might give us a clue on what's happening. | |
Re: You can put the controls you need in the footer row of your table: [url]http://aspnet.4guysfromrolla.com/articles/021203-1.aspx[/url] | |
Re: I haven't dug into it much, but I would think the page might be a binary executable. Have you dug through the directories where the SharePoint is deployed, to see if you can find the code for that webpart? | |
Re: I haven't had a problem with them, personally. Are you running any firewall software? | |
Re: [QUOTE=zach_boyce]Even if AMD is hot Intel is too have you ever heard of a heatsink or a fan? :cheesy: :twisted:[/QUOTE] W0W DOOD! OMG U R S000000zero RITE! Come on, man, let's be reasonable here. We've at least gotten past saying that current AMD/Intel systems suck because their 7-8 year old … | |
Re: I'm not really sure if I understand your question... If you write a Sub to add/modify an ArrayList to the SessionState, it should save it. You [b]must[/b] postback to get the correct values saved to session state. If you just use a hyperlink, for instance, to go to another page, … | |
Re: if those are the only codes that you'll be using, couldn't you just use string concatenation on it? Ie, if you had one that was "alt LaF" would could just input that in as a string. From that standpoint, when you updated it, you would have to make sure that … | |
Re: Alternatively, you could create a templateField for the fields you want to validate, and use an ASP.NET validator control in that templateField. I've had that work without issue... It does require knowledge of templateFields. Fortunately MSDN has good documentation on them: [url]http://www.asp.net/learn/data-access/tutorial-12-cs.aspx[/url] | |
Re: What if it converted floats over to ints automatically? What would it do with the fractions? scru makes an excellent point. When you're working with a type-safe language, one of the key points is that the compiler is going to be VERY picky about making sure types match up. Personally, … | |
Re: what cards are doing who for which server now? Why didn't you purchase the hardware with the server, whatever it is? I'm confuserated... | |
Re: I agree with both bits of advice. I would just like to add that you can download Visual Web Developer from Microsoft for free. If you're just looking to make simple changes in a WYSIWYG type fashion, it should fit the bill. | |
Re: Personally I can't stand any Step By Step book that MS puts out. However, I do like the "Programming ASP.NET 2.0" book from Microsoft Press, and I agree with waterfall-- WROX books ROCK. Professional ASP.NET 2.0 is OUTSTANDING, in my opinion. Both books contain information in VB and C#, and … | |
Re: Have you checked the tutorials on this very site? This subject has been covered before in depth, and one need only browse the tutorials to find the information. | |
Re: Yeah... the Visual Studio designer is nice... sometimes. I've had it do all kinds of crazy things, like make new EventHandlers when there's nothing at all wrong with the one you already built. It's just one of the quirks I've come to live with... | |
Re: He just pasted it right here! Can you not simply copy it and paste from this forum? | |
Re: Did they not teach you how to do this in class? I find it odd that an instructor would give you such an assignment, but not provide some initial instruction on how to do so. | |
Re: This is a little more involved than you might think. Basically, what you have to do is write all the HTML markup yourself through your code. There are a bunch of free "RichTextBox" editor controls out there you can use that employ JavaScript or even just plain Java to return … | |
Re: Why do this in ASP.NET at all? You could do this in JavaScript entirely. Are you eventually going to take the value generated from the calculator and use it in some kind of business logic? That's the only time you'd need to employ the server-side stuff like ASP.NET What code … | |
Re: This looks kind of like a homework assignment. Did you even check to see what errors were thrown when you attempted to build? These errors are so easy that they should have jumped right out at you. | |
Re: What do you have so far? How much do you know about the underlying DataRowView model to a GridView? [url]http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdeleting.aspx[/url] The trick is when the event triggers, it will return a DataRowView that you can pull data from. You just have to figure out the column you want. This page … | |
Re: Can you please modify your post to include code tags? Additionally, I am not entirely sure if I understand what the code is *supposed* to be doing, versus what it *is* doing. Also, there is a WHOLE lot of whitespace in your code. I don't know if the forum did … | |
Re: Does that say what line of code that's happening on? I can see that you probably just need to instantiate the HyperLink just once: [code] Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then Dim hLink As String = DataBinder.Eval(e.Row.DataItem, "STATUS").ToString() Dim … | |
Re: on question number one, you could just pipe the output of the command to the [b]lpd[/b] daemon, or whatever program you use: [b]perl AAA.pl | lpd[/b] on question two, you could use the system() function, I do believe. I'm not a Perl programmer (I only play one on TV!), but … | |
Re: Why not store all the usernames in an array to begin with, then bind that Listbox to the array as a datasource? Then you already have a data structure there to work with. Or alternatively, the ListBox should have an Items property that you can iterate through, pretty much just … | |
Re: yep. I think that you're right there. I'm pretty sure the data tools in the IDE are removed from the Express Edition... But hey on the bright side-- at least you're getting really familiar with those controls, right? ;) | |
Hey all, Some of you may remember me from a few years ago. I just wanted to re-debut myself, what with how much the site has changed since I left. Anyways, I'm Alex, formerly known as The Cookie Moderator. I'll probably be around quite a bit in the ASP.NET and … | |
Re: you might want to check out these two links: [url]http://msdn2.microsoft.com/en-us/library/ykdxa0bc(VS.80).aspx[/url] [url]http://msdn2.microsoft.com/en-us/library/t4a23xx4(VS.80).aspx[/url] I think a combination of adding logic in your program to do the same constraint validation, as well as handling the exception when the underlying DB raises it will produce the result you require. | |
Re: Novell is the bomb. Everytime I hear someone say, "Novell sucks", I cringe. Most likely, they've never touched it-- they probably only know it's some relic from the past. From a directory services standpoint, you can't beat it. For stability, it runs like a champ. Even with the Release of … | |
Re: I don't think you can actually write it back using a DTD-- I think you can only use an XSD file. Once you load the file into a DataSet, it loses the DTD information and stores it in an XSD schema, I think. The WriteXML() method on a dataset does … | |
Re: Why not use a switch statement? Make a variable that can contain the value of your Enum, pass that as a parameter of the method, and then use a switch statement to evaluate the value of that variable in the method... Why would that not work? | |
Re: Unfortunately, no matter what you can do you can't get just a time value from the database. Shaulf's suggestion will work, but that's for a string. Here's a suggestion, though. If you're working with Time, there may end up being a time where you deal with something that happens at … | |
Re: You can't really return more than one value from a single method type, even if you do overloading. But, what you could do is break up your logic some, or use an object that contains a String, a Double, and a Result Code. Have the code return this Result object, … | |
Re: I have to agree here. I think you probably want to set those other threads to execute asynchronously after the form has been instantiated. I'm not [i]that[/i] up on threading, but I know that in order to make a form still responsive, you have to look at running the method … | |
Re: I love dual monitors. I don't program much, and I don't do much graphics editing. But, I do multitask, a LOT. I can have a web page maximized in one screen, and then I can have serveral terminals and other programs in the other screen. If you angle your monitors … | |
Re: Man, this stuff is a load. I used to work in a cemetary, and folks came out at night all the time to take pictures of this junk. Little did most of them know, we polished headstones, or that dust can linger in the air for quite some time. I … |
The End.