Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #10K
Ranked #1K
~17.7K People Reached
Favorite Forums
Favorite Tags

19 Posted Topics

Member Avatar for Visslan

I'd agree with LizR on this. The selected indices will be smaller than the entire list. If a list has a few hundred items and the user has selected 3, the loop becomes considerably less expensive on the indices rather than the entire list.

Member Avatar for kvprajapati
1
12K
Member Avatar for thacravedawg

Uhh... You want to put a sub query into a dataset after the dataset has ran a query? Why not just put the query1 with query2? Something like: select name, name SUM(name) As sumofname from "previous query" IN (select top "variable" from tablename where type ="variable2") Group by name

Member Avatar for thacravedawg
0
100
Member Avatar for MJV

The switch statement is similar for all languages. I'm trying not to be rude but saying "Im new to C#" and put a ; after switch() is more like "I'm new to programming altogether". If this is the case, I'd suggest reading on line about switch and other language syntax.

Member Avatar for Rashakil Fol
0
296
Member Avatar for jobi116

First of all, why would you be having problems using ListView outside of the main form? It's probably not being accessed properly. Secondly, instance methods can access static methods/objects but not the other way around. If you're having problems with events, it's probably because the event handler methods are not …

Member Avatar for JerryShaw
0
208
Member Avatar for shinkelwars

I think you're talking about writing a custom gina dll to authenticate a user to the Windows environment, which is what a fingerprint or smarkcard type devices do. I've not written one myself, only have read into it a little. Here's a link to assist: [URL="http://msdn.microsoft.com/en-us/library/aa380543(VS.85).aspx"]http://msdn.microsoft.com/en-us/library/aa380543(VS.85).aspx[/URL] -Nelis

Member Avatar for shinkelwars
0
111
Member Avatar for Eager_Beever

There's a few questions in there. "I want to expand i.e. show ALL options when the control gets focus" - You could put something in the paint event looping through the values and use measureString to get the width. This could get processing expensive. If the values are static after …

Member Avatar for nelis
0
108
Member Avatar for jmumby

If you're pulling it out of LocalMachine, it obviously had to get there some how. The Object reference not set in this case probably means that your RegistryKey object is null and that would mean that the key you're specifying to look up either doesn't exist or you do not …

Member Avatar for jmumby
0
149
Member Avatar for Jack Wetson

Is it just me or are you guys making this awfully difficult? Try this code: [code] public void InvMoveUp(int New_Y) { while (MainForm.PacMan.Top < New_Y) { MainForm.PacMan.Invoke(new MoveUpDelegate(MoveUp)); } } public delegate void MoveUpDelegate(); public void MoveUp() { MainForm.PacMan.Top = MainForm.PacMan.Top + 1; } [/code]

Member Avatar for Jack Wetson
0
167
Member Avatar for JackDurden

Interesting, I'm not familiar with the .Where method. Where or what object does that exist in?

Member Avatar for Rashakil Fol
0
84
Member Avatar for ishan joshi

I'm not sure how to do it in ASP .NET but you could use javascript to capture what you want (I believe Google Docs does this). You can do a google search for shortcut ctrl keys web apps and you'll find some stuff. You also want to think about the …

Member Avatar for nelis
0
79
Member Avatar for thacravedawg

I don't think there is a limitation on Rows.Add. I would verify that purchaseUnits is greater than 1 when hitting the loop. Also if you copy/pasted that code, why do you have [B]I[/B]nventoryModuleDb3DataSet at the top and [B]i[/B]nventoryModuleDb3DataSet through the rest of the code. I'm guessing it's a property but …

Member Avatar for nelis
0
76
Member Avatar for DrLod

Search for zooming graphics or magnify. As for the view and browsing pictures, it's not difficult to load thumbnails and what not to view them. Having an interface to view and browse the pictures would end up being limited by your imagination and time. The more cool looking you want …

Member Avatar for nelis
0
213
Member Avatar for complete

I'd debug the DialogResult to see what or how many you're getting back. It could also be that the messagebox is being displayed twice when the cell click event is fired. If that is the case, either debug the click event or add a bool to only allow the messagebox …

Member Avatar for cVz
0
251
Member Avatar for OrderChaos

Yea something is odd about your code. If that event method was generated by visual studio, why does it have System.Windows.Forms.KeyEventArgs in the parameters definition. To me this makes me think that Windows.Forms isn't in the namespace which would be odd if that code is in the form.

Member Avatar for Ramy Mahrous
0
1K
Member Avatar for Rashakil Fol
Member Avatar for nikola.rosic

I'm not sure SizeChanged would fire if the window has just lost focus. I'd try using this.Activated or put an invalidate statement in the Paint event to refresh the graph object.

Member Avatar for nelis
0
221
Member Avatar for ambarisha.kn

[QUOTE=LizR;785831] so as other have said open it, dont close it until you're done with it[/QUOTE] I'd not recommend this in practice. If you open it and just hold on to it, what other process is now failing because you're holding onto resources? How about doing some research to find …

Member Avatar for nelis
0
1K
Member Avatar for wendas

ddanbe beat me to it. I'd go with the System.DayOfWeek, however to answer the general enum question, you would only need the GeneralDates if the eFullWeekDays enum instance is outside the scope of your class or namespace. Example: [code] namespace TestA { public class Class1 { public enum Values { …

Member Avatar for nelis
0
103
Member Avatar for rtepp

I know this is an ugly bump but I've been trying to figure out this exact scenario with still no resolution. I've shorten up the code based off various google searches with the result as: Type oType = Type.GetTypeFromProgID("InternetExplorer.Application"); if (oType != null) { SHDocVw.InternetExplorer ie = Activator.CreateInstance(oType) as SHDocVw.InternetExplorer; …

Member Avatar for nelis
0
648

The End.