|
Hi friends
I have requirement like this.
Let's assume if one form contains more than one data grid which is used to populate different data's.
To identify the grid contents we can use grid caption.
Instead of using the grid caption show the Images in top left corner of data grid.
If any one come across this requirement.
Let me know how you were succeed this requirement
charles
|
|
|
|
|
Hi friends
I have requirement like this.
Let's assume if one form contains more than one data grid which is used to populate different data's.
To identify the grid contents we can use grid caption.
Instead of using the grid caption show the Images in top left corner of data grid.
If any one come across this requirement.
Let me know how you were succeed this requirement
Thanks
Charles A
charles
|
|
|
|
|
I have a winApplication which has a form.
In that form I have a sql data adapter which contains 4 command for select,update,delete,insert.
When I execute insert command, with passing 9 parameters values, by use of executenonguery function I receive "procedure or function "procedure name" has too many argument specified" error massage at line of executing.
What should I do? I don't know what's happend there cause I check every parameters by breakpoint and saw that every parameters were passed!
|
|
|
|
|
You have asked this question already[^]
I have given you suggestions already, including to post the code so we can see it.
isiran wrote: What should I do? I don't know what's happend there cause I check every parameters by breakpoint and saw that every parameters were passed!
And I've told you already that it is obvious that every paramter is passed because the error message tells you that "too many" parameters have been passed. This suggests that you are passing more parameters than was expected.
You have to help us to help you. We can't guess what is in your code. You have to show us.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
Colin Angus Mackay wrote: This suggests that you are passing more parameters than was expected.
Attempting to bribe the SQL Server?
|
|
|
|
|
the problem is simple, youre passing more arguments then ur supposed to so double chk on the number of parameters ur passing. and post the code when u have such problems
|
|
|
|
|
Can anyone please let me know what is the difference between a service with "Allow service to interact with Desktop" checkbox checked and unchecked ?
|
|
|
|
|
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1002276&SiteID=1
|
|
|
|
|
is it only for making interactive or something else is also there ?
We have a service for our application, and our application uses another application.
The option "Allow service to interact with desktop" for this service is set.
If i set this option checked for my service then only my application works,
otherwise no.
For my application to work, both the services's option must be either checked or unchecked.
|
|
|
|
|
Hi,
I have problem with standart ToolStrip.I need to prevent toolstrip to change ToolStripContainer, but i don't now how. Best scenerio would be my own ToolStrip class inherited from ToolStrip enhanced by property bool AllowContainerChange. User should be able to move this ToolStrip between panels in single ToolStripContainer, but not between Panels of two different containers. Please help, how could I achieve this? I was trying to remember previous ToolStripContainer in OnBeginDrag method and then setting it back in OnEndDrag method, but I don't think, it's a right way, because it doesn't works well.
Thank you very much.
|
|
|
|
|
I'm trying to extend the window frame into the client area on Vista using interop to the DWMAPI. I have it working just fine when the client is running the Vista Aero theme (that's the one with glass enabled).
The problem comes in when I switch the client to running the Vista Aero Basic theme (which doesn't have glass enabled). Instead of the frame being extended into the client area without the glass effect, I don't get any change.
I know it can be done because the Vista Explorer and IE 7 do this when running under Aero Basic. My question is how is this happening? I know it's not a function of the DWM, since the call to DwmIsCompositionEnabled[^] returns false . Does anybody know what API's are being called?
|
|
|
|
|
hi guys,
please how can i index all files i have in vista in one step.
my point is to increase the windows search speed.
thanks in advance...
|
|
|
|
|
Use google desktop
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
thanks dude ,
I used google desktop in my XP but now I have vista which have powerful desktop search engine :->.
do you have an idea how to do indexing in vista???
|
|
|
|
|
I have Vista too and I also think it's desktop search capabilities are mediocre. Instead, I use Mo-search, which has ranked results and works much better for me, especially on source code:
http://www.meauxsoft.com/21701/index.html[^]
Just install it and it auto-indexes everything. Then, days/weeks in the future, when you need to update the index you just go Toolbar->Tools->Reindex. This does reindexes everything, but only the files that have changed so it's pretty quick. good luck.
|
|
|
|
|
Hi,
I have a stand alone windows application, which requires 3 input parameters to run program.
I want this app automated.
How can we do this, so that the 3 input parameters are "set" once, the first time they run the app, and from then on, it is automated to use those 3 parameters always to run application - in other words automated.
Thanks so much for your time.
|
|
|
|
|
XML configuration files, there are plenty of articles here at CP on the topic
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Hi Everyone
I was wondering if anyone could help me out.
I have a main windows form with various child forms. One of my child forms handles the wheel mouse events to zoom in and out. This works fine until I select a combo box on the main (parent)window toolstrip. If I then click my mouse anywhere in the child window and then use the wheel mouse the combo box scrolls through it's items rather than the child window scrolling as it should. The only way to get the wheel mouse focus back to the child window I require is to click on one of my other child windows and then back onto the child window that I wish to zoom. The wheel mouse is then handled correctly. Can anyone tell me an easy way of removing the focus from the combox box?
Many thanks in advance!
Steve W
|
|
|
|
|
Apologies if this has been done before, but my searching of the forums didn't yield any results.
I want to know what your preferred tool is for unit testing your WinForm UIs? (not the logic behind the interface, but the controls themselves)
I've looked at Fitnesse briefly, but there's not going to be any quick or simple way to set up a web server on my current client site.
Our team already uses NUnitForms, but I'm wondering if there's any viable alternative.
Thanks in advance. Look forward to seeing peoples' responses.
Regards
Ashley
|
|
|
|
|
I used to use our own tool which is extended from NUnit. We added two features such as Macro recording/playback and image comparison to our tool. it's very useful for UI Testing. The point here is that it's not easy to find the best tool which is met with your requirement. (Everyone has its own requirement and needs.) So, it is better if you add some customizations to the existing opensource testing tools to meet with your requirement.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
how can i start a form maximized ?
-- modified at 23:58 Tuesday 7th August, 2007
|
|
|
|
|
set the window state property on the form to maximized.
www.codewash.com
|
|
|
|
|
If you don't want to set the form to maximized at design time do it in onLoad event:
this.WindowState = FormWindowState.Maximized;
Toby
|
|
|
|
|
also if you want to force the form to remain in maximized state then write its resize event and do the following
if not designmode then
me.windowstate = formwindowstate.maximized
endif
Salman Sheikh
|
|
|
|
|
[Pitfall] if you do this (in form load you write windowstate = maximized) and then inherit a from from this form it'll create troubles. so first check if it is in designmode
if not Me.DesignMode then
me.windowstate = Maximized
End if
Salman Sheikh
|
|
|
|