Nerseus
*Experts*-
Posts
2607 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by Nerseus
-
I can't speak for the sky marshal, but I know that most airlines will have "extra" pilots onboard lengthy flights. Pilots are expected to sleep on these long flights while the "extra" pilot takes over. I wouldn't find it hard to believe they do the same thing with sky marshals. But does this happen on every flight, or just a few here and there? No idea... -Nerseus
-
@Robby, That would be ideal, but I just bought another car and still have one other that's almost paid off. Buying the lease would a third loan, albeit only for a few weeks until it sells. Of course, if it doesn't sell, I'm outta luck if I've bought it. In the end, I found out a few things - some from the local MVD/DMV and a few from my lienholder. It's all good - now I just have to sell it :) Thanks for the help everyone! -Nerseus
-
If you'd look 3 posts down (currently), you'll see this thread that already covers this. -Nerseus
-
I don't know about a conspiracy... But game development, like any major software project, is going to be hard and long. Writing a game is definitely going to be harder than most other types of project - I could list a dozen reasons off the top of my head but they're not that important. Writing a game CAN be hard, but doesn't have to be. It depends on what you want to do. If you want to write every line of code yourself, then be in for a LOT of work. If you don't mind using a game development kit, then you could have a working game in a day, and a Good game in a few months to a year. Packages like DarkBasic exist for just this purpose. If you want to tweak code or write some of it, but maybe the graphics/network/UI parts of a game seem like a lot to learn, maybe start with an engine - search "game engine" on google to find a dozen, most are free or very cheap (less than $100). I'm not saying that MS couldn't improve the docs for DirectX. But realize that people wanted the .NET version of DirectX "NOW!" and I think most are willing to wait for better docs while they get the SDK early rather than wait for the SDK just because the docs weren't ready. And yes, even with perfect docs, writing code to use DirectX (or OpenGL for that matter) is going to be somewhat difficult. By itself, it's a LOT to learn just because of the number of features it has. But, with some time, practice, and patience, it all gets easier. -Ner
-
Excellent link, quahog - thanks. Who'd have thought there was a whole website dedicated to this? -Nerseus
-
I'd suggest VB.NET. It's easy to learn and can be very powerful. There are plenty of tutorials online (search Google) to get you started, or get a book at your local bookstore/library. At this point, I wouldn't worry about the question "which is best" since most of the answers aren't going to make sense. If you had a few years experience programming, then maybe more investigation would be needed. -Nerseus
-
Totally not programming related, but I don't where else to turn to. I've scoured carpoint.com for TOO long... I've got a leased vehicle (in the US) that has a few months left. I want to sell it, I'm sure I can. Now, when the transaction is ready to go through, what do I do? So the buyer has a check for $ that he gives to me. I deposit it, but I have no title to give him until I've paid off the car. I read that the new buyer can get a temporary permit for my car, but what assurances does he have that I will give him the title once *I* get it (by buying the car with HIS/HER money)? Is there a standard contract we both sign? I'm clueless, and none of my friends/family have leased or sold the vehicle after the lease. Thanks, Nerseus
-
Make them or write code to show them? To make them, you usually make an animated GIF. That means using software that can do that - I like Paint Shop Pro, with Animation Studio. If you mean write the code, then search the forums. I remember a thread that had sample code to read in a GIF and display the separate frames (might have been in VB6, can't remember if it got converted to .NET). -ner
-
Have you run a virus scanner? How about something like Spybot (checks for annoying software)? Have you tried a second mouse, non-optical? -nerseus
-
Ooo, my turn, my turn... I'd like something like Doom 3. But not too complicated, maybe just a couple of enemies and a few of the weapons (the sourcecode and graphics, please). Oh, and some good docs so I can easily pick up the engine. Sorry, I diverge... Do you need help with: A. Graphics programming B. Game AI programming C. How to implement the "rules" D. How to write the game loop/user interface E. All of the above -Nerseus
-
Well, this forum is for programming questions mostly so... Take a look here: http://www.ibuyspy.com/Tutorials/quickstart.aspx This definitely isn't an ecommerce-in-a-box type of site, just the basic starting point for each little piece that you might need if you decide to write the software yourself. As far as pre-built order processing "software" for the web, I don't know of any but then, I haven't looked. Maybe a Google Search? -Ner
-
When you use the Table property on a DataView, it goes back to the original DataTable. That table does have a Rows property (which you use), but it knows nothing of the DataView. If you use the Rows property of the DataView, you'll get the sorted rows. I assume dvDataView is a new DataView below: Dim dvDataView As DataView = New DataView(...) dvDataView.Sort = "Score" MessageBox.Show(dvDataView.Rows(0).Item(1)) If you want the lowest score ONLY, try using the DataTable's Compute method, something like: dt.Tables(0).Compute("MIN(Score)") -nerseus
-
Do you know SQL syntax? That's mostly all a trigger is. Have you written stored procedures? Again, very similar. The biggest difference is in using the built-in tables updated, deleted, inserted which are similar to "this" (C#) or "Me" (VB.NET) in that they represent whatever table the trigger is for. SQL Server comes with a link to Books Online. I'd look in there as it has a ton of info on triggers, including sample code for common tasks and more. -Nerseus
-
If you are using SQL Server, yes, they'll need a copy of SQL Server. That's probably not what you want though unless your application is quite large (SQL Server is quite expensive). You could use MSDE, which is a scaled down version of SQL Server. Or stick with Access (I thought that's what you wanted in the first place?) which is similar, though easier to setup and install for beginners. If you've never done Access or MSDE, I'd take the time to learn MSDE (how to install and distribute as well as use) - a few days worth of learning would be well worth it, I'd say. -Ner
-
Can you verify that the DataSet itself thinks the value is an int? You can check the datatype of a column once your DataSet is loaded. Maybe you're not reading in the file with the schema? In the ReadXml method (if that's what you're using), there's a second param that specifies how to treat the schema (read, infer, etc.). -Nerseus
-
Instead of counting on a hard-coded path, have you considered having one application put something in the registry at a known location (HKEY_LOCAL_MACHINE...\MyApp\Location="c:\..."). The first time your app runs, or during install, set the registry value to the install path. When the second program runs it can check the same registry location to see if the app is installed and where it got installed to. That would be much preferred IF you wrote both apps. If one isn't yours and must be at a hard-coded location then that won't work. -Nerseus
-
Your best bet is to include an empty DB with your app as .NET won't create a new Database for you. Nothing in .NET will auto-create a table for you, either. But you can run a command to create a table on the fly (initialization the first time your app runs, for instance). Or, if your database will be fairly small, just use the WriteXml and ReadXml methods on the Dataset to save the data to a text file. It sounds like that's what you really want. -Nerseus
-
Sounds like Javascript or whatever code (?) is running clientside. Does this grid use any kind of control (ActiveX, hosted in IE for example) or purely an HTML solution? I would guess that the grid has some kind of Javascript running that's causing the error. You could try putting a button in your form and having it print the code. You can't use View Source as it only shows what was downloaded, not stuff that's currently known to the in-memory version of the page. I haven't done web stuff in awhile, but try looking at properties/methods of the document object (a built-in java/javascript/webbrowser object). Maybe something like document.innerHTML or document.scripts.innerText or something like that. Basically, get a look at the javascript source code and see if there's any recursion in there that might be the problem. Or, simply submit a bug report to Infragistics and see if they can debug it from their end. -Nerseus
-
Thanks :) And wow, those are some big red letters for 7am :) -Nerseus
-
First, it's probably better to use a new DataView object rather than change the DefaultView. You don't have to, but I'm guessing the main form and the popup are bound to the same DataTable and changing the filter in one form might make the other form's bound controls update when it sees the filter changing. But, that's not a solution to your problem, just an observation. Have you tried specifying a DataViewRowState? If you create a new DataView you can tell it what rows you want: DataView dv = new DataView(Dt, "Basis = 'A' or Basis is Null", String.Empty, DataViewRowState.CurrentRows) -Nerseus
-
Have him buy a "good" keyboard. I use the MS Internet Pro (lots of extra buttons). The software, Intellitype Pro, includes the ability of turning off the CAPS lock key. Yes, seriously :) -Nerseus
-
You CAN use pointers in VB, like you always could. Not sure why you'd want to if you don't have to (hence the managed version of DirectX9). I would go with VB.NET and DX9 over VB6 UNLESS you wanted DirectDraw. If you *really* want DirectDraw, I'd probably stick with DX7 and VB6. That's just me. -Nerseus
-
Or, move your painting logic to a function (instead of in the event) and call the function if you determine you need to paint. -Nerseus
-
The DataAdapter handles updating the database. Assuming you have the commands setup correctly, the DataAdapter does an INSERT, UPDATE, or DELETE based on the status of each row. If you're pulling records from a source, they're likely marked "unmodified" so using a DataAdapter wouldn't work. You'll have to get them marked as "added" in the dataset, then the DataAdapter will try to insert them. Take a look at the InsertCommand of the DataAdapter. -Nerseus
-
Lopes, I really think you should spend some time playing around with the grid, reading the help files on it, etc. It will definitely pay off in the long run. Part of being a developer is learning where to find answers to common questions - and while the forums are a great help, you shouldn't skip the more accessible help files that come with .NET. -Nerseus