alc6379 120 Cookie... That's it Team Colleague

I would hope so-- I was just trawling through the Unanswered section.

It's my general opinion that "converting" one language to another is generally a mess, especially when the languages might have different paradigms or philosophies. Plus, even if someone writes a converter that translates different library calls, not just the base language, you're at the whim of that person's opinions as to how the code should be translated.

ddanbe commented: Indeed! +15
alc6379 120 Cookie... That's it Team Colleague

These are for GSM (cellular) modems, I think.... They may not be supported by your modem. You might want to check if your modem has an extended command set that supports what you're trying to do.

alc6379 120 Cookie... That's it Team Colleague

Why aren't you setting the Primary key for the row and letting SQL server handle that? You should write a stored procedure to write the data, and if you need to get back the ID of the row that you just inserted, you can return the value of the SCOPE_IDENTITY() command.

alc6379 120 Cookie... That's it Team Colleague

Also... please start naming your threads something relevant, other than "Help!" :)

alc6379 120 Cookie... That's it Team Colleague

That may not completely be the answer... Mono may do it, but there's no real status on how well Mono runs under AIX.

I think the real question is WHY would you want to do that? Why not use PHP, Perl, Ruby, or something else that is better suited to that environment?

kvprajapati commented: Alex you are right. +11
alc6379 120 Cookie... That's it Team Colleague

Hey gang,

Looking for some opinions here. I'm working in an ASP.Net MVC2 application. We've built a collection of "domain objects", ie, the data that represents our "real world" problem we're going to solve, and it's also the representation of what will be serialized to the database. Each of these objects has been decorated with DataAnnotations Attributes to denote which properties are required. We plan on doing data validation before the object is persisted to the database.

The app itself is kind of like a "wizard"-- we're going to be configuring various parameters on one of the domain objects we're working with. But, each page of the wizard might be a subset of properties that the domain object might have. We're going to need to have validation on each of those pages, to make sure all required values are input.

Here's my question: If you were in this situation, what you use as your Model for each of these pages? Would you use the entire domain object, or would you build a view-specific model that is a subset of the domain object's properties, then validate that? I'm leaning towards the latter, because it seems cleaner. At some point, you'd take the 3-4 view-models and populate the domain object from those. Then, you'd validate the domain object, and persist that.

Am I off base here? MVC is kind of misleading of a term, in that the "Model" isn't actually what's getting persisted, it's just the data a …

alc6379 120 Cookie... That's it Team Colleague

Please do your own work. We don't do your homework here. Start implementing what you have here, and if you have questions, come back.

alc6379 120 Cookie... That's it Team Colleague

you could place that into a String variable, then use myVar.Split(vbCrLf) . That would create a String() array, and "This is a sample sentence" would be element 0 of the array.

a_salted_peanut commented: Brilliant and easy method! +2
alc6379 120 Cookie... That's it Team Colleague

C/C++ is going to get you as close to the metal as possible, but don't discount .NET for this-- if you're going to be interfacing with a video camera, you'll probably have easier access to video processing modules, etc, with a higher level language.

alc6379 120 Cookie... That's it Team Colleague

You can program some chips in .NET, take the Netduino, for instance:

http://www.netduino.com/

That's the first one that comes to mind. I think there are also other boards running the .NET Micro framework, too.

vedro-compota commented: +++++++++ +1
alc6379 120 Cookie... That's it Team Colleague

Questions:

Where are you getting your requirements from?
Are you required to produce a deliverable on a regular basis?
Are you expecting to add developers at any point?

If it's just going to be you, you should just take your requirements, sort them out task-by-task, order them estimated time to complete, versus "bang for the buck" in time to complete for the amount of importance to the project, then get cracking! (This is basically Rapid Application Development)

Test-driven development isn't so much a development methodology like Agile, RAD, or Waterfall. It's a software development process you'd use while developing. If your requirements are very clear, TDD is a way to go, but it can add considerable overhead to your project's time, as you'll be writing (and debugging) tests to verify your requirements are met.

selasedaniweb commented: Quite knowledgeable and trustworthy....thumbs up... +0
alc6379 120 Cookie... That's it Team Colleague

Why would you want to use global variables, exactly? It's one thing to show you how to use them, but it's really a bad idea to use them.

Check out this post for a good explanation:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/071dc2fb-76c3-4484-8418-6b37664995f7

Ketsuekiame commented: Globals are BAD. Use Singletons if you REALLY have to =D +1
alc6379 120 Cookie... That's it Team Colleague

Two things here:

Are these Class1,Class2, Class3 objects in a hierarchy? Are you using Interfaces or a superclass? It might be a good idea to have the method return the most concise type possible, as it's more type-safe. If your classes all do have a common set of operations or properties? Then you should have them all conform to an interface.

As far as an argument to a delegate is concerned, you just declare it with a variable:

public delegate void TestFunction(string myArg);

public void ThisIsMyDelegate(string myArg)
{
     //do something
}

TestFunction myFunc = ThisIsMyDelegate; 

//call it
myFunc("some string");
alc6379 120 Cookie... That's it Team Colleague

Your question is actually a little vague.

You can program in 2010 and use C# 3.0 syntax. More than likely, it will compile just fine; but, by default your executable will target the .NET 4.0 runtime, and any machine you deploy to will have to have that framework installed.

Also, you can use VS2010 to "target" a different runtime-- ie, use 2010, but say, target for .NET 2.0 or 3.5. Check this post out:

http://weblogs.asp.net/scottgu/archive/2009/08/27/multi-targeting-support-vs-2010-and-net-4-series.aspx

Geekitygeek commented: helpful link +2
alc6379 120 Cookie... That's it Team Colleague

You need to use

System.IO.Compression namespace.

...But that only handles ZIP files. RAR files will have to be done with something else, like this DLL:

http://www.example-code.com/csharp/rar_unrar.asp

This won't create RAR files, but it will list and extract.

alc6379 120 Cookie... That's it Team Colleague

You may have to create a custom deployment package to do this-- the default MSI creator doesn't afford you many options, but the deployment package project does:

http://msdn.microsoft.com/en-us/library/ms228283.aspx

alc6379 120 Cookie... That's it Team Colleague

Hi,
1) Is it better to create one dataset for the whole project than many smaller (like one for each form)?

Depends. If you're using the datasets in the designer view, you really don't have THAT fine-grained of a control over when the datasets are instantiated, and how long they stick around in memory.

2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables changes and appropriate tableadapter updates the DB with it. Is data in second dataset also updated??

No. Even if the "source" of the data is the same, the Dataset is a completely different object that has its own contents. You have to update both datasets to have accurate contents.

3) I load, lets say, 1 column from DB to column of table that has tree columns (two stay empty). Now I use only data from that 1 column, but in some moment I need to load also the other 2 columns. If I use .Fill() method of appropriate table adapter will it reload the first column of the table even if it contains identical data as DB??

Please help me with these questions. They are somewhat important if I'm to write fast DB app.

You'd have to change the SelectCommand of the TableAdapter to get this new data. As such, it's a different Data set entirely. You could order them differently, or something.

alc6379 120 Cookie... That's it Team Colleague

Can you please just stop? leave me alone. What I like about dreamlinux is that wine was so easy to configure, and my games actually work with it with this distro, I've tried other distros and wine doesn't work as well on those. And please stop posting on my threads jeoprogrammer.

As I remember correctly I got banned becuase of you, so stop posting on my threads.

I'm going to say this once, and only once: Stop.

The only reason you're not currently banned by IP is because the rest of moderation staff convinced me not to do it. This is your second, and final chance. joeprogrammer is doing what people are supposed to do in a forum: Discuss a topic. If you don't like it, don't post here. Anyone can post on a public forum.

We, the moderation staff, will determine who's flaming, and who's not. If you feel you're being flamed, report it. If you ever get banned from this forum, it was your own fault.

Can we please just play nice now?

alc6379 120 Cookie... That's it Team Colleague

Sorry.

We do not do your work for you. Please post some code, and we'll help troubleshoot it.

Incidentally, if you search our forums, you'll probably find some examples of an ASP.NET login page.

alc6379 120 Cookie... That's it Team Colleague

i seem to remember i did that with a batch file in dos

What?

No offense, but that's one of the most useless suggestions I've ever heard.

If you keep this up, I'm going to deem you a troll, and ban you.

Comatose commented: Awesome. +3
alc6379 120 Cookie... That's it Team Colleague

You'll probably need to download it locally, modify it, and then re-upload it.

alc6379 120 Cookie... That's it Team Colleague

I'll bet it is some Fn key.

if you just look at the keys, you'll probably see a little icon of what looks like a radio tower. if you hit the Fn key and that key, it should enable it.

kaiking328 commented: very helpful and helped me solve the graphic problem +1
alc6379 120 Cookie... That's it Team Colleague

This looks like the sort of thing i need!!!! am trying a download monitor "Bandwidth Monitor Pro" which came recomended, but doesnt change much. This qos is what i need to give my game priority over downloads. any idea where we can find it?

cheers

QoS is something you'd have to use Linux or a BSD for. Basically, you replace your router with a PC that has 2 NICs in it. One end connects to the LAN, and the other one connects to the Internet. You configure this machine to route packets much like your previous router.

...But with one exception. In Linux, you'd check out this HOWTO:
http://www.opalsoft.net/qos/DS.htm

In a BSD, you could use ALTQ, which isn't all that difficult. I'm at a loss to find a good howto on that tool, but if you decided to go that route, the manual (man)pages that are included with the BSD flavor you choose should guide you right through.

Doing this takes a litle bit of know-how, but once it's set up, you don't have to touch it anymore, unless it's to tweak some bandwidth, or to temporarily disable it. Once it's all set up, it should act just like your old router, but it will have a capability to do QoS filtering.

IPcop has a nice installation and administration set up (works like most routers' web based interfaces), and it has rudimentary QoS features. If you know what ports are being used, …

St3v3boy commented: thanks for the solution. dumped my ex instead tho. easier :-p +3
alc6379 120 Cookie... That's it Team Colleague

Ok... I'm going to have to step in on this thread before things go too far out.

Firstly, don't install a version of Windows that you aren't completely positive you have legitimate licensure for. That includes OEM software, and of MAPS- type sources where you might not have the license for. (Not entirely sure what MAPS, is, either-- I've only heard of things like TechNet and MSDN for IT professionals)

Second, just go buy a "real" copy of Windows. Don't futz with the OEM stuff, or anything else-- save yourselff the trouble, and don't wake up one morning to a machine needing "activation" because someone else just booted up a PC with the same Product Key as yours.

By all means, call Microsoft about the copy you bought. They need to know who's pirating their software, or improperly selling versions of Windows XP, thus violating their OEM seller agreements. They're not going to bust your chops-- in fact, they might even offer you a discounted legit version of XP for turning the folks in.

MartyMcFly commented: Nice +1
alc6379 120 Cookie... That's it Team Colleague

User gets a message stating:

Unable to open your default e-mail folders. The path specified for the file path to PST file is not valid.

This article covers one fix for this issue, if the user does not know where their .PST file is located. Sometimes, the user can even point Outlook to their PST file, and still come up with this error message.

The resolution is to remove the mail profile that is referencing this file. There are two ways of doing this: via the Control panel, or via the Registry. Both should work the same, but I'll cover both methods.

Method 1: The Mail Control Panel
This is the recommended approach. Make sure Outlook is closed while performing this procedure.

  • In Windows XP, open the Mail control panel. (Category view users must select "Switch to Classic View" for this option)
  • If any profiles are configured, the next window will be your "Mail Setup" screen. Click the "Show Profiles..." button.
  • If there is only one profile name listed under "The following profiles are set up on your computer", highlight it, and click the
    "Remove" button. Select YES to confirm your choice to delete the profile.
  • The next time the user opens Outlook, they will be asked to create a new profile. Simply pick a name, and proceed with configuration of emaill account usernames, addresses and passwords.

Method 2: Removal via registry keys
Even though the Control Panel is …

alc6379 120 Cookie... That's it Team Colleague

Just use the instructions here

To yank the battery from the motherboard. It does the exact same thing as pulling the CMOS jumper.

thatguy1 commented: hes right +0
alc6379 120 Cookie... That's it Team Colleague

Are you sure the torrent is finished downloading? You have to wait for the files to finish. Usually, your torrent client will say "Uploading", or "Seeding", or something along those lines, once you're finished downloading it.

alc6379 120 Cookie... That's it Team Colleague

Closing thread. Same post was placed in the Spyware forum.

alc6379 120 Cookie... That's it Team Colleague

I can back this up; Dell has been shipping SP2 on their systems since about late September.

alc6379 120 Cookie... That's it Team Colleague

You can do it

EEEEEEEEEEEBBBBAAAAAAYYYYY!!!!!

Seriously, though. If you need it, you may as well save up the cash for it and buy it retail...

alc6379 120 Cookie... That's it Team Colleague

The much maligned goto statement has a good and healthy reason to be part of the language. One of the best reasons is the escape from a nested loop. It also makes some code much easier to discern. I personally value both Intel's and Narue's input, so lets get back into the sandbox!

Seriously. It's a help forum here. Isn't a little counterproductive to go,

you don't know why you shouldn't use goto? Well, I'm not going to tell you!!! :p

Share the knowledge, and I'll learn a little bit, too.

alc6379 120 Cookie... That's it Team Colleague

this is against the GPL and i'll report it soon

How is it against the GPL? Sounds like he was just trying to use the software as an example. He gave you his modified source, but you just didn't understand it until now ;)

alc6379 120 Cookie... That's it Team Colleague

How to properly phrase a question when asking for help ....

فلذمنصور commented: mnm +0
alc6379 120 Cookie... That's it Team Colleague

Hi everyone,

Here we go again

Narue you seem to be nothing but a java sceptic and keep on calling me a troll.

Narue you said "It's impossible to write an operating system completely in Java. If you knew half of what you pretend to then you would realize this."

I have said this probably a dozen times to you that only the overlying gui on top of the kernel of an os can be written in java.

And most people usually write the kernel in asm, i have even seen one in pascal but that's quite rare, or c++. People tend to avoid the kernel writing part using c++ because it is incredibally hard but it is possible.

Sometimes i tend to wonder Narue if you have any programming experience at all and that goes for you to 1o0oBhP.

Your Sincerely

Richard West

Okay, this post was needlessly stabby, if I may say so. If you've looked anywhere through the forum, you'd see that Narue and 1o0oBhP both know a thing or two about programming, not that they need any defense.

What about Linux, a *BSD or any major UNIX? They're done in a combination of C and ASM, if I'm not mistaken.

But, why would you have to start at the overlying GUI? I'm not incredibly up on Java, but couldn't you just as well do the predominance of the userspace in Java? I'd imagine that if you built the VM into the kernel (or the …

alc6379 120 Cookie... That's it Team Colleague

dlh6213
You have said that more then once man.
The guy needs you to answer it in that Box. Not give him links.

Look man.
The computer's Boot files are obvisly Infected with a virus. Goto Setup (press Del when starting up) and setup to boot from a Disk. Then I would reformat. This is a long and hard process, but it seems to be the only way if you cannot make the compyter stay on for more then a Minute

He has said that more than once, and he should say it as many times as he possibly can, because it's so true. Some virus has attacked the RPC service, and is screwing things up. There is no need to reformat the PC, as you can use Stinger to remove the two most common viruses that cause this, Sasser and MSBLAST.

It might not be a bad idea to reformat, but out of the hundreds (literally hundreds) of cases like this I've seen in the past year, there's not been but 1 or 2 cases where I haven't been able to fix it with Stinger. In those two cases, there was other software that was wrecking things, too.

dlh6213 commented: Thanks for backing me up :) +1
alc6379 120 Cookie... That's it Team Colleague

I would figure so long as it's consistent in your program, and you're not using a "reserved word" for your language, you'll be in good shape.

alc6379 120 Cookie... That's it Team Colleague

That description doesn't sound like you're looking at the standard Windows XP Local Area Connection properties in your Network Connection settings under the Start menu. Seems like you're looking at some vendor-provided connection utility instead.

I have to log off right now ("real life" work calls), but in the mean time can you look at (and post) the settings in the Win XP Local Area Connection properties please? I don't think the Gateway IP of 127.0.0.1 (the local loopback address) you gave is going to work in the Linux setup.

Hrm...

Additionally, you can open a command prompt in Windows and try ipconfig /all-- that should give detailed IP address, Gateway, and DNS information.

alc6379 120 Cookie... That's it Team Colleague

Don't get rid of that one. I forget what it does, but it's harmless.

As for the system32 folder, what type of system are you running? I know that certian versions of Audigy sound cards can cause this to occur, but it's fixed with a driver update.

Also, try doing a Google search using the terms "system32" "at startup". I think that Microsoft even released a KB article about that.

alc6379 120 Cookie... That's it Team Colleague

I do fairly often. The only thing is, I always get the message that I need to spread reputation around before giving it to <insert member here>

C'mon guys, make those posts so I can give you reputation!

Gary King commented: totally agree :D +2
alc6379 120 Cookie... That's it Team Colleague

Screwed up how? You should read the WMD report before making a claim like that:
http://www.cia.gov/cia/reports/iraq_wmd_2004/

Also, Afghan is to soon hold it's first democratic elections.

Exactly. I don't want to argue talking points or anything, but most analysts, whether they admit it, or even realize it, tend to have a negative slant (note, I could have said "Liberal", but I didn't). So, to say that we need 3x more troops than what we've got might be like me saying, "Well, I make $12.00 an hour, and I'm making it okay, but BOY, imagine what I could do if I made $36 an hour! SHOO-WEE!"

I'm sure that having 3x the number of troops on the ground would most certainly help, but I feel like things are getting under control, and that much of the public's conceptions about the war(s) are way overblown. Fear of TERRISTS! have made people batty, even congressmen, and they want to rush to do anything to keep those nasty TERRISTS! from blowing up our buildings, and harming our innocents. Some people are level-headed, and others aren't so level-headed. I think that by the landslide that the bill was voted down, it's apparent that the general concensus is that we're doing fine as we are, and though it'd be nice to have more troops out there, we don't imminently need them right now. At least, we don't need them enough to instate the draft.

Personally, I look at it like this. Forgive …

dlh6213 commented: I think you responded well! -- dlh +1
alc6379 120 Cookie... That's it Team Colleague

Why do you want to go back to FAT16? There's really no good reason to do that. FAT 16 can only support a partition size of 2GB or under.

Do you mean converting from NTFS to FAT32, perhaps? This is not possible, at least according to Microsoft. The only conversion you can do is from FAT32 to NTFS, but not back.

antioed commented: Al's always got good info. +2
alc6379 120 Cookie... That's it Team Colleague

I don't know if he's into fantasy stuff, but The Elder Scrolls series of games look pretty cool, particularly Morrowind. It's a game I never got around to playing, but after checking out their website, I might give it a go in the next few weeks.

alc6379 120 Cookie... That's it Team Colleague

any help? :sad:

Give it just a bit! Maybe someone is checking over your code right now.

I'm not a Java programmer-- I just moderate the forum. Otherwise, I'd help :)

alc6379 120 Cookie... That's it Team Colleague

How do I make a greeting a named constant rather than a literal constant?

cford,

Welcome to TechTalkForums. In the future, please name your thread something meaningful. "HEELLLPPPP!!!! Due Tomorrow 9-14-04" doesn't tell us anything about what you need. "Making a named constant", or something similar would have been more appropriate.

alc6379 120 Cookie... That's it Team Colleague

:rolleyes:Program for more than a couple days before you start teaching.

Hey now. Be nice.

If there's something wrong with what he's posted, wouldn't it be more helpful to point out what's the problem/.

alc6379 120 Cookie... That's it Team Colleague

Cool. Great Work! Let's make this thread sticky!

Killer_Typo commented: not directly related to this post. but related the fact that your a key member and always giving out good help. --KT +1
alc6379 120 Cookie... That's it Team Colleague

If reinstalling does not work, try to play the wav file with Windows Media Player. Just to see if your file even works.

Good suggestion, or even more basic, you can open it with Windows Sound Recorder. It uses WAV as its default filetype.

JR85023 commented: Gald You agree with my post - JR85023 +1
alc6379 120 Cookie... That's it Team Colleague

Maybe I'm missing something here but why not just allocate a separate directory on your webserver and have the the logs upload there and link directly to the text file if folks want to read it? I think those logs are pretty annoying anyways.

Slightly off the subject but relative to the log files...what about an FAQ about spyware encouraging users to empower themselves and take a little responsibility for their computing? Maybe the techies here could compile a comprehensive guide for dealing with spyware; how to identify suspect processes and how to use Google to search for specific strings and just start pointing folks in that direction instead of doing all this work for them and dealing with these enormous log files that I, for one, really don't want to read. It doesn't take a rocket scientist to figure out what processes are running and go look them up on Google, they're half way there if they can figure out how to get into the Task Manager. Maybe that is how it should be approached...request that folks go find out what processes are running and research them first; just follow the FAQ...then ask questions if they get stuck. No logs...no lazy lima beans. I don't say this to be harsh; I think that if folks are required to take some responsibility for this stuff they'll be more interested in preventing it from happening in the first place as well as developing their knowledge about computing thus empowering themselves! How …

alc6379 120 Cookie... That's it Team Colleague

UPDATED 10-02-04-- UPDATED REMOVAL INSTRUCTIONS

Welcome to TechTalkForums!

Many new members have been attracted to our site, presumably as the result of a Google search for bridge.dll, showing up on their PCs at startup.


UPDATE:

Before posting an HJT log, just run a scan with HiJackThis and look for this line:

O4 - HKLM\..\Run: [RunDLL] rundll32.exe "C:\WINDOWS\system32\bridge.dll",Load

Place a check in the box to the left of that, and see if it doesn't fix your issue.
If the entry is also in the 02 line of the hijackthis log, you may need to go to C:\WINDOWS\system32 & delete the file manually as well. At the least, go there to see if it is still there.


___________________________________________________________

BEFORE POSTING A HiJackThis LOG, PLEASE REVIEW THE FOLLOWING LINK:
http://www.pestpatrol.com/pestinfo/w/winfavorites_bridge.asp Link no longer valid-- try the link below:
http://www.2-spyware.com/file-bridge-dll.html

Click to close that popup that comes up, and there's information then.

Bridge.dll is related to WinFavorites, which apparently is spyware. The above link tells you exactly what to do to resolve the issue. If this doesn't fix your problem, THEN AND ONLY THEN should you ask for help. Also, you should only post an HJT log if asked for one.

HiJackThis is an excellent tool, but only in the hands of a user skilled enough to interpret the results. It is unfair just to post an HJT log and basically say, "fix it!". …

alc6379 120 Cookie... That's it Team Colleague

It's FreeBSD specific, AFAIK.

I can't really point you to a good tutorial on it-- the FreeBSD mailing lists have been pretty chatty about it, though.

Check out this Google search for NDISulator I believe I found a HOWTO on using it there, written by Bill Paul, the creator of NDISulator. If you're interested in running it, keep in mind that you want to run at least FreeBSD 5.2.1 RELEASE, or even better, FreeBSD 5-CURRENT, for best results.

liliafan commented: bridging worked with 2003, plus made me want to try freebsd again. +6