606 Posted Topics
Re: how is this random? > - articles with higher values of 'type' appear first > - then all the articles with 'type=0' should appear at the end > - then all the articles with a low section ID should appear > > you need to pick one or the other, … | |
Re: DateDiff(ss, MoviePayedDate, getdate()) this will return the difference in seconds, which i think is what you need, then convert it to minutes, if you want minutes, use mi instead of ss | |
Re: after insertion do this [code] Response.Redirect("../Prototype/AddConfirm.aspx"); [/code] normally postback will occur to your same page, but postbackurl changes to the other page, thats why your insert doesn't occur | |
Re: Not sure if you are in the US, but if you are, might try craigslist | |
Re: [code] public class Translate { public static void main(String [] args){ String filename = null; if(args != null && args.length() > 0){ filename = args[0]; } } } [/code] | |
Re: here is some pseudo-code for you [code] List<Book> usefulBooks; int cashAvailable = cash; booklist = query books by usefulness descending for(Book book : booklist) { if(cashAvailable - book.getPrice() > 0) { //add the book usefulBooks.add(book); //decrement our cash cashAvailable = cashAvailable - book.getPrice(); } }[/code] | |
Re: advice would be you don't want multiple records with the same value of a for one your database is set to not allow it for two, you need to uniquely identify this record might want to rethink the schema something with a purchaseorder and purchaseorderdetails purchaseorder PURCHASE_ORDER_ID PO_DATE CLIENT_ID purchaseorderdetails … | |
Re: You need to configure it to allow remote connections [url]http://www.linglom.com/2007/08/31/enable-remote-connection-to-sql-server-2005-express/[/url] | |
Re: how many times have you said when using a computer, wouldn't it be easier if..... thats a place to start, make all your would be's happen, you will learn a lot along the way | |
Re: PreparedStatements here's how [url]http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html[/url] | |
Re: you should do this code side, rather than database side 34 = 00034 as far as numeric terms if you want it display that way in a query use leading zeros here's how to do it in sql server [url]http://www.sqlusa.com/bestpractices2005/padleadingzeros/[/url] | |
Re: Have some experience in it. Some of the places you will run into trouble are events, arrays, and derived classes (inheritance) | |
Re: basic concept could be to create a class that holds your values [code] //I would recommend private, with getters and setters, just using this for the concept public class PivotDetails { public string clientName; public string area; public string number; public string salesPerson; public Date salesDate; } [/code] in your … | |
Has anyone noticed sometimes you'll receive an email after someone has posted to a subscribed thread right away, while other times it may take a few hours to receive the email? | |
Re: exactly as you said, they are private, make them protected | |
Re: you either can check permissions in regedit and grant the user, or if you impersonate the local system account that should work as well | |
Re: manipulate the filename before creating the saveFile [code] string newFile = FileUpload1.FileName; newFile = "myfilename_" + newFile; saveFile = Path.Combine(savePath, newFile); [/code] | |
Re: have some great ideas on this, but you must show some effort we will help you, not do the work for you | |
Re: Show us some effort that you can make that you can separate all these elements into a logical design and we can help. We don't do the work for you. | |
Re: LizR you sure you are meaning pinvoke? i do it by invokerequired this example here, is setting a button enabled [code] private delegate void UpdateBtnContinueDelegate(); private void UpdateBtnContinue() { if (this.InvokeRequired) { UpdateBtnContinueDelegate updateCount = new UpdateBtnContinueDelegate(this.UpdateBtnContinue); this.Invoke(updateCount); } else { this.btnContinue.Text = "Continue"; this.btnContinue.Enabled = true; } } [/code] … | |
Re: Agree with timothy, don't let that 2 confuse you, its place is not in an er diagram | |
Re: sure, a mouse driver and video drivers are good examples they aren't removed from memory and stay resident, because they are essential to the operating system's workings a non resident example would be a program you would code and execute, the only time it needs to be in memory is … | |
Re: Briefly looking over it, it looks much better than your first post if you have a specific problem with part of this let us know, but we can't test the entire program for you | |
Re: this is asking for disaster [code] Player temp = new Player(dataFile.nextLine(), dataFile.nextLine(), dataFile.nextFloat(), dataFile.nextFloat(), dataFile.nextInt(), dataFile.nextInt()); [/code] separate that out and find out where its messing up example [code] String str1 = dataFile.nextLine(); String str2 = dataFile.nextLine(); //.... Player temp = new Player(str1, str2, ...); [/code] | |
Re: might want to try a hashtable store the item identifier as the key, and the price as the value then just make a call to hashtable to add they key if not present, or if present update its value you can do the same thing if you needed to store … | |
Re: Might want to take a look at your maxworkerthreads, also who knows about your system and the max load it can handle [url]http://msdn.microsoft.com/en-us/magazine/cc164128.aspx[/url] | |
Re: And you would create this dll just as you would any other by creating a class library. | |
Re: What way are you wanting it to work, and what is it giving you now? | |
Re: lol your guess is correct either its not installed, or you need to add it as a reference or classpath or whatnot | |
i am working on a home project for basically multiple members to share payments, or for one member to pay and the other members pay them back the concept is sort of like if you have a roommate and you pay all the bills, then he would pay half and … | |
Re: Agree with jbennett. A lot of the time when you see intermittent periods where the system will be on then just shut off, means the cpu is overheating. Especially, if you hear everything spin up. | |
Re: Definitely agree with ezzaral. Get your path, then println it, then call delete. Also there are numerous things that could go wrong with file access/permissions. Make sure you either throw the exception or catch it and println it as well | |
Re: I think you are in the right forum, just not a widely distributed topic. This might be of use [url]http://www.ibm.com/developerworks/library/pa-emulation.html[/url] | |
Re: to log in with credentials you can call it by mysql -u username -p | |
Re: Hmmm might not have completed the install properly. Go into services.msc and check and see if your sql server reporting services exists | |
Re: Yes, for future reference it is normally called masking or password masking Here's the link [url]http://java.sun.com/developer/technicalArticles/Security/pwordmask/[/url] | |
Re: I don't necessarily know where to start for a complete OS, but I have made drivers before. You can find a forum, and articles and what not at [url]www.osronline.com[/url] This is a primarily windows site btw, but many drivers at least share a lot of similarities. | |
Re: close, you need to make the loop go outside of all that, also please place code in code tags [code] System.out.println(" Do you want to enter information ?"); String choose = input.nextLine(); while(choose.equals("yes")) { System.out.println(" What is your name ? "); String name = input.nextLine(); System.out.println(" What is your age … | |
Re: you can use a modal popup, show some work and we'll give some further help | |
Re: [code] string sCxn = "server=myServer;Integrated Security=SSPI; database=master"; string insertQuery = "INSERT ...."; SqlConnection myConnection = new SqlConnection(sCxn); try { SqlCommand myCommand = new SqlCommand(insertQuery, myConnection); myConnection.Open(); myCommand.ExecuteNonQuery(); } catch(Exception e) { Console.WriteLine(e.ToString()); } finally { myConnection.Close(); } [/code] | |
Re: i don't have a clear idea of what you are wanting the message_from field has a 3 and it needs to be a 104? | |
Re: its possible the file could have been archived folder propertied -> advanced -> archive also when you are the owner, did you pick to replace permissions on child objects? otherwise you will own the folder, but not the files | |
Re: the problem looks to be this inside of stop_sub [code] commandString = fileScan.next (); [/code] there is no command with it, therfore you are reading "output" inside of the stop_sub section | |
Re: Of course you can call macro's from c# [url]http://support.microsoft.com/kb/306683[/url] That is a word example, you'll just need to use excel automation instead | |
Re: I know they continued into the 90's but how about Tom Petty and Sting | |
Re: also you will crash out past once x hits 10, your table is only of size 10 | |
Re: Here's a codeproject article that describes it [url]http://www.codeproject.com/KB/miscctrl/imapi2.aspx?fid=1134078&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=51&select=2553392[/url] I don't think you will be able to do this using straight C# without interop, but I don't know if you are meaning not to use interop | |
Re: oh boy along with ddanbe, if you need to "change" the value do not modify the loop [code] cout << x << endl; cout << x + 1 << endl; cout << x << endl; // x is the same cout << x++ << endl; //uh oh we incremented cout … |
The End.