Search results

  1. N

    Proving I can learn Java, C#, or any language for that matter.

    I would personally start by looking at doing a simple project that you can do in a week or so, which will give you more experience in the language and can be a great little demo to say "look, I can write Java too." On the net, I would suggest looking at...
  2. N

    Creating web pages out of playlists

    I don't know if this would solve your problem, but assuming you have access to the content and are willing to provide external access to the content, Opera Unite might be a good solution for you. Take a look at http://unite.opera.com/application/162/ for one possibility. If nothing suites your...
  3. N

    Software automation recomendations

    You can use a external program like AutoIt (http://en.wikipedia.org/wiki/AutoIt) or AutoHotKey (http://en.wikipedia.org/wiki/AutoHotkey) which are meant for IT rather than testing, or you can develop your own solution. I think using an external program is a better choice, but sometimes it is...
  4. N

    Database design for lists

    I’m attempting to develop a database which can store arbitrary lists of data and am looking for suggestions on design. What I want is to be able to have a list I can associate to other tables (such as a user) to a set of data points. I have simplified my current idea, but here is my current...
  5. N

    How to GetClassName

    Just looking real quick at my own usage of GetWindowThreadProcessId and I noticed that the process ID has both a return value and a out parameter. Are you using the return value rather than the out parameter? If that is not the issue, could you record the two values and use the command line...
  6. N

    QA: Test Automation Framework

    I believe if you examine the code a little closer you will see that it is not that long, but instead meant to demonstrate a few ways to solve the problem. The absolute shortest method is to write it something like this: var text = clusterTable.TableRows[0].ElementsWithTag("th")[0].Text; I...
  7. N

    QA: Test Automation Framework

    Unfortunately, it appears for historical reasons WatiN does not by default support th tags. Here is what I think is a reasonable workaround… using System; using WatiN.Core; using WatiN.Core.Constraints; using System.Collections; namespace WatiNSample { class Sample { [STAThread]...
  8. N

    QA: Test Automation Framework

    Yes, I have done some evaluation of Telerik’s WebUI test. If you are using Telerik controls, it certainly adds some value. To give it credit, where credit is due, I really like how they start with a non-code recording and then provide the ability to convert to code. By having this...
  9. N

    QA: Test Automation Framework

    I have worked with a multitude of automation frameworks* in the past 5 or so years and I’ll try to condense my knowledge into a few recommendations... * I have mostly worked in windows testing and in most cases, the windows OS is better supported for automation compared to Linux. If you are...
  10. N

    Good agile QA books/resources?

    I found that Agile is a good process in getting stuff out quickly, but if you are not careful the bug counts can grow quickly... I am a Test Engineer with a focus on Automation. I come from a medium size company (about 200 employees) and when I started we had about 60-70 employees. Some of...
  11. N

    Trying to keep myself interested in learning web design

    There is a site that I visit every now and again that might be helpful to you. It is all written by a Java programmer, but 80% of the projects can be generalized. I personally have implemented one interesting idea that is listed (LazyString) in C# and have found some of his other concepts...
  12. N

    VB.net best loop to check every 10 seconds

    Unless you are doing something really complicated, I would say you should use a timer set for every 10 seconds and just run the check every 10 seconds. That way you don't need the loop (you simply stop the timer when the program is found) and you don't see the UI "hanging" while it sits in the...
  13. N

    Programming ideas

    I have found this list of student projects to be rather interesting. While they are written as Java specific projects, I would say 90% of them could be written in any language. I found Lazy Strings (which could be implemented in java or C#) and Source Code In Database to be two of the more...
  14. N

    Which language should I learn/use for text file analysis/manipulation?

    Either use a reg ex (in which case perl is ideal) or use a split function (split on '|' and then on ':', the first item will be the property title, the second item will be the value.). I know C#, VB(.NET), VB Script and PHP have split functionality. Most decent languages have a function like...
  15. N

    Mass Update ASPX Pages

    Just so you know, windows does have grep. In addition to that, almost all windows boxes support VB Script and Jscript, so you could always write a simple search and replace script. While this isn't exactly what you want, this is a simple search VB Script I wrote some time ago which might get...
  16. N

    vbs script help.

    Dim objShell Set objShell = CreateObject("WScript.Shell") objShell.Run "C:\Windows\System32\Notepad.exe",,False WScript.Sleep 1000 objShell.AppActivate "Untitled - Notepad" objShell.SendKeys "Hello World!" 'Just do a search for sendkeys and you will find all the symbols for various...
  17. N

    programming software for 9 year old

    VB.NET or KPL are probably good starter languages. I've never used KPL, but it's supposed to be similar to VB but with a simple syntax for building simple games, etc.
  18. N

    What's wrong with my asp.net project?

    I'm not a SQL expert, but don't you need to use "%" as the wild card in a like statement? Using your example, if you type in "Jeff%" I believe it should return the correct results.
  19. N

    Writing software for Windows

    Different programming languages use different frameworks such as Java, Perl, VB (classic), Ruby, etc. Each of those languages has it's own editors (for example, Java programmers tend to use eclipse) and require there own framework to be install or included in some fashion. In windows land the...
  20. N

    Reinstalling a program built in Visual Studio

    First, I think it should be said in general it is safer to force the user to uninstall first (in particular if no settings are saved) as it's less likely to cause conflicts. That being said,, the method for fixing your installer is to update the version number (VS should automatically offer to...
  21. N

    Easy VB 2D arrays question - hopefully

    You can use the keyword(s): Redim Preserve. Redim Perserve can be used to perserve your array, but be warned that this method has VERY POOR performance and should only be used for very small amounts of data (say 100 items or less). If you are using VB.net I would suggest you use an...
  22. N

    Visual Studio 2k5 - Interactive Window?

    What your describing is typically done with scripting languages (and not done with compiled languages) in which you have a command line window or something like that and can run a few lines of code just to see how it will react. I know Ruby (and Ruby.net or whatever it's called) does this, but...
  23. N

    Quick help in VB Express 2005

    Without writing the program for you, here's the basics (I'm writing this off the top of my head, so the syntax maybe wrong): Dim i1 as integer = Convert.ToInt32(Me.TxtBox1.Text) Dim i2 as integer = Convert.ToInt32(Me.TxtBox2.Text) Dim FirstNumber as integer Dim SecondNumber as integer...
  24. N

    Anyone have the Microsoft Beginner Developer videos saved?

    I saved the VB.Net video link which can be found here. I can't seem to find the same videos for C#, however I was able to find these videos: http://msdn2.microsoft.com/en-us/vcsharp/bb798022.aspx.
  25. N

    I suck at programming (xmlhttprequest)

    After a quick web search I found Apple's page on dashcode. It appears it uses JavaScript, not Java. Also, a simple way to tell the difference is JavaScript has the extension .js and Java typically uses the extensions .java and .jar. JavaScript is typically used for web development, so I...
  26. N

    I suck at programming (xmlhttprequest)

    Just to be clear, are you talking about Java or JavaScript? If you are actually referring to Java, then I suggest you at least take a look at this site, which has a great deal of helpful information on Java in general. It may not help you with your current problem, but I found it very...
  27. N

    Other than HTML, what is the closest thing to a 'universal' document format?

    Depending upon the need, here are some possible options: jpg (Images can be documents), doc, rtf, html, txt, pdf, csv, pp (power point), xls, xml (with a xslt style sheet), odf, and xdoc. For a fairly exhaustive list, check out http://en.wikipedia.org/wiki/Document_file_format/ ...
  28. N

    I need an OCR algorithm

    You may look at Microsoft Office's OCR capabilities, which I believe do support OCR. While I have never used it myself, I've been told that this is a good way of scanning for text in a screenshot. Here is some example vb script code I borrowed from another site: set...
  29. N

    Sub_milli-second timing without CPU usage

    I'm not sure that this is your problem, but this is a problem I have run into in the past. DoEvents uses up a lot of processing power and when run over and over again, can eat up CPU. One thing that can help improve your CPU usage is to check if you need to DoEvents before doing events. You...
  30. N

    help with VB.Net 2005

    There are several good microsoft pages for introduction to programming/VB. If your the reading type, I'd suggest going here: http://msdn2.microsoft.com/en-us/vbasic/ms789097.aspx. If on the other hand, you perfer videos, the "Absolute Beginner?s Video Series" and "Windows Forms Controls...
  31. N

    Visual Studio 6.0 with .net

    I believe you will not be able to compile C#/VB .net code with 6.0, however if it is C++ it maybe possible, but I wouldn't suggest you waste your time with it. If you are going to get VS 2005 soon and don't want to download the 400+ meg express edition(s), I'd suggest you download Sharp...
  32. N

    Need Excel help,

    I know that Excel provides some abilities you are looking for, I'm not an expert enough to tell you how to do it all in excel, but I will suggest a possible alternative. If you know any programming languages (such as C#, Java, etc), you could always export the file to a CSV file and then read...
  33. N

    Learning VB.NET

    So are you primarily creating web pages or are you also interested in Windows apps. As a Windows guy, I mostly think up windows programs, however some of these could apply to both. One thing you can do is look at some open source projects and contribute to them. For example, you could work on...
  34. N

    Best way to learn VB.NET - starting from ground zero.

    Here are some simple steps I would suggest for learning VB.NET: 1. Download VS 2005 Express or 2008 Beta (Rumor has it 2008 is going to be release around Xmas, but I've heard no release date) from here: http://msdn2.microsoft.com/en-us/express/default.aspx Alternatively, you could download...
  35. N

    little vbscript help

    While this doesn't exactly answer your question, this might help a little. I tried to access a database I created a few years ago using VB Script. I ended up doing it some other way, however I kept part of the script that I was originally working on. I believe it was taken and converted from...
  36. N

    .Net scripting

    There is a way of building .net scripts; however I wouldn't recommend it as it requires a lot more structure than a normal script does. There are scripting engines that wrap this complexity, but they come with their own flaws and aren't standard. You can do some fairly cool things to script...
  37. N

    Windows Command Line.. How to get domain and PC name

    Are you trying to create a console program that gets the PC name and domain name or do you want to get this from already created command line tools? If you are trying to create a console, I believe you can use System.Environment.UserDomainName and System.Environment.UserName in C#/VB.NET.
  38. N

    How do you sanitize a string for SQL

    I've started using SQL parameters, however I wonder if they catch all cases. For example, do I still need to worry about a string like "This string won't be alright" where the single quote is not gracefully taken care of or can I remove my single quote fixing function? Thanks for all the...
  39. N

    How do you merge fixes between different code bases?

    I have a fairly large code base (a little under 50,000 LOC), and I've started thinking about what I'll do once I release this thing into the wild. It seems to me that the best thing I can do is branch the code while working on version 2.0; however I will also have to continue maintaining my 1.x...
  40. N

    VBScript - How to Launch a Text File

    There is no notepad object that I know of, however I do know that there are some things you can do when starting up an application. If you use WScript.Shell you can cause the application to run in various states such as minimized, maximized, etc. Between that and app activate, you should be...