Forum: C# May 2nd, 2008 |
| Replies: 9 Views: 902 I still maintain your initial approach is wrong. Parsing each other's HTML is not how eCommerce applications behave. But if you want to doggedly press on, then your next web search should be "C# HTML... |
Forum: C# May 1st, 2008 |
| Replies: 9 Views: 902 You want to design an application that mimics a human user, fills out an online form, and processes the resultant HTML? Why? That's a bit of a challenge, and not how most eCommerce applications work.... |
Forum: C# May 1st, 2008 |
| Replies: 3 Views: 716 I see, you wish to call a Web Service in your windows application written in C#. What is the web service? Give us the WSDL. |
Forum: C# Apr 30th, 2008 |
| Replies: 3 Views: 716 A Windows application using C# is not the same as an ASP.NET Web Service. I'd start by making sure I had the right development environment and understood the basic structure of a web service. |
Forum: C# Apr 30th, 2008 |
| Replies: 2 Views: 1,189 I'd use a SQL query. I'd also only use code tags when posting code, and I'd use question marks when asking questions. |
Forum: C# Apr 30th, 2008 |
| Replies: 9 Views: 902 Amazon publishes an API. For that example, I'd use the Amazon API in my project.
"Getting information from a web site" is much too general of a question. Web sites are built to be accessed by... |
Forum: C# Apr 30th, 2008 |
| Replies: 2 Views: 1,069 What IDE are you using? If you're using Visual Studio, or one of the Visual Studio Express Web Developer editions, you publish the web service application to a Web Server just as you do a normal... |
Forum: C# Apr 28th, 2008 |
| Replies: 1 Views: 436 Use a SQL stored procedure for the data integrity part of your task. Use an OUT parameter to indicate a successful write, or duplicate. Base your program logic on the OUT parameter. |
Forum: C# Apr 27th, 2008 |
| Replies: 3 Views: 1,010 Your question doesn't make sense in the context of a coding question. What, exactly, do you mean by "bottom of the button"? Do you wish to start the timer in response to the "click" event of a... |
Forum: C# Apr 26th, 2008 |
| Replies: 1 Views: 684 I don't quite "get" that line either, taken out of context. But I can tell you that everything in C# is an object, it's the most fundamental "type". This is roughly equivalent to the "variant" type... |
Forum: C# Apr 25th, 2008 |
| Replies: 7 Views: 3,130 I understand. Regular Expressions are tough and I always resort to trial and error, and use http://www.regular-expressions.info as a good learning resource. RegEx, however, may not be the best... |
Forum: C# Apr 24th, 2008 |
| Replies: 7 Views: 3,130 Please don't make your questions such a puzzle. You mention Regular Expressions in the subject, and "parsing HTML" in the post. You need to "get" certain tags. You need help. There is no question per... |
Forum: C# Apr 24th, 2008 |
| Replies: 6 Views: 2,227 Let us know. Remember to mark the thread solved if this answered your question. |
Forum: C# Apr 24th, 2008 |
| Replies: 4 Views: 991 I haven't downloaded the attached project. Many users who might have time to answer a question on a forum may not have the time to download someone's project, open it, and attempt to decipher all of... |
Forum: C# Apr 24th, 2008 |
| Replies: 6 Views: 2,227 Do your Insert Query, the do a SELECT @@IDENTITY Query immediately afterward. It's best to do both in a stored procedure with the Identity as an OUT parameter.
Try this link:... |
Forum: C# Apr 24th, 2008 |
| Replies: 4 Views: 991 Your question simply isn't specific enough. What are you printing? How? From what application? Visual Studio, I assume. Are you wanting, essentially, a screen shot of your IDE? Or are you coding a... |
Forum: C# May 4th, 2007 |
| Replies: 3 Views: 11,267 To get a good reply, start with a good question. What steps have you already taken? Are you familiar with the PDF spec? Are you willing to use a 3rd party library? If so, COM or .NET? What's your... |
Forum: C# Nov 23rd, 2006 |
| Replies: 1 Views: 2,989 Any thoughts? Sure... good luck? Have fun? Err,... what's the question? |
Forum: C# Nov 23rd, 2006 |
| Replies: 4 Views: 6,138 In that case, I wrote an article that addresses PDF hyperlinks:
Can a PDF submit to itself? Can a PDF open a new window? (http://www.tgreer.com/pdfSubmit.html) |
Forum: C# Nov 22nd, 2006 |
| Replies: 4 Views: 6,138 |
Forum: C# Nov 14th, 2006 |
| Replies: 4 Views: 4,262 The PDF format is exceedingly complex, and Adobe's developer tools are buggy and virtually unsupported. I would look at a 3rd party tool set such as those provided by PDF Tools AG... |
Forum: C# Nov 8th, 2006 |
| Replies: 7 Views: 4,064 Yes. Once an array is initialized, though, that's it. If you make a 10-element array, you can't add an 11th element. That's what the ArrayList object is for, a more robust array class. There is also... |
Forum: C# Nov 8th, 2006 |
| Replies: 7 Views: 4,064 C# arrays are homogenous (meaning, all elements of the array are of the same basic type). You can't have a string and an integer in the same array. C# also provides an "ArrayList" object, which is... |
Forum: C# Nov 8th, 2006 |
| Replies: 7 Views: 4,064 It depends on what you mean by "handle" array objects, but if you want to create a class which uses an array as a property, you would define the class like so:
public class myCustomObject
{
... |
Forum: C# Nov 8th, 2006 |
| Replies: 7 Views: 4,064 A class is a recipe for an object. A class is a "design time" object, and when the code runs, the class creates an instance of an object.
Think of a class as a blueprint. A single blueprint can be... |
Forum: C# Nov 7th, 2006 |
| Replies: 6 Views: 47,284 You can't. The page you are crawling has to "execute" the JavaScript embedded on the page. I'm not sure why you'd want to capture JavaScript variables anyway, since they are only used to render... |
Forum: C# Nov 3rd, 2006 |
| Replies: 6 Views: 47,284 As a scripting language, JavaScript acts on the underlying Object Model of its host. In a web environment, this means the browser/web page. In Acrobat, this means the various objects exposed by... |
Forum: C# Sep 26th, 2006 |
| Replies: 10 Views: 3,636 I use Visual C# 2005 Express. I too am glad it's free. I too would recommend it as a resource for C# developers. I fail to see the controversy here. |
Forum: C# Sep 12th, 2006 |
| Replies: 1 Views: 2,353 A config file is used to store application settings. Database connection strings, for example.
This is so anything about the application which might need to change at some point, can be changed by... |
Forum: C# Sep 7th, 2006 |
| Replies: 3 Views: 5,143 I wrote this tuturial regarding dynamic controls in ASP.NET (http://www.tgreer.com/aspnet_html_04.html). I hope it helps. |
Forum: C# May 19th, 2006 |
| Replies: 4 Views: 9,513 It isn't too bad, as long as you don't break their strict rules. If you do break the rules, like I was wanting to do, they provide all sorts of "helpful" classes etc., which are anything but.
I'm... |
Forum: C# May 19th, 2006 |
| Replies: 4 Views: 9,513 Here's what I've learned.
1) You have to add the System.Configuration class as a reference, not just a "using" namespace declaration.
2) The "type" does indeed need to match a schema, in this... |
Forum: C# May 18th, 2006 |
| Replies: 4 Views: 9,513 As usual, the examples I find for this either don't work, or don't apply.
I want to store, essentially, a text file, within my app.config file, and access it programmatically.
Here's a... |
Forum: C# May 10th, 2006 |
| Replies: 5 Views: 2,527 Way too complex for the task. Also, having two such similarly-named methods is a very bad idea.
Look into the String.Split() method. It breaks a string into an array of substrings, based on any... |
Forum: C# Apr 26th, 2006 |
| Replies: 1 Views: 2,480 Does anyone have a good example of how to use this method? All of the MSDN examples I could find are useless because:
they show a hard-coded size for the byte array
they show writing the... |
Forum: C# Apr 25th, 2006 |
| Replies: 6 Views: 14,132 |
Forum: C# Apr 12th, 2006 |
| Replies: 11 Views: 10,493 The point, though, is that applications can access an MDB file (Access database), without the user having to own Access.
SQL Server, while the superior database, isn't portable in that regard. I'm... |
Forum: C# Apr 4th, 2006 |
| Replies: 11 Views: 10,493 Mainly personal preference, though I would guess SQL Server is faster than Access.
Also, in terms of overall support, I think you'll find higher quantity and quality support/articles discussion... |
Forum: C# Apr 4th, 2006 |
| Replies: 11 Views: 10,493 For C#, I recommend their newest database creation, SQL Server Express 2005. It's a destop version of SQL Server:
http://msdn.microsoft.com/vstudio/express/sql/ |
Forum: C# Jan 19th, 2006 |
| Replies: 16 Views: 12,433 Sure, if you're willing to experiment with personal quasiperiodicty. |