Tekmaven 258 Software Architect Team Colleague

For the C# users in this thread, all you need to do is use RestSharp. It will handle the API rather nicely. Here is some sample code to use the WhoAmI method:

var accessToken = "use the documentation to learn how to get this";
var client = new RestClient("http://www.daniweb.com/api");
var request = new RestRequest("me", Method.POST);
request.AddParameter("access_token", accessToken);
var response = client.Execute(request);
Tekmaven 258 Software Architect Team Colleague

Windows 8 rocks. Have you ever used a Windows 8 machine with a touchscreen? It's a life changing experience.

(Sent from my Microsoft Surface)

Tekmaven 258 Software Architect Team Colleague

This printer looks awesome. I love the AirPrint feature, it will be great for people with iPhones/iPads!

Tekmaven 258 Software Architect Team Colleague

I'm a little confused of your use of the dynamic keyword. Wouldn't it be a lot simpler to just make an interface, and have Car inherit it as well as Beetle inherit it?

The way you've used the dynamic type seems to be an abuse of the feature, to me. Using the dynamic type with strongly typed objects is bad design, and should be avoided at all costs. It's really meant for use with COM interop, as well as interop with the DLR. For example, if you are using IronPython in your application and want to call a python function, that type would not be known at compiler time - so you have no other choice to use the dynamic type (besides using some sort of reflection).

Tekmaven 258 Software Architect Team Colleague

I would recommend to use the log4net framework, instead of writing your own custom logging solution. You can visit the log4net website, here: http://logging.apache.org/log4net/index.html

Follow the documentation to set it up, and check out the examples they have. With it, you can log to the console, to the debug window, to an XML file, and even to the Windows Event Log.

kvprajapati commented: Very good suggestion. +9
Tekmaven 258 Software Architect Team Colleague

@ithelp: that is exactly what I was thinking :)

Tekmaven 258 Software Architect Team Colleague

There are a lot of members of Daniweb who run their own websites, and even many members who run SEO firms. I've given SEO a lot of thought, and I can only conclude this:

[b]SEO is totally unethical. At it's foundation, all you are doing is artificially effecting your search engine rankings - it's not occuring naturally.[/b]

To me, the best type of SEO is popularity. The more popular your site is, the higher ranked you would be (based on backlinks, etc). Simple and clear :o .

I really feel that SEO is comparable with changing an unborn child's genetic makeup for sex, appearence, etc. It's just totally artificial!

What do you guys think?

palanivelraja commented: If it is unethical then 80% of websites ranked unethical. SEO makes the website quality as per search engines algorithm +0
Dinesh_22 commented: No...Search Engine Optimization is Purely ethical. You can refer white hat SEO techniques in Google. +0
TERAP commented: I don't know if someone else mentioned this, but are you thinking ads and commercials are unethical too? +0
deepakdubey commented: SEO is completely ethical. And I think you dont know anything about SEO. +0
Tekmaven 258 Software Architect Team Colleague

Somehow, I think my OS X is borked. Whenever you mouseover a menu, it's supposed to highlight, right? Well, mine doesn't... Also, my dock magnification is turned on, but if I highlight apps on my dock, they don't magnify, and it doesn't say the apps name above its icon. If I click on an app, the dock magnifies to it, but if I hover over another app the dock doesn't move (and is still magnified over the app I clicked on).

This stinks :-(. I don't even know what to search for, "mouseover not working?" Anyone know what's going on?

Tekmaven 258 Software Architect Team Colleague

Microsoft .NET is simply Java written how it should have been written ;-).

No, actually, there are some major differences between the two. To start off, Java is a language, and Microsoft .NET is an application framework. In fact, you can compile java code to Microsoft .NET have them run as native .NET applications.

Tekmaven 258 Software Architect Team Colleague

In my latest issue of InfoWorld, there is a great column written by Tom Yager. It'a a great read:

Title: Efficiency can be lost on code snobs: So many problems don’t get solved because we overthink the project

At my local Ace hardware store, circular saws sit near the registers to tempt impulse buyers. When Ace sells you that saw, they’ve also got you for blades, safety glasses, and handy little accessories. But Ace isn’t the only beneficiary in this “sell the saw, sell the store arrangement. Simply having the saw turns some neglected, avoided projects into adventures. For the buyer, the saw is an inspiration: “Get the saw, fix the house.

The circular saws of software development are dynamic languages such as Perl, Python, PHP, and JavaScript, as well as RAD (rapid application development) tools such as Visual Studio. The better of these allow you to leap straight to solving problems without paying your dues by learning the underlying OS, low-level APIs, and networking architecture. There’s no studying of patterns, models, or methods. It’s like buying lumber, nails, and a saw without deep study in the properties of wood and fasteners. A carpenter would be aghast that you’re not an expert at operating a handsaw. A true developer will gossip about you for using a PHP database class without knowing much about how the database on the other end works. Both will warn that you’re courting disaster.

We’ll always need expert tools, structured processes, and …

Tekmaven 258 Software Architect Team Colleague

For those of us simple of mind would you care to explain that :cheesy: in simpler terms?

Thanks, BuddyB

A managed language is something like Java or Microsoft .NET (C#, VB.NET, etc).. they are managed by a virtual machine, and programming on them is not operating system dependant. You don't need to worry about allocating memory, saving files in the OS's native format, etc...

Tekmaven 258 Software Architect Team Colleague

As always tekmaven you were helpful, that control is awesome. Where do you find out about all of them?

Just about every employee that works on .NET at Microsoft has blogs. Just get a good RSS agregator, and check them all. With a little time each day (okay, maybe a lot), I guaruntee you will learn a lot.

And, the thanks for the kind words. Don't forget to share that thought with the member rating system ("reputation").. ;) .

Slade commented: Sorry buddy :P forgot it existed. +3
Tekmaven 258 Software Architect Team Colleague

If you have a router sharing the broadband, you won't need a firewall on any machine. However, you'd need virus protection on each PC. As for your adware problem, a virus solution won't really fix that. You're going to need another adware montioring solution to keep your adware in check. Good news is, if you use Windows XP, the upcoming Service Pack 2 will have new features preventing you from inadvertantly installing adware.

Tekmaven 258 Software Architect Team Colleague

Thanks, guys,
but I still have this question which will be of help to anyone who has this problem in the future- how do I grant permissions to the Network Services Account, it is not a user account and so I can't add Network Services as a "user account" to the the folder(right click) /sharing and security/security-users.

As Network Services Account defaults to Users permissions, I added Users to the folder security and that worked.

thanks again, tommi

Well, the "Network Services" account would only be for Windows Server 2003. In Windows 2000/XP, its the MACHINENAME\ASPNET account that would need full privlidges to that folder.

Edit: I just realized your using Server 2003. The only explination I can give you is that because you upgraded from Windows 2000 (and didn't do a clean install), you are still using the ASPNET account. I'd be interested to know if that account is still on your machine.

Slade commented: good ol' tekmaven +26
Tekmaven 258 Software Architect Team Colleague

Do you have the indexing server enabled? What version of the .NET Framework are you running?

Tekmaven 258 Software Architect Team Colleague

Just a reminder to the new ASP.NET Programmers: your web.config file is case-sensitive, so be careful copying the text :).

Tekmaven 258 Software Architect Team Colleague

MonoDevelop does sound like a great project :-). However, if Mono was ideally perfect, there would be no need for it ;-).

Tekmaven 258 Software Architect Team Colleague

In the "Additional Options" area of your post, click the "Manage Attachment" button. A window will pop up and you can add your image file.

WEATHER CHANNEL commented: ......CHANNEL +16
Tekmaven 258 Software Architect Team Colleague

I just recieved a brand new XP SP1 laptop. Its a Dell Latitude D800.. and its really sexy ;-)

I'm connected to a WiFi network, and I'm having the weirdest problem. It seems that all the images that I see are severly pixelated. Like, the quality is very low, that I'm noticing artificats in the images. For example, the techtalkforums.com logo is very rough around the edges.

I'm going to connect this to a wired connection and see if thats the problem, but any suggestions until then?

Paladine commented: Always helpful! +36
Tekmaven 258 Software Architect Team Colleague

Lets stop the fight before it starts. Feel free to take this to a PM, but we only want friendly chat, and this has flamewar all over it. Topic Closed.

Tekmaven

feigned commented: I think you should just ban him. Disallow all rights to the forum, and just plain get rid of BigBAffleck. Hell, .htaccess his ass, that'd put a stop to his idiocy. Let him troll elsewhere. +31
Tekmaven 258 Software Architect Team Colleague

You're best bet is to get something with digital out. Digital out is the best way to take audio from a PC to a audio reciver - and you will get full surround sound on it. This is because the actual audio card isn't doing anything to the signal - its just sending out the digital information which it recieves.

)BIG"B"Affleck commented: yeah it is! +29
Tekmaven 258 Software Architect Team Colleague

They also block 25 and 110

Not true. OptOnline only blocks incoming TCP port 80.

What does that mean? You can not run a web server on the standard port.

Many protocols have default ports, HTTP is 80, FTP is 21, POP3 is 110, etc. In your web browser, when you type http://whatever.com, it connects to whatever.com's servers on port 80. The only way to modify this behavior is to append a :portno to the url, so http://whatever.com:240 would connect to whatever.com's servers on port 240.

A new type or redirector service which was refered to above, runs on an internet connection with an unblocked port 80 and puts your page in a frame in the browser (that fills the screen).

Here is an example: You run a webserver at 24.12.21.36 (made up IP addr) on port 81. You setup this special forwarding at a DNS provider (not all support this, because this is not a standard thing for DNS, its actually extra) to forward the url http://testsite.no-ip.com to http://24.12.21.36:81. When you go to http://testsite.no-ip.com, the dns provider (in this case, No-IP) sends you a page from their webserver with a frame taking up 100% of the page to the url of your site.

While this is useful, in many cases it has a lot of disadvantages. the actual domain does not resolve to your IP address - it …

aeinstein commented: perfect post +36
Tekmaven 258 Software Architect Team Colleague

Dani - Don't touch a thing! Its sexxxy! :-)

Wow, I'm so impressed. Really! Usually I hate your TTF changes, but wow this is nice!

Dani commented: Thanks for the kudos +36
Tekmaven 258 Software Architect Team Colleague

I'm starting a new project (yeah, I need to have more then two concurrent projects!). This project is going to be uncharted territory for me - open source. I call it Blogger.NET, it posts to peoples blogs. Written in C#, compilied to .NET 1.1, its pretty cool ;-).

When I get done with a 0.5, I'll open the source up. Here's a link to some screenshots: http://tekmavengallery.bink.nu/albumListing.aspx?albumID=6&albumName=Blogger.NET

frescko commented: very, very well +0
Tekmaven 258 Software Architect Team Colleague

ASP.NET Apps run through a web browser. You could hide the web browser into the tray.. but I don't think thats what you want.

Your better off writing a WinForms app.

Tekmaven 258 Software Architect Team Colleague

Your problem is that the form you are adding is named "Form1" and you already have a form named "Form1".

Change the class definition for one of the forums to "Form2" or anything else you would like.

To open a form from a button on another form, this is the code:

'Assuming that the form you want to call is named Form2
Dim a as new Form2
a.Show()

I'm pretty sure the above is right.. I'm spending to much time on ASP.NET Development, and C# Windows Form development ::blushes::

Tekmaven 258 Software Architect Team Colleague

Well, first of all, you don't need to have an operating system on the drive to install an upgrade copy of Windows. Durring setup, Windows will ask you to insert a copy of a prior operating system to verifiy that you are upgrading.

Secondly, those disk tools that came with your computer aren't needed. In fact, Windows XP Setup can partition/format your drives for you.

Try booting off the Windows XP cd, and when you are prompted to select a partition to isntall to, delete all the partitions on each disk, (I think by hitting the "d" key, but they key listings are on the bottom of the screen). When they are all deleted, on the master drive, create a partition (for the whole thing), and select that to install to (it may call the new partition something like RAW). Setup will then prompt you to format the drive. Select NTFS (Quick, if available).

Once you get into XP, goto Control Panel (and switch to the 'classic view') -> Administrative Tools -> Computer Management. In the "disk management" area, you will see a graphical layout of your hard disks. Just right click the second hard disk, and click "create new partition". Format it with NTFS and you are on your merry way :-).

Tekmaven 258 Software Architect Team Colleague

I've known a machine with bad ram that also had that same stop error. If it acts up again, try switching the ram with some sticks you know work good.

Tekmaven 258 Software Architect Team Colleague

I'm 99% sure that this requires no code - its in the properties window for the form :-).

Tekmaven 258 Software Architect Team Colleague

8) I used to have the same problem too!

Before I give you suggestions, what operating system are you running?

Tekmaven 258 Software Architect Team Colleague

What version of VB?

Tekmaven 258 Software Architect Team Colleague

Well, do you have the peal mods loaded? Are you sure you put it in the CGI-BIN folder (NOT in the WWW folder)?

It may help if you copy/paste your whole httpd.conf for us to help you.

Tekmaven 258 Software Architect Team Colleague

QT -> Quicktime

Tekmaven 258 Software Architect Team Colleague

If your using VB.NET or C#.NET the following link is your end-all resource!

http://www.connectionstrings.com/

The following is if you're using VB.NET:

Access
ODBC

Standard Security:

"Driver={Microsoft Access Driver (*.mdb)};Dbq=\somepath\mydb.mdb;Uid=Admin;Pwd=asdasd;"

Workgroup:

"Driver={Microsoft Access Driver (*.mdb)};Dbq=\somepath\mydb.mdb;SystemDB=\somepath\mydb.mdw;"

OLEDB, OleDbConnection (.NET)


Standard security:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User Id=admin;Password=asdasd;"

Workgroup (system database):

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet OLEDB:System Database=system.mdw;","admin", ""

With password:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;Jet OLEDB:Database Password=MyDbPassword;","admin", ""

DSN

DSN:

"DSN=myDsn;Uid=username;Pwd=;"

File DSN:

"FILEDSN=c:\myData.dsn;Uid=username;Pwd=;"
Tekmaven 258 Software Architect Team Colleague

Dani -
Thats wrong :-P. When you use a DSN, you do not need to fill in any other information. The DSN stores everything for you.

Also you seperate connnectionstring items with a ;

Tekmaven 258 Software Architect Team Colleague

http://groups.yahoo.com/group/vzw_t720/

If you own a Motorola T720 phone and use Verizon as a provider, you should have noticed that Verizon only allows you to download ringtones and wallpapers from there "Get-It-Now" service, ONLY. Meaning, any other ringtone WAP websites that offer ringtones are blocked from your phone.

The above link are people taking charge. They're trying to develop a "hack" to the phone, or at least trying to get Verizon to change there stupid policy. Something worthy to note, they are already in contact with the Verizon president in this issue.

Go there, join the group and check it out! I'm a member!

(I own two T720's, two V120e's, and one V60c, all on Verizon)

Dani commented: This post got us into the search engines big time! +36
Tekmaven 258 Software Architect Team Colleague

PC Mod Kingdom 3.5 is now here!

All new, based on the IBuySpy portal framework, all custom written by yours truly :D.

http://www.pcmodkingdom.com

Tekmaven 258 Software Architect Team Colleague

The future of PC Mod Kingdom is rapidly approaching. We can honestly say that now PC Mod Kingdom is the future of the internet. It employs the latest in technologies, from the server its running on to the language it's written in. With enhancements such as better page navigation, PC Mod Kingdom is a friendlier environment to move around in. Look for PC Mod Kingdom 3.0, which goes gold on Saturday, August 24, 2002 at 12:02 AM EST!

http://www.pcmodkingdom.tk

Tekmaven 258 Software Architect Team Colleague

Heres my suggestion... 97.1% (that was a random guess) of all "out of the blue" restarts are caused by software programs coliding. My sugestion would be going to start -> run, and typing "msconfig" (without the quotes), and going to the startup tab, and unchecking anything that you don't really need running. Also, Windows XP might be restarting your computer when an error occurs. To turn this feature off, right mouse click on my computer and go to properties, go to advanced tab, click on system recovery, unclick automatic restart.

Hope this helped.

Tekmaven 258 Software Architect Team Colleague

Classic, classic, classic problem!

The solution is very simple! Just goto this website: http://www.dougknox.com/xp/scripts_desc/xp_cd_dvd_fix.htm and download "xp_cd_dvd_fix.vbs", you cant miss it, its the first link on the page. Save it to your desktop, and when its done downloading, double click it. When it finishes, restart your computer. Volla! Problems should be fixed! You can now go ahead and delete the file you saved to your desktop. BTW thanks for joining :-).

Tekmaven

Tekmaven 258 Software Architect Team Colleague

hehehehe... i can finally say it!
well... i gotta wait 2 hours... but on Feburary 11th I will be...
15/M/NY
The computer nerd freshman

Tekmaven 258 Software Architect Team Colleague

Wow AlPha... I gotta hand it to you this time. This is one of those disputed rivals that you could try to solve for hours upon hours and never come up with a conclusion. I know you've been looking at the contrast ratios, which is a good start, but realize there are other aspects to a good LCD. I think, for now, its best to stay with the tried and true CRT. 85hz refresh rates, and a resolution that is potentially over 1280x1024. If you still are dying to get one of those thin cool monitors, check out my good old friend's website, Tom's Hardware. This is the article you should look at... http://www.tomshardware.com/display/02q1/020114/index.html#the_samsung_saga_updated. Happy shopping!