15,794,374 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mnd017 (Top 73 by date)
mnd017
20-Jan-14 20:34pm
View
@PIEBALDconsult Thx for your answer but it's not important 'why'. I asked more like 'how'. Like Christian wrote, I already know who, how, where, when etc.. will install this software. I also know that he doesn't want to install sqlserver by his own.
@Christian, I added link to image
Back to the topic.. is it really so difficult to create configuration file for install in 2012? 1 day before I was thinking is's 15min job, now I'm thinking - is it even possible to do?
mnd017
21-Mar-13 11:34am
View
I tried million times and ways.. but always fail.. my main (first) question is how to connected them ? so two timepickers will see each other, even when they are inside composites.
mnd017
7-Jan-13 9:14am
View
Did you meant to return XMLDocument or Xml string from WCF and consume by Java client?
mnd017
7-Jan-13 5:09am
View
Deleted
I know they can, but how to do it? Do you have some examples that show how to pass DataTable object via WCF to Java application?
mnd017
7-Jan-13 4:35am
View
I don't understand.. I don't know how to implement WCF service on server side.. Here I've got example (http://www.c-sharpcorner.com/UploadFile/deepak.sharma00/how-to-return-a-datatable-from-wcf-service/) but it doesn't work, when I try to refresh Web Service Client in Netbeans.. I need to replace DataTable so It could be readable from Netbeans and java application
mnd017
7-Jan-13 4:09am
View
Thanks.
Ad1. I'm not sure, which type of returned data do I have to use in my webservice. DataTable type is .NET type and I need to read it in Java. List of lists, two-dimensional arrays?
mnd017
17-Jul-12 8:15am
View
ok, thanks :)
mnd017
17-Jul-12 7:16am
View
So you actually do empty non-abstract, doing nothing class, just to be able to see designer view, right?
mnd017
17-Jul-12 5:14am
View
Yes, I abandoned my 'abstract class' idea. Right now I have a simple MyFrom class, that inherit From and some interfaces. Inside MyForm I've created some controls, implements some events and methods. And when I create new From I inherit this MyForm. Is that good solution ?
Actually, my main goal was to separate view from behavior as much as I can, but right now I'm not sure what is gonna happen with that project.
mnd017
17-Jul-12 3:49am
View
So, you would accept my comment as a good programming practice, or not? I'm a little bit confused..
mnd017
17-Jul-12 3:49am
View
Deleted
So, you would accept my comment as a good programming practice, or not? I'm a little bit confused..
mnd017
17-Jul-12 3:20am
View
@SA Hi, This is good idea, but if you want to have some default functions in every form similar to your MyForm ?
mnd017
17-Jul-12 3:05am
View
Yes, but in this case I cannot open designer view :/
mnd017
16-Jul-12 15:53pm
View
Omg, u right, i cannot display it. But when I add another class.. i can. Like that:
public interface IInterface
{
void Func();
}
public abstract class AbsFunc : Form, IInterface
{
public virtual void Func()
{
}
}
public class AnotherClass: AbsFunc
{
// do nothing
}
public partial class MyForm : AnotherClass
{
public override void Func()
{
}
}
But, is it good programming practice?
mnd017
13-Jun-12 4:51am
View
Do you have any advice, how to set this space to 10px ?
I've got another control above this dvg. Both were design the same (10px from right border), and when window is running - space between right border is different.. Besides, I've got another window with dgv, and there everything works great. There must be something in properties or.. i dont know
mnd017
11-Jun-12 7:45am
View
oh. thank you. So ico format is supported only in window titles ?
mnd017
11-Jun-12 6:55am
View
I know how to covert files. But Is there any way to use ico files in VWG project?
mnd017
11-Jun-12 6:49am
View
But I already have many .ico files. I have to convert them to jpg format ?
mnd017
16-May-12 7:49am
View
So.. I've tried on other computer. And I think I've got a little bit bigger problem. Program throws an exeption 'ORA-12154'. On computer (where I've installed ODP.NET) path to TNSNAMES is: C:\app\OraHome_1\Network\admin\ and on computer where I'm testing (wihtout ODP.NET) is: C:\Oracle\product\11.2.0\client_1\network\admin. So the program cannot find tns file. Where can I set proper tns file path? Is there any config file where I can do that?
mnd017
16-May-12 7:02am
View
Yes, i know. But now, I have ODAC package installed, so I can't really determine whether it works or not. It works even when I delete all this seven dlls from bin directory. So i have to find computer with no ODAC package installed.
mnd017
16-May-12 6:09am
View
ok, thank you very much again. But to make sure, I have to add to resources only Oracle.DataAccess.dll, rest of dlls just have to be in the same dirctory as exe file and Oracle.DataAccess.dll, right ? I will check that in a moment.
mnd017
16-May-12 6:09am
View
Deleted
ok, thank you very much again. But to make sure, I have to add to resources only Oracle.DataAccess.dll, rest of dlls just have to be in the same dirctory as exe file and Oracle.DataAccess.dll, right ? I will check that in a moment.
mnd017
16-May-12 5:53am
View
Thanks for answer. But, from where I have to copy them? It is important?
And, do i have to add all of them into my resources (the same as Oracle.DataAccess.dll) ?
mnd017
11-Jan-12 7:52am
View
Thanks, w will try that in a moment
mnd017
11-Jan-12 6:33am
View
Thanks, but I really need to use ini files. Is there any api function which determine whether program was launched as administrator?
mnd017
17-Oct-11 11:07am
View
No exception is thrown, Send() returns id (which looks "possible"). I think that you wrong. Try to open windows form app from windows form app and from windows service (on Windows 7). If you can launch win forms app from windows service - I would like to see your project.
mnd017
17-Oct-11 10:52am
View
typo :) Anyone know how to solve that?
mnd017
30-Sep-11 19:53pm
View
I don't understand why in Release folder there are many unnecessary files, like some language dlls (I've got folders named "de" "en" "es" etc..), files like (.pdb) Program Debug Database files etc.. Basically program works without them, so why VS2010 put them into Release folder?
mnd017
30-Sep-11 18:41pm
View
Thanks :)
mnd017
26-Sep-11 10:45am
View
Deleted
del
mnd017
26-Sep-11 10:13am
View
I have to do "regsvr32" using the original dll (fxscomex.dll in system32)? This is right? :
1) copy fxscomex.dll from system32 to 'MyDir'
2) call: regsvr32 /i fxscomex.dll
3) copy tlbimp.exe from SDKs dir to 'MyDir'
4) call: tlbimp FXSCOMEX.dll /out:NETFXSCOMEX.dll
5) add netfxscomex.dll to my project
??
mnd017
26-Sep-11 9:55am
View
well, here is what i did:
1) I copied tlbimp.exe from SDKs dir to my dir (where is FXSCOMEX.dll).
2) tlbimp FXSCOMEX.dll /out:NETFXSCOMEX.dll
3) Add NETFXSCOMEX.dll to my project
And it's wrong again.. How to create that .net lib by TLBImport ?
mnd017
26-Sep-11 9:01am
View
I don't think so. I have to admit, I don't know what is that:/ When I use FaxComLib, it work fine without it.
I mean, in case of FaxComLib I use FaxServer objFaxServer = new FaxServer(); - and it works.
mnd017
14-Sep-11 8:21am
View
But, I don't want to print anything. I want to open file and click on my computer "Send fax". Is it possible? How can I do that ?
mnd017
14-Sep-11 7:25am
View
"Fax modem" - (http://wize.com/printers/p218590-hp-photosmart-c7180-all-in-one-inkjet)
BTW. HP Printer has fax-modem but the software provided by HP does not allow me to send fax form file. Only Send fax, but document has to be inside the fax-machine ready to scan.
When I try to use "Windows Fax and Scan", when I add fax account, "Windows Fax and Scan" can't find faxmodem or a printer (when I put ip address).
mnd017
14-Sep-11 6:47am
View
And one more question. When I install all drivers I will be able to send fax messages from my laptop without real fax machine, without printing documents first?
mnd017
14-Sep-11 6:46am
View
Thank you, to use FAXCOMEXLib Do i need a faxmodem like that: http://www.ebay.com/itm/USB-56K-V-90-External-Dial-Up-PCI-Voice-Fax-Data-Modem-/190508186248?_trksid=p5197.m1374&_trkparms=algo%3DPI.WATCH%26otn%3D8%26po%3DLCA%26ps%3D63%26clkid%3D2772140575759448829 ?
mnd017
13-Sep-11 11:19am
View
Thank you. But I want to create a "server application", that will host WCF services that will send fax messages. So I need to do it programmatically, in C# code:/
mnd017
8-Sep-11 10:48am
View
Well, It appears that's work. Before I've got < grid datacontext="{Binding Source={StaticResource _taskFactory}}">. Now I change it to put "_taskFactory" into "yourSourceHere".
But, another problem appears: I've got margin=-4 for my datagrid. And sometimes, when data changed, this one row has margin 0 (so it's moved to right a little bit). Could you suggest me why?
mnd017
8-Sep-11 10:29am
View
What should I put in 'yourSourceHere'? Forgive me, I'm a beginner
mnd017
16-Aug-11 17:04pm
View
So, how should I save those emails in DB? I mean, is there any uniq id attached to the messages ?
mnd017
29-Jul-11 8:29am
View
Thank you, that is a good idea. I will do that like this:
1. First install windows service (with .net framework and config-application)
2. Next step for user will be open config-application, and set up database settings (only at first step) - connection string, create database with tables ect (using sql scripts.
3. And final step will be Start windows service.
I think that is a good idea.
mnd017
24-Jul-11 9:18am
View
So should I change sth in my C# code, in case of image datatype ?
mnd017
23-Jul-11 6:05am
View
I could use (if I want to return data): int Upload(System.IO.Stream Data) - but now I don't have a path (I would like to have an extension of the file). When it comes to stream, I have to pass only one parameter - Stream.
Trying "DataContract" instead of "MessageContract" - not a good idea to.
mnd017
15-Jul-11 11:51am
View
I know it will works. But I would like to use possibly the best solution for dealing with bounce-backs emails with server without IMAP,only with POP3 and without outlook. Could you recommend me sth better? Would be great
mnd017
15-Jul-11 8:06am
View
Yes, good point. So, I think that will be good solution, to solve handling bounce-backs over pop3 without outlook. Thank you.
mnd017
15-Jul-11 7:59am
View
Yes, good point. I can keep the date of last read message. So, I think this will be good solution for checking bounce-backs using POP3, without outlook.
mnd017
15-Jul-11 5:24am
View
But, I'm not sure you understand me. The largest amount of emails, which I will have to read is as many as has been delivered in 5 last minutes. In my question I add a pseudo-code of the algorithm.
mnd017
14-Jul-11 17:14pm
View
I've updated question a little bit, could you tell mi if this is good idea?
mnd017
14-Jul-11 11:16am
View
Thank you, but I found <a href="http://www.afterlogic.com/mailbee-net/pop3-component">here</a> sth like that:
POP3 Object:
- Download entire messages
- Download headers only
- UNIQUE Download messages/headers in PIPELINING mode - can boost performance up to 1000%
- UNIQUE Download messages with a single line of code (QuickDownloadMessage)
How do you explain that?
mnd017
14-Jul-11 11:15am
View
Deleted
Thank you, but I found <a href="http://www.afterlogic.com/mailbee-net/pop3-component">here</a> sth like that:
POP3 Object:
- Download entire messages
- Download headers only
- UNIQUE Download messages/headers in PIPELINING mode - can boost performance up to 1000%
- UNIQUE Download messages with a single line of code (QuickDownloadMessage)
How do you explain that?
mnd017
5-Jul-11 8:48am
View
I don't understand.. how ? where?
mnd017
2-Jul-11 14:35pm
View
Thank you,
Could you recommend me a project in C# connected with SQL server 2008 - but not web project? from this codeplex site?
Enterprise Library 5.0 - I think is a huge and complected tool and I don't have much time for learning it now.
mnd017
2-Jul-11 12:05pm
View
thanks for the answer, edited the question again
mnd017
1-Jul-11 13:59pm
View
Thank you for your time and answer. Look at my "edit" in question.
mnd017
1-Jul-11 13:59pm
View
Thank you for your time and answer. Look at my "edit" in question.
mnd017
29-Jun-11 17:09pm
View
This is my real problem - I just use "better" example:)
In fact.. this WAS my real problem. Thank you - I created two interfaces and it works.
I just don't know if that is ok with 'Abstract factory pattern'. All I want is create perfect 'Abstract factory' project.
mnd017
29-Jun-11 15:23pm
View
Hi, thx for your replay.
Gkt and Ftlk libraries is only an example. Trinagle Button too. I don't even know it is possible, nvm. It was just an example.
Look at my comment for Solution 2
mnd017
29-Jun-11 15:21pm
View
Hi, thx for your replay.
Gkt and Ftlk libraries is only an example. Trinagle Button too. I don't even know it is possible, nvm.
I'm asking about this specific pattern: Abstract factory.
Factory One - has Product1, Product2 and Product3
Factory Two - has Product1 and Product2
How can i do IFactory interface ?
mnd017
20-Jun-11 16:13pm
View
I know, I will change port to 22, and host..
but from the code side, it will look the same (TELNET and SSH.. i think..) - i mean - (when i find out what is wrong with the server) i will receive - not encrypted data.. when server send me word "Something", i will get word "Something" in dataRecv array. Data will be encrypted only between server and client, right?
mnd017
20-Jun-11 15:09pm
View
BTW. But the code is OK? I mean for the connection to ssh server ?
mnd017
20-Jun-11 13:58pm
View
In "Connection" -> "SSH" section I found "Protocol options" or "Encryption options" - maybe change something here ?
So.. I don't need to have any login or password to open the session ?
In that case.. there must be a mistake on the server side, right?
mnd017
20-Jun-11 13:51pm
View
Good idea. I can't connect using putty.
To make sure: All I have to do is: Fill "Host Name" and check "SHH" in Connection type. Yes? or maybe something else ?
mnd017
3-Jun-11 15:08pm
View
Here http://www.eutrademarks.net/eshop/en/trademark-registration/europe/europe-ctm.html?gclid=CLbdsJS3mqkCFUOFDgodpwxOug ?
mnd017
28-Feb-11 14:58pm
View
*sending mails.. direct in the appliactions
mnd017
28-Feb-11 14:57pm
View
But in my solution, web is running on IIS. From the web page i will access the database, but via WCF, to display some informations.
I know that i can implement sending message direct in the appliactions, and connect from webpage direct to DB... I just thought that keeping the whole bussiness 'part' in one pice (windows service), will be good idea.
mnd017
28-Feb-11 13:20pm
View
I have to update my question. Some of my requirements were changed
mnd017
28-Feb-11 8:08am
View
Thank you for repley.
"Beyond that, most ISPs don't allow you to run a web server from your house."
I don't understand that. So If I had - computer with Windows Server 2008, external ip, i could run on my computer what ever i want. So i will run simple windows service, which will host WCF methods. And connect to that computer via internet from any place, and use those methods. Is that possible?
mnd017
28-Feb-11 7:06am
View
it is not important to me which is easier. I'm looking for better way.. safer, faster.. i don't know what else..
what do you mean by 'suitable' ?
mnd017
10-Jan-11 11:31am
View
Yes.. but "return File(stream, "application/pdf"); " - gives me a pdf opened in web browser. What should I do to display it on the web?
What control shoud I use?
mnd017
23-Dec-10 13:58pm
View
Damn! :P that was funny :P
mnd017
23-Dec-10 6:53am
View
I know that you prefer WCF.. but I don't exactly know, what do you mean by "WCF. WCF" ?
mnd017
22-Dec-10 15:23pm
View
So, if I want to expose those functions to the internet.. good way is to use WCF. In that case i should implement my methods in: WCF Service Library and then host the WCF Service Application, right? That would be all for serwer ?
Show More