|
Yes i can do that
Follow next steps.
1.Rigth Click in general tool box, select option "choose items"
2.select tab .net frameworl componet
3. And the trick ... Click in Browse dll
4.Find and select dll ZedGraph.dll and drag and drop in general tool box
5.is done , now you can see zedgraph control and ready for you use
|
|
|
|
|
I have an application that uses a datagridview to display all the values in a particular datatable, while individual field values for the currently selected are shown in text boxes, comboboxes, etc. below the grid.
Anyway, when I call GetChanges() on the bound datatable, the datatable returned by the GetChanges() method often returns rows as modified even if all the current and original values in that row are equal. When I first load the application, this is not the case, but when I start navigating through the table, each row that I leave is marked as Modified.
Any advice regarding the cause and solution of this "error" would be appreciated.
Thanks.
|
|
|
|
|
Evning All,
Can anyone tell me if it's possible to fire an event (add components to a form) when you click on the tab of a 'TabControl'
I've learned that with other components in the form you 'double click' on say.....a button and it automatically takes you generated code that you can add to.
However, when designing the form you can't double click on an individual tab so i was wondering i there is such a feature.
Regards
Neil
|
|
|
|
|
There is probably a tab changed event or something. Another option may be to get the click event of the tab control and then figure out which tab was clicked.
|
|
|
|
|
Hi,
you want the TabIndexChanged event.
It handles the entire TabControl, not individual pages, so if you need code specific for each page you might want to insert a switch statement there.
|
|
|
|
|
Hi,
I have self signed certificate and I am running my java web service on tomcat on https. I can access the wsdl with the browser. I need C# client to access this service. I already have a C# client that uses this service via http.
So I generated the stub with wsdl c# utility. What do I do next so I can use my java web service in c# client via https.
Thanks.
|
|
|
|
|
Hi Everyone,
I am working on a C# windows application in DotNet 2005. I want to show some address form DB on Map, and plot the route also. I checked the Virtual Earth. If I am using the Virtual Earth, I have to make and HTML page and show in the Web Browser control. But by this I wont be able to communicate with it from my Windows Application.
As I am very new to this thing... Can anyone who has worked on this type of things, please tell me what is good to use in my situation Virtual Earth or MS Mappoint ?
Thanking in advance.
Priya
Priya
|
|
|
|
|
How to create a DSN programmatically in C#? I need to create a DSN for Oracle.
|
|
|
|
|
For Oracle, I use the classes in Oracle.DataAccess.Client
I start with an XML file with a list of databases:
<ORACLEHR Type="ORACLE" Server="servername" Port="8080" Username="HR" Password="hr" />
and pass the information to something like:
string.Format
(
"Data Source={0}:{1};User Id={2};Password={3};"
,
Server
,
Port
,
Username
,
UserPassword
)
to produce the connection string.
|
|
|
|
|
|
Just wondering if anyone has tried this. Firefox add-ins are done with C++ and their Gecko API, but me being a lazy .NET programmer and not wanting to get all hardcore again, I was wondering if anyone's tried doing a .NET COM wrapper for a Firefox add-in.
I've made add-ins for another native application this way, but I had help with the COM side of it(by the developer who wrote it in VB6), and so I'm not sure what the procedure would be.
Any ideas?
|
|
|
|
|
I haven't done anything with it, but I've heard a couple of people (can't remember who) say they did it and found it to be a nightmarish process.
|
|
|
|
|
Hi. I am having problems with configuring my crystal report. When I attached a dataset to my application, and dragged the table from my newly created database to the dataset, and added a .rpt file which is a crystal report; on the ADO.NET node (which is in the Crystal Report Wizard), I was able to see the dataset I just added plus the table I dragged into the dataset.
However, when I attached my old database, which was created months ago, I cannot seem to view the table I dragged into my dataset. It's always empty. That's why I cannot create the fields needed on my added crystal report. Why's this? And does anyone know how I can deal with this? 
|
|
|
|
|
hi,
does your dataset in CR matchs 100%(variables type) with the store_procedure output(for exemple) from the database?
do you get that kind of error only with images or with everthing?!
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
I'm not sure. But I'm only having problems with my old database. When I created a sample database and attached it on my CR, it recognizes the tables attached to the dataset. However, with my old database with procedures, the CR wizard cannot recognize them at all. I have no images in my database. Just pure text and integers.
|
|
|
|
|
Hi guys,
This might be a broad question for help but I request any suggestions. I have an application in which upon login I hide it with the use of a notify icon. As transactions happen, my hidden app calls another form which works fine for the most part but sometimes the form that I call, upon closing it shuts down my hidden application as well. Is there a way for me to troubleshoot this or avoid this issue.
Please advice.
Thanks in advance
Sameer
|
|
|
|
|
Can you show me code which close form
|
|
|
|
|
the form which you want to close. the deactivated() event of that form include code this.close();
|
|
|
|
|
I don't understand. What do you mean by deactivated event. Instead of using this.close() do you think I should use Form.ActiveForm.Close();
Sameer
|
|
|
|
|
it's a huge piece of code so I will try and explain it. The form that I am trying to close that is closing my application is:
1. visible=false
2. the part where I call this.close(), I am sending a print job upon which I call this.close().
So, when I call the close, my form is still invisible.
Sameer
Sameer
|
|
|
|
|
How you create this form?
|
|
|
|
|
|
Please,Show me code show/hide form.
Maybe
this.close replace by
visible=false
|
|
|
|
|
here is some code
here is my hide application code:
public void HideApp()
{
//this.WindowState = FormWindowState.Minimized;
Hide();
}
This is when I open the new form which upon closing is shutting down the whole application.
this.timer1.Enabled=false;
try
{
Payment frm = new Payment(m_pDBCnn, m_pDBUserId, m_pDBPassword, EmpId, TermNum, SiteId, TrnNum, LogId, SystemConfig);
if (frm.ShowDialog(this) == DialogResult.Cancel)
{
Status = frm.Status;
if (Status == 1)
{
this.timer1.Enabled = true;
this.PopulateInvoices();
}
}
}
catch (Exception ex)
{
MessageBox.Show("Error in payment, contact Administrator\n" + ex.Message, "SelecSoftware POS™", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
Sameer
|
|
|
|
|
The general pattern for this is to have the main form - the one that is hiding in the system tray - own a reference to the other form.
Then when that child form needs to close, either call this.Close() from inside the child form, or have it call an event. The parent form(the one that's hiding) will subscribe to that event, and call Dispose() on it's reference to the child form. That should kill the child form while leaving the parent form running in the system tray.
Just don't call Application.Exit() or it will kill all your forms.
|
|
|
|