Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
91% Quality Score
Upvotes Received
17
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~16.5K People Reached
About Me

I have been a professional programmer for a bit over 15 years now (more than that if you could school time and such), focusing mainly on Microsoft technologies for the past 7 years (Mainly C#, it's such a beautiful language). I am a die hard programmer,…

Interests
Dean Koontz (I own about 45 of his books) NFL, XBOX 360 (gaming with my son), hunting and NASCAR
PC Specs
Current System: AMD Phenom II X4 965 Black Edition MSI 790GX-G65 Motherboard 6GB OCZ DDR3 Dual MSI TwinFrozr…

36 Posted Topics

Member Avatar for Usmaan

A constructor is a method in a class that is called when that class is first initialized. A constructor allows you to set default values to variables and limit instantiation (among other benefits. If a constructor is not defined in the class the CLR ([URL="http://en.wikipedia.org/wiki/Common_Language_Runtime"]Common Language Runtime[/URL]) will provide an …

Member Avatar for Mitja Bonca
-1
202
Member Avatar for PsychoCoder
Member Avatar for PsychoCoder

This is a snippet demonstrating how to create a new local Windows account, and have it show up in the Users section of the Control Panel. You will need to reference the System.DirectoryServices.AccountManagement Namespace

Member Avatar for nelsonddon
3
1K
Member Avatar for PsychoCoder

A C# snippet demonstrating how to merge 2 files (of any type) into a single file. Need a reference to the System.IO Namespace

Member Avatar for srps.software
2
207
Member Avatar for PsychoCoder

Thought I'd take the time to introduce myself, considering I'm going to be around more. My name is Richard McCutchen, a.k.a PsychoCoder, I have been a professional programmer for 15+ years now (last 7 or so strictly in C# with some VB.NET thrown in if the clients requests it). I …

Member Avatar for blackdragon1027
0
234
Member Avatar for perryg30313

If you're pulling back 60k+ records per query there's really nothing you're going to do to make it faster within the stored procedure. A server can only do so much so fast. Now you can make it not appear your UI is freezing if you were to use something like …

Member Avatar for perryg30313
0
129
Member Avatar for shaqtus

That's happening because when you just open that page it doesnt have a referrer. You need to make sure it's not null before checking it [CODE] if (!Request.UrlReferrer.AbsolutePath == null) { if (Request.UrlReferrer.AbsolutePath == "/Home/Default.aspx") { Label1.Text = "You are coming from the home page."; } }[/CODE]

Member Avatar for PsychoCoder
0
285
Member Avatar for dsul

One thing to remember, since you're working with VB.NET you really should stick with the native libraries available to you in the Framework, Shell is a legacy item left over from the VB6 days. For this you should be using the [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx"]Process Class[/URL] in the [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx"]System.Diagnostics Namespace[/URL]

Member Avatar for PsychoCoder
0
206
Member Avatar for shaqtus

If you ever have questions on what a proper connection string is supposed to look like for a specified database I suggest using [URL="http://connectionstrings.com/"]ConnectionStrings.Com[/URL]. They cover just about every database system that you can use, it comes in real handy

Member Avatar for jovial_vik12
0
291
Member Avatar for rahul8590

This is not VB.NET code, it appears to be VB6 code. Mods is there a way to move this to the VB forum?

Member Avatar for AndreRet
0
290
Member Avatar for onlinessp

That's an easy one. Until Windows is loaded the .NET framework isn't, thus your C# application cannot run

Member Avatar for PsychoCoder
0
164
Member Avatar for Gewalop

Not going to happen with .NET. A .NET application required the .NET Framework in order to run, and the framework isn't loaded until Windows boots, so there's no way in C# to accomplish this. Also, this really sounds like a malicious action (in my opinion)

Member Avatar for PsychoCoder
0
87
Member Avatar for NH1

If you're using SQL Server then your statement is wrong, not sire what the use of the [icode]![/icode] is for [code] [DaySchedule]![Shift Code Monday] AS Monday, [/code] That should look like this (if using SQL Server) [code] [DaySchedule].[Shift Code Monday] AS Monday, [/code] Your entire statement is riddled with those.

Member Avatar for Geekitygeek
0
273
Member Avatar for UniqueMan

Well we're not going to just write the code for you but I can give you a nudge in the right direction. The formula for converting centimeters to inches is [QUOTE]I = C * .39370078740157477[/QUOTE] So, if you enter 47 centimeters then in inches that would be [QUOTE]I = 47 …

Member Avatar for UniqueMan
0
303
Member Avatar for buster2209

What you need to do is have a single loop, then inside the loop create a new [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.listviewitem.aspx"]ListViewItem[/URL] which will hold the main item in your array, then inside each iteration add a [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.listviewitem.subitems.aspx"]SubItem[/URL] to your ListViewItem. Here's an example [CODE]Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0); foreach (Wlan.WlanAvailableNetwork network in networks) { …

Member Avatar for PsychoCoder
0
151
Member Avatar for Phenneger

What are the steps you're taking to make sure Crystal Reports is being included in your installer? Here's a thread on DaniWeb going through how to include deploying a VB.NET application with Crystal Reports included. Read [URL="http://www.daniweb.com/forums/thread104376.html"]here[/URL]

Member Avatar for PsychoCoder
0
109
Member Avatar for zandiago

Piracy is theft no matter how you decide to rationalize it. As a software developer I have a firm stance on this topic. You will not find a single piece of pirated software/movie/music on any system in my house, period. Just because you [B]want [/B] something does not mean you …

Member Avatar for jon.kiparsky
2
980
Member Avatar for srky

Have you tried using [URL="http://msdn.microsoft.com/en-us/library/system.dbnull.value.aspx"]DBNull.Value[/URL]

Member Avatar for rohand
0
913
Member Avatar for kisei

So you're just expecting us to do your homework for you? I'm pretty sure that isn't going to happen. We're here to help, and most of us love to help, but we're not your personal homework service.

Member Avatar for kisei
0
229
Member Avatar for Kingcoder210

More than likely you're going to have to post the code that's causing those errors. Those errors can be caused from any number of things, and narrowing it down without seeing how you're accomplishing something is near impossible.

Member Avatar for JRitchie777
0
124
Member Avatar for nv136

What have you tried so far. We have no problem helping you with code you're having an issue with but we're not going to write the code for you. I can tell you that you can get the system memory with either WMI or with a [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.aspx"]PerformanceCounter[/URL]

Member Avatar for nv136
0
143
Member Avatar for ceal21c

One option you have is to implement the [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.imessagefilter.aspx"]IMessageFilter Interface[/URL] to filter out mouse clicks. When the form loads set the filter, when your process is completed remove the filter. Here's an example. First, when you implement IMessageFilter you have to have a PreFilterMessage functions that returns a Boolean [CODE]Public …

Member Avatar for PsychoCoder
0
3K
Member Avatar for dahmhie

If you modify it using the [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.login.layouttemplate.aspx"]LayoutTemplate Property[/URL] then it shouldn't be any different than a normal Login control

Member Avatar for PsychoCoder
0
114
Member Avatar for Dremerend

You could also use an INI file. I know they're a little outdated but they do come in handy in situations such as this. Take a look at this: [URL="http://psychocoder.net/index.php/2010/08/18/working-with-ini-files-in-c-pinvoke/"]Working with INI Files In C#[/URL]

Member Avatar for PsychoCoder
0
137
Member Avatar for Nexgr

Take a look at the [URL="http://msdn.microsoft.com/en-us/library/system.windows.controls.tooltip.aspx"]ToolTip Class[/URL], that will do exactly what you're looking for ;)

Member Avatar for PsychoCoder
0
65
Member Avatar for belometer

1) I would stay with MySql, depending on what the application is doing. If you go with MSSQL your users would have to pay to license it unless you were to go with the [URL="http://www.microsoft.com/sqlserver/2005/en/us/compact.aspx"]Compact Edition[/URL] and MySql is free. 2) You could if you want, but it makes more …

Member Avatar for belometer
0
160
Member Avatar for MaiHunDown
Member Avatar for PsychoCoder

C# code snippet demonstrating how to set the status of a specified Windows service. Provide the name of the service and it's value (it's an integer value described in the comments)

0
769
Member Avatar for PsychoCoder

This is a snippet that will get either all the child controls of a form (other other control) or controls of a specified type. This is for C# 4.0 as it utilizes an optional parameter.

0
3K
Member Avatar for nv136

Then you need to get to writing code. This isn't a homework service, it's a help community for helping people with the code they've written

Member Avatar for PsychoCoder
0
86
Member Avatar for srikanth2321

I'm not sure why you're using GetManifestResourceStream, this is for loading a manifest resource from your application. Why are you trying to load a CDX file?

Member Avatar for srikanth2321
0
60
Member Avatar for matamiski

Sorry but we're not just going to write your code for you. We're here to offer help, not for giving you your assignment on a silver platter.

Member Avatar for PsychoCoder
0
43
Member Avatar for Maya Pawar

The easiest way would be to use [URL="http://msdn.microsoft.com/en-us/library/system.io.file.copy.aspx"]File.Copy[/URL] to copy your MDB file to a different folder

Member Avatar for JRitchie777
0
136
Member Avatar for mohankumar554

If you've come here to DaniWeb looking for a hand-out, for someone to do your homework for you, then you've come to the wrong place. We're here to [B]help[/B] those with issues they're having [B]with code they've written[/B], not to do your homework for you.

Member Avatar for mohankumar554
-1
70
Member Avatar for kained

I would read through this on [URL="http://msdn.microsoft.com/en-us/library/ms972974.aspx"]URL Rewriting in ASP.NET[/URL], this (I believe) will accomplish everything you're after.

Member Avatar for PsychoCoder
0
87
Member Avatar for Naveed_786

One thing, if CustomerID is an INT value in your table you need to remove the single quotes from around it in your delete statement, like this [CODE]cmd.CommandText = "DELETE FROM CustomerInformation WHERE CustomerID =" & Trim(TextBox4.Text)[/CODE] Also, this code is primed for a [URL="http://en.wikipedia.org/wiki/SQL_injection"]SQL Injection attack[/URL], you really should …

Member Avatar for PsychoCoder
0
164

The End.