606 Posted Topics

Member Avatar for mattpointblank

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, …

Member Avatar for mattpointblank
0
86
Member Avatar for moiseszaragoza

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

Member Avatar for dickersonka
0
132
Member Avatar for doel.jangkrik

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

Member Avatar for ravindransrm
0
118
Member Avatar for Jugortha
Member Avatar for dickersonka
0
75
Member Avatar for vladdy191

[code] public class Translate { public static void main(String [] args){ String filename = null; if(args != null && args.length() > 0){ filename = args[0]; } } } [/code]

Member Avatar for javaAddict
0
85
Member Avatar for soultrav

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]

Member Avatar for dickersonka
0
102
Member Avatar for phuynh77

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 …

Member Avatar for phuynh77
0
3K
Member Avatar for konczuras

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]

Member Avatar for konczuras
0
116
Member Avatar for ThomasBF

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

Member Avatar for ThomasBF
0
192
Member Avatar for jsully1

PreparedStatements here's how [url]http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html[/url]

Member Avatar for jsully1
0
105
Member Avatar for smile4evr

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]

Member Avatar for smile4evr
0
76
Member Avatar for ukTutor

Have some experience in it. Some of the places you will run into trouble are events, arrays, and derived classes (inheritance)

Member Avatar for Jugortha
0
142
Member Avatar for angelus1965

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 …

Member Avatar for angelus1965
0
111
Member Avatar for dickersonka

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?

Member Avatar for jbennet
0
119
Member Avatar for apeaser
Member Avatar for chanda gul

you either can check permissions in regedit and grant the user, or if you impersonate the local system account that should work as well

Member Avatar for dickersonka
0
85
Member Avatar for bharatshivram

manipulate the filename before creating the saveFile [code] string newFile = FileUpload1.FileName; newFile = "myfilename_" + newFile; saveFile = Path.Combine(savePath, newFile); [/code]

Member Avatar for reach_yousuf
0
104
Member Avatar for caniballism

have some great ideas on this, but you must show some effort we will help you, not do the work for you

Member Avatar for caniballism
0
105
Member Avatar for veledrom
Member Avatar for Microaa

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.

Member Avatar for Microaa
0
104
Member Avatar for Umair.P

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] …

Member Avatar for Jugortha
0
113
Member Avatar for ryoichi

Agree with timothy, don't let that 2 confuse you, its place is not in an er diagram

Member Avatar for dickersonka
0
105
Member Avatar for Setune

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 …

Member Avatar for Setune
0
71
Member Avatar for bahr_alhalak

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

Member Avatar for dickersonka
0
115
Member Avatar for dmanw100

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]

Member Avatar for BestJewSinceJC
0
121
Member Avatar for Teapot

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 …

Member Avatar for dickersonka
0
87
Member Avatar for repl

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]

Member Avatar for dickersonka
0
62
Member Avatar for preethi_ga

And you would create this dll just as you would any other by creating a class library.

Member Avatar for greeny_1984
-1
97
Member Avatar for EddySR
Member Avatar for EddySR
0
138
Member Avatar for fireballnelson

lol your guess is correct either its not installed, or you need to add it as a reference or classpath or whatnot

Member Avatar for fireballnelson
0
3K
Member Avatar for dickersonka

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 …

Member Avatar for dickersonka
0
1K
Member Avatar for andmf

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.

Member Avatar for jbennet
0
77
Member Avatar for mrjoli021

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

Member Avatar for Ezzaral
0
235
Member Avatar for nabilchampion

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]

Member Avatar for dickersonka
0
301
Member Avatar for kiranpvsr

to log in with credentials you can call it by mysql -u username -p

Member Avatar for dickersonka
0
69
Member Avatar for Robins Antony

Hmmm might not have completed the install properly. Go into services.msc and check and see if your sql server reporting services exists

Member Avatar for dickersonka
0
137
Member Avatar for JavaNewbieEK

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]

Member Avatar for stultuske
0
477
Member Avatar for Hazer

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.

Member Avatar for zhouxuzhu1985
0
180
Member Avatar for carlcarman

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 …

Member Avatar for ~s.o.s~
0
102
Member Avatar for kapil.tandon
Member Avatar for MsWang

[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]

Member Avatar for dickersonka
0
214
Member Avatar for grr

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?

Member Avatar for dickersonka
0
83
Member Avatar for CoolGamer48

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

Member Avatar for dickersonka
0
152
Member Avatar for dimples09

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

Member Avatar for dickersonka
-1
103
Member Avatar for carlos_lopez_m

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

Member Avatar for carlos_lopez_m
0
146
Member Avatar for eightiesbaby80

I know they continued into the 90's but how about Tom Petty and Sting

Member Avatar for dickersonka
0
296
Member Avatar for afg_91320

also you will crash out past once x hits 10, your table is only of size 10

Member Avatar for dickersonka
0
88
Member Avatar for chris5126
Member Avatar for Robin_Dragon

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

Member Avatar for dickersonka
0
105
Member Avatar for SQ89

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 …

Member Avatar for ddanbe
0
155

The End.