|
Then you should probably ask Infragistics. Don't they have a support forum ?
Seriously, everyone there will have this library. Most of us ( me included ), don't. So how can we help you ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi All!!
I have a backend order system to place orders offline. It consists of a gridview with 5 rows (as default) with products. Let say I need to add more than 5 products, then I want to have a button that adds a new row to the gridview from which the admin member can choose another product. Something like the old Yahoo mail when you need to add a lot of images.
I have tried searching Google on how to do this, but I am struggling to get this right. Can someone please help me on how to do this please? If there are any articles that you know of, please let me know.
I really am desperate on getting help on this!!
I hope someone can help.
Regards,
ma se
|
|
|
|
|
Hi people,
I was wondering if somebody could point me (a C# novice)in the right direction with a problem I have?!
At work,the people above have told me I cannot install any C# software on my PC.
However, I want to create a form that allows a user to send an email to somebody chosen from a drop-down list. The email should contain all the info from the fields on the form. (We have Microsoft Outlook 2000 at work).
The data from each record would be stored in a Microsoft Access 2000 database.
(1)How would I go about creating a class that sends emails?
(2)How could I ensure the application is stand-alone and could interact with Outlook 2000, without me breaching any company regulations about installing software at work?
Many thanks in advance.
-- modified at 4:26 Monday 21st August, 2006
|
|
|
|
|
Jag77 wrote: At work,the people above have told me I cannot install any C# software on my PC.
So why are you asking here ?
Jag77 wrote: How would I go about creating a class that sends emails?
There's one built into C#, but as you're not allowed to use it, what language do you hope to use instead ?
Jag77 wrote: How could I ensure the application is stand-alone
You can't - it will require the .NET framework, no matter what, if it's C# or VB.NET.
Jag77 wrote: could interact with Outlook 2000
There are MAPI classes for C# on the web.
Jag77 wrote: without me breaching any company regulations about installing software at work?
If you're not allowed to install anything written in C#, you need C++ ( which is going to be a lot harder ). IF you're not allowed to install ANYTHING, no matter what the language ( which your last statement implies ), then you're out of luck, unless you can script something within outlook or Access itself. They can't possibly complain that you're running scripts in a program already installed, right ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Hi,
I'm kind of stuck with an serializing / deserializing problem using a generic dictionary holding references to various generic types. It goes as follows:
<br />
<br />
class MyBase : IXmlSerializable<br />
{<br />
}<br />
<br />
class MyGeneric<ValueType> : MyBase, IXmlSerializable<br />
{<br />
MyGeneric(Valuetype tVal)<br />
{<br />
val = tVal;<br />
}<br />
ValueType val;<br />
}<br />
<br />
class Program<br />
{<br />
dictionary<string, MyBase> m_Dic = new dictionary<string,MyBase>();<br />
<br />
void FillDictionary()<br />
{<br />
dictionary.Add("Key1", new MyGeneric<int>(10));<br />
dictionary.Add("Key1", new MyGeneric<string>("StringValue"));<br />
dictionary.Add("Key1", new MyGeneric<double>(3.1415));<br />
}<br />
}<br />
Ok, I hope you can see the idea behind it. It's mainly thought to hold a variety of different types whithout specifying a parameter enum which selects the appropiate value via a huge switch statement on lots of overloads to the value Get/Set property.
While I'm able to serialize the dictionary without a problem to an XML file, I'm stuck deserializing it.
The problem: how can I can generate a generic from a textinformation like
<mygenericofint32> or MyApp.MyGeneric`1[System.String] ?
The first classification is generated by the .Net serializer and the second is generated from typeof(...) .
Any ideas are very appreciated.
Thanks,
Florian
|
|
|
|
|
For the interested ones, I found a solution:
<br />
Type t = Type.GetType(typestring);<br />
object o = Activator.CreateInstance(t); <br />
This works, if you serialize the type on saving with GetType().ToString().
|
|
|
|
|
Hello!
I think it's a simple question, but i don't know where to start looking for the answer... I have a program which launches several processes. But, i don't want the program to launch a process if the application (the one the process is supposed to launch) is already running. My problem is checking whether the process must be launched or not. I thought searching the Task Manager, but i have no idea on how to get there.
Thanks a lot!
|
|
|
|
|
string processName = "MyProcess1";
Process[] processes = Process.GetProcessesByName(processName);
if(processes.Length > 0)
{
}
else
{
Process.Start(@"c:\MyProcess1.exe");
}
|
|
|
|
|
hi all i try to use tree view in my application but it didn't display the tree insted it display simple text like
Master1 Detail1
Master2 Detail2
i am using IE 6...Here is my code...what's wrong with my code...
TreeNode nodeProdDetail, nodeProdMaster;
nodeProdMaster = new TreeNode();
nodeProdMaster.Text = "Master1";
nodeProdMaster.ID = "1";
nodeProdDetail = new TreeNode();
nodeProdDetail.Text = "Detail1";
nodeProdDetail.ID = "1.1";
nodeProdDetail.NavigateUrl = "SomePage.aspx";
nodeProdMaster.Nodes.Add(nodeProdDetail);
Treeview1.Nodes.Add(nodeProdMaster);
nodeProdMaster = new TreeNode();
nodeProdMaster.Text = "Master2";
nodeProdMaster.ID = "2";
nodeProdDetail = new TreeNode();
nodeProdDetail.Text = "Detail2";
nodeProdDetail.ID = "2.1";
nodeProdDetail.NavigateUrl = "SomeOtherPage.aspx";
nodeProdMaster.Nodes.Add(nodeProdDetail);
Treeview1.Nodes.Add(nodeProdMaster);
ayyp
|
|
|
|
|
Hello Dear all
please help me how we can implement download functionality in windows based application project.
thanks
|
|
|
|
|
Hello
Depends on what you are trying to download -P2P, Http, ftp, etc...-
I'll assume you are trying to make a download accelerator like program!! Well, if so, try This article as a start[^]
Regards
|
|
|
|
|
Hello Friend
yes you are right i want to create a windows application like download accelerator in C# if you have any idea then how can i do the download file functionality then please tell me
thanks
|
|
|
|
|
|
How to add context menu in OUTLOOK "Preview Pane" ?
I mean IN the area where the subject, from ,to etc has been displayed..
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
Hello
I've never worked with it before, but doesn't it have a Right click event?? If it has you can handle the event and check the MousePosition property relative to your control's location.
Regards
|
|
|
|
|
well thats the problem... no such event as far as my knowledge is concerned..
well i think u have not understood the question .. Preview Panel ... do u know na?
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
Sorry!! Never used it before.
Regards
|
|
|
|
|
Hi,
I need help from anyone.
I have a datagrid, in that one column (Check boxes) is created by using item template.
I have two buttons beside to datgrid.one is up and another is down.
now my task is, after selecting a record in the grid, If click on the up button record should be moved up, if I click on down button record should be moved down.For the first record up button shoud not work. For the last record doen button should not work.
Please send me the code.
Thanks in advance.
|
|
|
|
|
Hello
Pinnapureddy wrote: Please send me the code.
It's not approperiate to ask for how the answer is posted this way. Maybe you declare that code snippets are preferable, but almost no one will post you "The code"!!
Now, to your issue. There many approaches to solve it. One is to make a column at the begining of the grid. You may cal it "Order". Now make that column invisible and store the order you want the columns to appear with in these cells. Sort the Grid according to that column.
When the user clicks up, swap the order value of the selected row with the one above and resort. When the user clicks down vice versa.
Before changing the values, check if order = 0, or order = MaxValue. If so, return without doing anything.
Regards
|
|
|
|
|
hi,
Thank you for your reply.
|
|
|
|
|
Hi,
using VS2005;
I have successfully setup Crystal Reports but only if I create a new oledbconnection using the Crystal Reports Database selector.
When I select a table in the Database Selector from an available Project Data -> ADO.Net DataSets -> dataset -> table I can chose the columns etc BUT when I run the program the report only shows the column names and not the actual data.
I presume I need to load the data into the reportviewer but I can't figure out how and nor can I find any help here or on the net.
Glen Harvy
|
|
|
|
|
Hi All!
I try to understand and improve my application cold start.
I already load as little as possible in the Main().
Now I have a test which gives strange results, and I try to understand what it means.
test 1:
====
I reboot, launch a small .NET executable, which takes 7 seconds, and launch my application, which takes 30 seconds.
test 2:
====
I reboot, launch my application, which takes 70 seconds.
Now this doesn't add-up, why?
Any idea what's going on?
I'm thinking to write a small "QuickStart" application which "initialize" everything. How should it work?
|
|
|
|
|
Super Lloyd wrote:
Now this doesn't add-up, why?
That's probably because most of the .NET framework runtime code was loaded in the cache when you launched the first .NET application. That still doesn't explain the 40 second drop though.
OTOH, 70 seconds to launch an application ? What does your application do to take such a long time to startup?
|
|
|
|
|
Warm startup is only about 2 seconds...
So ... I don't know ...
I don't do much!
|
|
|
|