1,443 Posted Topics

Member Avatar for daksh1998
Member Avatar for pepyrs
Member Avatar for sankit
0
315
Member Avatar for ambar_bs

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 …

Member Avatar for pitic
0
189
Member Avatar for masterjiraya

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 …

Member Avatar for masterjiraya
0
222
Member Avatar for sumitrapaul123

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.

Member Avatar for xerohomicide
0
158
Member Avatar for AquaNut
Member Avatar for athulram

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.

Member Avatar for runde.bustamante
0
194
Member Avatar for glad024

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 …

Member Avatar for ChrisHunter
0
396
Member Avatar for engy.adel90

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 …

Member Avatar for Ketsuekiame
0
143
Member Avatar for Chase.Dangerfield

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.

Member Avatar for happyHacker
0
792
Member Avatar for Stein102

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.

Member Avatar for Stein102
0
105
Member Avatar for raphael1
Member Avatar for Woodenhousen

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.

Member Avatar for sohaiby
0
1K
Member Avatar for Momerath

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.

Member Avatar for f.khansaheb
3
149
Member Avatar for mani508
Member Avatar for shalshal

I've never tried it, but I saw [URL="http://www.mathworks.com/matlabcentral/fileexchange/12987-integrating-matlab-with-c"]this[/URL].

Member Avatar for nikita singh
0
118
Member Avatar for c#_fem

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 …

Member Avatar for Randlathor05
0
178
Member Avatar for eoop.org

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.

Member Avatar for Randlathor05
0
172
Member Avatar for Dylxy

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 …

Member Avatar for king03
0
244
Member Avatar for mitesh.24jain

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.

Member Avatar for mitesh.24jain
0
214
Member Avatar for mahela007

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]

Member Avatar for Lucaci Andrew
0
11K
Member Avatar for codechrysalis
Member Avatar for king03
Member Avatar for c#_fem

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);

Member Avatar for thines01
0
182
Member Avatar for james chaco

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 …

Member Avatar for godzab
0
242
Member Avatar for jaskij

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 …

Member Avatar for two[ ][ ]
0
176
Member Avatar for zemzela

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?

Member Avatar for thines01
0
66
Member Avatar for erikdeboy

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 …

Member Avatar for thines01
0
703
Member Avatar for bhagawatshinde

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

Member Avatar for bhagawatshinde
0
3K
Member Avatar for geeerald1131

Aren't you supposed to be adding '0' or '1' to result instead of remainder.ToString()?

Member Avatar for Mitja Bonca
0
202
Member Avatar for spowel4
Member Avatar for Mitja Bonca
0
1K
Member Avatar for mercenary16

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.

Member Avatar for sbesch
0
403
Member Avatar for dimitrije17

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 …

Member Avatar for dimitrije17
0
253
Member Avatar for Dadkhah

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=).

Member Avatar for skatamatic
0
180
Member Avatar for BigEEter

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?

Member Avatar for BigEEter
0
394
Member Avatar for GTTravis

[This is the book](http://www.wrox.com/WileyCDA/WroxTitle/Professional-ASP-NET-3-5-In-C-and-VB.productCd-0470187573.html) I use.

Member Avatar for thines01
0
141
Member Avatar for zemzela

Are you still wanting to build this? Do you know anything about WCF, Web Services or Sockets?

Member Avatar for thines01
-1
65
Member Avatar for arunkumars

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.

Member Avatar for thines01
0
122
Member Avatar for stephanieirene
Member Avatar for 330xi
Member Avatar for EliStern
Member Avatar for Angel78

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?

Member Avatar for PatSharbaugh
0
1K
Member Avatar for cent91

I would suggest a small project in each. You will learn a tremendous amount examining the differences.

Member Avatar for thines01
0
631
Member Avatar for Suzie999

Usuall, the redistributable package only needs to be downloaded once per machine. Are you creating managed or unmanaged DLLs?

Member Avatar for Suzie999
0
186
Member Avatar for MasterHacker110

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).

Member Avatar for thines01
0
121
Member Avatar for JeffMagoo

Any time I hear pattern matching, I think [Regex](http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx).

Member Avatar for thines01
0
48
Member Avatar for aminevb

Have you tried putting all of your connection items and actions before you do the parameters?

Member Avatar for Begginnerdev
0
92
Member Avatar for vimit

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=)

Member Avatar for faizan11
0
152
Member Avatar for oskole

You might also need to set permnissions when opening your subkey. .OpenSubKey(strProgramName, RegistryKeyPermissionCheck.ReadWriteSubTree)

Member Avatar for thines01
0
90
Member Avatar for GeekTool
Member Avatar for prnjn
0
145

The End.