Sep 16 2009

Comment by Seth Spearman on ms access reports and queries

Tony, This is his only question asked. Where is your answer? Seth
Sep 15 2009

Comment by Seth Spearman on Moving from Microsoft Access 2007 to Sql Server 2005

The language choice is a preference. There is no right answer. If they don't know any any squiggly bracket languages then vb will be easier. But others would argue that it is the time to learn c#.
Sep 11 2009

Comment by Seth Spearman on Please explain C# syntax to a vb-er

Thanks Qua...that did it. And thanks for the lesson on ternary op for vb. I am very familiar with iif. Glad to know there is now a short-cicuiting version. Seth
Sep 11 2009

Please explain C# syntax to a vb-er

Hello,

I have the following code snippet:

		// Notify the source (the other control).
		if (operation != DropOperation.Reorder) {
			e = new DroppedEventArgs()
			{
				Operation = operation == DropOperation.MoveToHere ? DropOperation.MoveFromHere : DropOperation.CopyFromHere,
				Source = src,
				Target = this,
				DroppedItems = srcItems
			};
			src.OnDropped(e);
		}

I do not understand the
Operation = operation == DropOperation.MoveToHere ? DropOperation.MoveFromHere : DropOperation.CopyFromHere line.

Can someone explain it? For the record...dropOperation is an enum. Can you give vb syntactical equivalent is all I need.

Seth

Sep 11 2009

How to create a "drag target line" in a winforms listbox that shows whether the drop source is being dropped before or after the drop target

I have a user control that is hosting a winforms listbox. I am re-sorting items in the list using drag and drop. I realized that I need a drag "target line" that shows whether I am dropping before or after a target.

Any suggestions. I am open to suggestions. I am not wed to the listbox. I can use another winforms control (the lighter the better) and I am also licensed for winforms telerik controls (a couple of version back). RadListBox does not do the data binding to my biz object correctly so I went with winforms version. But maybe another rad control would give me this out of the box.

For the record, my preference is to stick with the winforms listbox if it can work.

If I need to implement this behaviour myself does anyone have code samples or suggestions on how to do it. I would not have a clue on where to start?

Sep 11 2009

Can someone tell me how to create a “drag target line” in a winforms listbox that shows whether the drop source is being dropped before or after the drop target

Hello,

I have a user control that is hosting a winforms listbox. I am re-sorting items in the list using drag and drop. I realized that I need a drag "target line" that shows whether I am dropping before or after a target.

Any suggestions. I am open to suggestions. I am not wed to the listbox. I can use another winforms control (the lighter the better) and I am also licensed for winforms telerik controls (a couple of version back). RadListBox does not do the data binding to my biz object correctly so I went with winforms version. But maybe another rad control would give me this out of the box.

For the record, my preference is to stick with the winforms listbox if it can work.

If I need to implement this behaviour myself does anyone have code samples or suggestons on how to do it. I would not have a clue on where to start?

Thanks.

Seth B Spearman

Sep 09 2009

Comment by Seth Spearman on How do you reference a field in the Embedded Code of an SSRS report.

Thanks...that's what I needed to know. Seth
Sep 09 2009

Comment by Seth Spearman on Can you reference the textboxes on an ssrs report from embedded code

Thanks for your answer. Although I still used custom code per the comment above. Seth
Sep 09 2009

Can you reference the textboxes on an ssrs report from embedded code

Is it possible to reference a textbox from the embedded code of a ssrs report. I would like to show or hide the textbox based on a condition.

Sep 09 2009

Can you reference the textboxes on an ssrs report from embedded code

Hello,

Is it possible to reference a textbox from the embedded code of a ssrs report. I would like to show or hide the textbox based on a condition.

Thanks.

Seth