|
am new to C#.net. i want to create the windows app that must contain the task-bar with icons related to them.can anyone solve my issue
modified 8-Oct-14 10:13am.
|
|
|
|
|
Edit: OP now moved, this message is irrelevant!.
modified 8-Oct-14 10:54am.
|
|
|
|
|
I think that strictly speaking this is more of a "wild eyed unfounded ambition" than a question - but I suppose it could be broken down into one ore more constituent questions.
|
|
|
|
|
Well then in that case, it's probably best you post in the right place.
(Hint:The Lounge, with it's banner proclaiming Technical discussions are welcome, but if you need specific help please use the programming forums. certainly isn't it.)
Try the C# forum, here: http://www.codeproject.com/Forums/1649/Csharp.aspx[^]
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon
|
|
|
|
|
Member 11117384 wrote: can anyone solve my issue More than likely, but they would expect to be paid. However, if you have a specific technical question, rather than a vague wishlist, then people will try to help you for free.
|
|
|
|
|
Hello
I have made a window form application using connection with sql database the application is ready to work in my computer. but when I was publish the project and also create a setup, then I am trying to install this project another computer then the application did not work. and the message show path not found
If you have an idea to solve this problem please share to me
Mohd Suhail
|
|
|
|
|
You haven't provided much in the way of detail. What exactly does the error message say, what are you trying to do when you get the error message etc.
Have you copied all the necessary files over to the other computer, does the code refer to a path that it can't access?
Please provide more details and we may be able to help.
|
|
|
|
|
The project is not running on my second computer. Only running on where it was build.
|
|
|
|
|
coolsuhail wrote: and the message show path not found A self-explanatory message, you are trying to access a file or folder which does not exist.
|
|
|
|
|
It could also be showing that he's lost in a forest, and that he's forgotten to leave a trail of gingerbread crumbs to find his way out with.
|
|
|
|
|
I think that's error code 0x0BADF00D.
|
|
|
|
|
You are saying that the "message show path not found".
- That is the issue. Have you hard-coded any paths in your application? Go through your entire application and look for all the used/referenced paths. Make sure the paths are relational.
- Use proper logging to record the exceptions thrown.
|
|
|
|
|
Hello,
I have problem to put variables to reportviewer.
First I put variables to parametrs and then to reportviewer.
Code looks like that:
jodb baza_win = new jodb(.....data.....to.....connection......SQL);
List<DaneRaportu> lista = baza_win.pobierz_rap_view(......query......SQL)
reportViewer1.ProcessingMode = ProcessingMode.Local;
LocalReport localReport = reportViewer1.LocalReport;
reportViewer1.LocalReport.DataSources.Clear();
reportViewer1.LocalReport.ReportEmbeddedResource = "Raporting.Report_Promo.rdlc";
Microsoft.Reporting.WinForms.ReportDataSource dataset = new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", lista);
reportViewer1.LocalReport.DataSources.Add(dataset);
dataset.Value = lista;
string data_rap = "Dataprobna";
ReportParameter nowydataod = new ReportParameter("dataodview", data_rap);
this.reportViewer1.LocalReport.SetParameters(nowydataod);
Next in report I put parameter to textbox. Expression looks like that: Parameters!dataodview.Value
When I start program I get this communication:
An error occurred during local report processing
In details:
Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.Reporting.DefinitionInvalidException: The definition of the report '' is invalid. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\User\AppData\Local\Temp\expression_host_1f2d7bdeb7b24b8a9d99ff74d15a1b60.dll' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
The strange thing is that when I start program in Start Debugging everything is ok but when I start program in Start Without Debugging I have bug.
Maybe someone knows what happened?
|
|
|
|
|
I am making windows application. In that I have a requirement to make table cell acting just like a button I don't want to use DataGridViewButtonCell. How could i do this please help me its urgent.
|
|
|
|
|
avisharma@sharma wrote: How could i do this please Same way as a button column; you handle the CellClick[^] event of the DataGridView . It works the same for button and text-columns.
avisharma@sharma wrote: help me its urgent. No, it ain't. We're volunteers, it cannot be urgent here.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Sorry Eddy its mistake. No Urgent I understand
|
|
|
|
|
Hi Eddy, but can you please provide me the code for saving the cell click means that it is clicked into the database because there is a need .
|
|
|
|
|
Check the link, it contains an example (without the database code).
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Perhaps you can help me in my search as I know very little C#. I'm looking at delegating functions and marshalling the function pointer to a win32 p/invoke function. I think my issue is with delegating. Basically I've set up a delegate function (to simplify I'll use):
public delegate void Foo(int x);
Then I declared a delegate member
Foo f;
Then I assign it to an appropriate function:
f = this.MyFoo;
Which was declared like:
public void MyFoo(int x){...}
I then get the function pointer via Marshalling:
win32function(handle, Marshal.GetFunctionPointerForDelegate(f));
Currently I'm getting an error for the win32function() of invalid parameters. The only parameter I cannot be sure is correct is the function pointer I'm passing [the win32 function is looking for a callback function]
I'm assuming I'm not completing getting the picture of delegating. Any ideas?
I can dump the working code into the forum but I was trying to keep things simple.
Thanx
Dennis
|
|
|
|
|
I think you need to use the UnmanagedFunctionPointerAttribute on your delegate; see if this is useful: [^].
« There is only one difference between a madman and me. The madman thinks he is sane. I know I am mad. » Salvador Dali
|
|
|
|
|
hi every one
i want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write .
my code:
try
{
((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax;
int g, b;
g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value);
b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value);
((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g;
((DataRowView)fatemeBindingSource.Current).Row["name"] = b;
fatemeBindingSource.EndEdit();
fatemeTableAdapter.Update(this.baziDataSet.fateme);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
best regards
|
|
|
|
|
my problem is a select last column in grid jans that not to be select.
please help me i am tired .i am cellselectionmode =entirerow
but not select colunm last gridjanus.
please help me
modified 7-Oct-14 17:34pm.
|
|
|
|
|
please help me. i am wating guide for solve problem.
best regards
|
|
|
|
|
My question is how can we save button click event state in database that whether it is clicked or not means if user click the button then automatically it will save as yes in database. I am using SQL Serve 2008 r2
Please help me out
Thanks
-- modified 7-Oct-14 8:50am.
|
|
|
|
|
How do you intend to notify the database that the user has NOT clicked the button.
Trapping the click event is trivial and will depend on the UI you are using, you did not mention that!
Never underestimate the power of human stupidity
RAH
|
|
|
|