|
|
I want to connect Microsoft Access using Microsoft.Practices.EnterpriseLibrary, for that I need ODBC method.
|
|
|
|
|
Using the Data Access Application Block with Access is a bit like using one of those automated skyscraper construction platforms (image[^]) to build a hut
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
srikrishnathanthri wrote: for that I need ODBC method No you don't. You can use an OleDb connection to connect to Microsoft Access and that's supported by the DAAB.
This space for rent
|
|
|
|
|
Pete O'Hanlon wrote: No you don't. You can use an OleDb connection
but we have migrated from OleDb to ODBC, so we cant go back to OleDb.
Is there any other ways for me.?
|
|
|
|
|
ODBC can be achieved by GenericDatabase Class of Microsoft.Practices.EnterpriseLibrary.Data
Thank you all for your replies.
|
|
|
|
|
Hello,
I develop an Skype Tool, who will be very usefull for many people.
But now, I check the option to send an message for all the
Conversation in the skype account, but I haven't found any result!
So, I went over to this Forum to get some help, and to ask
if is it possible to send an message for all your conversation?
Thanks for all!
|
|
|
|
|
I'm sorry but I have had serious problems trying to decode the question you are asking here. Are you wanting to provide a mechanism to send a message to all the people a user is connected to via Skype?
This space for rent
|
|
|
|
|
No, I want to send an message for all my conversations.
|
|
|
|
|
Sorry, that's still no clearer. Try to explain, in a lot more detail, what it is that you are trying to achieve. What do you want to happen when the application is running. Remember that we don't have access to any requirements you may have, so it's up to you to make things clear to us what you want.
This space for rent
|
|
|
|
|
i want to create folders with c# on console by clicking on application
|
|
|
|
|
Sorry? That doesn't make a whole lot of sense.
Remember that we can't see your screen, access your HDD, or read your mind.
Creating a folder is simple in c#, whether it's a Console, Winforms, or WPF app:
Directory.Create(path); will do it: Directory.CreateDirectory Method (String) (System.IO)[^]
But the rest of your question I have not idea about - I can't tell what you are trying to do, or what problem you are meeting that prevents you doing it.
Please, try to explain in more detail and we'll try to help.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Thank you for your replay,
Actually i want to create a folder ,when i click on it's .exe file and it should be on visual studio console application
|
|
|
|
|
Sorry, but that doesn't make sense yet: a folder doesn't have "an exe file".
Go back a couple of stages, and try explaining in a lot more detail: don't try to be brief, because at the moment you are making assumptions about the project based on what you know, and we don't.
So what you tell us leaves huge gaps that you understand because you know what your task is, and we can't understand because we don't!
If it helps, try pretending that you are trying to explain what you are trying to do and what problem you are having to your mother over the phone: she knows nothing about your job or how to do it, so you need to explain it in terms she will understand. We are in the same position!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
So what problem do you have in achieving that?
|
|
|
|
|
System.IO.Directory.CreateDirectory(@"c:/vinay/");
i wrote this, it will creating folder . But what i want is when i click on .exe file then it will open a folder.
how can i achieve it.
|
|
|
|
|
Manoj Kumar Miriyala wrote: what i want is when i click on .exe file then it will open a folder Sorry, but that just makes no sense. When you click on a .exe file it runs the application. If the application needs to open a file then the System.IO namespace[^] contains the classes to help.
|
|
|
|
|
When you double-click on an .exe file, Windows runs the application.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
On my PC it uses a single-click: Explorer settings.
|
|
|
|
|
I should know better than to question anything you say ! If that option is enabled, I'd say you were "living dangerously"
I think it's reasonable to assume here the OP is using double-click to launch apps; however, what if someone else using their code is not: that's an issue the OP would have to deal with if they pursue this (imho) strange goal.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
BillWoodruff wrote: I should know better than to question anything you say ! On the contrary, you should never assume I know anything, let alone everything.
And I agree with your second statement. Trouble is I've been using single click for so long (since early XP days) I forget it's not the default.
|
|
|
|
|
First, I have never seen any application that exhibits this type of behavior; I think you must have a very strong reason for doing something so unusual.
There are three strategies you could pursue:
1. create a Windows Explorer-scope context-click menu extension that showed an option to create a folder for every Application context-clicked on. I would find such a menu extension very annoying.
To research this, start here: [^],
2. create a Windows Global Application Hook that would detect selection of a .exe file, and raise an Event you could process. I have never seen anyone try to create an Application Hook from a Console app, but, that doesn't mean it could not be done.
I suggest reading/studying this MSDN article first: [^].
There are several articles here on CodeProject on Windows Global App Hooks; I suggest you start with this one by George Mamaldze: [^]; then, search for and read other articles here on the same topic.
3. try to enumerate every Explorer window open and get the selected files/folders: [^].
In all these cases I think you are going to have a headache trying to implement them in a Console app, and I think the result will be not too useful.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
modified 19-Jun-16 7:29am.
|
|
|
|
|
|
I'm not sure of what your trying to achieve - to me, it sounds like
a) load data into 'R.Net'
b) process data in 'R.Net'
c) draw a chart in 'R.Net'
d) export the chart as an image to Excel
if 'd' is correct, then I think you're wasting your time .. can you not do
d) export the chart data to a '.csv' file that excel can read and produce a chart from
? - it seems 'simpler' and less complex - its just iterating the data frame, writing it as comma separated values to a file on disk
|
|
|
|
|
that is exactly what I wish to do. I know it may be simpler to do it directly in excel, but I would like to learn how to do it in C# using RDotNet.
If you could please tell me how, I would really appreciate it.
Thanks in advance.
|
|
|
|