|
Well I'll be writing the code in C#, so it's not all that daft a place to put it...It's a given that my environment is ASP. Thanks anyway though.
|
|
|
|
|
Hello
MSTest /testcontainer:"%comp_path%\TestProject\bin\Debug\TestProject.dll" /runconfig:"%comp_path%\localtestrun.testrunconfig"
/resultsfile:"%logspath%\StandardRealizationTestProject_%mydate%_%mytime%.trx" >>%logfile_path%
this is my test to run my tests over a script.
The TestData directory added in the localtestrun.testrunconfig does not used by the test and the tests does not run succefully ?
any suggestion...
dghdfghdfghdfghdgh
|
|
|
|
|
Hi All,
I am using the Asp.net, C# and SQL Reporting Services 2005 in my project.
What i am doing to send the contents ion mail that i create the aspx page at runtime and append its source in the Email body content. and just send the mail.
But when i use SQL Report my dynamic page and send the mail then these reports are not render at runtime thus in the mail it shows that "your browser does not support script" etc.....
When i run that dynamic page it is showing fine and reports also render very fine..
but when i see the page in debug mode in HTML format its giving same error "Your browser...."
what i m doing wrong ???
Why the report is not going in email ?
please help...
thanks
Nitin
|
|
|
|
|
Hi
i want to search in image to extract subImage from it, then compare subImage with another image(another image is my template), for example my template image is pen, then in an image, i want to search it to find pen (base on template image), but i don't know how to do this, can anyBody help me ?
thanks.
|
|
|
|
|
|
Hi Alan
can u give me sample code ?
thanks
|
|
|
|
|
are you looking for an exact grid of pixels in the image or something softer like a thing that looks to a certain extent like the other image.
If you have both images as bitmaps then take the colour value of pixel (0,0) in the image you are looking for. Then search the first image till you find a match. When you have a match check to see if pixel (1,0) matches the next pixel along in the image. If it does go to pixel(2,0) etc. If the pixel doesn't match go back to searching the image for the colour value from Pixel(0,0) again until you either find a match or run out of image to search.
Russell
|
|
|
|
|
Hi Russell
you mean i must search pixel by pixel ?
can u give me a sample code ?
thanks
|
|
|
|
|
when program startup, I will give a parameter to main meth.
then this parameter will transfer to MainForm(parameter of "Application.Run" method).
But if program has run, how fransfer this parameter or get the MainForm?
|
|
|
|
|
Do you mean you want send some values as parameters to Main?
This can be done like: Goto "Project properties -> Debug -> command line arguments" and put values separated by space.
|
|
|
|
|
yes.
But i want to send this parameter to WindowsForm yet.
|
|
|
|
|
Well in that case, create a parameterized constructor of the form you are calling in Applicatio.Run() and send the values.
|
|
|
|
|
Thanks.
But you said the way can achieve at startup only.
If program has run, how send parameter?
|
|
|
|
|
jason_mf wrote: But you said the way can achieve at startup only.
If program has run, how send parameter?
Didnt got that.
|
|
|
|
|
Because my winform program can run only instance.
So I checked in main of program class.
if there is a instance in proceeding, can I get the main form of this instance?
Or other way?
|
|
|
|
|
What kind of information are you trying to pass, and when?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Anther program will call my winform program, then open a form (is not MainForm ).
the caller will send a string to my winform.
when the caller calls, my winform maybe has run, or does not run.
|
|
|
|
|
If the program is already running you still send the parameter the same way, the constructor. The only difference is that Application.Run() won't be calling that constructor. You will have to call it yourself, how is up to you.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
first get the form.
then set property of the form.
can it achieve ?
But I can not get the form.
|
|
|
|
|
Hi I have an object I need to serialize in XML.
In my object I have some decimal fields that in the XML file must (MUST) appear with 2 decimals.
Is there a way to tell the serializer he must format all decimal that way?
Life is not short... the problem is only how you organize yourself
|
|
|
|
|
Can I change windows time & date with C#?
Mahdi 82161021
|
|
|
|
|
|
I doubt your users want you messing with their clocks.
|
|
|
|
|
Hi,
I have 3 sql tables.
1.deptmaster
-dptid(PK)
-dptname
2.deptassignment
-dptid(FK)
-rptid
-frequencyid
3.rptmaster
-rptid(PK)
-other rows
4.rptfreqmaster
-freqid
-freqname
I want to show values from table in given below form in treeview control.(I am using c#.net web application)
-Reports
--Department
---ReportName
scenario: 1 onclick of Reports in tree view I want to get all dept from table.
2 on click of Department in tree view I want to get all reports name in this department.
please give me the solution ASAP
its urgent.
With Regards
Ashish K. Vyas
|
|
|
|
|
Hi,
Project
-------
I have this list box that will get a list of items from a database. Upon choosing an item, it will populate the DataGridView with the data, this data is different for different items, e.g. one might have a size field and another wouldn't or an item might have 5 entries but another 9, etc. This populated data is from a table that has a unique ID (key), the field name, the field value and the foreign key to link to the item table.
Problem 1
---------
Currently, I'm trying to add an item into the database, how can I create a DataGridView that would allow me to add rows to it. If I bind it to a table I get the error that table.rows.add() is not allowed on a bound DataGridView.
I have to presume that I can just unbind the table and add the rows of data manually. I'm wondering if there is an easier way of doing it.
Problem 2
---------
Further to the above, if I want to edit an item, how can I go about adding a new row if the columns are bound. I require (during editing) that columns because more than 1 user might be editing the same item at the same time.
How would I go about doing this?
Anyone has any article to point me to?
Thanks.
Desmond
|
|
|
|