836 Posted Topics

Member Avatar for Jengrut
Member Avatar for Teapot

Well normally you would do this by rather than using an array you would have an array of objects where on getting the value you retrieves the current value.

Member Avatar for dickersonka
0
87
Member Avatar for KenTheFurry
Member Avatar for Jacob777
0
269
Member Avatar for ABKTECH
Member Avatar for Jacob777
0
172
Member Avatar for minusone

As you say, a lot of it is dependant on the app. If you have a huge system with modules, and reporting, and options, and potentially even client specific based chunks, and all that.. Id probably split the classes like you outlined above if not more so.. However, for general …

Member Avatar for LizR
0
227
Member Avatar for gp04lch

I dont believe you can retrieve deligates assigned to an event, however, i would have thoguht you could cheat! And make an anonymous method that would work something like: [code]RowHeaderMenu.MenuItems.Add(((ToolStripMenuItem)menuitem).Name, delegate(object ssender, EventArgs se) { ((ToolStripMenuItem)menuitem)..PerformClick(); }); [/code]

Member Avatar for gp04lch
0
178
Member Avatar for serkan sendur
Member Avatar for Gaurav arora

Firstly I think you need to look at why you dont want it to be data bound - why you cant use a simple query to return the unique values you need in that list and bind it.. So, *why* not?

Member Avatar for Jugortha
0
116
Member Avatar for mcgd

Probably because you didnt tell it to update the original only the copy in memory [url]http://msdn.microsoft.com/en-us/library/xzb1zw3x(VS.80).aspx[/url]

Member Avatar for LizR
0
2K
Member Avatar for Tank50

You overwrite D1 with datasource, therefore it has no table name.

Member Avatar for Jugortha
0
86
Member Avatar for Deemar
Member Avatar for dad45

Use grep and look you'll find somewhere in one of the files the paths have been embedded

Member Avatar for dad45
0
132
Member Avatar for FallenPaladin

Why not be more helpful and give an example of your XML as well as your failing code.

Member Avatar for Jugortha
0
142
Member Avatar for polo_coins

if you think of a normal class, you have say a form, you can add to it. You can make it your own, you can extend it.. A sealed class you cant, its as it is, it cannot be tampered with. To make it sealed, you simply add the word …

Member Avatar for Jugortha
0
111
Member Avatar for murderotica

Services do not run in the same session as a user, and should not be user specific. If you need it to run as a specific user then they need to enter their details in the service credentials so it runs as them, however, the user session when they log …

Member Avatar for Jugortha
0
206
Member Avatar for intel1111

Your question is unclear because you have used lots of caps and no punctuation, and barely described the issue. However.. I believe most of the code you posted is unnecessary, bar the "newuser1" function But, Im guessing the main part is you need to check your seek worked, and th …

Member Avatar for intel1111
0
365
Member Avatar for maurya_alld

So you needed to post another answer to a nearly 11 month old thread that was marked answered? Please use code tags, as well as explaination dont just throw code.

Member Avatar for LizR
0
2K
Member Avatar for gouki2005

No they are all "methods" the only difference is if you dont want to return anything you say it returns "void" eg nothing

Member Avatar for dickersonka
0
81
Member Avatar for chanda gul

You could [DllImport("advapi32.dll", EntryPoint="RegEnumKeyEx")] public static extern int RegEnumKeyExA(int hKey, int dwIndex, string lpName, ref int lpcbName, int lpReserved, string lpClass, ref int lpcbClass, ref FILETIME lpftLastWriteTime)

Member Avatar for Jugortha
0
116
Member Avatar for emamizadeh
Member Avatar for gp04lch
Member Avatar for LizR
0
146
Member Avatar for MostafaFCI2008

With what specifically? We dont do home work, you give us code and what the exact problem is, we'll then help you try to see how to fix it

Member Avatar for LizR
0
43
Member Avatar for gp04lch
Member Avatar for gp04lch
0
71
Member Avatar for mrjoli021

You have a few choices 1. Read the entire file in, and then write out the stuff you want 2. While reading through your file, output to a new file the stuff you want and move it. 3. Have a flag in your structure that says "ignore this line its …

Member Avatar for ddanbe
0
90
Member Avatar for panpanf
Member Avatar for Tank50

Dont you need to set some more details about datatable before its usable? When you've created "B" and you debug it, what does it show you?

Member Avatar for LizR
0
118
Member Avatar for eqalizer
Member Avatar for gp04lch

Sure, define your own class descending from the original, and then you can a) allow the original to draw as was and draw over the top b) add properties and data of your own

Member Avatar for gp04lch
0
140
Member Avatar for ABKTECH

Then you need to reword your question properly as the answer given answered your original question.

Member Avatar for LizR
0
124
Member Avatar for l_23

Make a new thread as the intiial post was answered and this is not your thread. Post with code tags so your code is readable. As well as explain the problem you're having.

Member Avatar for LizR
0
346
Member Avatar for crprajan

Please read the stickies, we wont do it for you. We will help you, but you'll need to come up with a bit more than can you help me. Ask specific questions.

Member Avatar for dickersonka
0
116
Member Avatar for sfrider0

What are you connecting to? Does it need line feeds at the end of your Send before it will respond?

Member Avatar for sfrider0
0
118
Member Avatar for preetisingh

I guess your google for soundex and c# wasnt working.. [url]http://www.csharphelp.com/archives2/archive394.html[/url] Which has an example of how to apply and create a soundex

Member Avatar for LizR
0
82
Member Avatar for K1Kingy

Then change it to [code]Match description = Regex.Match(textBox1.Text, @"<span id=(.*)style=display: none>(.*)</span>");[/code] That returns the 2 sections you're after

Member Avatar for LizR
0
98
Member Avatar for pacwire

So you put the " marks round the :1 and :2 (to avoid the faces) ? it should work - failing that, you should if nothing else get an error returned from the query

Member Avatar for LizR
0
154
Member Avatar for mode17

OK, so you have working code. What stops it working automatically? Do you get an error? What values are you passing your method when you called it after the image load? What did debugging show you?

Member Avatar for LizR
0
92
Member Avatar for sfrider0
Member Avatar for polo_coins

The font size and type is user preference, Im not sure you can override it without making a fake console looking app.

Member Avatar for polo_coins
0
166
Member Avatar for SubProf

Is the web browser part of your app or a generic one installed on the PC? If its part of your app you stand a much better chance of doing it.

Member Avatar for SubProf
0
100
Member Avatar for Tyrial

OK, why cant the list box and grid be bound, you mention it gives problems - what were the problems? As for why your message box makes it work, thats hard to say, other than either something is happening time related, or, perhaps instead of selected value != null, you …

Member Avatar for Tyrial
0
107
Member Avatar for hgedek
Member Avatar for LizR
0
52
Member Avatar for murderotica
Member Avatar for sfrider0

This is a nice and simple thing to do, What have you read and what problems are you having? (Please read the stickies)

Member Avatar for sfrider0
0
110
Member Avatar for Duki

Start at the beginning Does your kernel have serial built in? If so, what serial ports does it find? and tell you are available?

Member Avatar for Duki
0
118
Member Avatar for rapture

Case statements as a rule usually take the form test value is x if test is 1 do this and end if test is do this and end if test isdo this and end othewise do the this and end end test. rest of code.. Your test there is asking …

Member Avatar for rapture
0
100
Member Avatar for polo_coins

Right click references, select the DLLs you want either from the predone list or your own.

Member Avatar for polo_coins
0
65
Member Avatar for Traicey
Member Avatar for Traicey
0
85
Member Avatar for trojanworm

How far have you got, do you have the 2 boxes and a button yet? Why would you use javascript as the whole next page and password part would be open for someone to either just bypass it or decrypt it and use your page

Member Avatar for jbennet
0
193
Member Avatar for Clawsy

What control currently has focus? Sometimes a control with focus can prevent some of these things working

Member Avatar for LizR
0
164
Member Avatar for polo_coins

OK but if you had [code] class MyClass { private int myval =0; public MyClass (int value) { myval=value; } public int MyValue { return myval; } } [/code] You would call this in your inherited with [code] public MyNewClass : MyClass { public int MyNewValue : base MyValue(1) { …

Member Avatar for polo_coins
0
211

The End.