1,443 Posted Topics
Re: Does it produce .class files somewhere? | |
Re: Are you asking the program if Any of the elements of the list is "Pre-Commissioning"? ...or something else? | |
Re: I don't know why you'd do this, but here is a method to read an entire WSDL document into a string: [CODE] using System.IO; using System.Net; namespace GetWsdlAsString { class CGetWsdlAsString { static void Main(string[] args) { WebClient wc = new WebClient(); StreamReader fileIn = new StreamReader( wc.OpenRead("http://presentedbymiller.com/smsservice.asmx?WSDL")); string strWsdlData … | |
Re: If Cell C1 contains the formula `=VLOOKUP($A3,$B$1:$B$6,1,FALSE)` then the result in Cell C1 will be "#N/A" You can then choose to filter on the "#N/A" values or you can use IsError() to convert them to user-friendly values: `=IF(ISERROR(VLOOKUP($A1,$B$1:$B$6,1,FALSE)), $A1, "")` ... `=IF(ISERROR(VLOOKUP($A2,$B$1:$B$6,1,FALSE)), $A2, "")` ... Which means: if the result … | |
Re: Yes. System.String has a method called Contains() where you can supply the substring and it will return a bool telling you if the original source string Contains the substring. | |
| |
Re: Maybe you could store the articles as files, but keep track of their location, date, title and other searchable items in the database. ...but that depends on how the articles are to be searched and how long you will keep them. | |
Re: 0) Is this something specific or do you need just an example? 1) When you say "save", is it OK to overwrite the content in the database or just add to it? 2) If this is for a specific table, what are the columns of the table? 3) When you … | |
Re: It seems there shoud be one more return at the bottom OR the function needs to be rewritten. Some of this could depend on what happens inside the call to declaration(). Is it also recursive? If you first change line 16 (and below) to just " return declaration(); ", you … | |
Re: If you can wrapper the DLL in an MFC enabled app, you can then flip the /clr switch. THEN you can call the methods from any dot net app. | |
Re: See if you can get involved with a coding project with others. The activity will help determine your interest in coding and give you some direction. | |
Re: Why are you resetting i to 0? | |
Re: A try/catch block would only help if there is a unique index on the table that prevents duplicates. A different solution is to first test to are if the record exists before insertion. | |
Re: My first suspicion was that at some point, the key would not be found (in the dictionary). When the struct is placed in the dictionary, it is "new"ed and copied. Then the key is changed, so it won't be found. | |
| |
Re: I've never tried it, but I saw [URL="http://www.mathworks.com/matlabcentral/fileexchange/12987-integrating-matlab-with-c"]this[/URL]. | |
Re: The nature of WCF will allow the service to send and receive messages. If the services are to talk to each other, you will need to create them almost at the same time, so you can bind to #1 from #2, then create the methods in #2 that #1 will … | |
Re: The first thing you should contemplate is how your programming language will be different from or better than any existing language. ...and how committed to it you will be. | |
Re: If you have a good book and want to start with ADO connections, there are many other resources you can find even on YouTube: [url]http://www.youtube.com/watch?v=OJfYSZzZOP8&playnext=1&list=PL9BB41F611F699292[/url] You can also just guess at a lot of this since you have some experience in PHP. There is also an ADO video (but in … | |
Re: That's not really enough information, so I must assume some things. You can choose your three columns and concatenate them as a string into a List<string> then call .Distinct() on the list. //Linq namespace required. | |
Re: You might be looking for something like this: [CODE] import sys intLoop=0 while intLoop < 100000: sys.stdout.write("%07d\b\b\b\b\b\b\b" % intLoop) intLoop += 1 [/CODE] | |
Re: You're only supposed to have two columns, right? | |
Re: Have you started, yet? Do you still need this? | |
Re: When you say "save a file", do you mean a file that has been uploaded to the web page? Are you using a file upload control? If so, you call SaveAs() to store the uploaded file in a particular location, FileUpload fu = new FileUpload(); //... fu.SaveAs(strTempFileName); | |
Re: There are many options. Here is one involving JSP: 1) If you already know JSP a) get some server space on a site that lets you write JSP and create it there 2) If you do not know JSP: a) Learn JSP b) follow step 1a Unfortunately, if we don't … | |
Re: It all depends on what you can live with and what agreement you can make. I am a lone-coder, so I can use whatever suits me. In a team situation, I guess I would do whatever the senior developer wanted (if I will not be the code owner). I use … | |
Re: Anything you do will depend on what you already know. Do you know how to store strings in a database table and how to retrieve them? | |
Re: Why don't you: 1) make something that is a straight, plain list of the rankings of the outcomes (like an enum, a list or another array). 2) make a function that evaluates a single hand that gives you the value or name of its particular outcome. 3) compare player1's outcome … | |
Re: The output would be best served sorted (not the actual object). Here is a sample that shows a sample Hashtable sorted by the value and by the key. I created it from a Dictionary because it is easier. Hashtable hashNames = new Hashtable(new Dictionary<string, string> { {"Andy", "Zuckerman"}, {"Zoey", "Anderson"}, … | |
Re: Aren't you supposed to be adding '0' or '1' to result instead of remainder.ToString()? | |
Re: Would these not be better served as custom objects instead of arrays? | |
Re: It would be arrayOfLetters+0 for the first char and arrayOfLetters+1 for the second (and so on...). Why are you coding this through C? It might be easier if you downloaded a compiler like [A86](http://eji.com/a86/) available as shareware. | |
Re: I would suggest the windows scheduler or a windows service. This kind of thing is also perfect for malware. If this is purely for an upgrade, it might be best to have the program check to see if it has passed a certain date (when it starts). If so, it … | |
Re: Have you ever used WCF or Sockets? If you are just trying to make one program send and receive data from another program, you should search for the phrase [WCF example ](http://www.bing.com/search?q=c%23+wcf+example&qs=AS&form=QBLH&pq=c%23+wcf+ex&sc=7-9&sp=1&sk=) or [Socket example](http://www.bing.com/search?q=c%23+socket+example&qs=AS&form=QBLH&pq=c%23+socket+ex&sc=8-12&sp=1&sk=). | |
Re: Will the header be used by more than one .cpp module? If so, will that cause problems with the log file presence? Will more than one programmer need to use your header? | |
Re: [This is the book](http://www.wrox.com/WileyCDA/WroxTitle/Professional-ASP-NET-3-5-In-C-and-VB.productCd-0470187573.html) I use. | |
Re: Are you still wanting to build this? Do you know anything about WCF, Web Services or Sockets? | |
Re: Can you tell the exception type? Is there any spot in the code that intentionally throws its own exceptions. Maybe the code is throwing a false exception causing the message to be empty. | |
Re: Which version of ASM? Do you have an example? | |
Re: Are you saying you want to: 1) show each of the generated numbers in the text box or 2) show each TOTAL in the text box? | |
Re: I would suggest a small project in each. You will learn a tremendous amount examining the differences. | |
Re: Usuall, the redistributable package only needs to be downloaded once per machine. Are you creating managed or unmanaged DLLs? | |
Re: While in the IDE, you can also select File->SaveAs and a dialog box will appear in the location of your files. Of course, you don't actually need to save the file (just see the location). | |
Re: Any time I hear pattern matching, I think [Regex](http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx). | |
Re: Have you tried putting all of your connection items and actions before you do the parameters? | |
Re: That's a lot to cover in a post. You'd be better off doing a [web search for those topics](http://www.bing.com/search?q=c%23+winforms+datagridview+database&qs=n&form=QBLH&pc=BNHP&pq=c%23+winforms+datagridview+database&sc=0-25&sp=-1&sk=) | |
Re: You might also need to set permnissions when opening your subkey. .OpenSubKey(strProgramName, RegistryKeyPermissionCheck.ReadWriteSubTree) | |
Re: That will depend on the initial value of Principal and the rest of the code. |
The End.